xieb
2024-01-16 2da6e2fd9b5c5ae93ac90b42417ac89227b63ecc
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>