fix
This commit is contained in:
@@ -87,6 +87,7 @@ public enum ErrorCodeEnum {
|
||||
NO_PERMISSION(600004, "暂无处理审批任务权限", null),
|
||||
POINT_AUDIT_NODE_ERROR(600005, "当前审批任务异常", null),
|
||||
USER_NOT_TODO_AUDIT(600005, "当前用户没有待审批的任务", null),
|
||||
NOT_ALLOW_MODIFY_WANT_SHOP_NUM(600006, "当前阶段不允许直接修改意向开店数量", null),
|
||||
|
||||
INTERVIEW_ENTER_FAIL(1021101, "进入面审间失败", null),
|
||||
DINGDING_USER_NOT_EXIST(1021102, "用户钉钉信息不存在,无法发起资质审核!", null),
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
package com.cool.store.enums.point;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author zhangchenbiao
|
||||
* @FileName: PointRecommendStatus
|
||||
@@ -43,5 +46,21 @@ public enum PointRecommendStatus {
|
||||
return null;
|
||||
}
|
||||
|
||||
public static String getDescByCode(Integer code) {
|
||||
for (PointRecommendStatus pointRecommendStatus : PointRecommendStatus.values()) {
|
||||
if (pointRecommendStatus.getCode().equals(code)) {
|
||||
return pointRecommendStatus.getDesc();
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
public static List<Integer> getSelectStatus(){
|
||||
List<Integer> resultList = new ArrayList<>();
|
||||
resultList.add(POINT_RECOMMEND_STATUS_2.code);
|
||||
resultList.add(POINT_RECOMMEND_STATUS_4.code);
|
||||
return resultList;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user