diff --git a/src/main/java/com/glxp/api/req/inout/FilterOrderDetailResultRequest.java b/src/main/java/com/glxp/api/req/inout/FilterOrderDetailResultRequest.java index f27320f3..0540a44b 100644 --- a/src/main/java/com/glxp/api/req/inout/FilterOrderDetailResultRequest.java +++ b/src/main/java/com/glxp/api/req/inout/FilterOrderDetailResultRequest.java @@ -11,7 +11,10 @@ import java.util.List; */ @Data public class FilterOrderDetailResultRequest extends ListPageRequest { - + /** + * 供应商ID + */ + private String supId; /** * 单据号 */ diff --git a/src/main/resources/mybatis/mapper/inout/IoOrderDetailResultDao.xml b/src/main/resources/mybatis/mapper/inout/IoOrderDetailResultDao.xml index 66116270..2e685cdb 100644 --- a/src/main/resources/mybatis/mapper/inout/IoOrderDetailResultDao.xml +++ b/src/main/resources/mybatis/mapper/inout/IoOrderDetailResultDao.xml @@ -36,6 +36,9 @@ AND a2.orderIdFk = #{orderIdFk} + + AND a2.supId = #{supId} + AND a2.nameCode = #{nameCode}