tangzy
2021-08-25 2063a93b5f7d4837e0dfd7c2c3c936af8419700f
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>