Commit 7c4504bd by zhengxj

finish 组织编辑 on 20190228 by zhengxj

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@17954 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent 1a53302a
......@@ -155,7 +155,7 @@ public class SysOrganizationServiceImpl implements ISysOrganizationService{
Criteria criteria = example.createCriteria();
List<SysOrganization> targets = null;
if (record.getSort() != null) {
criteria.andSortEqualTo(record.getSort()).andParentIdEqualTo(record.getParentId());
criteria.andSortEqualTo(record.getSort()).andParentIdEqualTo(record.getParentId()).andIdNotEqualTo(record.getId());
targets = orgDao.selectByExample(example);
}
SysOrganization source = orgDao.selectByPrimaryKey(record.getId());
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!