会员支付 余额支付
This commit is contained in:
@@ -61,7 +61,7 @@ public class FreeDineConfigServiceImpl extends ServiceImpl<FreeDineConfigMapper,
|
|||||||
config.setShopIdList(JSONArray.toJSONString(freeDineConfigEditDTO.getShopIdList()));
|
config.setShopIdList(JSONArray.toJSONString(freeDineConfigEditDTO.getShopIdList()));
|
||||||
}
|
}
|
||||||
|
|
||||||
shopConfigService.editStatusByShopIdList(config.getShopId(), freeDineConfigEditDTO.getEnable() ? 1 : 0,true, "is_account_ay",
|
shopConfigService.editStatusByShopIdList(config.getShopId(), freeDineConfigEditDTO.getEnable() ? 1 : 0,true, "is_account_pay",
|
||||||
freeDineConfigEditDTO.getUseShopType(), freeDineConfigEditDTO.getShopIdList() == null ? new ArrayList<>() : freeDineConfigEditDTO.getShopIdList());
|
freeDineConfigEditDTO.getUseShopType(), freeDineConfigEditDTO.getShopIdList() == null ? new ArrayList<>() : freeDineConfigEditDTO.getShopIdList());
|
||||||
if (freeDineConfigEditDTO.getUseType() != null) {
|
if (freeDineConfigEditDTO.getUseType() != null) {
|
||||||
config.setUseType(JSONObject.toJSONString(freeDineConfigEditDTO.getUseType()));
|
config.setUseType(JSONObject.toJSONString(freeDineConfigEditDTO.getUseType()));
|
||||||
|
|||||||
@@ -100,7 +100,7 @@ public class MkConsumeCashbackServiceImpl extends ServiceImpl<MkConsumeCashbackM
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
shopConfigService.editStatusByShopIdList(shopId, consumeDiscountDTO.getIsEnable(), true, "is_account_ay",
|
shopConfigService.editStatusByShopIdList(shopId, consumeDiscountDTO.getIsEnable(), true, "is_account_pay",
|
||||||
consumeDiscountDTO.getUseType(), consumeDiscountDTO.getShopIdList());
|
consumeDiscountDTO.getUseType(), consumeDiscountDTO.getShopIdList());
|
||||||
|
|
||||||
if (consumeDiscountDTO.getCashbackStepList() != null && !consumeDiscountDTO.getCashbackStepList().isEmpty()) {
|
if (consumeDiscountDTO.getCashbackStepList() != null && !consumeDiscountDTO.getCashbackStepList().isEmpty()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user