|
|
|
|
@ -253,9 +253,10 @@ public class EntrustServiceImpl extends BaseServiceImpl<EntrustMapper, Entrust> |
|
|
|
|
result.put("facsimile", entrust.getFacsimile()); |
|
|
|
|
result.put("phone", entrust.getPhone()); |
|
|
|
|
result.put("simpleSource", entrust.getSimpleSource()); |
|
|
|
|
String value1 = DictBizCache.getValue(DictBizEnum.ENTRUST_REPORT_SEND_TYPE, entrust.getReportSendType()); |
|
|
|
|
result.put("reportSendType", value1); |
|
|
|
|
result.put("simpleTransRequire", entrust.getSimpleTransRequire()); |
|
|
|
|
// 字典查报告发送方式
|
|
|
|
|
result.put("reportSendType", DictBizCache.getValue(DictBizEnum.ENTRUST_REPORT_SEND_TYPE, entrust.getReportSendType())); |
|
|
|
|
// 字典查样品运输条件
|
|
|
|
|
result.put("simpleTransRequire", DictBizCache.getValue(DictBizEnum.SAMPLE_TRANSPORTATION, entrust.getSimpleTransRequire())); |
|
|
|
|
result.put("simpleState", entrust.getSimpleState()); |
|
|
|
|
String simpleJson = entrust.getSimpleJson(); |
|
|
|
|
List<Map> mapList = JSON.parseArray(simpleJson, Map.class); |
|
|
|
|
@ -1105,7 +1106,11 @@ public class EntrustServiceImpl extends BaseServiceImpl<EntrustMapper, Entrust> |
|
|
|
|
// 检测依据
|
|
|
|
|
ExamineBasis examineBasis = examineBasisService.getById(examine.getExamineBasisId()); |
|
|
|
|
String[] split = examine.getExperieNum().split(","); |
|
|
|
|
String s = split[0].substring(0, 12); |
|
|
|
|
// 如果检测编号截取后长度
|
|
|
|
|
String s = "/"; |
|
|
|
|
if (split[0].length() > 12) { |
|
|
|
|
s = split[0].substring(0, 12); |
|
|
|
|
} |
|
|
|
|
result.put("1", s); |
|
|
|
|
result.put("2", examineResult.getDisposal()); |
|
|
|
|
result.put("3", examine.getSimpleName()); |
|
|
|
|
|