|
|
|
@ -50,7 +50,8 @@
|
|
|
|
|
<select id="selectOdsProcureOutOrderListZU" parameterType="OdsProcureOutOrder" resultMap="OdsProcureOutOrderResult">
|
|
|
|
|
SELECT
|
|
|
|
|
Produce_Code,
|
|
|
|
|
User_Defined1
|
|
|
|
|
User_Defined1,
|
|
|
|
|
MAX(Create_Date) AS Create_Date
|
|
|
|
|
FROM
|
|
|
|
|
ods_procure_out_order
|
|
|
|
|
where
|
|
|
|
@ -59,6 +60,8 @@
|
|
|
|
|
</if>
|
|
|
|
|
<if test="userDefined1 != null and userDefined1 != ''"> and User_Defined1 = #{userDefined1}</if>
|
|
|
|
|
GROUP BY Produce_Code,User_Defined1
|
|
|
|
|
ORDER BY
|
|
|
|
|
Create_Date DESC;
|
|
|
|
|
</select>
|
|
|
|
|
<select id="selectOdsProcureOutOrderListZUKEN" resultType="java.lang.String">
|
|
|
|
|
SELECT DISTINCT
|
|
|
|
|