|
@@ -87,6 +87,10 @@ public class DeviceInfoServiceImpl extends ServiceImpl<DeviceInfoMapper, DeviceI
|
|
|
* 质检商户code
|
|
|
*/
|
|
|
public static final String QA_MERC_CODE = "10001";
|
|
|
+ /**
|
|
|
+ * 聚邻社质检
|
|
|
+ */
|
|
|
+ public static final String JLS_QA_MERC_CODE = "10112";
|
|
|
private final CloudWalkApiService cloudWalkApiService;
|
|
|
private final AlgorithmService algorithmService;
|
|
|
private final CountApiService countApiService;
|
|
@@ -1976,6 +1980,9 @@ public class DeviceInfoServiceImpl extends ServiceImpl<DeviceInfoMapper, DeviceI
|
|
|
if (BooleanUtil.isFalse(b)) {
|
|
|
throw new RuntimeException("NFC设备激活失败!");
|
|
|
}
|
|
|
+ deviceInfo.setActiveState(Integer.valueOf(DeviceActiveStateEnum.TRUE.getCode()));
|
|
|
+ deviceInfo.setActiveTime(LocalDateTime.now());
|
|
|
+ updateById(deviceInfo);
|
|
|
return R.ok(true);
|
|
|
}
|
|
|
}
|