oms-原始单证查询(部分)物料

This commit is contained in:
zhaoqing
2026-05-12 14:17:01 +08:00
parent 4b609f32ec
commit 97b4e5028e
8 changed files with 45 additions and 2 deletions
@@ -169,6 +169,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="topOrganizationId" column="TOP_ORGANIZATION_ID" />
<result property="documentDate" column="DOCUMENT_DATE" />
<result property="ieType" column="IE_TYPE" />
<result property="materialCode" column="MATERIAL_CODE" />
</resultMap>
@@ -685,4 +686,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
select DOCUMENT_PREPARER_NC_code from NGWL_TEST_USER."USER" where USER_ID = #{salesmanCodeNc}</select>
<select id="selectByMakerCodeNc1" resultType="java.lang.String" parameterType="java.lang.String">
select SALESPERSON_NC_CODE from NGWL_TEST_USER."USER" where USER_ID = #{salesmanCodeNc}</select>
<select id="queryListAndMaterial" parameterType="com.mhd.oms.domain.businessDocumentOrder.repository.todo.BusinessDocumentOrderDO" resultMap="BusinessDocumentOrderResult">
select o.*,a.material_code
from business_document_order as o
left join business_document_cargo_multi as a ON o.id = a.order_id
<include refid="selectBusinessDocumentOrderPo1"/>
order by create_time desc
</select>
</mapper>