|
|
@@ -100,16 +100,14 @@
|
|
|
<insert id="insertList">
|
|
|
insert into task_sopt (`type`, `status`,tid, create_by,
|
|
|
create_time)
|
|
|
- values (#{type,jdbcType=INTEGER}, #{status,jdbcType=INTEGER}, #{createBy,jdbcType=VARCHAR},
|
|
|
- #{createTime,jdbcType=TIMESTAMP})
|
|
|
values
|
|
|
<foreach item="item" collection="list" separator="," index="">
|
|
|
- (#{item.type,jdbcType=INTEGER}, #{item.status,jdbcType=INTEGER},#{tid,jdbcType=INTEGER},
|
|
|
+ (#{item.type,jdbcType=INTEGER}, #{item.status,jdbcType=INTEGER},#{item.tid,jdbcType=INTEGER},
|
|
|
#{item.createBy,jdbcType=VARCHAR}, #{item.createTime,jdbcType=TIMESTAMP})
|
|
|
</foreach>
|
|
|
</insert>
|
|
|
|
|
|
- <select id="selectByTid" parameterType="java.lang.Long" resultMap="BaseResultMap">
|
|
|
+ <select id="selectByTid" resultMap="BaseResultMap">
|
|
|
select
|
|
|
<include refid="Base_Column_List" />
|
|
|
from task_sopt
|