| | |
| | | and org_code = #{factory} |
| | | and major = #{major} |
| | | </delete> |
| | | |
| | | <!-- 查询设计产能数据 - 专用于接口二功能 --> |
| | | <select id="selectDesignCapacityForInterface2" resultMap="ApsGasPipelineCapacityPlanResult"> |
| | | <include refid="selectApsGasPipelineCapacityPlanVo"/> |
| | | <where> |
| | | <if test="processName != null and processName != ''"> |
| | | and process_name = #{processName} |
| | | </if> |
| | | <if test="year != null and year != ''"> |
| | | and year = #{year} |
| | | </if> |
| | | <if test="month != null and month != ''"> |
| | | and CAST(month AS INTEGER) = CAST(#{month} AS INTEGER) |
| | | </if> |
| | | <if test="orgCode != null and orgCode != ''"> |
| | | and org_code = #{orgCode} |
| | | </if> |
| | | </where> |
| | | </select> |
| | | </mapper> |