|
|
@@ -145,6 +145,9 @@ public class VppDeviceServiceImpl implements VppDeviceService {
|
|
|
if (params.get("runStatus") != null) {
|
|
|
wrapper.eq(VppDevice::getRunStatus, Integer.parseInt(params.get("runStatus").toString()));
|
|
|
}
|
|
|
+ if (params.get("streetTown") != null) {
|
|
|
+ wrapper.eq(VppDevice::getStreetTown, params.get("streetTown").toString());
|
|
|
+ }
|
|
|
return wrapper;
|
|
|
}
|
|
|
|
|
|
@@ -187,6 +190,10 @@ public class VppDeviceServiceImpl implements VppDeviceService {
|
|
|
device.setFirmwareVersion(request.getFirmwareVersion());
|
|
|
device.setGatewayId(request.getGatewayId());
|
|
|
device.setRemark(request.getRemark());
|
|
|
+ device.setAccountNo(request.getAccountNo());
|
|
|
+ if(request.getStreetTown() != null){
|
|
|
+ device.setStreetTown(request.getStreetTown());
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
private CommonPage<VppDevice> toCommonPage(Page<VppDevice> page) {
|