update sys_embedment_record
embedment_id = #{embedmentId,jdbcType=VARCHAR},
stock_type = #{stockType,jdbcType=VARCHAR},
change_stock = #{changeStock,jdbcType=INTEGER},
supplier_id = #{supplierId,jdbcType=VARCHAR},
single_price = #{singlePrice,jdbcType=DECIMAL},
amount = #{amount,jdbcType=DECIMAL},
remark = #{remark,jdbcType=VARCHAR},
get_depart = #{getDepart,jdbcType=VARCHAR},
create_user = #{createUser,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
is_use = #{isUse,jdbcType=INTEGER},
company_id = #{companyId,jdbcType=VARCHAR},
where id = #{id,jdbcType=VARCHAR}
insert into sys_embedment_record
id,
embedment_id,
stock_type,
change_stock,
supplier_id,
single_price,
amount,
remark,
get_depart,
create_user,
create_time,
is_use,
company_id,
#{id,jdbcType=VARCHAR},
#{embedmentId,jdbcType=VARCHAR},
#{stockType,jdbcType=VARCHAR},
#{changeStock,jdbcType=INTEGER},
#{supplierId,jdbcType=VARCHAR},
#{singlePrice,jdbcType=DECIMAL},
#{amount,jdbcType=DECIMAL},
#{remark,jdbcType=VARCHAR},
#{getDepart,jdbcType=VARCHAR},
#{createUser,jdbcType=VARCHAR},
#{createTime,jdbcType=TIMESTAMP},
#{isUse,jdbcType=INTEGER},
#{companyId,jdbcType=VARCHAR},
update sys_embedment_record set
is_use=2
where id=#{id}