id,order_no,type,
type_explain
delete from t_order_approval
where id = #{id,jdbcType=INTEGER}
insert into t_order_approval
( id,order_no,type
,type_explain)
values (#{id,jdbcType=INTEGER},#{orderNo,jdbcType=VARCHAR},#{type,jdbcType=INTEGER}
,#{typeExplain,jdbcType=VARCHAR})
insert into t_order_approval
id,order_no,type,type_explain,#{id,jdbcType=INTEGER},#{orderNo,jdbcType=VARCHAR},#{type,jdbcType=INTEGER},#{typeExplain,jdbcType=VARCHAR},
update t_order_approval
order_no = #{orderNo,jdbcType=VARCHAR},
type = #{type,jdbcType=INTEGER},
type_explain = #{typeExplain,jdbcType=VARCHAR},
where id = #{id,jdbcType=INTEGER}
update t_order_approval
set
order_no = #{orderNo,jdbcType=VARCHAR},
type = #{type,jdbcType=INTEGER},
type_explain = #{typeExplain,jdbcType=VARCHAR}
where id = #{id,jdbcType=INTEGER}
delete from t_order_approval
where order_no= #{orderNo}