1
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user