Commit 9ad02c5c by 宋祥

1.修复生产领料提交BUG,主状态未变更问题

parent 698e7457
......@@ -966,7 +966,7 @@ public class HGKCTools {
}
Map paramMap = new HashMap();
paramMap.put("applyCodes", applyCodes);
DaoBase.getInstance().update(HgKcSqlConst.HgKc008.LOCK, paramMap);
DaoUtils.update(HgKcSqlConst.HgKc008.LOCK, paramMap);
}
/**
......@@ -981,7 +981,7 @@ public class HGKCTools {
}
Map paramMap = new HashMap();
paramMap.put("ids", ids);
DaoBase.getInstance().update(HgKcSqlConst.HgKc008.LOCK, paramMap);
DaoUtils.update(HgKcSqlConst.HgKc008.LOCK, paramMap);
}
/**
......@@ -997,7 +997,7 @@ public class HGKCTools {
Map paramMap = new HashMap();
paramMap.put(HGKC008.FIELD_APPLY_CODE, applyCode);
paramMap.put(HGKC008.FIELD_STATUS, status);
DaoBase.getInstance().update(HgKcSqlConst.HgKc008.UPDATE_STATUS, paramMap);
DaoUtils.update(HgKcSqlConst.HgKc008.UPDATE_STATUS, paramMap);
}
public static HGKC008 getById(Long id) {
......@@ -1144,7 +1144,7 @@ public class HGKCTools {
Map paramMap = new HashMap();
paramMap.put(HGKC008A.FIELD_APPLY_LINE_CODE, applyLineCode);
paramMap.put(HGKC008A.FIELD_STATUS, status);
DaoBase.getInstance().update(HgKcSqlConst.HgKc008A.UPDATE_STATUS, paramMap);
DaoUtils.update(HgKcSqlConst.HgKc008A.UPDATE_STATUS, paramMap);
}
/**
......@@ -1160,7 +1160,7 @@ public class HGKCTools {
Map paramMap = new HashMap();
paramMap.put(HGKC008A.FIELD_APPLY_LINE_CODE, applyLineCode);
paramMap.put(HGKC008A.FIELD_STATUS, status);
DaoBase.getInstance().update(HgKcSqlConst.HgKc008A.UPDATE_STATUS, paramMap);
DaoUtils.update(HgKcSqlConst.HgKc008A.UPDATE_STATUS, paramMap);
}
/**
......
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