44323
2023-09-26 6676f28a5a6ca65015a2b2c26e804fa998d625c8
cloud-server-account/src/main/resources/mapper/TAppUserMapper.xml
@@ -82,4 +82,15 @@
            </foreach>
        </where>
    </select>
    <select id="queryAPPUserByNameAndPhone" resultType="com.dsh.account.entity.TAppUser">
        select * from t_app_user t1
        <where>
            <if test="query.userName!=null and query.userName!= ''">
                AND t1.name LIKE concat('%',#{query.userName},'%')
            </if>
            <if test="query.phone!=null and query.phone!= ''">
                AND t1.phone LIKE concat('%',#{query.phone},'%')
            </if>
        </where>
    </select>
</mapper>