diff --git a/fuintBackend/fuint-application/src/main/java/com/fuint/business/marketingActivity/cardValueRule/controller/CardValueRuleController.java b/fuintBackend/fuint-application/src/main/java/com/fuint/business/marketingActivity/cardValueRule/controller/CardValueRuleController.java index 708cf806f..cf909a4a6 100644 --- a/fuintBackend/fuint-application/src/main/java/com/fuint/business/marketingActivity/cardValueRule/controller/CardValueRuleController.java +++ b/fuintBackend/fuint-application/src/main/java/com/fuint/business/marketingActivity/cardValueRule/controller/CardValueRuleController.java @@ -68,6 +68,8 @@ public class CardValueRuleController extends BaseController { */ @PostMapping("/saveOrUpdate") public ResponseObject saveOrUpdate(@RequestBody CardValueRule cardValueRule) { + cardValueRule.setStoreId(TokenUtil.getNowAccountInfo().getStoreId()); + cardValueRule.setChainStoreId(TokenUtil.getNowAccountInfo().getChainStoreId()); return getSuccessResult(this.cardValueRuleService.saveOrUpdate(cardValueRule)); }