给财务单据增加查询条件

This commit is contained in:
季圣华
2021-07-15 23:11:39 +08:00
parent 6a4b4e27be
commit 9fadc1e063
4 changed files with 39 additions and 8 deletions

View File

@@ -30,6 +30,15 @@
<if test="endTime != null">
and ah.bill_time &lt;= #{endTime}
</if>
<if test="organId != null">
and ah.organ_id=#{organId}
</if>
<if test="handsPersonId != null">
and ah.hands_person_id=#{handsPersonId}
</if>
<if test="creator != null">
and ah.creator=#{creator}
</if>
<if test="creatorArray != null">
and ah.creator in (
<foreach collection="creatorArray" item="creator" separator=",">
@@ -63,6 +72,15 @@
<if test="endTime != null">
and bill_time &lt;= #{endTime}
</if>
<if test="organId != null">
and organ_id=#{organId}
</if>
<if test="handsPersonId != null">
and hands_person_id=#{handsPersonId}
</if>
<if test="creator != null">
and creator=#{creator}
</if>
<if test="creatorArray != null">
and creator in (
<foreach collection="creatorArray" item="creator" separator=",">