智慧保安后台管理-外网
钟日健
2022-02-24 ab3024e6f8a3bc765bee326bf90afc07391ae449
src/main/java/org/springblade/modules/workreport/mapper/WorkReportMapper.xml
@@ -21,6 +21,9 @@
        <if test="workReport.realName!=null and  workReport.realName!=''">
            and bu.real_name like concat('%', #{workReport.realName},'%')
        </if>
        <if test="workReport.content!=null and  workReport.content!=''">
            and swr.content like concat('%', #{workReport.content},'%')
        </if>
        <if test="workReport.type!=null">
            and swr.type = #{workReport.type}
        </if>
@@ -51,6 +54,9 @@
        <if test="workReport.realName!=null and  workReport.realName!=''">
            and bu.real_name like concat('%', #{workReport.realName},'%')
        </if>
        <if test="workReport.content!=null and  workReport.content!=''">
            and swr.content like concat('%', #{workReport.content},'%')
        </if>
        <if test="workReport.type!=null">
            and swr.type = #{workReport.type}
        </if>