357f148f73eed2b25da6ecd13bc3e632c07d4c11..2a53d6814b43d58d3b8b373fe2690f68e2e912a8
2021-06-29 Helius
Merge branch 'score-shop' of http://120.27.238.55:7000/r/xzx into score-shop
2a53d6 diff | tree
2021-06-29 Helius
fix applyJhy
d95f15 diff | tree
2 files modified
6 ■■■■■ changed files
gc-core/src/main/java/com/xzx/gc/entity/JhyInfo.java 3 ●●●●● patch | view | raw | blame | history
gc-user/src/main/java/com/xzx/gc/user/service/JhyInfoService.java 3 ●●●●● patch | view | raw | blame | history
gc-core/src/main/java/com/xzx/gc/entity/JhyInfo.java
@@ -32,11 +32,14 @@
     * 是否集物员 1-是 2-否
     */
    private String isJhy;
    public static final String IS_JHY_Y = "1";
    public static final String IS_JHY_N = "2";
    /**
     * 审核状态 1-待审核 2-审核通过 3-审核拒绝
     */
    private Integer status;
    public static final Integer CHECK_WAIT = 1;
    public static final Integer CHECK_PASS = 2;
    public static final Integer CHECK_REFUSE = 3;
}
gc-user/src/main/java/com/xzx/gc/user/service/JhyInfoService.java
@@ -42,6 +42,9 @@
        JhyInfo jhyInfo = new JhyInfo();
        BeanUtil.copyProperties(applyDto, jhyInfo);
        jhyInfo.setCreatedTime(new Date());
        jhyInfo.setIsJhy(JhyInfo.IS_JHY_N);
        jhyInfo.setCardPos(applyDto.getCardPos());
        jhyInfo.setStatus(JhyInfo.CHECK_WAIT);
        jhyInfoMapper.insert(jhyInfo);
    }