|
@@ -58,6 +58,7 @@ public class FzssServiceImpl implements IFzssService {
|
|
|
private FzxzJgyzMapper fzxzJgyzMapper;
|
|
|
@Autowired
|
|
|
FzxzSchedule fzxzSchedule;
|
|
|
+
|
|
|
@Transactional(rollbackFor = Exception.class)
|
|
|
@Override
|
|
|
public RequestResult AddHgxfx(HgxfxEntityDTO hgxfxEntityDTO) throws IOException {
|
|
@@ -104,17 +105,20 @@ public class FzssServiceImpl implements IFzssService {
|
|
|
@Override
|
|
|
public RequestResult AddFzxz(Map params) {
|
|
|
try {
|
|
|
- //辅助选址
|
|
|
+ //辅助选址,解解析参数
|
|
|
FzxzDTO fzxzDTO = DozerUtils.map(params, FzxzDTO.class);
|
|
|
fzxzDTO.setBsm(StringUtils.getUUID());
|
|
|
fzxzDTO.setCjsj(new Date());
|
|
|
- fzxzDTO.setYdxz_bsm(fzxzDTO.getYdxz_bsm().replaceAll("\\[","").replaceAll("\\]",""));
|
|
|
- //将分析范围矢量数据插入到KJGH.T_FZSS_FXRW_GIS
|
|
|
- RequestResult info = fzxzvector2Sde(fzxzDTO, null);
|
|
|
- if (info != null) {
|
|
|
- return info;
|
|
|
- }
|
|
|
- //选址因子
|
|
|
+ fzxzDTO.setYdxz_bsm(fzxzDTO.getYdxz_bsm().replaceAll("\\[", "").replaceAll("\\]", ""));
|
|
|
+// //将分析范围矢量数据插入到KJGH.T_FZSS_FXRW_GIS
|
|
|
+// RequestResult info = fzxzvector2Sde(fzxzDTO, null);
|
|
|
+// if (info != null) {
|
|
|
+// return info;
|
|
|
+// }
|
|
|
+
|
|
|
+ // 拿到空间数据
|
|
|
+
|
|
|
+ // 选址因子
|
|
|
ArrayList xzyx = (ArrayList) params.get("yxyz");
|
|
|
for (int i = 0; i < xzyx.size(); i++) {
|
|
|
FzxzXzyzDTO dto = DozerUtils.map(xzyx.get(i), FzxzXzyzDTO.class);
|