增加长期监测设备接口

This commit is contained in:
zy 2025-11-28 10:38:24 +08:00
parent cc4a12fc63
commit 667e5c08df
1 changed files with 2 additions and 2 deletions

View File

@ -509,11 +509,11 @@ public class WxAppletController {
SurvDeviceDeploy survDeviceDeploy = null;
if(StringUtils.isNotBlank(deployId)){
survDeviceDeploy = deviceDeployService.getById(deployId);
}
if(StringUtils.isNotBlank(deployCode)){
}else if(StringUtils.isNotBlank(deployCode)){
survDeviceDeploy = deviceDeployService.getDeviceByCode(deployCode);
}
if(survDeviceDeploy==null){
return R.failed("无效的设备");
}