修改查询配件接口,增加仓管可以查看待审核

This commit is contained in:
许允枞 2024-10-28 18:03:32 +08:00
parent cac8ac030f
commit 5625589976
2 changed files with 6 additions and 0 deletions

View File

@ -25,4 +25,7 @@ public class DlTicketWaresReqVO extends DlTicketWares {
/** 查看可以退料的数据时为tru */
private Boolean isBack;
/** 查看待审核的数据时为true */
private Boolean isToBeReviewed;
}

View File

@ -63,6 +63,9 @@
<if test="map.userRole != null">
and (
<choose>
<when test="map.userRole == 5 and map.isToBeReviewed">
dtw.status = '01'
</when>
<when test="map.userRole == 5 and map.isBack == null">
dtw.status not in ('01', '05', '03')
</when>