|
@@ -5,7 +5,7 @@
|
|
|
<!--
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Tue Jun 16 11:20:47 CST 2020.
|
|
|
|
|
|
|
+ This element was generated on Mon Jul 19 17:20:00 CST 2021.
|
|
|
-->
|
|
-->
|
|
|
<id column="id" jdbcType="INTEGER" property="id" />
|
|
<id column="id" jdbcType="INTEGER" property="id" />
|
|
|
<result column="pid" jdbcType="INTEGER" property="pid" />
|
|
<result column="pid" jdbcType="INTEGER" property="pid" />
|
|
@@ -14,107 +14,21 @@
|
|
|
<result column="aid" jdbcType="VARCHAR" property="aid" />
|
|
<result column="aid" jdbcType="VARCHAR" property="aid" />
|
|
|
<result column="aname" jdbcType="VARCHAR" property="aname" />
|
|
<result column="aname" jdbcType="VARCHAR" property="aname" />
|
|
|
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
|
|
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
|
|
|
|
|
+ <result column="process_status" jdbcType="INTEGER" property="processStatus" />
|
|
|
</resultMap>
|
|
</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 Jun 16 11:20:47 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 Jun 16 11:20:47 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">
|
|
<sql id="Base_Column_List">
|
|
|
<!--
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Tue Jun 16 11:20:47 CST 2020.
|
|
|
|
|
|
|
+ This element was generated on Mon Jul 19 17:20:00 CST 2021.
|
|
|
-->
|
|
-->
|
|
|
- id, pid, status, remarks, aid, aname, create_time
|
|
|
|
|
|
|
+ id, pid, `status`, remarks, aid, aname, create_time, process_status
|
|
|
</sql>
|
|
</sql>
|
|
|
- <select id="selectByExample" parameterType="com.goafanti.common.model.PaymentLogExample" resultMap="BaseResultMap">
|
|
|
|
|
- <!--
|
|
|
|
|
- WARNING - @mbg.generated
|
|
|
|
|
- This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
|
|
- This element was generated on Tue Jun 16 11:20:47 CST 2020.
|
|
|
|
|
- -->
|
|
|
|
|
- select
|
|
|
|
|
- <if test="distinct">
|
|
|
|
|
- distinct
|
|
|
|
|
- </if>
|
|
|
|
|
- <include refid="Base_Column_List" />
|
|
|
|
|
- from payment_log
|
|
|
|
|
- <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">
|
|
<select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
|
|
|
<!--
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Tue Jun 16 11:20:47 CST 2020.
|
|
|
|
|
|
|
+ This element was generated on Mon Jul 19 17:20:00 CST 2021.
|
|
|
-->
|
|
-->
|
|
|
select
|
|
select
|
|
|
<include refid="Base_Column_List" />
|
|
<include refid="Base_Column_List" />
|
|
@@ -125,40 +39,29 @@
|
|
|
<!--
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Tue Jun 16 11:20:47 CST 2020.
|
|
|
|
|
|
|
+ This element was generated on Mon Jul 19 17:20:00 CST 2021.
|
|
|
-->
|
|
-->
|
|
|
delete from payment_log
|
|
delete from payment_log
|
|
|
where id = #{id,jdbcType=INTEGER}
|
|
where id = #{id,jdbcType=INTEGER}
|
|
|
</delete>
|
|
</delete>
|
|
|
- <delete id="deleteByExample" parameterType="com.goafanti.common.model.PaymentLogExample">
|
|
|
|
|
- <!--
|
|
|
|
|
- WARNING - @mbg.generated
|
|
|
|
|
- This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
|
|
- This element was generated on Tue Jun 16 11:20:47 CST 2020.
|
|
|
|
|
- -->
|
|
|
|
|
- delete from payment_log
|
|
|
|
|
- <if test="_parameter != null">
|
|
|
|
|
- <include refid="Example_Where_Clause" />
|
|
|
|
|
- </if>
|
|
|
|
|
- </delete>
|
|
|
|
|
<insert id="insert" parameterType="com.goafanti.common.model.PaymentLog">
|
|
<insert id="insert" parameterType="com.goafanti.common.model.PaymentLog">
|
|
|
<!--
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Tue Jun 16 11:20:47 CST 2020.
|
|
|
|
|
|
|
+ This element was generated on Mon Jul 19 17:20:00 CST 2021.
|
|
|
-->
|
|
-->
|
|
|
- insert into payment_log (id, pid, status,
|
|
|
|
|
|
|
+ insert into payment_log (id, pid, `status`,
|
|
|
remarks, aid, aname,
|
|
remarks, aid, aname,
|
|
|
- create_time)
|
|
|
|
|
|
|
+ create_time, process_status)
|
|
|
values (#{id,jdbcType=INTEGER}, #{pid,jdbcType=INTEGER}, #{status,jdbcType=INTEGER},
|
|
values (#{id,jdbcType=INTEGER}, #{pid,jdbcType=INTEGER}, #{status,jdbcType=INTEGER},
|
|
|
#{remarks,jdbcType=VARCHAR}, #{aid,jdbcType=VARCHAR}, #{aname,jdbcType=VARCHAR},
|
|
#{remarks,jdbcType=VARCHAR}, #{aid,jdbcType=VARCHAR}, #{aname,jdbcType=VARCHAR},
|
|
|
- #{createTime,jdbcType=TIMESTAMP})
|
|
|
|
|
|
|
+ #{createTime,jdbcType=TIMESTAMP}, #{processStatus,jdbcType=INTEGER})
|
|
|
</insert>
|
|
</insert>
|
|
|
<insert id="insertSelective" parameterType="com.goafanti.common.model.PaymentLog">
|
|
<insert id="insertSelective" parameterType="com.goafanti.common.model.PaymentLog">
|
|
|
<!--
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Tue Jun 16 11:20:47 CST 2020.
|
|
|
|
|
|
|
+ This element was generated on Mon Jul 19 17:20:00 CST 2021.
|
|
|
-->
|
|
-->
|
|
|
insert into payment_log
|
|
insert into payment_log
|
|
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
|
@@ -169,7 +72,7 @@
|
|
|
pid,
|
|
pid,
|
|
|
</if>
|
|
</if>
|
|
|
<if test="status != null">
|
|
<if test="status != null">
|
|
|
- status,
|
|
|
|
|
|
|
+ `status`,
|
|
|
</if>
|
|
</if>
|
|
|
<if test="remarks != null">
|
|
<if test="remarks != null">
|
|
|
remarks,
|
|
remarks,
|
|
@@ -183,6 +86,9 @@
|
|
|
<if test="createTime != null">
|
|
<if test="createTime != null">
|
|
|
create_time,
|
|
create_time,
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="processStatus != null">
|
|
|
|
|
+ process_status,
|
|
|
|
|
+ </if>
|
|
|
</trim>
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="id != null">
|
|
<if test="id != null">
|
|
@@ -206,76 +112,16 @@
|
|
|
<if test="createTime != null">
|
|
<if test="createTime != null">
|
|
|
#{createTime,jdbcType=TIMESTAMP},
|
|
#{createTime,jdbcType=TIMESTAMP},
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="processStatus != null">
|
|
|
|
|
+ #{processStatus,jdbcType=INTEGER},
|
|
|
|
|
+ </if>
|
|
|
</trim>
|
|
</trim>
|
|
|
</insert>
|
|
</insert>
|
|
|
- <select id="countByExample" parameterType="com.goafanti.common.model.PaymentLogExample" resultType="java.lang.Long">
|
|
|
|
|
- <!--
|
|
|
|
|
- WARNING - @mbg.generated
|
|
|
|
|
- This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
|
|
- This element was generated on Tue Jun 16 11:20:47 CST 2020.
|
|
|
|
|
- -->
|
|
|
|
|
- select count(*) from payment_log
|
|
|
|
|
- <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 Jun 16 11:20:47 CST 2020.
|
|
|
|
|
- -->
|
|
|
|
|
- update payment_log
|
|
|
|
|
- <set>
|
|
|
|
|
- <if test="record.id != null">
|
|
|
|
|
- id = #{record.id,jdbcType=INTEGER},
|
|
|
|
|
- </if>
|
|
|
|
|
- <if test="record.pid != null">
|
|
|
|
|
- pid = #{record.pid,jdbcType=INTEGER},
|
|
|
|
|
- </if>
|
|
|
|
|
- <if test="record.status != null">
|
|
|
|
|
- status = #{record.status,jdbcType=INTEGER},
|
|
|
|
|
- </if>
|
|
|
|
|
- <if test="record.remarks != null">
|
|
|
|
|
- remarks = #{record.remarks,jdbcType=VARCHAR},
|
|
|
|
|
- </if>
|
|
|
|
|
- <if test="record.aid != null">
|
|
|
|
|
- aid = #{record.aid,jdbcType=VARCHAR},
|
|
|
|
|
- </if>
|
|
|
|
|
- <if test="record.aname != null">
|
|
|
|
|
- aname = #{record.aname,jdbcType=VARCHAR},
|
|
|
|
|
- </if>
|
|
|
|
|
- <if test="record.createTime != null">
|
|
|
|
|
- create_time = #{record.createTime,jdbcType=TIMESTAMP},
|
|
|
|
|
- </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 Jun 16 11:20:47 CST 2020.
|
|
|
|
|
- -->
|
|
|
|
|
- update payment_log
|
|
|
|
|
- set id = #{record.id,jdbcType=INTEGER},
|
|
|
|
|
- pid = #{record.pid,jdbcType=INTEGER},
|
|
|
|
|
- status = #{record.status,jdbcType=INTEGER},
|
|
|
|
|
- remarks = #{record.remarks,jdbcType=VARCHAR},
|
|
|
|
|
- aid = #{record.aid,jdbcType=VARCHAR},
|
|
|
|
|
- aname = #{record.aname,jdbcType=VARCHAR},
|
|
|
|
|
- create_time = #{record.createTime,jdbcType=TIMESTAMP}
|
|
|
|
|
- <if test="_parameter != null">
|
|
|
|
|
- <include refid="Update_By_Example_Where_Clause" />
|
|
|
|
|
- </if>
|
|
|
|
|
- </update>
|
|
|
|
|
<update id="updateByPrimaryKeySelective" parameterType="com.goafanti.common.model.PaymentLog">
|
|
<update id="updateByPrimaryKeySelective" parameterType="com.goafanti.common.model.PaymentLog">
|
|
|
<!--
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Tue Jun 16 11:20:47 CST 2020.
|
|
|
|
|
|
|
+ This element was generated on Mon Jul 19 17:20:00 CST 2021.
|
|
|
-->
|
|
-->
|
|
|
update payment_log
|
|
update payment_log
|
|
|
<set>
|
|
<set>
|
|
@@ -283,7 +129,7 @@
|
|
|
pid = #{pid,jdbcType=INTEGER},
|
|
pid = #{pid,jdbcType=INTEGER},
|
|
|
</if>
|
|
</if>
|
|
|
<if test="status != null">
|
|
<if test="status != null">
|
|
|
- status = #{status,jdbcType=INTEGER},
|
|
|
|
|
|
|
+ `status` = #{status,jdbcType=INTEGER},
|
|
|
</if>
|
|
</if>
|
|
|
<if test="remarks != null">
|
|
<if test="remarks != null">
|
|
|
remarks = #{remarks,jdbcType=VARCHAR},
|
|
remarks = #{remarks,jdbcType=VARCHAR},
|
|
@@ -297,6 +143,9 @@
|
|
|
<if test="createTime != null">
|
|
<if test="createTime != null">
|
|
|
create_time = #{createTime,jdbcType=TIMESTAMP},
|
|
create_time = #{createTime,jdbcType=TIMESTAMP},
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="processStatus != null">
|
|
|
|
|
+ process_status = #{processStatus,jdbcType=INTEGER},
|
|
|
|
|
+ </if>
|
|
|
</set>
|
|
</set>
|
|
|
where id = #{id,jdbcType=INTEGER}
|
|
where id = #{id,jdbcType=INTEGER}
|
|
|
</update>
|
|
</update>
|
|
@@ -304,15 +153,16 @@
|
|
|
<!--
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Tue Jun 16 11:20:47 CST 2020.
|
|
|
|
|
|
|
+ This element was generated on Mon Jul 19 17:20:00 CST 2021.
|
|
|
-->
|
|
-->
|
|
|
update payment_log
|
|
update payment_log
|
|
|
set pid = #{pid,jdbcType=INTEGER},
|
|
set pid = #{pid,jdbcType=INTEGER},
|
|
|
- status = #{status,jdbcType=INTEGER},
|
|
|
|
|
|
|
+ `status` = #{status,jdbcType=INTEGER},
|
|
|
remarks = #{remarks,jdbcType=VARCHAR},
|
|
remarks = #{remarks,jdbcType=VARCHAR},
|
|
|
aid = #{aid,jdbcType=VARCHAR},
|
|
aid = #{aid,jdbcType=VARCHAR},
|
|
|
aname = #{aname,jdbcType=VARCHAR},
|
|
aname = #{aname,jdbcType=VARCHAR},
|
|
|
- create_time = #{createTime,jdbcType=TIMESTAMP}
|
|
|
|
|
|
|
+ create_time = #{createTime,jdbcType=TIMESTAMP},
|
|
|
|
|
+ process_status = #{processStatus,jdbcType=INTEGER}
|
|
|
where id = #{id,jdbcType=INTEGER}
|
|
where id = #{id,jdbcType=INTEGER}
|
|
|
</update>
|
|
</update>
|
|
|
|
|
|