|
|
@ -109,6 +109,13 @@
|
|
|
|
where workorder_id = #{id}
|
|
|
|
where workorder_id = #{id}
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<select id="selectProWetMaterialPlanById" resultType="com.op.plan.domain.ProWetMaterialPlan">
|
|
|
|
|
|
|
|
select id, factory_code, plan_time, sync_flag, create_by, create_time, update_by, update_time,
|
|
|
|
|
|
|
|
order_type, prod_code, prod_desc, prod_source, quantity, unit, atrr1, atrr2, atrr3, status,
|
|
|
|
|
|
|
|
prod_type, plan_code, shift_id, shift_desc from pro_wet_material_plan
|
|
|
|
|
|
|
|
where wet_material_plan_id = #{wetMaterialPlanId}
|
|
|
|
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
|
|
<insert id="insertProWetMaterialPlanDetail" parameterType="ProWetMaterialPlanDetail">
|
|
|
|
<insert id="insertProWetMaterialPlanDetail" parameterType="ProWetMaterialPlanDetail">
|
|
|
|
insert into pro_wet_material_plan_detail
|
|
|
|
insert into pro_wet_material_plan_detail
|
|
|
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
|
|
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
|
|
|