Commit 9fc0e03c authored by zhangyingbin's avatar zhangyingbin

修改判空问题

parent 2b89c411
...@@ -153,7 +153,7 @@ public class OrgServiceImpl { ...@@ -153,7 +153,7 @@ public class OrgServiceImpl {
//判断筛选条件 //判断筛选条件
if (!ValidationUtil.isEmpty(jsonObject.getLong("isCheck"))) { if (!ValidationUtil.isEmpty(jsonObject.getLong("isCheck"))) {
wrapper.eq(OrgUsr :: getAmosOrgId,jsonObject.getLong("isCheck")); wrapper.eq(OrgUsr :: getAmosOrgId,jsonObject.getLong("isCheck"));
} else if(!jsonObject.getString("deptId").isEmpty()) { } else if(!ValidationUtil.isEmpty(jsonObject.getString("deptId"))) {
//设置所属机构 //设置所属机构
//判断是否存在部门id //判断是否存在部门id
wrapper.eq(OrgUsr::getSequenceNbr,jsonObject.getString("deptId")); wrapper.eq(OrgUsr::getSequenceNbr,jsonObject.getString("deptId"));
......
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