admin
2020-12-05 8ac93bd9b45e3d25783798e1fe8cfc26bedd57d2
service-daylucky/src/main/resources/mapper/UserInfoMapper.xml
@@ -89,6 +89,18 @@
        limit #{query.start},#{query.count}
    </select>
    <select id="listUserInfo" resultMap="BaseResultMap">
        select
        <include refid="Base_Column_List"/>
        from user_info
        where 1=1
        <foreach collection="userList" item="user" open=" and (" close=")" separator=" or ">
            #{user.uid}=id and app_id=#{user.appId}
        </foreach>
    </select>
    <select id="count" resultType="java.lang.Long">
        select
        count(*)