Explorar o código

修改用户余额表主键为clientAccountId

LiRong hai 1 mes
pai
achega
b38a5fb494

+ 1 - 1
leromro-core/src/main/java/com/leromro/core/domain/ClientAccount.java

@@ -31,7 +31,7 @@ public class ClientAccount extends BaseEntity
     /** 主键id */
     @TableId(type = IdType.AUTO)
     @ApiModelProperty("主键id")
-    private Long balanceId;
+    private Long clientAccountId;
 
     /** 用户id */
     @Excel(name = "用户id")

+ 1 - 1
leromro-core/src/main/resources/mapper/core/ClientBalanceMapper.xml

@@ -13,7 +13,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="createBy != null">create_by = #{createBy},</if>
             <if test="remark != null">remark = #{remark},</if>
         </trim>
-        where balance_id = #{balanceId}
+        where client_account_id = #{clientAccountId}
     </update>
 
     <!--  <resultMap type="LUserBalance" id="LUserBalanceResult">