tangzy
2021-08-20 4fc50c2098abfa3dec3580f1f53f0764476ccc53
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>