xieb
2024-01-15 c4d8a0ec627cfc0a0e1d14501a2f9ae188e226b4
src/main/java/org/springblade/modules/system/mapper/UserMapper.xml
@@ -54,6 +54,9 @@
        <if test="user.userType!=null and user.userType != ''">
            and user_type = #{user.userType}
        </if>
        <if test="user.phone!=null and user.phone != ''">
            and phone like concat('%', #{user.phone},'%')
        </if>
        <if test="user.postId!=null and user.postId != ''">
            and post_id = #{user.postId}
        </if>