'修复已知问题'

dev-discount
胡锐 4 years ago
parent 657342ba07
commit 7353792e8f
  1. 1
      hai-bweb/src/main/java/com/bweb/controller/HighCouponController.java
  2. 1
      hai-bweb/src/main/java/com/bweb/excelListener/ImportCouponListener.java

@ -495,6 +495,7 @@ public class HighCouponController {
highCouponCode.setSalesEndTime(salesEndTimeC.getTime()); highCouponCode.setSalesEndTime(salesEndTimeC.getTime());
highCouponCode.setUseEndTime(useEndTimeC.getTime()); highCouponCode.setUseEndTime(useEndTimeC.getTime());
highCouponCode.setStatus(1); // 状态:1.待销售 2.未使用 3.已使用 99.预支付 highCouponCode.setStatus(1); // 状态:1.待销售 2.未使用 3.已使用 99.预支付
highCouponCode.setIsAssignAgent(false);
highCouponCode.setCreateTime(new Date()); highCouponCode.setCreateTime(new Date());
highCouponCode.setOperatorId(userInfoModel.getSecUser().getId()); highCouponCode.setOperatorId(userInfoModel.getSecUser().getId());
highCouponCode.setOperatorName(userInfoModel.getSecUser().getUserName()); highCouponCode.setOperatorName(userInfoModel.getSecUser().getUserName());

@ -59,6 +59,7 @@ public class ImportCouponListener extends AnalysisEventListener<ImportCouponMode
highCouponCode.setCouponId(highCoupon.getId()); highCouponCode.setCouponId(highCoupon.getId());
highCouponCode.setMerchantId(highCoupon.getMerchantId()); highCouponCode.setMerchantId(highCoupon.getMerchantId());
highCouponCode.setSalesCode(importCouponModel.getSalesCode()); highCouponCode.setSalesCode(importCouponModel.getSalesCode());
highCouponCode.setIsAssignAgent(false);
// 销售截止时间 // 销售截止时间
Calendar salesEndTime = Calendar.getInstance(); Calendar salesEndTime = Calendar.getInstance();

Loading…
Cancel
Save