oms-原始单证查询(部分)物料
This commit is contained in:
+10
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user