This commit is contained in:
zhangzhiqiang
2022-11-30 16:28:29 +08:00
parent 3cdefdd4d8
commit 995f192ff2
2 changed files with 12 additions and 11 deletions

View File

@@ -72,6 +72,7 @@ public class DeptServiceImpl implements DeptService {
, "endTime", MapUtil.getStr(o, "endTime")
, "pid", MapUtil.getStr(o, "pid")
, "pidIsNull", MapUtil.getStr(o, "pidIsNull")
,"flag","1"
);
JSONArray array = WQL.getWO("SYS_DEPT").addParamMap(map).process().getResultJSONArray(0);
return array.toJavaList(Dept.class);
@@ -82,7 +83,7 @@ public class DeptServiceImpl implements DeptService {
if (id==null){
return null;
}
JSONObject result = WQLObject.getWQLObject("sys_dept").query("dept_id ='" + id + "'").uniqueResult(0);
JSONObject result = WQLObject.getWQLObject("SYS_DEPT").query("dept_id ='" + id + "'").uniqueResult(0);
return result.toJavaObject(tagert);
}