id, orderid, content, standard,choose, reason, beforepath, afterpath, ismend, createdby,
createddate, modifiedby, modifieddate
delete from patroldetail
where id = #{id,jdbcType=BIGINT}
update patroldetail
orderid = #{orderid,jdbcType=BIGINT},
content = #{content,jdbcType=VARCHAR},
standard = #{standard,jdbcType=VARCHAR},
choose = #{choose,jdbcType=VARCHAR},
reason = #{reason,jdbcType=VARCHAR},
beforepath = #{beforepath,jdbcType=VARCHAR},
afterpath = #{afterpath,jdbcType=VARCHAR},
ismend = #{ismend,jdbcType=TINYINT},
createdby = #{createdby,jdbcType=VARCHAR},
createddate = #{createddate,jdbcType=TIMESTAMP},
modifiedby = #{modifiedby,jdbcType=VARCHAR},
modifieddate = #{modifieddate,jdbcType=TIMESTAMP},
where id = #{id,jdbcType=BIGINT}
update patroldetail
set orderid = #{orderid,jdbcType=BIGINT},
content = #{content,jdbcType=VARCHAR},
standard = #{standard,jdbcType=VARCHAR},
choose = #{choose,jdbcType=VARCHAR},
reason = #{reason,jdbcType=VARCHAR},
beforepath = #{beforepath,jdbcType=VARCHAR},
afterpath = #{afterpath,jdbcType=VARCHAR},
ismend = #{ismend,jdbcType=TINYINT},
createdby = #{createdby,jdbcType=VARCHAR},
createddate = #{createddate,jdbcType=TIMESTAMP},
modifiedby = #{modifiedby,jdbcType=VARCHAR},
modifieddate = #{modifieddate,jdbcType=TIMESTAMP}
where id = #{id,jdbcType=BIGINT}