id, `uid`, aid, pid, take_aid, `type`, create_time, remarks
delete from user_transfer_log
where id = #{id,jdbcType=INTEGER}
insert into user_transfer_log (id, `uid`, aid,
pid, take_aid, `type`,
create_time, remarks)
values (#{id,jdbcType=INTEGER}, #{uid,jdbcType=VARCHAR}, #{aid,jdbcType=VARCHAR},
#{pid,jdbcType=VARCHAR}, #{takeAid,jdbcType=VARCHAR}, #{type,jdbcType=INTEGER},
#{createTime,jdbcType=TIMESTAMP}, #{remarks,jdbcType=VARCHAR})
insert into user_transfer_log
id,
`uid`,
aid,
pid,
take_aid,
`type`,
create_time,
remarks,
#{id,jdbcType=INTEGER},
#{uid,jdbcType=VARCHAR},
#{aid,jdbcType=VARCHAR},
#{pid,jdbcType=VARCHAR},
#{takeAid,jdbcType=VARCHAR},
#{type,jdbcType=INTEGER},
#{createTime,jdbcType=TIMESTAMP},
#{remarks,jdbcType=VARCHAR},
update user_transfer_log
`uid` = #{uid,jdbcType=VARCHAR},
aid = #{aid,jdbcType=VARCHAR},
pid = #{pid,jdbcType=VARCHAR},
take_aid = #{takeAid,jdbcType=VARCHAR},
`type` = #{type,jdbcType=INTEGER},
create_time = #{createTime,jdbcType=TIMESTAMP},
remarks = #{remarks,jdbcType=VARCHAR},
where id = #{id,jdbcType=INTEGER}
update user_transfer_log
set `uid` = #{uid,jdbcType=VARCHAR},
aid = #{aid,jdbcType=VARCHAR},
pid = #{pid,jdbcType=VARCHAR},
take_aid = #{takeAid,jdbcType=VARCHAR},
`type` = #{type,jdbcType=INTEGER},
create_time = #{createTime,jdbcType=TIMESTAMP},
remarks = #{remarks,jdbcType=VARCHAR}
where id = #{id,jdbcType=INTEGER}
insert into user_transfer_log ( uid, aid,
pid, take_aid, type, remarks,
create_time)
values
( #{item.uid,jdbcType=VARCHAR}, #{item.aid,jdbcType=VARCHAR},
#{item.pid,jdbcType=VARCHAR}, #{item.takeAid,jdbcType=VARCHAR}, #{item.type,jdbcType=INTEGER},
#{item.remarks},#{item.createTime,jdbcType=TIMESTAMP})
insert into user_transfer_log ( uid, aid,
type,
create_time)
values
( #{item.uid,jdbcType=VARCHAR}, #{item.aid,jdbcType=VARCHAR},
8,
#{item.createTime,jdbcType=TIMESTAMP})
INSERT INTO user_transfer_log (uid, aid, take_aid, `type`, create_time)
select id,aid, #{transferId},13,#{date} from user where share_type =0 and aid = #{aid}
INSERT INTO user_transfer_log (uid, aid, take_aid,pid, `type`, create_time)
select id,aid,#{transferId},business_project_id ,14,#{date}
from user_lock_release where `type` =1 and aid =#{aid}