|
|
|
|
@ -363,6 +363,7 @@ public class EntrustServiceImpl extends BaseServiceImpl<EntrustMapper, Entrust> |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
Map<String, Object> result = new HashMap<>(); |
|
|
|
|
// position1
|
|
|
|
|
if ("1".equals(entrust.getInvestigativeType())) { |
|
|
|
|
result.put("investigativeType", "委托"); |
|
|
|
|
} |
|
|
|
|
@ -380,6 +381,7 @@ public class EntrustServiceImpl extends BaseServiceImpl<EntrustMapper, Entrust> |
|
|
|
|
result.put("facsimile", entrust.getFacsimile()); |
|
|
|
|
result.put("phone", entrust.getPhone()); |
|
|
|
|
result.put("simpleSource", entrust.getSimpleSource()); |
|
|
|
|
// position1
|
|
|
|
|
if ("0".equals(entrust.getReportSendType())) { |
|
|
|
|
result.put("reportSendType", "自取"); |
|
|
|
|
} |
|
|
|
|
@ -583,6 +585,7 @@ public class EntrustServiceImpl extends BaseServiceImpl<EntrustMapper, Entrust> |
|
|
|
|
result.put("acceptanceNum", entrust.getAcceptanceNum()); |
|
|
|
|
result.put("simpleName", entrust.getSimpleName()); |
|
|
|
|
result.put("entrustCustomerName", entrust.getEntrustCustomerName()); |
|
|
|
|
// position1
|
|
|
|
|
if ("1".equals(entrust.getInvestigativeType())) { |
|
|
|
|
result.put("investigativeType", "委托"); |
|
|
|
|
} |
|
|
|
|
@ -716,6 +719,7 @@ public class EntrustServiceImpl extends BaseServiceImpl<EntrustMapper, Entrust> |
|
|
|
|
instrumentName += s2 + ","; |
|
|
|
|
} |
|
|
|
|
result.put("9", instrumentName); |
|
|
|
|
// position1
|
|
|
|
|
if ("0".equals(examineResult.getSimpleStatus())) { |
|
|
|
|
result.put("10", "状态一"); |
|
|
|
|
} |
|
|
|
|
@ -755,6 +759,7 @@ public class EntrustServiceImpl extends BaseServiceImpl<EntrustMapper, Entrust> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 如果是布鲁氏检测
|
|
|
|
|
// position1
|
|
|
|
|
if ("2".equals(byId.getInputMode())) { |
|
|
|
|
List<ExamineTemplate2Excel> list = JSON.parseArray(examineResult.getExamineDataArr(), ExamineTemplate2Excel.class); |
|
|
|
|
if (list.size() > 0) { |
|
|
|
|
@ -799,7 +804,7 @@ public class EntrustServiceImpl extends BaseServiceImpl<EntrustMapper, Entrust> |
|
|
|
|
return o1.getOrder() - o2.getOrder(); |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
// position1
|
|
|
|
|
if ("3".equals(byId.getInputMode())) { |
|
|
|
|
// 口蹄疫兰所单板
|
|
|
|
|
if ("1".equals(examine.getTemplateType())) { |
|
|
|
|
@ -883,6 +888,7 @@ public class EntrustServiceImpl extends BaseServiceImpl<EntrustMapper, Entrust> |
|
|
|
|
} |
|
|
|
|
url = LDanreportPrint; |
|
|
|
|
} |
|
|
|
|
// position1
|
|
|
|
|
// 口蹄疫兰所多板
|
|
|
|
|
else if ("2".equals(examine.getTemplateType())) { |
|
|
|
|
if (list.size() > 0) { |
|
|
|
|
@ -1638,6 +1644,7 @@ public class EntrustServiceImpl extends BaseServiceImpl<EntrustMapper, Entrust> |
|
|
|
|
result.put("deptName", deptName); |
|
|
|
|
result.put("acceptanceNum", entrust.getAcceptanceNum()); |
|
|
|
|
if (eTask != null) { |
|
|
|
|
// position1
|
|
|
|
|
if ("1".equals(eTask.getSimpleType())) { |
|
|
|
|
result.put("simpleType", "☑正样 □留样"); |
|
|
|
|
} else { |
|
|
|
|
@ -1779,6 +1786,7 @@ public class EntrustServiceImpl extends BaseServiceImpl<EntrustMapper, Entrust> |
|
|
|
|
LambdaQueryWrapper<Simple> wrapper = new LambdaQueryWrapper<>(); |
|
|
|
|
wrapper.eq(Simple::getEntrustId, id); |
|
|
|
|
wrapper.eq(Simple::getStatus, 1); |
|
|
|
|
// position1
|
|
|
|
|
wrapper.eq(Simple::getIsReagent, "1"); |
|
|
|
|
List<Simple> simpleList = simpleService.list(wrapper); |
|
|
|
|
if (simpleList != null && simpleList.size() > 0) { |
|
|
|
|
|