代码更新

This commit is contained in:
2022-11-01 11:30:20 +08:00
parent c99745bcf6
commit b1dd30e61c
6 changed files with 42 additions and 24 deletions

View File

@@ -324,12 +324,12 @@ public class PointServiceImpl implements PointService {
structMap.put("point_id", IdUtil.getSnowflake(1,1).nextId());
structMap.put("point_code", json.getString("struct_code"));
structMap.put("point_name", json.getString("struct_name"));
structMap.put("region_id", "");
structMap.put("region_code", "");
structMap.put("region_name", "");
structMap.put("point_type", "01");
structMap.put("point_status", "00");
structMap.put("lock_type", "1");
structMap.put("region_id", json.get("sect_id"));
structMap.put("region_code", json.getString("sect_code"));
structMap.put("region_name", json.getString("sect_name"));
structMap.put("point_type", "2");
structMap.put("point_status", "1");
structMap.put("lock_type", json.getString("lock_type"));
structMap.put("block_num", json.getIntValue("block_num"));
structMap.put("row_num", json.getIntValue("row_num"));
structMap.put("col_num", json.getIntValue("col_num"));

View File

@@ -91,7 +91,7 @@
FROM
ST_IVT_StructAttr struct
left join
SCH_BASE_Region region on struct.region_id = region.region_id
SCH_BASE_Region region on struct.sect_id = region.region_id
WHERE
struct.is_delete = '0'
ENDSELECT