新增-erp物料查询接口api

This commit is contained in:
liss
2025-11-03 14:39:56 +08:00
parent 928bb40dd5
commit 57022e04c0
12 changed files with 215 additions and 79 deletions

View File

@@ -33,6 +33,7 @@
WHERE DOWN_CTR_NUM = #{item.downCenterNumber}
</foreach>
</update>
<select id="selectMaxCode" resultType="java.lang.String">
SELECT MAX(MTRL_CODE) FROM SPLY_ERP_MTRL
</select>
@@ -41,7 +42,7 @@
SELECT * FROM SPLY_ERP_MTRL WHERE MTRL_ID = #{erpMId}
</select>
<select id="selectByErpMNumbers" resultType="java.lang.Integer">
<select id="countByErpMNumbers" resultType="java.lang.Integer">
SELECT COUNT(*)
FROM sply_mtrl_oth
WHERE ERP_MTRL_NUM IN