diff --git a/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/account/mapper/AccInfoMapper.java b/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/account/mapper/AccInfoMapper.java index e6edad9..0c68f22 100644 --- a/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/account/mapper/AccInfoMapper.java +++ b/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/account/mapper/AccInfoMapper.java @@ -76,7 +76,9 @@ public interface AccInfoMapper extends BaseMapper { AccInfoDetailsVO queryAccInfoBalanceSum(@Param("accountInfoQueryParam") AccountInfoQueryParam accountInfoQueryParam, @Param("encryptedSearchValue") String encryptedSearchValue); - void updateAccInfoEndDateByUserId(LocalDate endDate, List userIds, String updateBy); + void updateAccInfoEndDateByUserId(@Param("endDate") LocalDate endDate, + @Param("userIds") List userIds, + @Param("updateBy") String updateBy); List queryAccInfoByUserIds(@Param("userIds") List userIds); AccInfoDetailsVO queryAccInfoByUserId(@Param("userId") Long userId); diff --git a/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/account/AccInfoMapper.xml b/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/account/AccInfoMapper.xml index c7d1d28..1e3b249 100644 --- a/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/account/AccInfoMapper.xml +++ b/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/account/AccInfoMapper.xml @@ -115,7 +115,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" where account_id = #{accId} - + insert into account_info account_name, @@ -152,7 +152,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" #{userId}, #{scope}, #{endDate}, - #{redValidityDate}, #{accountStatus}, #{payPwd}, #{lastCreditTime}, @@ -224,7 +223,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" update account_info set del_flag = '2' where account_id in - #{accId} + #{id} diff --git a/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/account/AccWalletInfoMapper.xml b/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/account/AccWalletInfoMapper.xml index 6e85447..5ad9aa3 100644 --- a/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/account/AccWalletInfoMapper.xml +++ b/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/account/AccWalletInfoMapper.xml @@ -106,7 +106,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" insert into account_wallet_info(user_id,account_id,wallet_type,create_by,create_time) values - (#{item.userId},#{item.accId},#{item.walletType},#{item.createBy},NOW()) + (#{item.userId},#{item.accountId},#{item.walletType},#{item.createBy},NOW())