tcpbug
This commit is contained in:
parent
e0f619edc0
commit
46a8201c4d
|
|
@ -156,7 +156,8 @@ public class SurvTransdataLivestockwaterServiceImpl extends ServiceImpl<SurvTran
|
||||||
|
|
||||||
if(isok) {
|
if(isok) {
|
||||||
|
|
||||||
saveOrUpdate(transdataLivestockwater);
|
boolean b= saveOrUpdate(transdataLivestockwater);
|
||||||
|
log.error("@@@@@@@畜禽设备:{}---{}数据保存结果:{}@@@@@@@@@",deploy.getDeployDes(),deploy.getDeployCode(),b);
|
||||||
//保存历史表
|
//保存历史表
|
||||||
SurvHisdataLivestockwater hisdataLivestockwater = new SurvHisdataLivestockwater();
|
SurvHisdataLivestockwater hisdataLivestockwater = new SurvHisdataLivestockwater();
|
||||||
BeanUtil.copyProperties(transdataLivestockwater, hisdataLivestockwater);
|
BeanUtil.copyProperties(transdataLivestockwater, hisdataLivestockwater);
|
||||||
|
|
|
||||||
|
|
@ -151,7 +151,8 @@ public class SurvTransdataOrientwaterServiceImpl extends ServiceImpl<SurvTransda
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(isok) {
|
if(isok) {
|
||||||
saveOrUpdate(transdataOrientwater);
|
boolean b = saveOrUpdate(transdataOrientwater);
|
||||||
|
log.error("@@@@@@@面源设备:{}---{}数据保存结果:{}@@@@@@@@@",deploy.getDeployDes(),deploy.getDeployCode(),b);
|
||||||
//保存历史表
|
//保存历史表
|
||||||
SurvHisdataOrientwater hisdataOrientwater = new SurvHisdataOrientwater();
|
SurvHisdataOrientwater hisdataOrientwater = new SurvHisdataOrientwater();
|
||||||
BeanUtil.copyProperties(transdataOrientwater, hisdataOrientwater);
|
BeanUtil.copyProperties(transdataOrientwater, hisdataOrientwater);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue