|
|
@@ -448,7 +448,6 @@ public class IotPestrecogServiceImpl implements IIotPestrecogService {
|
|
|
String cbdrecogType = reqVo.getCbdrecogType();
|
|
|
String cbdrecogMarktype = reqVo.getCbdrecogMarktype();
|
|
|
String pestBusid = reqVo.getPestBid();
|
|
|
- String pestName = reqVo.getPestName();
|
|
|
|
|
|
Criteria criteria = new Criteria()
|
|
|
.and("devBid").is(devBid)
|
|
|
@@ -515,6 +514,7 @@ public class IotPestrecogServiceImpl implements IIotPestrecogService {
|
|
|
if(infoResVoList != null && !infoResVoList.isEmpty()){
|
|
|
result = infoResVoList.get(0);
|
|
|
IoPestResVo ioPestResVo = null;
|
|
|
+ String pestName = result.getPestName();
|
|
|
if(Objects.equals(cbdrecogMarktype, EnumCbdMarkType.AUTO.getCode())){
|
|
|
ioPestResVo = iotPestService.selectIotPestDetailByPestBid(pestBusid);
|
|
|
}else{
|