Commit 073808df by wuwenlong

派工bugfix

parent 4efefac3
...@@ -682,7 +682,7 @@ public class HGSCTools { ...@@ -682,7 +682,7 @@ public class HGSCTools {
public static class THGSC007{ public static class THGSC007{
public static HGSC007 getById(Long taskId){ public static HGSC007 getById(Long taskId){
AssertUtils.isTrue(Objects.isNull(taskId)||taskId<=0, "生产任务ID不能为空!"); AssertUtils.isTrue(Objects.isNull(taskId)||taskId<=0, "生产任务ID不能为空!");
HGSC007 results = (HGSC007)DaoBase.getInstance().get(HGSC006A.QUERY, HGSC007.FIELD_id, taskId); HGSC007 results = (HGSC007)DaoBase.getInstance().get(HGSC007.QUERY, HGSC007.FIELD_id, taskId);
return results; return results;
} }
/** /**
......
...@@ -121,6 +121,14 @@ function query() { ...@@ -121,6 +121,14 @@ function query() {
} }
/** /**
* 页面加载时执行
*/
$(window).load(function () {
// 查询
query();
})
/**
* 保存 * 保存
*/ */
let save = function () { let save = function () {
......
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