Przeglądaj źródła

[审批][修改][修改业务状态]

release_toaliyun_real
luozukai 6 lat temu
rodzic
commit
2a85bf4493
2 zmienionych plików z 2 dodań i 2 usunięć
  1. +1
    -0
      mallinkAdmin/src/main/resources/db/migration/V201907051339__L_ADD_FLOW_DATA.sql
  2. +1
    -2
      mallinkService/src/main/java/com/iformall/service/impl/WxFlowServiceImpl.java

+ 1
- 0
mallinkAdmin/src/main/resources/db/migration/V201907051339__L_ADD_FLOW_DATA.sql Wyświetl plik

@@ -0,0 +1 @@
update wx_flow_config set name = '有价券审批' where name ='有价卷审批';

+ 1
- 2
mallinkService/src/main/java/com/iformall/service/impl/WxFlowServiceImpl.java Wyświetl plik

@@ -204,8 +204,7 @@ public class WxFlowServiceImpl implements WxFlowService {
wxCoupon.setPutApplyStatus(applyStatus); wxCoupon.setPutApplyStatus(applyStatus);
}else if(EnumCouponAppType.STOCK.getCode().equals(operateType)){ }else if(EnumCouponAppType.STOCK.getCode().equals(operateType)){
wxCoupon.setStockApplyStatus(applyStatus); 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)) { if(EnumFlowKey.NEW_COUPON_UPLINE.getCode().equals(flowType) || EnumFlowKey.NEW_CARD_UPLINE.getCode().equals(flowType)) {
Integer inventory = (Integer) getVariableByKey(variables, "inventory"); Integer inventory = (Integer) getVariableByKey(variables, "inventory");


Ładowanie…
Anuluj
Zapisz