|
@@ -1,6 +1,7 @@
|
|
|
package com.bizmatics.mhfire.controller.web;
|
|
|
|
|
|
|
|
|
+import com.alibaba.druid.support.json.JSONUtils;
|
|
|
import com.bizmatics.common.core.bean.ApiResult;
|
|
|
import com.bizmatics.common.core.exception.BusinessException;
|
|
|
import com.bizmatics.common.core.util.StringUtils;
|
|
@@ -37,5 +38,23 @@ public class DemSecurityBuildController {
|
|
|
demSecurityBuildService.save(demSecurityBuild);
|
|
|
return ApiResult.success();
|
|
|
}
|
|
|
+
|
|
|
+ public static void main(String[] args) {
|
|
|
+ String s = "[" +
|
|
|
+ " {" +
|
|
|
+ " \"build_name\": \"test\"," +
|
|
|
+ " \"complete_year\": \"test\"," +
|
|
|
+ " \"above_floor\": \"123\"," +
|
|
|
+ " \"under_floor\": \"123\"," +
|
|
|
+ " \"above_area\": \"123\"," +
|
|
|
+ " \"under_area\": \"123\"," +
|
|
|
+ " \"build_high\": \"213\"," +
|
|
|
+ " \"build_nature\": \"商业服务业设施用地(商业设施、商务设施、娱乐康体设施、公用设施营业网点、其它服务设施等)\"," +
|
|
|
+ " \"build_structure\": \"钢混结构\"," +
|
|
|
+ " \"insulation\": \"是\"" +
|
|
|
+ " }\n" +
|
|
|
+ " ]";
|
|
|
+ System.out.println(JSONUtils.toJSONString(s));
|
|
|
+ }
|
|
|
}
|
|
|
|