|
@@ -81,18 +81,18 @@
|
|
<update id="updateImputationInterfaceByYearMonthTableName" parameterType="ImputationData">
|
|
<update id="updateImputationInterfaceByYearMonthTableName" parameterType="ImputationData">
|
|
update t_u_imputation_interface
|
|
update t_u_imputation_interface
|
|
<trim prefix="SET" suffixOverrides=",">
|
|
<trim prefix="SET" suffixOverrides=",">
|
|
- <if test="month == '1'">jan = #{count},</if>
|
|
|
|
- <if test="month == '2'">feb = #{count},</if>
|
|
|
|
- <if test="month == '3'">mar = #{count},</if>
|
|
|
|
- <if test="month == '4'">apr = #{count},</if>
|
|
|
|
- <if test="month == '5'">may = #{count},</if>
|
|
|
|
- <if test="month == '6'">jun = #{count},</if>
|
|
|
|
- <if test="month == '7'">jul = #{count},</if>
|
|
|
|
- <if test="month == '8'">aug = #{count},</if>
|
|
|
|
- <if test="month == '9'">sep = #{count},</if>
|
|
|
|
- <if test="month == '10'">oct = #{count},</if>
|
|
|
|
- <if test="month == '11'">nov = #{count},</if>
|
|
|
|
- <if test="month == '12'">decb = #{count},</if>
|
|
|
|
|
|
+ <if test="month == 1">jan = #{count},</if>
|
|
|
|
+ <if test="month == 2">feb = #{count},</if>
|
|
|
|
+ <if test="month == 3">mar = #{count},</if>
|
|
|
|
+ <if test="month == 4">apr = #{count},</if>
|
|
|
|
+ <if test="month == 5">may = #{count},</if>
|
|
|
|
+ <if test="month == 6">jun = #{count},</if>
|
|
|
|
+ <if test="month == 7">jul = #{count},</if>
|
|
|
|
+ <if test="month == 8">aug = #{count},</if>
|
|
|
|
+ <if test="month == 9">sep = #{count},</if>
|
|
|
|
+ <if test="month == 10">oct = #{count},</if>
|
|
|
|
+ <if test="month == 11">nov = #{count},</if>
|
|
|
|
+ <if test="month == 12">decb = #{count},</if>
|
|
</trim>
|
|
</trim>
|
|
where year = #{year} and table_name = #{tableName}
|
|
where year = #{year} and table_name = #{tableName}
|
|
</update>
|
|
</update>
|