Commit 02750e38 by liuyang

2024-07-30

1、修复日常巡检单选择任务bug
parent 8b3d92c0
...@@ -171,7 +171,7 @@ public class HGZLTools { ...@@ -171,7 +171,7 @@ public class HGZLTools {
HGSC007 hgsc007 = HGSCTools.THGSC007.getById(hgzl003.getTaskId()); HGSC007 hgsc007 = HGSCTools.THGSC007.getById(hgzl003.getTaskId());
BeanUtils.copyProperties(hgsc007, hgzl003); BeanUtils.copyProperties(hgsc007, hgzl003);
cleanBaseInfo(hgzl003); cleanBaseInfo(hgzl003);
hgzl003.setCheckStatus(CheckStatusEnum.CHECKED.getCode()); //hgzl003.setCheckStatus(CheckStatusEnum.CHECKED.getCode());
hgzl003.setTaskId(hgsc007.getId()); hgzl003.setTaskId(hgsc007.getId());
hgzl003.setCheckCode(SequenceGenerator.getNextSequence(HGConstant.SequenceId.HGZL003_CHECK_CODE)); hgzl003.setCheckCode(SequenceGenerator.getNextSequence(HGConstant.SequenceId.HGZL003_CHECK_CODE));
DaoUtils.insert(HGZL003.INSERT, hgzl003); DaoUtils.insert(HGZL003.INSERT, hgzl003);
......
...@@ -216,6 +216,7 @@ function selectTask(){ ...@@ -216,6 +216,7 @@ function selectTask(){
row.workCode = ""; row.workCode = "";
row.checkStatus = 1; row.checkStatus = 1;
row.unpassQuantity = ""; row.unpassQuantity = "";
row.passQuantity = "";
resultGrid.addRows(row); resultGrid.addRows(row);
JSColorbox.close(); JSColorbox.close();
} }
......
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