|
|
@@ -5,12 +5,11 @@
|
|
|
<id column="id" jdbcType="INTEGER" property="id" />
|
|
|
<result column="order_no" jdbcType="VARCHAR" property="orderNo" />
|
|
|
<result column="type" jdbcType="INTEGER" property="type" />
|
|
|
- <result column="aid" jdbcType="VARCHAR" property="aid" />
|
|
|
<result column="name" jdbcType="VARCHAR" property="name" />
|
|
|
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
|
|
|
</resultMap>
|
|
|
<sql id="Base_Column_List">
|
|
|
- id, order_no, `type`, aid, `name`, create_time
|
|
|
+ id, order_no, `type`, `name`, create_time
|
|
|
</sql>
|
|
|
<select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
|
|
|
select
|
|
|
@@ -23,10 +22,10 @@
|
|
|
where id = #{id,jdbcType=INTEGER}
|
|
|
</delete>
|
|
|
<insert id="insert" keyColumn="id" keyProperty="id" parameterType="com.goafanti.common.model.TOrderExamine" useGeneratedKeys="true">
|
|
|
- insert into t_order_examine (order_no, `type`, aid,
|
|
|
- `name`, create_time)
|
|
|
- values (#{orderNo,jdbcType=VARCHAR}, #{type,jdbcType=INTEGER}, #{aid,jdbcType=VARCHAR},
|
|
|
- #{name,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP})
|
|
|
+ insert into t_order_examine (order_no, `type`, `name`,
|
|
|
+ create_time)
|
|
|
+ values (#{orderNo,jdbcType=VARCHAR}, #{type,jdbcType=INTEGER}, #{name,jdbcType=VARCHAR},
|
|
|
+ #{createTime,jdbcType=TIMESTAMP})
|
|
|
</insert>
|
|
|
<insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.goafanti.common.model.TOrderExamine" useGeneratedKeys="true">
|
|
|
insert into t_order_examine
|
|
|
@@ -37,9 +36,6 @@
|
|
|
<if test="type != null">
|
|
|
`type`,
|
|
|
</if>
|
|
|
- <if test="aid != null">
|
|
|
- aid,
|
|
|
- </if>
|
|
|
<if test="name != null">
|
|
|
`name`,
|
|
|
</if>
|
|
|
@@ -54,9 +50,6 @@
|
|
|
<if test="type != null">
|
|
|
#{type,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
- <if test="aid != null">
|
|
|
- #{aid,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
<if test="name != null">
|
|
|
#{name,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
@@ -74,9 +67,6 @@
|
|
|
<if test="type != null">
|
|
|
`type` = #{type,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
- <if test="aid != null">
|
|
|
- aid = #{aid,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
<if test="name != null">
|
|
|
`name` = #{name,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
@@ -90,7 +80,6 @@
|
|
|
update t_order_examine
|
|
|
set order_no = #{orderNo,jdbcType=VARCHAR},
|
|
|
`type` = #{type,jdbcType=INTEGER},
|
|
|
- aid = #{aid,jdbcType=VARCHAR},
|
|
|
`name` = #{name,jdbcType=VARCHAR},
|
|
|
create_time = #{createTime,jdbcType=TIMESTAMP}
|
|
|
where id = #{id,jdbcType=INTEGER}
|