| | |
| | | <if test="planStartMonth != null and planStartMonth != ''"> and plan_start_month = #{planStartMonth} </if> |
| | | <if test="planStartDay != null and planStartDay != ''"> and plan_start_day = #{planStartDay} </if> |
| | | <if test="searchStartDate != null and searchStartDate != '' and searchEndDate != null and searchEndDate != ''"> and (process_plan_start_day >= #{searchStartDate} and process_plan_start_day <= #{searchEndDate}) </if> |
| | | <if test="major != null and major != '' and major == 'piping'"> |
| | | <if test="major != null and major != ''"> |
| | | <if test="major == 'piping'"> |
| | | and process_name in (select process_name from aps_standard_process where major='管路') |
| | | </if> |
| | |
| | | id,work_order_no, road_process_number, current_process_number, production_quantity, standard_time, |
| | | process_total_time, process_plan_start_day, design_times, del_flag, create_by, process_name, |
| | | create_time, item_number, standard_dosage, process_total_dosage, design_capacity, major, |
| | | plan_start_year, plan_start_month, plan_start_day,batch_number |
| | | plan_start_year, plan_start_month, plan_start_day,batch_number,process_plan_end_day |
| | | ) |
| | | VALUES |
| | | <foreach collection="apsGasPipingRouteStatList" item="stat" separator=","> |
| | |
| | | #{stat.standardTime}, #{stat.processTotalTime}, #{stat.processPlanStartDay}, #{stat.designTimes}, #{stat.delFlag}, |
| | | #{stat.createBy}, #{stat.processName}, #{stat.createTime}, #{stat.itemNumber}, #{stat.standardDosage}, |
| | | #{stat.processTotalDosage}, #{stat.designCapacity}, #{stat.major}, #{stat.planStartYear}, |
| | | #{stat.planStartMonth}, #{stat.planStartDay}, #{stat.batchNumber} |
| | | #{stat.planStartMonth}, #{stat.planStartDay}, #{stat.batchNumber}, #{stat.processPlanEndDay} |
| | | ) |
| | | </foreach> |
| | | |