|
|
@@ -91,10 +91,16 @@ public class BatchServiceImpl{
|
|
|
return new ArrayList<>();
|
|
|
}
|
|
|
singleBatchList.forEach(item -> {
|
|
|
+ //这里转化成大写变量区分:
|
|
|
item.put("projectPropertyId",item.get("project_id") == null ? "" : String.valueOf(item.get("project_id")));
|
|
|
item.put("batchType",item.get("batch_type") == null ? "" : String.valueOf(item.get("batch_type")));
|
|
|
Double mj_mu = (Double) item.get("mj_mu");
|
|
|
item.put("mj_mu",String.format("%.2f", mj_mu == null ? 0d : mj_mu));
|
|
|
+ item.put("name",item.get("project_name") == null ? "" : String.valueOf(item.get("project_name")));
|
|
|
+ item.put("ydArea",String.format("%.2f", item.get("yd_area") == null ? 0d : item.get("yd_area")));
|
|
|
+ item.put("zsArea",String.format("%.2f", mj_mu == null ? 0d : mj_mu));
|
|
|
+ item.put("ydUnit",item.get("yd_unit"));
|
|
|
+ item.put("zsUnit",item.get("yd_unit"));
|
|
|
});
|
|
|
return singleBatchList;
|
|
|
}
|