Browse Source

修改

master
yangpeilai 1 month ago
parent
commit
f6cedb83ff

+ 2
- 2
zhywpt-app-managew/src/main/java/cn/com/taiji/managew/manager/basic/BasicInfoManagerImpl.java View File

@@ -67,7 +67,7 @@ public class BasicInfoManagerImpl extends AbstractCommManager implements BasicIn
QtkCardInfoPageRequest request = new QtkCardInfoPageRequest();
if (hasText(req.getVehiclePlate()) == (req.getVehiclePlateColor() == null)) {
throw new ManagerException("车牌号和车牌颜色要同时填写,才能进行查询");
}else {
}else if (hasText(req.getVehiclePlate()) && req.getVehiclePlateColor() != null){
request.setVehicleId(req.getVehiclePlate() + "_" + req.getVehiclePlateColor());
}
BeanUtils.copyProperties(req, request);
@@ -79,7 +79,7 @@ public class BasicInfoManagerImpl extends AbstractCommManager implements BasicIn
QtkObuInfoPageRequest request = new QtkObuInfoPageRequest();
if (hasText(req.getVehiclePlate()) == (req.getVehiclePlateColor() == null)) {
throw new ManagerException("车牌号和车牌颜色要同时填写,才能进行查询");
}else {
}else if (hasText(req.getVehiclePlate()) && req.getVehiclePlateColor() != null){
request.setVehicleId(req.getVehiclePlate() + "_" + req.getVehiclePlateColor());
}
BeanUtils.copyProperties(req, request);

Loading…
Cancel
Save