|
|
@ -39,6 +39,7 @@
|
|
|
|
<result property="Active" column="Active"/>
|
|
|
|
<result property="Active" column="Active"/>
|
|
|
|
<result property="enterpriseId" column="Enterprise_Id"/>
|
|
|
|
<result property="enterpriseId" column="Enterprise_Id"/>
|
|
|
|
<result property="enterpriseCode" column="Enterprise_Code"/>
|
|
|
|
<result property="enterpriseCode" column="Enterprise_Code"/>
|
|
|
|
|
|
|
|
<result property="workorderCode" column="workorderCode"/>
|
|
|
|
</resultMap>
|
|
|
|
</resultMap>
|
|
|
|
<sql id="pagination_tail">
|
|
|
|
<sql id="pagination_tail">
|
|
|
|
limit #{page.pageOffset} , #{page.rows}
|
|
|
|
limit #{page.pageOffset} , #{page.rows}
|
|
|
@ -263,6 +264,7 @@
|
|
|
|
SELECT
|
|
|
|
SELECT
|
|
|
|
prepare_id id,
|
|
|
|
prepare_id id,
|
|
|
|
workorder_name Produce_Code,
|
|
|
|
workorder_name Produce_Code,
|
|
|
|
|
|
|
|
workorder_code workorderCode,
|
|
|
|
product_code Material_Code,
|
|
|
|
product_code Material_Code,
|
|
|
|
product_name Material_Desc,
|
|
|
|
product_name Material_Desc,
|
|
|
|
unit Unit,
|
|
|
|
unit Unit,
|
|
|
@ -396,4 +398,10 @@
|
|
|
|
#{item.userDefined1}
|
|
|
|
#{item.userDefined1}
|
|
|
|
</foreach>
|
|
|
|
</foreach>
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|
|
|
|
|
<select id="selectMachineCode" resultType="java.lang.String">
|
|
|
|
|
|
|
|
SELECT
|
|
|
|
|
|
|
|
machine_code
|
|
|
|
|
|
|
|
FROM mes_report_work
|
|
|
|
|
|
|
|
WHERE workorder_code=#{order.workorderCode} AND end_report='1'
|
|
|
|
|
|
|
|
</select>
|
|
|
|
</mapper>
|
|
|
|
</mapper>
|
|
|
|