## Feat - 增加众康逻辑
This commit is contained in:
parent
b576ae02b2
commit
28c6fe64cc
|
@ -81,6 +81,8 @@ public enum EOrderTypeRetail {
|
||||||
|
|
||||||
RETAIL_PICK(46, "提货订单", 0, EnumsPrefixConstants.ORDER_TYPE + 46),
|
RETAIL_PICK(46, "提货订单", 0, EnumsPrefixConstants.ORDER_TYPE + 46),
|
||||||
|
|
||||||
|
DISCOUNT_ORDER(47, "五折专区", 0, EnumsPrefixConstants.ORDER_TYPE + 47),
|
||||||
|
|
||||||
;
|
;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -78,6 +78,14 @@ public class SendMsgServiceImpl implements ISendMsgService {
|
||||||
}
|
}
|
||||||
repurchaseAchieve = ComputeUtil.computeAdd(repurchaseAchieve, orderAmount);
|
repurchaseAchieve = ComputeUtil.computeAdd(repurchaseAchieve, orderAmount);
|
||||||
}
|
}
|
||||||
|
}else if (dsKey.equals("zk")){ // 众康
|
||||||
|
if (Objects.equals(EOrderTypeRetail.RETAIL_REGISTER.getValue(), saOrderExt.getOrderType()) ||
|
||||||
|
Objects.equals(EOrderTypeRetail.RETAIL_UPGRADE.getValue(), saOrderExt.getOrderType())) {
|
||||||
|
registerAchieve = ComputeUtil.computeAdd(registerAchieve, orderAmount);
|
||||||
|
}else if(Objects.equals(EOrderTypeRetail.RETAIL_REPURCHASE.getValue(), saOrderExt.getOrderType()) ||
|
||||||
|
Objects.equals(EOrderTypeRetail.DISCOUNT_ORDER.getValue(), saOrderExt.getOrderType())){
|
||||||
|
repurchaseAchieve = ComputeUtil.computeAdd(repurchaseAchieve, orderAmount);
|
||||||
|
}
|
||||||
}else{
|
}else{
|
||||||
if (Objects.equals(EOrderType.REGISTER_ORDER.getValue(), saOrderExt.getOrderType()) ||
|
if (Objects.equals(EOrderType.REGISTER_ORDER.getValue(), saOrderExt.getOrderType()) ||
|
||||||
Objects.equals(EOrderType.SPECIAL_UPGRADE_ORDER.getValue(), saOrderExt.getOrderType())) {
|
Objects.equals(EOrderType.SPECIAL_UPGRADE_ORDER.getValue(), saOrderExt.getOrderType())) {
|
||||||
|
|
Loading…
Reference in New Issue