Administrator
2021-09-09 6810a3f59a8a930f67e4dfba9ebad1d147df7196
src/main/java/org/springblade/modules/equipage/mapper/GunMapper.xml
@@ -17,6 +17,9 @@
        <if test="gun.tenantName!=null and  gun.tenantName!=''">
            and bt.dept_name like concat('%', #{gun.tenantName},'%')
        </if>
        <if test="gun.deptId!=null and gun.deptId!=''">
            and sg.dept_id = #{gun.deptId}
        </if>
        <if test="gun.gunCardNumber!=null and gun.gunCardNumber!=''">
            and sg.gun_card_number like concat('%', #{gun.gunCardNumber},'%')
        </if>