This commit is contained in:
齐天大圣 2024-03-07 16:36:04 +08:00
parent fee077d015
commit 1531eef136
3 changed files with 7 additions and 0 deletions

View File

@ -94,4 +94,5 @@ public interface LJUserMapper extends BaseMapper<LJUser> {
List<LJUserVo> getUserCountList(LJUserVo user); List<LJUserVo> getUserCountList(LJUserVo user);
} }

View File

@ -45,6 +45,7 @@ public interface LJUserGradeService extends IService<LJUserGrade> {
* @return * @return
*/ */
public LJUserGrade selectUserGradeById(int id); public LJUserGrade selectUserGradeById(int id);
public LJUserGrade selectUserGradeByGradeId(int id);
/** /**
* 根据id和店铺id查询会员等级信息 * 根据id和店铺id查询会员等级信息

View File

@ -93,6 +93,11 @@ public class LJUserGradeServiceImpl extends ServiceImpl<LJUserGradeMapper, LJUse
return ljUserGrade; return ljUserGrade;
} }
@Override
public LJUserGrade selectUserGradeByGradeId(int id) {
return getById(id);
}
@Override @Override
public LJUserGrade selectUserGradeByIdAndStoreId(int id) { public LJUserGrade selectUserGradeByIdAndStoreId(int id) {
AccountInfo nowAccountInfo = TokenUtil.getNowAccountInfo(); AccountInfo nowAccountInfo = TokenUtil.getNowAccountInfo();