Commit f8229574 authored by 韩桐桐's avatar 韩桐桐

检验结果录入bugfix

parent 315be5ef
......@@ -799,7 +799,7 @@ public class JyjcInspectionResultServiceImpl extends BaseService<JyjcInspectionR
inspectionDetectionInfo.setRecDate(new Date());
inspectionDetectionInfo.setSafetyLevel(Objects.toString(entryData.getOrDefault("safetyLevel", "")));
inspectionDetectionInfo.setRecUserId(RequestContext.getExeUserId());
inspectionDetectionInfo.setInspectReportNo(Objects.toString(resSeq));
inspectionDetectionInfo.setInspectReportNo(Objects.toString(entryData.getOrDefault("inspectReportNo", "")));
idxBizJgInspectionDetectionInfoMapper.insert(inspectionDetectionInfo);
// 保存检验历史表用于详情回显
......@@ -923,7 +923,7 @@ public class JyjcInspectionResultServiceImpl extends BaseService<JyjcInspectionR
inspectionDetectionInfo.setRecDate(new Date());
inspectionDetectionInfo.setSafetyLevel(Objects.toString(entryData.getOrDefault("safetyLevel", "")));
inspectionDetectionInfo.setRecUserId(RequestContext.getExeUserId());
inspectionDetectionInfo.setInspectReportNo(Objects.toString(sequenceNbr));
inspectionDetectionInfo.setInspectReportNo(Objects.toString(entryData.getOrDefault("inspectReportNo", "")));
inspectionDetectionInfo.setSequenceNbr(Objects.toString(sequenceNbr));
idxBizJgInspectionDetectionInfoMapper.updateById(inspectionDetectionInfo);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment