feat(bpm): 优化报销单查询功能
- 在查询条件中增加报销审核通过的状态过滤 - 通过添加 result = 2 的条件,仅显示审核通过的报销单
This commit is contained in:
parent
940918d2b8
commit
efb2fdfee0
@ -35,6 +35,7 @@
|
|||||||
WHERE
|
WHERE
|
||||||
a.deleted = 0
|
a.deleted = 0
|
||||||
AND b.deleted = 0
|
AND b.deleted = 0
|
||||||
|
AND b.result = 2
|
||||||
<if test="pageReqVO.userId != null">
|
<if test="pageReqVO.userId != null">
|
||||||
AND b.user_id = #{pageReqVO.userId}
|
AND b.user_id = #{pageReqVO.userId}
|
||||||
</if>
|
</if>
|
||||||
|
Loading…
Reference in New Issue
Block a user