Commit 367f0119 by zzrdark

1.fix 系列号修改不成功

parent 574e7177
spring:
profiles:
active: prod
active: dev
application:
name: cneeds-server-datashow
server:
......
......@@ -215,7 +215,7 @@ public class DeviceInfoController {
if (devicesDto.getImeis() != null && devicesDto.getImeis().size() != 0) {
devicesDto.getImeis().forEach(str -> {
DeviceInfoEntity queryDeviceByImei = deviceInfoService.queryDeviceByImei(str);
if (queryDeviceByImei == null){
if (queryDeviceByImei != null){
DeviceInfoEntity deviceInfoEntity = new DeviceInfoEntity();
deviceInfoEntity.setImei(str);
deviceInfoEntity.setSeriesId(devicesDto.getSeriesId());
......
spring:
profiles:
active: prod
active: dev
application:
name: cneeds-server-device
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment