|
@@ -12,7 +12,7 @@ import com.xy.service.AlipayDeviceService;
|
|
import com.xy.service.DeviceInfoServiceImpl;
|
|
import com.xy.service.DeviceInfoServiceImpl;
|
|
import com.xy.utils.AuthorizeUtils;
|
|
import com.xy.utils.AuthorizeUtils;
|
|
import com.xy.utils.R;
|
|
import com.xy.utils.R;
|
|
-import com.xy.utils.enums.DictSonEnum;
|
|
|
|
|
|
+import com.xy.utils.enums.DictsSonEnum;
|
|
import lombok.AllArgsConstructor;
|
|
import lombok.AllArgsConstructor;
|
|
import lombok.extern.slf4j.Slf4j;
|
|
import lombok.extern.slf4j.Slf4j;
|
|
import org.aspectj.lang.ProceedingJoinPoint;
|
|
import org.aspectj.lang.ProceedingJoinPoint;
|
|
@@ -86,7 +86,7 @@ public class AliPayAspet {
|
|
//查询支付宝设备信息
|
|
//查询支付宝设备信息
|
|
List<DeviceInfo> deviceInfos = deviceInfoService.list(new LambdaQueryWrapper<DeviceInfo>()
|
|
List<DeviceInfo> deviceInfos = deviceInfoService.list(new LambdaQueryWrapper<DeviceInfo>()
|
|
.in(DeviceInfo::getDeviceId, new JArrayList<>(commandMqtts).comparing(CommandMqtt::getDeviceId).getProperty(CommandMqtt::getDeviceId))
|
|
.in(DeviceInfo::getDeviceId, new JArrayList<>(commandMqtts).comparing(CommandMqtt::getDeviceId).getProperty(CommandMqtt::getDeviceId))
|
|
- .eq(DeviceInfo::getDeviceType, DictSonEnum.DEVICE_TYPE_5.getKey())
|
|
|
|
|
|
+ .eq(DeviceInfo::getDeviceType, DictsSonEnum.DEVICE_TYPE_5.getKey())
|
|
);
|
|
);
|
|
if (deviceInfos.size() == 0) {
|
|
if (deviceInfos.size() == 0) {
|
|
return commandMqtts;
|
|
return commandMqtts;
|
|
@@ -119,7 +119,7 @@ public class AliPayAspet {
|
|
//查询支付宝设备信息
|
|
//查询支付宝设备信息
|
|
DeviceInfo deviceInfo = deviceInfoService.getOne(new LambdaQueryWrapper<DeviceInfo>()
|
|
DeviceInfo deviceInfo = deviceInfoService.getOne(new LambdaQueryWrapper<DeviceInfo>()
|
|
.eq(DeviceInfo::getDeviceId, busySate.getDeviceId())
|
|
.eq(DeviceInfo::getDeviceId, busySate.getDeviceId())
|
|
- .eq(DeviceInfo::getDeviceType, DictSonEnum.DEVICE_TYPE_5.getKey())
|
|
|
|
|
|
+ .eq(DeviceInfo::getDeviceType, DictsSonEnum.DEVICE_TYPE_5.getKey())
|
|
);
|
|
);
|
|
if (deviceInfo == null) {
|
|
if (deviceInfo == null) {
|
|
return true;
|
|
return true;
|