Commit 88217083 by zhiwj

受审项

parent 5ef38f66
...@@ -9,6 +9,7 @@ import com.gic.commons.util.EntityUtil; ...@@ -9,6 +9,7 @@ import com.gic.commons.util.EntityUtil;
import com.gic.commons.util.GlobalInfo; import com.gic.commons.util.GlobalInfo;
import com.github.pagehelper.Page; import com.github.pagehelper.Page;
import com.github.pagehelper.PageHelper; import com.github.pagehelper.PageHelper;
import org.apache.commons.collections.CollectionUtils;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
...@@ -74,6 +75,9 @@ public class AuditedGroupServiceImpl implements AuditedGroupService { ...@@ -74,6 +75,9 @@ public class AuditedGroupServiceImpl implements AuditedGroupService {
@Override @Override
public boolean validAuditedGroupIsNotExist(List<Integer> auditedGroupIdList) { public boolean validAuditedGroupIsNotExist(List<Integer> auditedGroupIdList) {
if (CollectionUtils.isEmpty(auditedGroupIdList)) {
return false;
}
int count = tabAuditedGroupMapper.countByAuditedGroupIds(auditedGroupIdList); int count = tabAuditedGroupMapper.countByAuditedGroupIds(auditedGroupIdList);
return count != auditedGroupIdList.size(); return count != auditedGroupIdList.size();
} }
......
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