|
|
@@ -26,8 +26,8 @@
|
|
|
<result column="spot_check_count" jdbcType="INTEGER" property="spotCheckCount" />
|
|
|
<result column="fail_count" jdbcType="INTEGER" property="failCount" />
|
|
|
<result column="last_year" jdbcType="VARCHAR" property="lastYear" />
|
|
|
- <result column="last_year_capital" jdbcType="VARCHAR" property="lastYearCapital" />
|
|
|
- <result column="last_year_income" jdbcType="VARCHAR" property="lastYearIncome" />
|
|
|
+ <result column="last_year_capital" jdbcType="DECIMAL" property="lastYearCapital" />
|
|
|
+ <result column="last_year_income" jdbcType="DECIMAL" property="lastYearIncome" />
|
|
|
</resultMap>
|
|
|
<sql id="Base_Column_List">
|
|
|
id, tid, cost_amount, party_amount, create_time, certificates_count, urgent_day,
|
|
|
@@ -63,8 +63,8 @@
|
|
|
#{highNewRetrial,jdbcType=INTEGER}, #{dispatchCount,jdbcType=INTEGER}, #{stockCount,jdbcType=INTEGER},
|
|
|
#{completeCount,jdbcType=INTEGER}, #{promulgateCount,jdbcType=INTEGER}, #{dispatchProvince,jdbcType=INTEGER},
|
|
|
#{dutyDep,jdbcType=VARCHAR}, #{setUpCount,jdbcType=INTEGER}, #{spotCheckCount,jdbcType=INTEGER},
|
|
|
- #{failCount,jdbcType=INTEGER}, #{lastYear,jdbcType=VARCHAR}, #{lastYearCapital,jdbcType=VARCHAR},
|
|
|
- #{lastYearIncome,jdbcType=VARCHAR})
|
|
|
+ #{failCount,jdbcType=INTEGER}, #{lastYear,jdbcType=VARCHAR}, #{lastYearCapital,jdbcType=DECIMAL},
|
|
|
+ #{lastYearIncome,jdbcType=DECIMAL})
|
|
|
</insert>
|
|
|
<insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.goafanti.common.model.TTaskMid" useGeneratedKeys="true">
|
|
|
insert into t_task_mid
|
|
|
@@ -216,10 +216,10 @@
|
|
|
#{lastYear,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="lastYearCapital != null">
|
|
|
- #{lastYearCapital,jdbcType=VARCHAR},
|
|
|
+ #{lastYearCapital,jdbcType=DECIMAL},
|
|
|
</if>
|
|
|
<if test="lastYearIncome != null">
|
|
|
- #{lastYearIncome,jdbcType=VARCHAR},
|
|
|
+ #{lastYearIncome,jdbcType=DECIMAL},
|
|
|
</if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
@@ -296,10 +296,10 @@
|
|
|
last_year = #{lastYear,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="lastYearCapital != null">
|
|
|
- last_year_capital = #{lastYearCapital,jdbcType=VARCHAR},
|
|
|
+ last_year_capital = #{lastYearCapital,jdbcType=DECIMAL},
|
|
|
</if>
|
|
|
<if test="lastYearIncome != null">
|
|
|
- last_year_income = #{lastYearIncome,jdbcType=VARCHAR},
|
|
|
+ last_year_income = #{lastYearIncome,jdbcType=DECIMAL},
|
|
|
</if>
|
|
|
</set>
|
|
|
where id = #{id,jdbcType=INTEGER}
|
|
|
@@ -329,8 +329,8 @@
|
|
|
spot_check_count = #{spotCheckCount,jdbcType=INTEGER},
|
|
|
fail_count = #{failCount,jdbcType=INTEGER},
|
|
|
last_year = #{lastYear,jdbcType=VARCHAR},
|
|
|
- last_year_capital = #{lastYearCapital,jdbcType=VARCHAR},
|
|
|
- last_year_income = #{lastYearIncome,jdbcType=VARCHAR}
|
|
|
+ last_year_capital = #{lastYearCapital,jdbcType=DECIMAL},
|
|
|
+ last_year_income = #{lastYearIncome,jdbcType=DECIMAL}
|
|
|
where id = #{id,jdbcType=INTEGER}
|
|
|
</update>
|
|
|
|