|
|
|
@ -431,4 +431,20 @@
|
|
|
|
|
WHERE
|
|
|
|
|
mes_prepare_detail.prepare_id= #{ ID}
|
|
|
|
|
</select>
|
|
|
|
|
<select id="selectmesPreparelike" parameterType="OdsProcureOutOrder" resultMap="OdsProcureOutOrderResult">
|
|
|
|
|
|
|
|
|
|
SELECT
|
|
|
|
|
prepare_id id,
|
|
|
|
|
workorder_name Produce_Code,
|
|
|
|
|
workorder_code workorderCode,
|
|
|
|
|
product_code Material_Code,
|
|
|
|
|
product_name Material_Desc,
|
|
|
|
|
unit Unit,
|
|
|
|
|
product_date Plan_Date,
|
|
|
|
|
prod_type User_Defined1
|
|
|
|
|
FROM mes_prepare
|
|
|
|
|
WHERE workorder_name LIKE CONCAT('%', #{produceCode}, '%');
|
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</mapper>
|
|
|
|
|