|
@@ -814,7 +814,7 @@ public class HandleDataController extends BaseController
|
|
}else{
|
|
}else{
|
|
industry = recordMap.get(k);
|
|
industry = recordMap.get(k);
|
|
}
|
|
}
|
|
- industry.setTestTime(k);
|
|
|
|
|
|
+ industry.setTestHour(k);
|
|
//解析值
|
|
//解析值
|
|
String[] split = v.split("-");
|
|
String[] split = v.split("-");
|
|
String type = split[0];
|
|
String type = split[0];
|
|
@@ -881,9 +881,9 @@ public class HandleDataController extends BaseController
|
|
//只有最后一次才执行数据库添加
|
|
//只有最后一次才执行数据库添加
|
|
if(finalJ == list.size()-1){
|
|
if(finalJ == list.size()-1){
|
|
//先去查询数据库
|
|
//先去查询数据库
|
|
- TXinyiIndustry uniqueTXinyiIndustry = this.xinyiIndustryMapper.getUniqueTXinyiIndustry(industry.getTestTime());
|
|
|
|
|
|
+ TXinyiIndustry uniqueTXinyiIndustry = this.xinyiIndustryMapper.getUniqueTXinyiIndustry(industry.getTestHour());
|
|
if(Objects.isNull(uniqueTXinyiIndustry))
|
|
if(Objects.isNull(uniqueTXinyiIndustry))
|
|
- log.error("查询到的工业库数据为null,化验时间为{}", industry.getTestTime());
|
|
|
|
|
|
+ log.error("查询到的工业库数据为null,化验时间为{}", industry.getTestHour());
|
|
else {
|
|
else {
|
|
//防止其他信息被更新,新建对象
|
|
//防止其他信息被更新,新建对象
|
|
TXinyiIndustry updateTXinyiIndustry = new TXinyiIndustry();
|
|
TXinyiIndustry updateTXinyiIndustry = new TXinyiIndustry();
|