|
@@ -218,11 +218,11 @@ public class DeviceInfoServiceImpl extends ServiceImpl<DeviceInfoMapper, DeviceI
|
|
|
Integer thirdStatus = dto.getThirdStatus();
|
|
|
List<String> statusList = new ArrayList<>();
|
|
|
//1待审核,2已审核
|
|
|
- if (thirdStatus != null && thirdStatus == 1) {
|
|
|
+ if (thirdStatus != null && thirdStatus.intValue() == 1) {
|
|
|
statusList = CollUtil.newArrayList("1000", "2000", "3000", "5000");
|
|
|
}
|
|
|
// 2已审核 4000: 设备登记成功
|
|
|
- if (thirdStatus != null && thirdStatus == 2) {
|
|
|
+ if (thirdStatus != null && thirdStatus.intValue() == 2) {
|
|
|
statusList.add("4000");
|
|
|
}
|
|
|
LambdaQueryWrapper<DeviceInfo> lqw = new MybatisPlusQuery().eqWrapper(dto, DeviceInfo.class)
|