Commit cf14831f by 徐康

满减活动保存tenderId

parent 01543cda
...@@ -177,7 +177,8 @@ public class OrderAdapter { ...@@ -177,7 +177,8 @@ public class OrderAdapter {
.sequence(orderAccountIndex++) .sequence(orderAccountIndex++)
.build(); .build();
if(mcCafePartnerId.equals(createOrderDto.getCompanyId()) if(mcCafePartnerId.equals(createOrderDto.getCompanyId())
&& ActivityTypeEnum.TYPE_1.getCode().equals(activityDiscountsDto.getActivityType())) { && (ActivityTypeEnum.TYPE_11.getCode().equals(activityDiscountsDto.getActivityType())
|| ActivityTypeEnum.TYPE_12.getCode().equals(activityDiscountsDto.getActivityType()))) {
JSONObject jsonObject = new JSONObject(); JSONObject jsonObject = new JSONObject();
jsonObject.put("tenderId", activityDiscountsDto.getTenderId()); jsonObject.put("tenderId", activityDiscountsDto.getTenderId());
createOrderAccountDto.setAddInfo(jsonObject.toJSONString()); createOrderAccountDto.setAddInfo(jsonObject.toJSONString());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment