|
|
@@ -39,7 +39,7 @@
|
|
|
<result column="other_cost_actual" jdbcType="DECIMAL" property="otherCostActual" />
|
|
|
<result column="expect_profit" jdbcType="DECIMAL" property="expectProfit" />
|
|
|
<result column="actual_profit" jdbcType="DECIMAL" property="actualProfit" />
|
|
|
- <result column="stopStatus" jdbcType="INTEGER" property="stopstatus" />
|
|
|
+ <result column="stop_status" jdbcType="INTEGER" property="stopStatus" />
|
|
|
</resultMap>
|
|
|
<sql id="Base_Column_List">
|
|
|
id, tid, cost_amount, party_amount, create_time, certificates_count, urgent_day,
|
|
|
@@ -48,7 +48,7 @@
|
|
|
dispatch_province, duty_dep, set_up_count, spot_check_count, fail_count, last_year,
|
|
|
last_year_capital, last_year_income, cost_actual, patent_cost, patent_cost_actual,
|
|
|
soft_cost, soft_cost_actual, audit_cost, audit_cost_actual, other_cost, other_cost_actual,
|
|
|
- expect_profit, actual_profit, stopStatus
|
|
|
+ expect_profit, actual_profit, stop_status
|
|
|
</sql>
|
|
|
<select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
|
|
|
select
|
|
|
@@ -73,7 +73,7 @@
|
|
|
patent_cost_actual, soft_cost, soft_cost_actual,
|
|
|
audit_cost, audit_cost_actual, other_cost,
|
|
|
other_cost_actual, expect_profit, actual_profit,
|
|
|
- stopStatus)
|
|
|
+ stop_status)
|
|
|
values (#{tid,jdbcType=INTEGER}, #{costAmount,jdbcType=DECIMAL}, #{partyAmount,jdbcType=DECIMAL},
|
|
|
#{createTime,jdbcType=TIMESTAMP}, #{certificatesCount,jdbcType=INTEGER}, #{urgentDay,jdbcType=INTEGER},
|
|
|
#{ifMaterial,jdbcType=INTEGER}, #{rejectCount,jdbcType=INTEGER}, #{acceptCount,jdbcType=INTEGER},
|
|
|
@@ -86,7 +86,7 @@
|
|
|
#{patentCostActual,jdbcType=DECIMAL}, #{softCost,jdbcType=DECIMAL}, #{softCostActual,jdbcType=DECIMAL},
|
|
|
#{auditCost,jdbcType=DECIMAL}, #{auditCostActual,jdbcType=DECIMAL}, #{otherCost,jdbcType=DECIMAL},
|
|
|
#{otherCostActual,jdbcType=DECIMAL}, #{expectProfit,jdbcType=DECIMAL}, #{actualProfit,jdbcType=DECIMAL},
|
|
|
- #{stopstatus,jdbcType=INTEGER})
|
|
|
+ #{stopStatus,jdbcType=INTEGER})
|
|
|
</insert>
|
|
|
<insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.goafanti.common.model.TTaskMid" useGeneratedKeys="true">
|
|
|
insert into t_task_mid
|
|
|
@@ -199,8 +199,8 @@
|
|
|
<if test="actualProfit != null">
|
|
|
actual_profit,
|
|
|
</if>
|
|
|
- <if test="stopstatus != null">
|
|
|
- stopStatus,
|
|
|
+ <if test="stopStatus != null">
|
|
|
+ stop_status,
|
|
|
</if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
@@ -312,8 +312,8 @@
|
|
|
<if test="actualProfit != null">
|
|
|
#{actualProfit,jdbcType=DECIMAL},
|
|
|
</if>
|
|
|
- <if test="stopstatus != null">
|
|
|
- #{stopstatus,jdbcType=INTEGER},
|
|
|
+ <if test="stopStatus != null">
|
|
|
+ #{stopStatus,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
@@ -428,8 +428,8 @@
|
|
|
<if test="actualProfit != null">
|
|
|
actual_profit = #{actualProfit,jdbcType=DECIMAL},
|
|
|
</if>
|
|
|
- <if test="stopstatus != null">
|
|
|
- stopStatus = #{stopstatus,jdbcType=INTEGER},
|
|
|
+ <if test="stopStatus != null">
|
|
|
+ stop_status = #{stopStatus,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
</set>
|
|
|
where id = #{id,jdbcType=INTEGER}
|
|
|
@@ -472,7 +472,7 @@
|
|
|
other_cost_actual = #{otherCostActual,jdbcType=DECIMAL},
|
|
|
expect_profit = #{expectProfit,jdbcType=DECIMAL},
|
|
|
actual_profit = #{actualProfit,jdbcType=DECIMAL},
|
|
|
- stopStatus = #{stopstatus,jdbcType=INTEGER}
|
|
|
+ stop_status = #{stopStatus,jdbcType=INTEGER}
|
|
|
where id = #{id,jdbcType=INTEGER}
|
|
|
</update>
|
|
|
|