| | |
| | | if (detailList != null && !detailList.isEmpty()) { |
| | | String dept = configService.selectConfigByKey("request_default_dept"); |
| | | String ysbm = configService.selectConfigByKey("request_default_ysbm"); |
| | | String lis_tmh_prefix = configService.selectConfigByKey("make_lis_tmh_prefix"); |
| | | LambdaQueryWrapper<TjProject> wq = new LambdaQueryWrapper<>(); |
| | | wq.in(TjProject::getProId, detailList.stream().map(TbTransition::getParentProId).collect(Collectors.toList())); |
| | | wq.in(TjProject::getDeptId,deptService.getJyDeptIds()); |
| | |
| | | LtkjJyxmzd jyxmzd = getJyxmzd(project); |
| | | if (jyxmzd != null) { |
| | | LisSaveSqdxxDto lisSaveSqdxxDto = new LisSaveSqdxxDto(); |
| | | String jyxh = idUtils.generateLisID(); |
| | | String jyxh = idUtils.generateLisID(lis_tmh_prefix); |
| | | lisSaveSqdxxDto.setJyxh(jyxh); |
| | | lisSaveSqdxxDto.setBah(tjOrder.getCardId()); |
| | | lisSaveSqdxxDto.setBrxm(tjCustomer.getCusName()); |
| | |
| | | if (projects != null && !projects.isEmpty()) { |
| | | String dept = configService.selectConfigByKey("request_default_dept"); |
| | | String ysbm = configService.selectConfigByKey("request_default_ysbm"); |
| | | String lis_tmh_prefix = configService.selectConfigByKey("make_lis_tmh_prefix"); |
| | | // 根据project表的his_xmbm查组合关联表 ltkj_jfzhgljyxmzd 根据字段`zhxmdm` |
| | | // - 查到 使用字段`jyxmdm`查检验项目字典表 ltkj_jyxmzd 根据字段`jyxmdm` |
| | | // - 未查到 查项目关联表ltkj_jfxmgljyxmzd 根据字段`xmdm` |
| | |
| | | LtkjJyxmzd jyxmzd = getJyxmzd(project); |
| | | if (jyxmzd != null) { |
| | | LisSaveSqdxxDto lisSaveSqdxxDto = new LisSaveSqdxxDto(); |
| | | String jyxh = idUtils.generateLisID(); |
| | | String jyxh = idUtils.generateLisID(lis_tmh_prefix); |
| | | lisSaveSqdxxDto.setJyxh(jyxh); |
| | | lisSaveSqdxxDto.setBah(tjOrder.getCardId()); |
| | | lisSaveSqdxxDto.setBrxm(tjCustomer.getCusName()); |