Commit 3fbf8b76 authored by Smile's avatar Smile Committed by wux

bug编号154 后台-等级设置-新增/修改 会员等级规则的校验逻辑未实现 2

parent 97c99b52
......@@ -137,7 +137,7 @@ public class MemberUserLevelConfigServiceImpl extends AbstractService<MemberUser
if (levelPage.getTotal() > 0){
List<MemberUserLevelConfigBaseRespVO> list = levelPage.getList();
list.forEach(i -> {
if (i.getSort().equals(query.getSort())){
if (i.getSort().equals(query.getSort())&&!(query.getRuleNumber()!=null&&i.getRuleNumber().equals(query.getRuleNumber()))){
if (i.getStatus()==0 || i.getStatus()==1){
if (i.getEndTime()==null){
throw exception(LEVEL_Order_REPEAT);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment