| | |
| | | <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 == 'piping'"> |
| | | and process_name in (select process_name from aps_standard_process where major='管路') |
| | | </if> |
| | | <if test="major == 'gas'"> |
| | | and process_name in (select process_name from aps_standard_process where major='气柜') |
| | | </if> |
| | | </if> |
| | | </where> |
| | | </select> |
| | | |