增加长期监测设备接口
This commit is contained in:
parent
cc4a12fc63
commit
667e5c08df
|
|
@ -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("无效的设备");
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue