|
|
|
@ -1,5 +1,6 @@
|
|
|
|
|
package jnpf.service.impl;
|
|
|
|
|
|
|
|
|
|
import com.alibaba.fastjson.JSONArray;
|
|
|
|
|
import jnpf.entity.*;
|
|
|
|
|
import jnpf.mapper.StationAreaMapper;
|
|
|
|
|
import jnpf.service.*;
|
|
|
|
@ -358,7 +359,7 @@ public class StationAreaServiceImpl extends ServiceImpl<StationAreaMapper, Stati
|
|
|
|
|
entity.setOrganizeJsonId(generaterSwapUtil.getCurrentOrgIds(userInfo.getOrganizeId(), "all"));
|
|
|
|
|
entity.setLastModifyUserId(userInfo.getUserId());
|
|
|
|
|
entity.setLastModifyTime(DateUtil.getNowDate());
|
|
|
|
|
entity.setCompanyId(generaterSwapUtil.getCurrentOrgIds(userInfo.getOrganizeId(),"company"));
|
|
|
|
|
entity.setCompanyId("");
|
|
|
|
|
entity.setId(mainId);
|
|
|
|
|
} else {
|
|
|
|
|
entity.setCreatorUserId(userInfo.getUserId());
|
|
|
|
@ -371,4 +372,12 @@ public class StationAreaServiceImpl extends ServiceImpl<StationAreaMapper, Stati
|
|
|
|
|
this.saveOrUpdate(entity);
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public List<StationAreaEntity> getOthersArea(String id) {
|
|
|
|
|
QueryWrapper<StationAreaEntity> wrapper = new QueryWrapper<>();
|
|
|
|
|
wrapper.ne("id", id);
|
|
|
|
|
List<StationAreaEntity> list = this.list(wrapper);
|
|
|
|
|
return list;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|