|
|
@@ -5,126 +5,41 @@
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Tue Jul 07 11:46:04 CST 2020.
|
|
|
+ This element was generated on Tue Jul 20 09:16:18 CST 2021.
|
|
|
-->
|
|
|
<id column="id" jdbcType="INTEGER" property="id" />
|
|
|
<result column="tid" jdbcType="INTEGER" property="tid" />
|
|
|
<result column="node_id" jdbcType="INTEGER" property="nodeId" />
|
|
|
+ <result column="choose_type" jdbcType="INTEGER" property="chooseType" />
|
|
|
<result column="payment_type" jdbcType="INTEGER" property="paymentType" />
|
|
|
<result column="company_name" jdbcType="VARCHAR" property="companyName" />
|
|
|
<result column="quantity" jdbcType="INTEGER" property="quantity" />
|
|
|
<result column="payment_status" jdbcType="INTEGER" property="paymentStatus" />
|
|
|
<result column="status" jdbcType="INTEGER" property="status" />
|
|
|
+ <result column="application_amount" jdbcType="DECIMAL" property="applicationAmount" />
|
|
|
<result column="payment_amount" jdbcType="DECIMAL" property="paymentAmount" />
|
|
|
<result column="remarks" jdbcType="VARCHAR" property="remarks" />
|
|
|
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
|
|
|
- <result column="tpc_id" jdbcType="INTEGER" property="tpcId" />
|
|
|
- <result column="application_amount" jdbcType="DECIMAL" property="applicationAmount" />
|
|
|
- <result column="choose_type" jdbcType="INTEGER" property="chooseType" />
|
|
|
<result column="aid" jdbcType="VARCHAR" property="aid" />
|
|
|
<result column="aname" jdbcType="VARCHAR" property="aname" />
|
|
|
+ <result column="tpc_id" jdbcType="INTEGER" property="tpcId" />
|
|
|
+ <result column="process_status" jdbcType="INTEGER" property="processStatus" />
|
|
|
</resultMap>
|
|
|
- <sql id="Example_Where_Clause">
|
|
|
- <!--
|
|
|
- WARNING - @mbg.generated
|
|
|
- This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Tue Jul 07 11:46:04 CST 2020.
|
|
|
- -->
|
|
|
- <where>
|
|
|
- <foreach collection="oredCriteria" item="criteria" separator="or">
|
|
|
- <if test="criteria.valid">
|
|
|
- <trim prefix="(" prefixOverrides="and" suffix=")">
|
|
|
- <foreach collection="criteria.criteria" item="criterion">
|
|
|
- <choose>
|
|
|
- <when test="criterion.noValue">
|
|
|
- and ${criterion.condition}
|
|
|
- </when>
|
|
|
- <when test="criterion.singleValue">
|
|
|
- and ${criterion.condition} #{criterion.value}
|
|
|
- </when>
|
|
|
- <when test="criterion.betweenValue">
|
|
|
- and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
|
|
|
- </when>
|
|
|
- <when test="criterion.listValue">
|
|
|
- and ${criterion.condition}
|
|
|
- <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
|
|
|
- #{listItem}
|
|
|
- </foreach>
|
|
|
- </when>
|
|
|
- </choose>
|
|
|
- </foreach>
|
|
|
- </trim>
|
|
|
- </if>
|
|
|
- </foreach>
|
|
|
- </where>
|
|
|
- </sql>
|
|
|
- <sql id="Update_By_Example_Where_Clause">
|
|
|
- <!--
|
|
|
- WARNING - @mbg.generated
|
|
|
- This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Tue Jul 07 11:46:04 CST 2020.
|
|
|
- -->
|
|
|
- <where>
|
|
|
- <foreach collection="example.oredCriteria" item="criteria" separator="or">
|
|
|
- <if test="criteria.valid">
|
|
|
- <trim prefix="(" prefixOverrides="and" suffix=")">
|
|
|
- <foreach collection="criteria.criteria" item="criterion">
|
|
|
- <choose>
|
|
|
- <when test="criterion.noValue">
|
|
|
- and ${criterion.condition}
|
|
|
- </when>
|
|
|
- <when test="criterion.singleValue">
|
|
|
- and ${criterion.condition} #{criterion.value}
|
|
|
- </when>
|
|
|
- <when test="criterion.betweenValue">
|
|
|
- and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
|
|
|
- </when>
|
|
|
- <when test="criterion.listValue">
|
|
|
- and ${criterion.condition}
|
|
|
- <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
|
|
|
- #{listItem}
|
|
|
- </foreach>
|
|
|
- </when>
|
|
|
- </choose>
|
|
|
- </foreach>
|
|
|
- </trim>
|
|
|
- </if>
|
|
|
- </foreach>
|
|
|
- </where>
|
|
|
- </sql>
|
|
|
<sql id="Base_Column_List">
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Tue Jul 07 11:46:04 CST 2020.
|
|
|
+ This element was generated on Tue Jul 20 09:16:18 CST 2021.
|
|
|
-->
|
|
|
- id, tid, node_id, payment_type, company_name, quantity, payment_status, status, payment_amount,
|
|
|
- remarks, create_time, tpc_id, application_amount, choose_type, aid, aname
|
|
|
+ id, tid, node_id, choose_type, payment_type, company_name, quantity, payment_status,
|
|
|
+ `status`, application_amount, payment_amount, remarks, create_time, aid, aname, tpc_id,
|
|
|
+ process_status
|
|
|
</sql>
|
|
|
- <select id="selectByExample" parameterType="com.goafanti.common.model.TOrderPaymentExample" resultMap="BaseResultMap">
|
|
|
- <!--
|
|
|
- WARNING - @mbg.generated
|
|
|
- This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Tue Jul 07 11:46:04 CST 2020.
|
|
|
- -->
|
|
|
- select
|
|
|
- <if test="distinct">
|
|
|
- distinct
|
|
|
- </if>
|
|
|
- <include refid="Base_Column_List" />
|
|
|
- from t_order_payment
|
|
|
- <if test="_parameter != null">
|
|
|
- <include refid="Example_Where_Clause" />
|
|
|
- </if>
|
|
|
- <if test="orderByClause != null">
|
|
|
- order by ${orderByClause}
|
|
|
- </if>
|
|
|
- </select>
|
|
|
<select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Tue Jul 07 11:46:04 CST 2020.
|
|
|
+ This element was generated on Tue Jul 20 09:16:18 CST 2021.
|
|
|
-->
|
|
|
select
|
|
|
<include refid="Base_Column_List" />
|
|
|
@@ -135,46 +50,35 @@
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Tue Jul 07 11:46:04 CST 2020.
|
|
|
+ This element was generated on Tue Jul 20 09:16:18 CST 2021.
|
|
|
-->
|
|
|
delete from t_order_payment
|
|
|
where id = #{id,jdbcType=INTEGER}
|
|
|
</delete>
|
|
|
- <delete id="deleteByExample" parameterType="com.goafanti.common.model.TOrderPaymentExample">
|
|
|
- <!--
|
|
|
- WARNING - @mbg.generated
|
|
|
- This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Tue Jul 07 11:46:04 CST 2020.
|
|
|
- -->
|
|
|
- delete from t_order_payment
|
|
|
- <if test="_parameter != null">
|
|
|
- <include refid="Example_Where_Clause" />
|
|
|
- </if>
|
|
|
- </delete>
|
|
|
<insert id="insert" parameterType="com.goafanti.common.model.TOrderPayment">
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Tue Jul 07 11:46:04 CST 2020.
|
|
|
+ This element was generated on Tue Jul 20 09:16:18 CST 2021.
|
|
|
-->
|
|
|
insert into t_order_payment (id, tid, node_id,
|
|
|
- payment_type, company_name, quantity,
|
|
|
- payment_status, status, payment_amount,
|
|
|
- remarks, create_time, tpc_id,
|
|
|
- application_amount, choose_type, aid,
|
|
|
- aname)
|
|
|
+ choose_type, payment_type, company_name,
|
|
|
+ quantity, payment_status, `status`,
|
|
|
+ application_amount, payment_amount, remarks,
|
|
|
+ create_time, aid, aname,
|
|
|
+ tpc_id, process_status)
|
|
|
values (#{id,jdbcType=INTEGER}, #{tid,jdbcType=INTEGER}, #{nodeId,jdbcType=INTEGER},
|
|
|
- #{paymentType,jdbcType=INTEGER}, #{companyName,jdbcType=VARCHAR}, #{quantity,jdbcType=INTEGER},
|
|
|
- #{paymentStatus,jdbcType=INTEGER}, #{status,jdbcType=INTEGER}, #{paymentAmount,jdbcType=DECIMAL},
|
|
|
- #{remarks,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{tpcId,jdbcType=INTEGER},
|
|
|
- #{applicationAmount,jdbcType=DECIMAL}, #{chooseType,jdbcType=INTEGER}, #{aid,jdbcType=VARCHAR},
|
|
|
- #{aname,jdbcType=VARCHAR})
|
|
|
+ #{chooseType,jdbcType=INTEGER}, #{paymentType,jdbcType=INTEGER}, #{companyName,jdbcType=VARCHAR},
|
|
|
+ #{quantity,jdbcType=INTEGER}, #{paymentStatus,jdbcType=INTEGER}, #{status,jdbcType=INTEGER},
|
|
|
+ #{applicationAmount,jdbcType=DECIMAL}, #{paymentAmount,jdbcType=DECIMAL}, #{remarks,jdbcType=VARCHAR},
|
|
|
+ #{createTime,jdbcType=TIMESTAMP}, #{aid,jdbcType=VARCHAR}, #{aname,jdbcType=VARCHAR},
|
|
|
+ #{tpcId,jdbcType=INTEGER}, #{processStatus,jdbcType=INTEGER})
|
|
|
</insert>
|
|
|
<insert id="insertSelective" parameterType="com.goafanti.common.model.TOrderPayment">
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Tue Jul 07 11:46:04 CST 2020.
|
|
|
+ This element was generated on Tue Jul 20 09:16:18 CST 2021.
|
|
|
-->
|
|
|
insert into t_order_payment
|
|
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
|
|
@@ -187,6 +91,9 @@
|
|
|
<if test="nodeId != null">
|
|
|
node_id,
|
|
|
</if>
|
|
|
+ <if test="chooseType != null">
|
|
|
+ choose_type,
|
|
|
+ </if>
|
|
|
<if test="paymentType != null">
|
|
|
payment_type,
|
|
|
</if>
|
|
|
@@ -200,7 +107,10 @@
|
|
|
payment_status,
|
|
|
</if>
|
|
|
<if test="status != null">
|
|
|
- status,
|
|
|
+ `status`,
|
|
|
+ </if>
|
|
|
+ <if test="applicationAmount != null">
|
|
|
+ application_amount,
|
|
|
</if>
|
|
|
<if test="paymentAmount != null">
|
|
|
payment_amount,
|
|
|
@@ -211,21 +121,18 @@
|
|
|
<if test="createTime != null">
|
|
|
create_time,
|
|
|
</if>
|
|
|
- <if test="tpcId != null">
|
|
|
- tpc_id,
|
|
|
- </if>
|
|
|
- <if test="applicationAmount != null">
|
|
|
- application_amount,
|
|
|
- </if>
|
|
|
- <if test="chooseType != null">
|
|
|
- choose_type,
|
|
|
- </if>
|
|
|
<if test="aid != null">
|
|
|
aid,
|
|
|
</if>
|
|
|
<if test="aname != null">
|
|
|
aname,
|
|
|
</if>
|
|
|
+ <if test="tpcId != null">
|
|
|
+ tpc_id,
|
|
|
+ </if>
|
|
|
+ <if test="processStatus != null">
|
|
|
+ process_status,
|
|
|
+ </if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="id != null">
|
|
|
@@ -237,6 +144,9 @@
|
|
|
<if test="nodeId != null">
|
|
|
#{nodeId,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
+ <if test="chooseType != null">
|
|
|
+ #{chooseType,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
<if test="paymentType != null">
|
|
|
#{paymentType,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
@@ -252,6 +162,9 @@
|
|
|
<if test="status != null">
|
|
|
#{status,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
+ <if test="applicationAmount != null">
|
|
|
+ #{applicationAmount,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
<if test="paymentAmount != null">
|
|
|
#{paymentAmount,jdbcType=DECIMAL},
|
|
|
</if>
|
|
|
@@ -261,127 +174,25 @@
|
|
|
<if test="createTime != null">
|
|
|
#{createTime,jdbcType=TIMESTAMP},
|
|
|
</if>
|
|
|
- <if test="tpcId != null">
|
|
|
- #{tpcId,jdbcType=INTEGER},
|
|
|
- </if>
|
|
|
- <if test="applicationAmount != null">
|
|
|
- #{applicationAmount,jdbcType=DECIMAL},
|
|
|
- </if>
|
|
|
- <if test="chooseType != null">
|
|
|
- #{chooseType,jdbcType=INTEGER},
|
|
|
- </if>
|
|
|
<if test="aid != null">
|
|
|
#{aid,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="aname != null">
|
|
|
#{aname,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- </trim>
|
|
|
- </insert>
|
|
|
- <select id="countByExample" parameterType="com.goafanti.common.model.TOrderPaymentExample" resultType="java.lang.Long">
|
|
|
- <!--
|
|
|
- WARNING - @mbg.generated
|
|
|
- This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Tue Jul 07 11:46:04 CST 2020.
|
|
|
- -->
|
|
|
- select count(*) from t_order_payment
|
|
|
- <if test="_parameter != null">
|
|
|
- <include refid="Example_Where_Clause" />
|
|
|
- </if>
|
|
|
- </select>
|
|
|
- <update id="updateByExampleSelective" parameterType="map">
|
|
|
- <!--
|
|
|
- WARNING - @mbg.generated
|
|
|
- This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Tue Jul 07 11:46:04 CST 2020.
|
|
|
- -->
|
|
|
- update t_order_payment
|
|
|
- <set>
|
|
|
- <if test="record.id != null">
|
|
|
- id = #{record.id,jdbcType=INTEGER},
|
|
|
- </if>
|
|
|
- <if test="record.tid != null">
|
|
|
- tid = #{record.tid,jdbcType=INTEGER},
|
|
|
- </if>
|
|
|
- <if test="record.nodeId != null">
|
|
|
- node_id = #{record.nodeId,jdbcType=INTEGER},
|
|
|
- </if>
|
|
|
- <if test="record.paymentType != null">
|
|
|
- payment_type = #{record.paymentType,jdbcType=INTEGER},
|
|
|
- </if>
|
|
|
- <if test="record.companyName != null">
|
|
|
- company_name = #{record.companyName,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="record.quantity != null">
|
|
|
- quantity = #{record.quantity,jdbcType=INTEGER},
|
|
|
- </if>
|
|
|
- <if test="record.paymentStatus != null">
|
|
|
- payment_status = #{record.paymentStatus,jdbcType=INTEGER},
|
|
|
- </if>
|
|
|
- <if test="record.status != null">
|
|
|
- status = #{record.status,jdbcType=INTEGER},
|
|
|
- </if>
|
|
|
- <if test="record.paymentAmount != null">
|
|
|
- payment_amount = #{record.paymentAmount,jdbcType=DECIMAL},
|
|
|
- </if>
|
|
|
- <if test="record.remarks != null">
|
|
|
- remarks = #{record.remarks,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="record.createTime != null">
|
|
|
- create_time = #{record.createTime,jdbcType=TIMESTAMP},
|
|
|
- </if>
|
|
|
- <if test="record.tpcId != null">
|
|
|
- tpc_id = #{record.tpcId,jdbcType=INTEGER},
|
|
|
- </if>
|
|
|
- <if test="record.applicationAmount != null">
|
|
|
- application_amount = #{record.applicationAmount,jdbcType=DECIMAL},
|
|
|
- </if>
|
|
|
- <if test="record.chooseType != null">
|
|
|
- choose_type = #{record.chooseType,jdbcType=INTEGER},
|
|
|
- </if>
|
|
|
- <if test="record.aid != null">
|
|
|
- aid = #{record.aid,jdbcType=VARCHAR},
|
|
|
+ <if test="tpcId != null">
|
|
|
+ #{tpcId,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
- <if test="record.aname != null">
|
|
|
- aname = #{record.aname,jdbcType=VARCHAR},
|
|
|
+ <if test="processStatus != null">
|
|
|
+ #{processStatus,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
- </set>
|
|
|
- <if test="_parameter != null">
|
|
|
- <include refid="Update_By_Example_Where_Clause" />
|
|
|
- </if>
|
|
|
- </update>
|
|
|
- <update id="updateByExample" parameterType="map">
|
|
|
- <!--
|
|
|
- WARNING - @mbg.generated
|
|
|
- This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Tue Jul 07 11:46:04 CST 2020.
|
|
|
- -->
|
|
|
- update t_order_payment
|
|
|
- set id = #{record.id,jdbcType=INTEGER},
|
|
|
- tid = #{record.tid,jdbcType=INTEGER},
|
|
|
- node_id = #{record.nodeId,jdbcType=INTEGER},
|
|
|
- payment_type = #{record.paymentType,jdbcType=INTEGER},
|
|
|
- company_name = #{record.companyName,jdbcType=VARCHAR},
|
|
|
- quantity = #{record.quantity,jdbcType=INTEGER},
|
|
|
- payment_status = #{record.paymentStatus,jdbcType=INTEGER},
|
|
|
- status = #{record.status,jdbcType=INTEGER},
|
|
|
- payment_amount = #{record.paymentAmount,jdbcType=DECIMAL},
|
|
|
- remarks = #{record.remarks,jdbcType=VARCHAR},
|
|
|
- create_time = #{record.createTime,jdbcType=TIMESTAMP},
|
|
|
- tpc_id = #{record.tpcId,jdbcType=INTEGER},
|
|
|
- application_amount = #{record.applicationAmount,jdbcType=DECIMAL},
|
|
|
- choose_type = #{record.chooseType,jdbcType=INTEGER},
|
|
|
- aid = #{record.aid,jdbcType=VARCHAR},
|
|
|
- aname = #{record.aname,jdbcType=VARCHAR}
|
|
|
- <if test="_parameter != null">
|
|
|
- <include refid="Update_By_Example_Where_Clause" />
|
|
|
- </if>
|
|
|
- </update>
|
|
|
+ </trim>
|
|
|
+ </insert>
|
|
|
<update id="updateByPrimaryKeySelective" parameterType="com.goafanti.common.model.TOrderPayment">
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Tue Jul 07 11:46:04 CST 2020.
|
|
|
+ This element was generated on Tue Jul 20 09:16:18 CST 2021.
|
|
|
-->
|
|
|
update t_order_payment
|
|
|
<set>
|
|
|
@@ -391,6 +202,9 @@
|
|
|
<if test="nodeId != null">
|
|
|
node_id = #{nodeId,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
+ <if test="chooseType != null">
|
|
|
+ choose_type = #{chooseType,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
<if test="paymentType != null">
|
|
|
payment_type = #{paymentType,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
@@ -404,7 +218,10 @@
|
|
|
payment_status = #{paymentStatus,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
<if test="status != null">
|
|
|
- status = #{status,jdbcType=INTEGER},
|
|
|
+ `status` = #{status,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="applicationAmount != null">
|
|
|
+ application_amount = #{applicationAmount,jdbcType=DECIMAL},
|
|
|
</if>
|
|
|
<if test="paymentAmount != null">
|
|
|
payment_amount = #{paymentAmount,jdbcType=DECIMAL},
|
|
|
@@ -415,21 +232,18 @@
|
|
|
<if test="createTime != null">
|
|
|
create_time = #{createTime,jdbcType=TIMESTAMP},
|
|
|
</if>
|
|
|
- <if test="tpcId != null">
|
|
|
- tpc_id = #{tpcId,jdbcType=INTEGER},
|
|
|
- </if>
|
|
|
- <if test="applicationAmount != null">
|
|
|
- application_amount = #{applicationAmount,jdbcType=DECIMAL},
|
|
|
- </if>
|
|
|
- <if test="chooseType != null">
|
|
|
- choose_type = #{chooseType,jdbcType=INTEGER},
|
|
|
- </if>
|
|
|
<if test="aid != null">
|
|
|
aid = #{aid,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="aname != null">
|
|
|
aname = #{aname,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="tpcId != null">
|
|
|
+ tpc_id = #{tpcId,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="processStatus != null">
|
|
|
+ process_status = #{processStatus,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
</set>
|
|
|
where id = #{id,jdbcType=INTEGER}
|
|
|
</update>
|
|
|
@@ -437,24 +251,25 @@
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Tue Jul 07 11:46:04 CST 2020.
|
|
|
+ This element was generated on Tue Jul 20 09:16:18 CST 2021.
|
|
|
-->
|
|
|
update t_order_payment
|
|
|
set tid = #{tid,jdbcType=INTEGER},
|
|
|
node_id = #{nodeId,jdbcType=INTEGER},
|
|
|
+ choose_type = #{chooseType,jdbcType=INTEGER},
|
|
|
payment_type = #{paymentType,jdbcType=INTEGER},
|
|
|
company_name = #{companyName,jdbcType=VARCHAR},
|
|
|
quantity = #{quantity,jdbcType=INTEGER},
|
|
|
payment_status = #{paymentStatus,jdbcType=INTEGER},
|
|
|
- status = #{status,jdbcType=INTEGER},
|
|
|
+ `status` = #{status,jdbcType=INTEGER},
|
|
|
+ application_amount = #{applicationAmount,jdbcType=DECIMAL},
|
|
|
payment_amount = #{paymentAmount,jdbcType=DECIMAL},
|
|
|
remarks = #{remarks,jdbcType=VARCHAR},
|
|
|
create_time = #{createTime,jdbcType=TIMESTAMP},
|
|
|
- tpc_id = #{tpcId,jdbcType=INTEGER},
|
|
|
- application_amount = #{applicationAmount,jdbcType=DECIMAL},
|
|
|
- choose_type = #{chooseType,jdbcType=INTEGER},
|
|
|
aid = #{aid,jdbcType=VARCHAR},
|
|
|
- aname = #{aname,jdbcType=VARCHAR}
|
|
|
+ aname = #{aname,jdbcType=VARCHAR},
|
|
|
+ tpc_id = #{tpcId,jdbcType=INTEGER},
|
|
|
+ process_status = #{processStatus,jdbcType=INTEGER}
|
|
|
where id = #{id,jdbcType=INTEGER}
|
|
|
</update>
|
|
|
|
|
|
@@ -605,7 +420,7 @@ select a.id,a.tid,a.node_id nodeId,a.payment_type paymentType,a.company_name com
|
|
|
<update id="updateByids">
|
|
|
update t_order_payment set status=3
|
|
|
where id in
|
|
|
- <foreach item="item" collection="list" separator="," open="(" close=")" index="">
|
|
|
+ <foreach close=")" collection="list" index="" item="item" open="(" separator=",">
|
|
|
#{item}
|
|
|
</foreach>
|
|
|
</update>
|