|
|
|
@ -44,6 +44,7 @@
|
|
|
|
|
<result property="needDate" column="needDate"/>
|
|
|
|
|
<result property="returnNumber" column="Return_Number"/>
|
|
|
|
|
<result property="sapNumber" column="Sap_Number"/>
|
|
|
|
|
<result property="sort" column="sort"/>
|
|
|
|
|
</resultMap>
|
|
|
|
|
<sql id="pagination_tail">
|
|
|
|
|
limit #{page.pageOffset} , #{page.rows}
|
|
|
|
@ -1406,6 +1407,7 @@
|
|
|
|
|
</select>
|
|
|
|
|
<select id="selectOdsProcureReturnOrderListZC" parameterType="OdsProcureOutOrder" resultMap="OdsProcureOutOrderResult">
|
|
|
|
|
SELECT
|
|
|
|
|
ROW_NUMBER ( ) OVER ( PARTITION BY Produce_Code ORDER BY Create_Date DESC ) AS sort,
|
|
|
|
|
Site_code,
|
|
|
|
|
ID,
|
|
|
|
|
Produce_Code,
|
|
|
|
|