!715 feat: 客户详情 + review 修改

Merge pull request !715 from wanwan/feature/crm
This commit is contained in:
芋道源码
2023-11-04 01:39:34 +00:00
committed by Gitee
12 changed files with 105 additions and 31 deletions

View File

@ -19,13 +19,12 @@ public enum CrmCustomerLevelEnum implements IntArrayValuable {
GENERAL(2, "B普通客户"),
LOW_PRIORITY(3, "C非优先客户");
public static final int[] ARRAYS = Arrays.stream(values()).mapToInt(CrmCustomerLevelEnum::getStatus).toArray();
public static final int[] ARRAYS = Arrays.stream(values()).mapToInt(CrmCustomerLevelEnum::getLevel).toArray();
// TODO @wanwan这里的 status 字段,可以考虑改成 level
/**
* 状态
*/
private final Integer status;
private final Integer level;
/**
* 状态名
*/