forked from angelo/java-retail-app
## 空单注册返回等级处理(257);
This commit is contained in:
parent
45a707adf0
commit
3c36134d87
|
@ -68,7 +68,7 @@ public class BdMenuController extends BaseController {
|
|||
|
||||
if (CollectionUtil.isNotEmpty(list)) {
|
||||
// 等级列表
|
||||
List<BdGrade> gradeTmpList = iBdGradeService.queryGradeConfigByCondition(pkCountry);
|
||||
List<BdGrade> gradeTmpList = iBdGradeService.selectGradeAll(pkCountry);
|
||||
Map<Integer, BdGrade> gradeMap = new HashMap<>(gradeTmpList.size());
|
||||
for (BdGrade bdGrade : gradeTmpList) {
|
||||
gradeMap.put(bdGrade.getPkId(), bdGrade);
|
||||
|
|
|
@ -1704,7 +1704,7 @@ public class EnumsController extends BaseController {
|
|||
pkCountry = SecurityUtils.getPkCountry();
|
||||
}
|
||||
// 查询国家等级列表
|
||||
List<BdGrade> gradeList = iBdGradeService.queryGradeConfigByCondition(pkCountry);
|
||||
List<BdGrade> gradeList = iBdGradeService.selectGradeAll(pkCountry);
|
||||
gradeList.sort(Comparator.comparing(BdGrade::getGradeValue));
|
||||
|
||||
List<EnumEntity> enumEntityList = new ArrayList<>();
|
||||
|
|
Loading…
Reference in New Issue