maven
6 天以前 897acda0bb8c0bcd9511d62fad24060609669d35
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>