|
@@ -267,21 +267,21 @@ public class RyTask
|
|
|
}else if ("信义污水厂除磷加药瞬时流量".equals(type)) {
|
|
|
industry.setCLJYSSLL(value);
|
|
|
}
|
|
|
- //2024年4月22日15:45:24 额外保存两个字段 数组
|
|
|
- List<BigDecimal> extraList = new ArrayList<>();
|
|
|
- extraList.add(industry.getOneHymdDo());
|
|
|
- extraList.add(industry.getTwoHymdDo());
|
|
|
- industry.setHycRjyAll(JSON.toJSONString(extraList));
|
|
|
- extraList.clear();
|
|
|
- extraList.add(industry.getOneHyzdDo());
|
|
|
- extraList.add(industry.getTwoHyzdDo());
|
|
|
- industry.setHycRjyZdAll(JSON.toJSONString(extraList));
|
|
|
- extraList.clear();
|
|
|
- extraList.add(industry.getOneMlss());
|
|
|
- extraList.add(industry.getTwoMlss());
|
|
|
- industry.setHycWnndAll(JSON.toJSONString(extraList));
|
|
|
//只有最后一次才执行数据库添加
|
|
|
if(finalJ == list.size()-1){
|
|
|
+ //2024年4月22日15:45:24 额外保存两个字段 数组
|
|
|
+ List<BigDecimal> extraList = new ArrayList<>();
|
|
|
+ extraList.add(industry.getOneHymdDo());
|
|
|
+ extraList.add(industry.getTwoHymdDo());
|
|
|
+ industry.setHycRjyAll(JSON.toJSONString(extraList));
|
|
|
+ extraList.clear();
|
|
|
+ extraList.add(industry.getOneHyzdDo());
|
|
|
+ extraList.add(industry.getTwoHyzdDo());
|
|
|
+ industry.setHycRjyZdAll(JSON.toJSONString(extraList));
|
|
|
+ extraList.clear();
|
|
|
+ extraList.add(industry.getOneMlss());
|
|
|
+ extraList.add(industry.getTwoMlss());
|
|
|
+ industry.setHycWnndAll(JSON.toJSONString(extraList));
|
|
|
//插入数据库
|
|
|
xinyiIndustryMapper.insertTXinyiIndustry(industry);
|
|
|
}
|