更新9.21

This commit is contained in:
许允枞 2024-09-21 16:20:21 +08:00
parent 6535769db2
commit 6d59ca8743

View File

@ -112,10 +112,10 @@ public class CardValueRuleController extends BaseController {
* @return
*/
@GetMapping("/getQyAndGz")
public ResponseObject getQyDetails(Integer storeId){
public ResponseObject getQyDetails(Integer storeId,String type){
LambdaQueryWrapper<CardValueRule> queryWrapper =new LambdaQueryWrapper<CardValueRule>();
queryWrapper.eq(CardValueRule::getStoreId, storeId);
queryWrapper.eq(CardValueRule::getType,"0");
queryWrapper.eq(CardValueRule::getType,type);
return getSuccessResult(this.cardValueRuleService.getOne(queryWrapper));
}
}