|
|
@@ -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()); |