|
|
@ -157,7 +157,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
<if test="productDateEnd != null "> and #{productDateEnd} >= CONVERT(varchar(10),mrw.feedback_time, 120)</if>
|
|
|
|
<if test="productDateEnd != null "> and #{productDateEnd} >= CONVERT(varchar(10),mrw.feedback_time, 120)</if>
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|
<select id="getReportWorkList" resultType="com.op.mes.domain.MesReportWork">
|
|
|
|
<select id="getReportWorkList" resultType="com.op.mes.domain.MesReportWork">
|
|
|
|
select ow.workorder_code_sap workorderCodeSap,
|
|
|
|
select ow.order_code orderCode,
|
|
|
|
|
|
|
|
ow.workorder_code workorderCode,
|
|
|
|
|
|
|
|
ow.workorder_code_sap workorderCodeSap,
|
|
|
|
ow.route_code routeCode,
|
|
|
|
ow.route_code routeCode,
|
|
|
|
rte.tec_machine sac1,
|
|
|
|
rte.tec_machine sac1,
|
|
|
|
rte.tec_man sac2,
|
|
|
|
rte.tec_man sac2,
|
|
|
@ -331,6 +333,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
</trim>
|
|
|
|
</trim>
|
|
|
|
where id = #{id}
|
|
|
|
where id = #{id}
|
|
|
|
</update>
|
|
|
|
</update>
|
|
|
|
|
|
|
|
<update id="updateWorkOrderStatus">
|
|
|
|
|
|
|
|
update pro_order_workorder set status = #{status} where workorder_code = #{workorderCode}
|
|
|
|
|
|
|
|
</update>
|
|
|
|
|
|
|
|
|
|
|
|
<delete id="deleteMesReportWorkById" parameterType="String">
|
|
|
|
<delete id="deleteMesReportWorkById" parameterType="String">
|
|
|
|
delete from mes_report_work where id = #{id}
|
|
|
|
delete from mes_report_work where id = #{id}
|
|
|
|