id, index_name, index_code, index_gid, home_show, list_show, trans_state,
deposit_amt, trans_fee, each_point, min_num, max_num, add_time,t_desc, introduction
delete from stock_index
where id = #{id,jdbcType=INTEGER}
insert into stock_index (id, index_name, index_code,
index_gid, home_show, list_show,
trans_state, deposit_amt, trans_fee, each_point, min_num, max_num,
add_time, t_desc, introduction
)
values (#{id,jdbcType=INTEGER}, #{indexName,jdbcType=VARCHAR}, #{indexCode,jdbcType=VARCHAR},
#{indexGid,jdbcType=VARCHAR}, #{homeShow,jdbcType=INTEGER}, #{listShow,jdbcType=INTEGER},
#{transState,jdbcType=INTEGER},
#{depositAmt,jdbcType=INTEGER},#{transFee,jdbcType=INTEGER},#{eachPoint,jdbcType=INTEGER},
#{minNum,jdbcType=INTEGER},#{maxNum,jdbcType=INTEGER},
#{addTime,jdbcType=TIMESTAMP}, #{tDesc,jdbcType=VARCHAR}, #{introduction,jdbcType=VARCHAR}
)
insert into stock_index
id,
index_name,
index_code,
index_gid,
home_show,
list_show,
trans_state,
deposit_amt,
trans_fee,
each_point,
min_num,
max_num,
add_time,
t_desc,
#{id,jdbcType=INTEGER},
#{indexName,jdbcType=VARCHAR},
#{indexCode,jdbcType=VARCHAR},
#{indexGid,jdbcType=VARCHAR},
#{homeShow,jdbcType=INTEGER},
#{listShow,jdbcType=INTEGER},
#{transState,jdbcType=INTEGER},
#{depositAmt,jdbcType=INTEGER},
#{transFee,jdbcType=INTEGER},
#{eachPoint,jdbcType=INTEGER},
#{minNum,jdbcType=INTEGER},
#{maxNum,jdbcType=INTEGER},
#{addTime,jdbcType=TIMESTAMP},
#{tDesc,jdbcType=VARCHAR},
update stock_index
index_name = #{indexName,jdbcType=VARCHAR},
index_code = #{indexCode,jdbcType=VARCHAR},
index_gid = #{indexGid,jdbcType=VARCHAR},
home_show = #{homeShow,jdbcType=INTEGER},
list_show = #{listShow,jdbcType=INTEGER},
trans_state = #{transState,jdbcType=INTEGER},
deposit_amt = #{depositAmt,jdbcType=INTEGER},
trans_fee = #{transFee,jdbcType=INTEGER},
each_point = #{eachPoint,jdbcType=INTEGER},
min_num = #{minNum,jdbcType=INTEGER},
max_num = #{maxNum,jdbcType=INTEGER},
add_time = #{addTime,jdbcType=TIMESTAMP},
t_desc = #{tDesc,jdbcType=VARCHAR},
introduction = #{introduction,jdbcType=VARCHAR},
where id = #{id,jdbcType=INTEGER}
update stock_index
set index_name = #{indexName,jdbcType=VARCHAR},
index_code = #{indexCode,jdbcType=VARCHAR},
index_gid = #{indexGid,jdbcType=VARCHAR},
home_show = #{homeShow,jdbcType=INTEGER},
list_show = #{listShow,jdbcType=INTEGER},
trans_state = #{transState,jdbcType=INTEGER},
deposit_amt = #{depositAmt,jdbcType=INTEGER},
trans_fee = #{transFee,jdbcType=INTEGER},
each_point = #{eachPoint,jdbcType=INTEGER},
min_num = #{minNum,jdbcType=INTEGER},
max_num = #{maxNum,jdbcType=INTEGER},
add_time = #{addTime,jdbcType=TIMESTAMP},
t_desc = #{tDesc,jdbcType=VARCHAR}
where id = #{id,jdbcType=INTEGER}