|
@ -51,6 +51,7 @@ public class PointServiceImpl implements PointService { |
|
|
map.put("point_status", whereJson.get("point_status")); |
|
|
map.put("point_status", whereJson.get("point_status")); |
|
|
map.put("is_used", whereJson.get("is_used")); |
|
|
map.put("is_used", whereJson.get("is_used")); |
|
|
map.put("point_type", whereJson.get("point_type")); |
|
|
map.put("point_type", whereJson.get("point_type")); |
|
|
|
|
|
map.put("is_have_workder", whereJson.get("is_have_workder")); |
|
|
map.put("name", whereJson.get("name")); |
|
|
map.put("name", whereJson.get("name")); |
|
|
JSONObject json = WQL.getWO("QSCH_BASE_POINT").addParamMap(map).pageQuery(WqlUtil.getHttpContext(page), "point_code asc"); |
|
|
JSONObject json = WQL.getWO("QSCH_BASE_POINT").addParamMap(map).pageQuery(WqlUtil.getHttpContext(page), "point_code asc"); |
|
|
JSONArray content = json.getJSONArray("content"); |
|
|
JSONArray content = json.getJSONArray("content"); |
|
@ -64,7 +65,7 @@ public class PointServiceImpl implements PointService { |
|
|
String point_status_explain = regionDto.getPoint_status_explain(); |
|
|
String point_status_explain = regionDto.getPoint_status_explain(); |
|
|
String point_type_explain = regionDto.getPoint_type_explain(); |
|
|
String point_type_explain = regionDto.getPoint_type_explain(); |
|
|
// 获取点位状态名称
|
|
|
// 获取点位状态名称
|
|
|
if (!ObjectUtil.isEmpty(point_status)) { |
|
|
/*if (!ObjectUtil.isEmpty(point_status)) { |
|
|
JSONObject statusArr = new JSONObject(); |
|
|
JSONObject statusArr = new JSONObject(); |
|
|
String[] split = point_status_explain.split(","); |
|
|
String[] split = point_status_explain.split(","); |
|
|
for ( int j = 0; j < split.length; j++) { |
|
|
for ( int j = 0; j < split.length; j++) { |
|
@ -72,7 +73,7 @@ public class PointServiceImpl implements PointService { |
|
|
statusArr.put(status[0], status[1]); |
|
|
statusArr.put(status[0], status[1]); |
|
|
} |
|
|
} |
|
|
object.put("point_status_name", statusArr.getString(point_status)); |
|
|
object.put("point_status_name", statusArr.getString(point_status)); |
|
|
} |
|
|
}*/ |
|
|
// 获取点位类型
|
|
|
// 获取点位类型
|
|
|
if (!ObjectUtil.isEmpty(point_type)) { |
|
|
if (!ObjectUtil.isEmpty(point_type)) { |
|
|
JSONObject typeArr = new JSONObject(); |
|
|
JSONObject typeArr = new JSONObject(); |
|
|