|
|
|
@@ -204,8 +204,7 @@ public class WxFlowServiceImpl implements WxFlowService { |
|
|
|
wxCoupon.setPutApplyStatus(applyStatus); |
|
|
|
}else if(EnumCouponAppType.STOCK.getCode().equals(operateType)){ |
|
|
|
wxCoupon.setStockApplyStatus(applyStatus); |
|
|
|
if(EnumRentContractAppStatus.FINISH.getCode().intValue() == applyStatus.intValue() |
|
|
|
||EnumFlowKey.NEW_CARD_UPLINE.getCode().equals(flowType)) { |
|
|
|
if(EnumRentContractAppStatus.FINISH.getCode().intValue() == applyStatus.intValue()) { |
|
|
|
//减库存 |
|
|
|
if(EnumFlowKey.NEW_COUPON_UPLINE.getCode().equals(flowType) || EnumFlowKey.NEW_CARD_UPLINE.getCode().equals(flowType)) { |
|
|
|
Integer inventory = (Integer) getVariableByKey(variables, "inventory"); |
|
|
|
|