insert into sys_assist_good id, assist_name, assist_type, assist_model, unit, stock, `position`, alarm_count, is_use, create_time, create_user, remark, company_id, #{id,jdbcType=VARCHAR}, #{assistName,jdbcType=VARCHAR}, #{assistType,jdbcType=VARCHAR}, #{assistModel,jdbcType=VARCHAR}, #{unit,jdbcType=VARCHAR}, #{stock,jdbcType=INTEGER}, #{position,jdbcType=VARCHAR}, #{alarmCount,jdbcType=INTEGER}, #{isUse,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, #{createUser,jdbcType=VARCHAR}, #{remark,jdbcType=VARCHAR}, #{companyId,jdbcType=VARCHAR}, update sys_assist_good set is_use=2 where id=#{assistId} update sys_assist_good assist_name = #{assistName,jdbcType=VARCHAR}, assist_type = #{assistType,jdbcType=VARCHAR}, assist_model = #{assistModel,jdbcType=VARCHAR}, unit = #{unit,jdbcType=VARCHAR}, stock = #{stock,jdbcType=INTEGER}, position = #{position,jdbcType=VARCHAR}, alarm_count = #{alarmCount,jdbcType=INTEGER}, is_use = #{isUse,jdbcType=INTEGER}, create_time = #{createTime,jdbcType=TIMESTAMP}, create_user = #{createUser,jdbcType=VARCHAR}, remark = #{remark,jdbcType=VARCHAR}, where id = #{id,jdbcType=VARCHAR}