tangzy
2021-08-23 36755d4a9432bc229527105ba01ee0d94e6ac0b7
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>