|
|
@@ -140,6 +140,10 @@ public class HlwPaymentDetailServiceImpl extends ServiceImpl<HlwPaymentDetailMap
|
|
|
HlwCompany hlwCompany = hlwCompanyService.getByCompanyCode(jsonObject.getString("companyCode"));
|
|
|
List<Map<String, Object>> list = (List<Map<String, Object>>) jsonObject.get("userList");
|
|
|
log.info("444444444444444===" + list);
|
|
|
+ //是否提示设置付款类型
|
|
|
+ if (hlwCompany.getPaymentType() == null) {
|
|
|
+ return Result.error("请先配置支付类型");
|
|
|
+ }
|
|
|
HlwRequirement hlwRequirement = new HlwRequirement();
|
|
|
//开心灵工模式,不创建用户需求订单,不判断60天
|
|
|
if (!existOrder) {
|
|
|
@@ -207,11 +211,6 @@ public class HlwPaymentDetailServiceImpl extends ServiceImpl<HlwPaymentDetailMap
|
|
|
hlwRequirement.setCompanyId(hlwCompany.getId());
|
|
|
hlwRequirementService.save(hlwRequirement);
|
|
|
}
|
|
|
- //是否提示设置付款类型
|
|
|
- if (hlwCompany.getPaymentType() == null) {
|
|
|
- return Result.error("请先配置支付类型");
|
|
|
- }
|
|
|
-
|
|
|
//保存付款
|
|
|
HlwPayment hlwPayment = new HlwPayment();
|
|
|
hlwPayment.setApplicationId(applicationId);
|