| | |
| | | } |
| | | } |
| | | |
| | | //查询检验单信息 |
| | | // 添加工时 |
| | | InsProduct finalInsProduct = insProductMapper.selectById(product.getId()); |
| | | threadPoolTaskExecutor.execute(() -> { |
| | | InsOrder insOrder = insOrderMapper.selectById(insSample.getInsOrderId()); |
| | | this.addAuxiliary(userId, finalInsProduct, insOrder); |
| | | }); |
| | | // 判断是否只是参与计算值, 参与计算值实际没有填写 |
| | | if (StringUtils.isNotBlank(newResult.getInsValue()) && !newResult.getInsValue().equals("[]")) { |
| | | InsProduct finalInsProduct = insProductMapper.selectById(product.getId()); |
| | | threadPoolTaskExecutor.execute(() -> { |
| | | InsOrder insOrder = insOrderMapper.selectById(insSample.getInsOrderId()); |
| | | this.addAuxiliary(userId, finalInsProduct, insOrder); |
| | | }); |
| | | } |
| | | |
| | | } |
| | | }); |
| | |
| | | .last("limit 1")); |
| | | threadPoolTaskExecutor.execute(() -> { |
| | | String message = ""; |
| | | message += "检验任务复核通知"; |
| | | message += "耐丝系统检验任务复核通知"; |
| | | message += "\n提交人: " + userName; |
| | | message += "\n委托编号: " + order.getEntrustCode(); |
| | | message += "\n样品名称: " + insSample.getModel(); |
| | |
| | | IfsInventoryQuantity ifsInventoryQuantity = ifsInventoryQuantityMapper.selectById(order.getIfsInventoryId()); |
| | | |
| | | String message = ""; |
| | | message += "报告编制审批通知"; |
| | | message += "耐丝系统报告编制审批通知"; |
| | | message += "\n检验人: " + userName; |
| | | message += "\n复核人: " + chenkUserName; |
| | | message += "\n委托编号: " + order.getEntrustCode(); |
| | |
| | | IfsInventoryQuantity ifsInventoryQuantity = ifsInventoryQuantityMapper.selectById(order.getIfsInventoryId()); |
| | | |
| | | String message = ""; |
| | | message += "检验任务复核退回通知"; |
| | | message += "耐丝系统检验任务复核退回通知"; |
| | | message += "\n复核人: " + userName; |
| | | message += "\n委托编号: " + order.getEntrustCode(); |
| | | message += "\n样品名称: " + insSample.getModel(); |