xieb
2024-01-11 ca9e04dd5c3ebbe7970b8810039e53a09a05d764
用户手机号码模糊查询
1 files modified
2 ■■■ changed files
src/main/java/org/springblade/modules/system/mapper/UserMapper.xml 2 ●●● patch | view | raw | blame | history
src/main/java/org/springblade/modules/system/mapper/UserMapper.xml
@@ -55,7 +55,7 @@
            and user_type = #{user.userType}
        </if>
        <if test="user.phone!=null and user.phone != ''">
            and phone = #{user.phone}
            and phone like concat('%', #{user.phone},'%')
        </if>
        <if test="user.postId!=null and user.postId != ''">
            and post_id = #{user.postId}