大件运输联网系统后端代码
guoshilong
2023-01-02 c864fec5f798a1aabcde877469886dd0dc90d092
src/main/java/org/springblade/modules/pass/mapper/PassMapper.xml
@@ -17,8 +17,13 @@
    </resultMap>
    <select id="selectPassPage" resultMap="passResultMap">
        select * from sys_pass where is_deleted = 0
    <select id="selectPassPage" resultType="org.springblade.modules.pass.vo.PassVO">
        select * from sys_pass pass
        LEFT JOIN sys_application app ON app.no = pass.no and app.is_deleted = 0
        where pass.is_deleted = 0
        <if test="pass.userId !=null and pass.userId !='' ">
            AND app.user_id = #{pass.userId}
        </if>
    </select>