Commit c54132fc775e26337fa5934584da76e922b5cec9
Committed by
Gitee
1 parent
df4cc666
【枚举值错误】update cn/iocoder/yudao/module/product/enums/comment/ProductCommentAuditStatusEnum.java.
Signed-off-by: 山野羡民 <liyujiang_tk@yeah.net>
Showing
1 changed file
with
2 additions
and
2 deletions
yudao-module-mall/yudao-module-product-api/src/main/java/cn/iocoder/yudao/module/product/enums/comment/ProductCommentAuditStatusEnum.java
| ... | ... | @@ -15,8 +15,8 @@ import java.util.Arrays; |
| 15 | 15 | @AllArgsConstructor |
| 16 | 16 | public enum ProductCommentAuditStatusEnum implements IntArrayValuable { |
| 17 | 17 | |
| 18 | - NONE(1, "待审核"), | |
| 19 | - APPROVE(2, "审批通过"), | |
| 18 | + NONE(0, "待审核"), | |
| 19 | + APPROVE(1, "审批通过"), | |
| 20 | 20 | REJECT(2, "审批不通过"),; |
| 21 | 21 | |
| 22 | 22 | public static final int[] ARRAYS = Arrays.stream(values()).mapToInt(ProductCommentAuditStatusEnum::getStatus).toArray(); | ... | ... |