提交代码

dev
胡锐 1 week ago
parent a27e13bfe0
commit e18cef61b0
  1. 2
      service/src/main/java/com/hfkj/dao/BsUserSpreadAccountRecordMapperExt.java

@ -15,7 +15,7 @@ public interface BsUserSpreadAccountRecordMapperExt {
Integer withdrawChance(@Param("userId") Long userId);
@Select("<script>" +
" select sum(transaction_amount) from bs_user_spread_account_record where 1 = 1" +
" select sum(transaction_amount) from bs_user_spread_account_record where status = 1" +
" <if test='param.userId != null'> and user_id = #{param.userId} </if>" +
" <if test='param.userPhone != null'> and user_phone like concat('%',#{param.userPhone},'%') </if>" +
" <if test='param.type != null'> and type = #{param.type} </if>" +

Loading…
Cancel
Save