This commit is contained in:
zhangyue 2026-08-15 15:44:14 +08:00
parent 82a46556b5
commit 60780c0d35
2 changed files with 3 additions and 0 deletions

View File

@ -82,6 +82,7 @@ public class SurvTransdataLivestockwaterServiceImpl extends ServiceImpl<SurvTran
} }
transdataLivestockwater.setCreatedBy("wb");//创建人 transdataLivestockwater.setCreatedBy("wb");//创建人
transdataLivestockwater.setCreateTime(LocalDateTime.now());//创建时间 transdataLivestockwater.setCreateTime(LocalDateTime.now());//创建时间
transdataLivestockwater.setDataType(deploy.getDeploySecondaryType());
transdataLivestockwater.setDeviceId(deploy.getId()); transdataLivestockwater.setDeviceId(deploy.getId());
transdataLivestockwater.setDeviceName(deploy.getDeployDes()); transdataLivestockwater.setDeviceName(deploy.getDeployDes());

View File

@ -83,6 +83,8 @@ public class SurvTransdataOrientwaterServiceImpl extends ServiceImpl<SurvTransda
} }
transdataOrientwater.setCreatedBy("wb");//创建人 transdataOrientwater.setCreatedBy("wb");//创建人
transdataOrientwater.setCreateTime(LocalDateTime.now());//创建时间 transdataOrientwater.setCreateTime(LocalDateTime.now());//创建时间
transdataOrientwater.setDataType(deploy.getDeploySecondaryType());
if(StringUtils.isNotBlank(deploy.getStationCode())){ if(StringUtils.isNotBlank(deploy.getStationCode())){
SurvStationInfo info = survStationInfoService.getByCode(deploy.getStationCode()); SurvStationInfo info = survStationInfoService.getByCode(deploy.getStationCode());
if(info!=null){ if(info!=null){