| | |
| | | import com.zt.common.validator.group.UpdateGroup; |
| | | import com.zt.life.modules.project.dto.EnvironDto; |
| | | import com.zt.life.modules.project.dto.SoftwareTestOrderDto; |
| | | import com.zt.life.modules.project.service.ProjectService; |
| | | import com.zt.life.modules.testCheckOrder.dto.CheckOrderDto; |
| | | import com.zt.life.modules.testCheckOrder.model.TestCheckOrder; |
| | | import com.zt.life.modules.testCheckOrder.service.TestCheckOrderService; |
| | |
| | | public class TestCheckOrderController { |
| | | @Autowired |
| | | private TestCheckOrderService testCheckOrderService; |
| | | |
| | | @Autowired |
| | | private ProjectService projectService; |
| | | |
| | | @Autowired |
| | | private SysCodeRuleService sysCodeRuleService; |
| | |
| | | //效验数据 |
| | | AssertUtils.isArrayEmpty(ids, "id"); |
| | | testCheckOrderService.delete(ids); |
| | | projectService.deleteItem(ids,"test_check_order_list","check_order_id"); |
| | | |
| | | return Result.ok(); |
| | | } |
| | | |
| | | @GetMapping("exportCheckOrder") |
| | | @ApiOperation("打印测试环境建立确认表") |
| | | @LogOperation("打印测试环境建立确认表") |
| | | @ApiOperation("打印检查单") |
| | | @LogOperation("打印检查单") |
| | | public void exportCheckOrder(Long id, String pageCode, HttpServletRequest request, HttpServletResponse response) { |
| | | testCheckOrderService.exportCheckOrder(id,pageCode, request, response); |
| | | } |