소스 검색

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

release_toaliyun_real
luozukai 7 년 전
부모
커밋
ad854450e1
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. +1
    -0
      mallinkAdmin/src/main/resources/db/migration/V201907051354__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/V201907051354__L_ADD_FLOW_DATA.sql 파일 보기

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

+ 1
- 2
mallinkService/src/main/java/com/iformall/service/impl/WxFlowServiceImpl.java 파일 보기

@@ -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");


불러오는 중...
취소
저장