|
|
|
@ -43,10 +43,10 @@
|
|
|
|
|
<include refid="selectEquOrderVo"/>
|
|
|
|
|
<where>
|
|
|
|
|
<if test="planId != null and planId != ''"> and plan_id = #{planId}</if>
|
|
|
|
|
<if test="planCode != null and planCode != ''"> and plan_code = #{planCode}</if>
|
|
|
|
|
<if test="planCode != null and planCode != ''"> and plan_code like concat('%', #{planCode}, '%')</if>
|
|
|
|
|
<if test="planType != null and planType != ''"> and plan_type = #{planType}</if>
|
|
|
|
|
<if test="orderCode != null and orderCode != ''"> and order_code = #{orderCode}</if>
|
|
|
|
|
<if test="planWorkshop != null and planWorkshop != ''"> and plan_workshop = #{planWorkshop}</if>
|
|
|
|
|
<if test="orderCode != null and orderCode != ''"> and order_code like concat('%', #{orderCode}, '%')</if>
|
|
|
|
|
<if test="planWorkshop != null and planWorkshop != ''"> and plan_workshop like concat('%', #{planWorkshop}, '%')</if>
|
|
|
|
|
<if test="planProdLine != null and planProdLine != ''"> and plan_prod_line = #{planProdLine}</if>
|
|
|
|
|
<if test="planLoop != null and planLoop != ''"> and plan_loop = #{planLoop}</if>
|
|
|
|
|
<if test="planLoopType != null and planLoopType != ''"> and plan_loop_type = #{planLoopType}</if>
|
|
|
|
@ -57,7 +57,7 @@
|
|
|
|
|
<if test="equipmentCode != null and equipmentCode != ''"> and equipment_code = #{equipmentCode}</if>
|
|
|
|
|
<if test="orderStatus != null and orderStatus != ''"> and order_status = #{orderStatus}</if>
|
|
|
|
|
<if test="orderCost != null "> and order_cost = #{orderCost}</if>
|
|
|
|
|
<if test="planPerson != null and planPerson != ''"> and plan_person = #{planPerson}</if>
|
|
|
|
|
<if test="planPerson != null and planPerson != ''"> and plan_person like concat('%', #{planPerson}, '%')</if>
|
|
|
|
|
<if test="orderCostTime != null and orderCostTime != ''"> and order_cost_time = #{orderCostTime}</if>
|
|
|
|
|
<if test="orderSignPerson != null and orderSignPerson != ''"> and order_sign_person = #{orderSignPerson}</if>
|
|
|
|
|
<if test="factoryCode != null and factoryCode != ''"> and factory_code = #{factoryCode}</if>
|
|
|
|
@ -65,9 +65,9 @@
|
|
|
|
|
<if test="attr2 != null and attr2 != ''"> and attr2 = #{attr2}</if>
|
|
|
|
|
<if test="attr3 != null and attr3 != ''"> and attr3 = #{attr3}</if>
|
|
|
|
|
<if test="delFlag != null and delFlag != ''"> and del_flag = #{delFlag}</if>
|
|
|
|
|
<if test="createBy != null and createBy != ''"> and create_by = #{createBy}</if>
|
|
|
|
|
<if test="createBy != null and createBy != ''"> and create_by like concat('%', #{createBy}, '%')</if>
|
|
|
|
|
<if test="createTime != null "> and create_time = #{createTime}</if>
|
|
|
|
|
<if test="updateBy != null and updateBy != ''"> and update_by = #{updateBy}</if>
|
|
|
|
|
<if test="updateBy != null and updateBy != ''"> and update_by like concat('%', #{updateBy}, '%')</if>
|
|
|
|
|
<if test="updateTime != null "> and update_time = #{updateTime}</if>
|
|
|
|
|
</where>
|
|
|
|
|
</select>
|
|
|
|
|