diff --git a/hai-cweb/src/main/java/com/cweb/controller/HighCouponController.java b/hai-cweb/src/main/java/com/cweb/controller/HighCouponController.java index a8a21463..ea7dd28c 100644 --- a/hai-cweb/src/main/java/com/cweb/controller/HighCouponController.java +++ b/hai-cweb/src/main/java/com/cweb/controller/HighCouponController.java @@ -72,7 +72,7 @@ public class HighCouponController { BsCompany bsCompany = bsCompanyService.selectCompanyByRegion(regionId); if (bsCompany != null) { Map map = new HashMap<>(); - map.put("companyId", bsCompany.getRegionId()); + map.put("companyId", bsCompany.getId()); map.put("merchantId", merchantId); map.put("couponName", couponName); map.put("couponType", couponType); diff --git a/hai-service/src/main/java/com/hai/dao/HighCouponCodeMapperExt.java b/hai-service/src/main/java/com/hai/dao/HighCouponCodeMapperExt.java index 26528ae3..2eb92a88 100644 --- a/hai-service/src/main/java/com/hai/dao/HighCouponCodeMapperExt.java +++ b/hai-service/src/main/java/com/hai/dao/HighCouponCodeMapperExt.java @@ -14,7 +14,7 @@ public interface HighCouponCodeMapperExt { @Insert({ "