| | |
| | | <if test="params.beginYear != null and params.beginYear != '' and params.endYear != null and params.endYear != ''"> and year between #{params.beginYear} and #{params.endYear}</if> |
| | | <if test="params.beginMonth != null and params.beginMonth != '' and params.endMonth != null and params.endMonth != ''"> and month between #{params.beginMonth} and #{params.endMonth}</if> |
| | | <if test="productionBase != null and productionBase != ''"> and production_base like '%'|| #{productionBase}|| '%'</if> |
| | | and del_flag='0' |
| | | </where> |
| | | order by year, month ,production_base |
| | | </select> |
| | | |
| | | <select id="selectApsWeldSeamStatisticsById" parameterType="String" resultMap="ApsWeldSeamStatisticsResult"> |
| | |
| | | #{id} |
| | | </foreach> |
| | | </delete> |
| | | <update id="removeLastBatch" parameterType="String"> |
| | | update aps_weld_seam_statistics set del_flag='1' where del_flag='0' |
| | | </update> |
| | | |
| | | </mapper> |