瀏覽代碼

Ias 解除车牌占用申请增加校验

master
chenchaod 2 週之前
父節點
當前提交
fd58b844b7

+ 4
- 0
zhywpt-service-ias/src/main/java/cn/com/taiji/ias/manager/ass/releasePlate/ReleasePlateApplyManager.java 查看文件

@@ -70,6 +70,9 @@ public class ReleasePlateApplyManager extends AbstractAssManager<ReleasePlateApp
throw newBusinessException("行驶证和营业执照车主不符,请重新申请");
}
String vehicleId = req.getVehiclePlate() + "_" + req.getVehiclePlateColor();

AssOrderinfo relasePlate = assOrderinfoRepo.findRelasePlate(vehicleId);
if (relasePlate != null) throw newBusinessException("该车辆已存在正在进行的申请单,不可重复提交");
// 双系统查询在用卡
QtkCardInfo qtkCardInfo = null;
List<QtkCardInfo> qtkCardInfos = queryCardInUse(vehicleId);
@@ -179,6 +182,7 @@ public class ReleasePlateApplyManager extends AbstractAssManager<ReleasePlateApp
assOrderinfo.setApplyTime(now);
assOrderinfo.setAgencyId(req.getAgencyId());
assOrderinfo.setChannelId(req.getChannelId());
assOrderinfo.setVehicleId(req.getVehiclePlate() + "_" + req.getVehiclePlateColor());
// FIXME: 业务员申请的单子,用户怎么查看
if (SourceType.SERVICE_HALL == req.getSourceType() || SourceType.WEB == req.getSourceType()){
assOrderinfo.setStaffOpenId(req.getOpenId());

Loading…
取消
儲存