Commit 405ccf06 by zhengxj

finish 组织编辑 on 20190227 by zhengxj

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@17881 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent 00b06501
......@@ -9,6 +9,7 @@ import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.springframework.beans.BeanUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
......@@ -168,6 +169,7 @@ public class SysOrganizationServiceImpl implements ISysOrganizationService{
}
if (targets != null && targets.size() == 1) {
SysOrganization target = targets.get(0);
BeanUtils.copyProperties(record, target);
target.setSort(sort);
orgDao.updateByPrimaryKeySelective(target);
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!