Compare commits

..

No commits in common. "5976461505d47f06d719c4f831fe58776e600b27" and "a9088400b095b51b6556dd1978ae56f49112536c" have entirely different histories.

3 changed files with 5 additions and 6 deletions

View File

@ -76,9 +76,7 @@ public interface AccInfoMapper extends BaseMapper<AccountInfo> {
AccInfoDetailsVO queryAccInfoBalanceSum(@Param("accountInfoQueryParam") AccountInfoQueryParam accountInfoQueryParam,
@Param("encryptedSearchValue") String encryptedSearchValue);
void updateAccInfoEndDateByUserId(@Param("endDate") LocalDate endDate,
@Param("userIds") List<Long> userIds,
@Param("updateBy") String updateBy);
void updateAccInfoEndDateByUserId(LocalDate endDate, List<Long> userIds, String updateBy);
List<AccInfoDetailsVO> queryAccInfoByUserIds(@Param("userIds") List<Long> userIds);
AccInfoDetailsVO queryAccInfoByUserId(@Param("userId") Long userId);

View File

@ -115,7 +115,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
where account_id = #{accId}
</select>
<insert id="insertAccInfo" parameterType="com.bonus.canteen.core.account.domain.AccountInfo" useGeneratedKeys="true" keyProperty="accountId">
<insert id="insertAccInfo" parameterType="com.bonus.canteen.core.account.domain.AccountInfo" useGeneratedKeys="true" keyProperty="accId">
insert into account_info
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="accountName != null and accountName != ''">account_name,</if>
@ -152,6 +152,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="userId != null">#{userId},</if>
<if test="scope != null">#{scope},</if>
<if test="endDate != null">#{endDate},</if>
<if test="redValidityDate != null">#{redValidityDate},</if>
<if test="accountStatus != null">#{accountStatus},</if>
<if test="payPwd != null and payPwd != ''">#{payPwd},</if>
<if test="lastCreditTime != null">#{lastCreditTime},</if>
@ -223,7 +224,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<delete id="deleteAccInfoByIds" parameterType="String">
update account_info set del_flag = '2' where account_id in
<foreach item="id" collection="array" open="(" separator="," close=")">
#{id}
#{accId}
</foreach>
</delete>

View File

@ -106,7 +106,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<insert id="batchInsertAccWalletInfo" parameterType="com.bonus.canteen.core.account.domain.AccWalletInfo">
insert into account_wallet_info(user_id,account_id,wallet_type,create_by,create_time) values
<foreach item="item" index="index" collection="list" separator=",">
(#{item.userId},#{item.accountId},#{item.walletType},#{item.createBy},NOW())
(#{item.userId},#{item.accId},#{item.walletType},#{item.createBy},NOW())
</foreach>
</insert>