Helius
2021-06-29 d95f158b9dfa0149e74bc60a0c5a386dbbdad484
fix applyJhy
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);
    }