Commit 66c0f255 by zhangchen

1.添加券规则判断

parent 5fc80cb4
......@@ -758,7 +758,7 @@ public class VoucherService {
if(!StringUtils.isEmpty(voucherItemDTO.getConditionJson()) && VoucherTypeEnum.COURSE.getValue() == voucherItemDTO.getType()){
String conditionJson = voucherItemDTO.getConditionJson();
VoucherTypeEnum voucherTypeEnum = VoucherTypeEnum.valueOf(voucherItemDTO.getType());
if (conditionJson != null) {
if (conditionJson != null && conditionJson.contains("value")) {
if(voucherItemDTO.getMultiple()==0){
if (voucherTypeEnum != null && voucherTypeEnum.isCourseRuleConditionBean()) {
AbstractRuleConditionBean ruleConditionBean = JsonUtil.readValue(
......
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 sign in to comment