智慧保安后台管理-验收版本
tangzy
2021-12-06 30df94c05573a426d030510d4dd58ae1d93bfb7a
src/main/java/org/springblade/modules/directive/mapper/DirectiveMapper.xml
@@ -24,6 +24,12 @@
        <if test="directive.endTime!=null and directive.endTime!=''">
            and sd.send_time &lt;= #{directive.endTime}
        </if>
        <if test="directive.content!=null and directive.content!=''">
            and sd.content like concat('%', #{directive.content},'%')
        </if>
        <if test="directive.sendName!=null and directive.sendName!=''">
            and bu.real_name like concat('%', #{directive.sendName},'%')
        </if>
        <if test="directive.sendDirectiveId!=null and directive.sendDirectiveId!=''">
            and sd.send_directive_id like concat('%', #{directive.sendDirectiveId},'%')
        </if>