feat(bpm): 优化报销单查询功能

- 在查询条件中增加报销审核通过的状态过滤
- 通过添加 result = 2 的条件,仅显示审核通过的报销单
This commit is contained in:
furongxin 2025-03-05 11:31:52 +08:00
parent 940918d2b8
commit efb2fdfee0

View File

@ -35,6 +35,7 @@
WHERE
a.deleted = 0
AND b.deleted = 0
AND b.result = 2
<if test="pageReqVO.userId != null">
AND b.user_id = #{pageReqVO.userId}
</if>