|
|
@ -47,7 +47,6 @@
|
|
|
|
<result property="itemType" column="item_type"/>
|
|
|
|
<result property="itemType" column="item_type"/>
|
|
|
|
<result property="itemTypeName" column="item_type_name"/>
|
|
|
|
<result property="itemTypeName" column="item_type_name"/>
|
|
|
|
<result property="itemTools" column="item_tools"/>
|
|
|
|
<result property="itemTools" column="item_tools"/>
|
|
|
|
|
|
|
|
|
|
|
|
<result property="outsourceCode" column="outsource_code"/>
|
|
|
|
<result property="outsourceCode" column="outsource_code"/>
|
|
|
|
<result property="equipmentName" column="equipment_name"/>
|
|
|
|
<result property="equipmentName" column="equipment_name"/>
|
|
|
|
</resultMap>
|
|
|
|
</resultMap>
|
|
|
@ -110,7 +109,7 @@
|
|
|
|
<if test="planType != null and planType != ''">and eo.plan_type = #{planType}</if>
|
|
|
|
<if test="planType != null and planType != ''">and eo.plan_type = #{planType}</if>
|
|
|
|
<if test="orderCode != null and orderCode != ''">and eo.order_code like concat('%', #{orderCode}, '%')</if>
|
|
|
|
<if test="orderCode != null and orderCode != ''">and eo.order_code like concat('%', #{orderCode}, '%')</if>
|
|
|
|
<if test="planWorkshop != null and planWorkshop != ''">and eo.plan_workshop = #{planWorkshop}</if>
|
|
|
|
<if test="planWorkshop != null and planWorkshop != ''">and eo.plan_workshop = #{planWorkshop}</if>
|
|
|
|
<if test="planProdLine != null and planProdLine != ''">and eo.plan_prod_line = #{planProdLine}</if>
|
|
|
|
<if test="planProdLine != null and planProdLine != ''">and eo.plan_prod_line like concat('%', #{planProdLine}, '%')</if>
|
|
|
|
<if test="planLoop != null and planLoop != ''">and eo.plan_loop = #{planLoop}</if>
|
|
|
|
<if test="planLoop != null and planLoop != ''">and eo.plan_loop = #{planLoop}</if>
|
|
|
|
<if test="planLoopType != null and planLoopType != ''">and eo.plan_loop_type = #{planLoopType}</if>
|
|
|
|
<if test="planLoopType != null and planLoopType != ''">and eo.plan_loop_type = #{planLoopType}</if>
|
|
|
|
<if test="equipmentCode != null and equipmentCode != ''">and eo.equipment_code like concat('%',#{equipmentCode}, '%')</if>
|
|
|
|
<if test="equipmentCode != null and equipmentCode != ''">and eo.equipment_code like concat('%',#{equipmentCode}, '%')</if>
|
|
|
@ -517,5 +516,12 @@
|
|
|
|
and del_flag = '0'
|
|
|
|
and del_flag = '0'
|
|
|
|
</update>
|
|
|
|
</update>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 获取组线信息 -->
|
|
|
|
|
|
|
|
<select id="getGroupLine" parameterType="java.lang.String" resultType="java.lang.String">
|
|
|
|
|
|
|
|
select equipment_name
|
|
|
|
|
|
|
|
from equ_bind_auxiliary_equipment
|
|
|
|
|
|
|
|
where auxiliary_equipment_code = #{auxiliaryEquipmentCode}
|
|
|
|
|
|
|
|
and del_flag = '0'
|
|
|
|
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
|
|
</mapper>
|
|
|
|
</mapper>
|
|
|
|