id, prid, aid, `status`, create_time, aname
delete from public_examine
where id = #{id,jdbcType=INTEGER}
insert into public_examine (prid, aid, `status`,
create_time, aname)
values (#{prid,jdbcType=INTEGER}, #{aid,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER},
#{createTime,jdbcType=TIMESTAMP}, #{aname,jdbcType=VARCHAR})
insert into public_examine
prid,
aid,
`status`,
create_time,
aname,
#{prid,jdbcType=INTEGER},
#{aid,jdbcType=VARCHAR},
#{status,jdbcType=INTEGER},
#{createTime,jdbcType=TIMESTAMP},
#{aname,jdbcType=VARCHAR},
update public_examine
prid = #{prid,jdbcType=INTEGER},
aid = #{aid,jdbcType=VARCHAR},
`status` = #{status,jdbcType=INTEGER},
create_time = #{createTime,jdbcType=TIMESTAMP},
aname = #{aname,jdbcType=VARCHAR},
where id = #{id,jdbcType=INTEGER}
update public_examine
set prid = #{prid,jdbcType=INTEGER},
aid = #{aid,jdbcType=VARCHAR},
`status` = #{status,jdbcType=INTEGER},
create_time = #{createTime,jdbcType=TIMESTAMP},
aname = #{aname,jdbcType=VARCHAR}
where id = #{id,jdbcType=INTEGER}
update public_examine
set `status` = #{status,jdbcType=INTEGER}
where prid = #{prid,jdbcType=INTEGER}
and aid = #{aid,jdbcType=VARCHAR}
update public_examine a ,(select id,name from admin where id=#{aid})b
set a.aid=b.id ,a.aname =b.name
where a.aid = #{oldAid}
delete from public_examine
where prid = #{id,jdbcType=INTEGER}