Commit 4d3861ab authored by 韩桐桐's avatar 韩桐桐

fix(jg):黑设备保存接口,检验不在有效期不报存检验数据

parent 5ed1ee15
......@@ -2776,7 +2776,7 @@ public class IdxBizJgRegisterInfoServiceImpl extends BaseService<IdxBizJgRegiste
IdxBizJgOtherInfo otherInfo = JSON.parseObject(JSON.toJSONString(equipmentInfoForm), IdxBizJgOtherInfo.class);
// 检验检测 【新增时】 固定式压力容器(2100)和 气瓶(2300)可以添加检验检测信息
if ("add".equals(submitType) || isCopy) {
if(dataSource.contains("jg_his_black")){
if (dataSource.contains("jg_his_black") && "1".equals(equipmentInfoForm.get("IN_INSPECTION_PERIOD"))) {
IdxBizJgInspectionDetectionInfo inspectionDetectionInfo = JSON.parseObject(JSON.toJSONString(equipmentInfoForm), IdxBizJgInspectionDetectionInfo.class);
inspectionDetectionInfo.setRecord(record);
inspectionDetectionInfo.setRecDate(date);
......
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