Bladeren bron

提现修改

liweifan 3 jaren geleden
bovenliggende
commit
693920481f

+ 13 - 0
cooleshow-user/user-biz/src/main/java/com/yonge/cooleshow/biz/dal/entity/UserWithdrawal.java

@@ -43,6 +43,11 @@ public class UserWithdrawal implements Serializable {
     @ApiModelProperty("审核用户表id ")
     @TableField(value = "auth_user_id_")
     private Long authUserId;
+    @ApiModelProperty("审核时间 ")
+    @TableField(value = "auth_time_")
+    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
+    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
+    private Date authTime;
     @ApiModelProperty("审核原因 ")
     @TableField(value = "reason_")
     private String reason;
@@ -237,4 +242,12 @@ public class UserWithdrawal implements Serializable {
     public void setCallbakAmount(BigDecimal callbakAmount) {
         this.callbakAmount = callbakAmount;
     }
+
+    public Date getAuthTime() {
+        return authTime;
+    }
+
+    public void setAuthTime(Date authTime) {
+        this.authTime = authTime;
+    }
 }

+ 1 - 0
cooleshow-user/user-biz/src/main/java/com/yonge/cooleshow/biz/dal/service/impl/UserWithdrawalServiceImpl.java

@@ -177,6 +177,7 @@ public class UserWithdrawalServiceImpl extends ServiceImpl<UserWithdrawalDao, Us
             build.setReason(authOperaReq.getReason());
             build.setAuthUserId(sysUser.getId());
             build.setUpdateTime(new Date());
+            build.setAuthTime(new Date());
 
             //请求三方
             SysUser withdrawalUser = sysUserService.findUserById(build.getUserId());

+ 2 - 0
cooleshow-user/user-biz/src/main/resources/config/mybatis/UserWithdrawalMapper.xml

@@ -10,6 +10,7 @@
         <result column="plantform_fee_" property="plantformFee" />
         <result column="auth_status_" property="authStatus" />
         <result column="auth_user_id_" property="authUserId" />
+        <result column="auth_time_" property="authTime" />
         <result column="reason_" property="reason" />
         <result column="bank_card_id_" property="bankCardId" />
         <result column="open_type_" property="openType" />
@@ -32,6 +33,7 @@
         , t.plantform_fee_ as plantformFee
         , t.auth_status_ as authStatus
         , t.auth_user_id_ as authUserId
+        , t.auth_time_ as authTime
         , t.reason_ as reason
         , t.bank_card_id_ as bankCardId
         , t.open_type_ as openType