This commit is contained in:
zhangyue 2026-08-15 15:16:38 +08:00
parent e0f619edc0
commit 46a8201c4d
2 changed files with 4 additions and 2 deletions

View File

@ -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);

View File

@ -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);