智慧保安后台管理-外网项目备份
Administrator
2021-09-24 d74b944953fb4532298f88a5ea48c44359fc9c6a
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>