瀏覽代碼

ias

master
chenchaod 1 月之前
父節點
當前提交
e95c76004b

+ 1
- 1
zhywpt-service-ias/src/main/java/cn/com/taiji/ias/manager/order/ProductQueryManager.java 查看文件

@@ -57,7 +57,7 @@ public class ProductQueryManager extends AbstractOrderManager<ProductQueryReques
@Override
protected void businessValidateInternal(ErrorMsgBuilder builder, ProductQueryRequest req, ServiceLogEvent event,
Map<String, Object> dataStream) throws ServiceHandleException {
List<String> releaseIds = promotionRepo.findReleaseIds(req.toLikeStr(req.getAgentId()), LocalDateTime.now());
List<String> releaseIds = promotionRepo.findReleaseIds("%"+req.getAgentId()+"%", LocalDateTime.now());
List<IssueProduct> productList = issueProductRepo.findListByReleaseIds(releaseIds);
List<ProductQueryModel> products = productList.stream().map(t -> {
ProductQueryModel productModel = new ProductQueryModel();

+ 1
- 0
zhywpt-service-ias/src/main/java/cn/com/taiji/ias/manager/order/VehicleUploadManager.java 查看文件

@@ -103,6 +103,7 @@ public class VehicleUploadManager extends AbstractOrderManager<VehicleUploadRequ
// 车辆所有人不是持卡人
if (!order.getCustomerName().equals(request.getOwnerName())) {
request.ownerValid(builder);
if(UserType.PERSONAL_USER.equals(order.getUserType())) request.ownerValid2(builder);
FormatValidateTools.checkWithException(builder); //触发格式校验
//上传车主身份证
throwBisExceptionOn(!request.getIdName().equals(request.getOwnerName()),"车辆所有人与上传身份证不一致");

Loading…
取消
儲存