Commit dc47c17b authored by fangxinjiang's avatar fangxinjiang

户及户基数调整-fxj

parent 0d7d0348
......@@ -1448,9 +1448,9 @@ public class SysBaseSetInfoServiceImpl extends ServiceImpl<SysBaseSetInfoMapper,
for (SysBaseSetInfo sysBaseSetInfo : sysBaseSetInfos){
old = new SysBaseSetInfo();
BeanUtil.copyProperties(sysBaseSetInfo,old);
old.setTown(Common.isEmpty(town)?null:Integer.valueOf(town));
old.setCity(Common.isEmpty(city)?null:Integer.valueOf(city));
old.setProvince(Common.isEmpty(province)?null:Integer.valueOf(province));
old.setTown(Common.isEmpty(old.getTown())?null:Integer.valueOf(old.getTown()));
old.setCity(Common.isEmpty(old.getCity())?null:Integer.valueOf(old.getCity()));
old.setProvince(Common.isEmpty(old.getProvince())?null:Integer.valueOf(old.getProvince()));
sysBaseSetInfo.setProvince(Common.isEmpty(province) ?null:Integer.valueOf(province));
sysBaseSetInfo.setCity(Common.isEmpty(city)?null:Integer.valueOf(city));
sysBaseSetInfo.setTown(Common.isEmpty(town)?null:Integer.valueOf(town));
......
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