maven
6 天以前 cf7478fa2339196ffd88d24f1149c192c3f0f0e3
src/main/resources/mapper/lavorissue/LavorIssueMapper.xml
@@ -55,6 +55,12 @@
            <if test="req.issueDate != null">
                and t1.issue_date &lt; #{req.issueDate}
            </if>
            <if test="req.staffId != null">
                and t1.staff_id = #{req.staffId}
            </if>
            <if test="req.season != null and req.season != ''">
                and (t1.issue_date &gt;= #{req.startDate} and t1.issue_date &lt;= #{req.endDate})
            </if>
        </where>
    </select>
</mapper>