44323
2023-09-25 89c36365eda5cdd23de2338f1c28a5b250ea7b34
cloud-server-account/src/main/resources/mapper/TAppUserMapper.xml
@@ -36,6 +36,18 @@
    <update id="membershipEnd">
        update t_app_user set isVip = 0 where isVip = 1 and now() >= vipEndTime
    </update>
    <update id="changeState">
        update t_app_user set
        state = #{state}
        <where>
            <if test="ids != null and ids.size()>0">
                AND t_app_user.id IN
                <foreach collection="ids" separator="," item="id" open="(" close=")">
                    #{id}
                </foreach>
            </if>
        </where>
    </update>
    <select id="listAll" resultType="com.dsh.account.model.vo.QueryAppUserVO">
        select t1.* from t_app_user t1
        <where>