| | |
| | | */ |
| | | @RestController |
| | | @RequestMapping ("/check") |
| | | @Api (tags = "总检医师相关接口") |
| | | @Api (tags = "AAAAAAAAAAAA总检医师相关接口") |
| | | @Slf4j |
| | | public class TjCheckController { |
| | | @Resource |
| | |
| | | } |
| | | return AjaxResult.success("同步成功"); |
| | | } |
| | | else if(null !=sfkqdshitulianjie && sfkqdshitulianjie.equals("Y")){ |
| | | else if(null !=sfkqdshitulianjie && sfkqdshitulianjie.equalsIgnoreCase("Y")){ |
| | | List<LtkjHysqd> hysqdList = testMapper.getCcXZxYyLtkjHysqdByLisVi(order.getTjNumber()); |
| | | if(null != hysqdList && !hysqdList.isEmpty()){ |
| | | for (LtkjHysqd hysqd : hysqdList) { |
| | |
| | | @ApiParam (value = "总检建议") @RequestParam (required = false) String advice, |
| | | @ApiParam (value = "审核状态0待审核1已审核") @RequestParam Integer checkStatus) { |
| | | |
| | | String config = configService.selectConfigByKey("sfjcwjhyqxm"); |
| | | if(null != config && config.equalsIgnoreCase("Y")){ |
| | | int num = orderRemarkService.getTjYqOrderRemarkByTjNum(tjNumber); |
| | | if (num > 0) return AjaxResult.error("有延期项目暂不能生成报告!!!"); |
| | | if (num > 0) return AjaxResult.error("存在未检或延期项目暂不能生成报告!!!"); |
| | | } |
| | | |
| | | if (null != tjNumber) { |
| | | Long userId = Long.valueOf(SecurityUtils.getLoginUser().getUserId()); |
| | | SysUser sysUser = userService.getById(userId); |