select id, second_id, period, odds, max_amount, min_amount, status, create_by, create_time, update_by, update_time, remark, search_value ,flag from t_second_period_config
insert into t_second_period_config
id,
second_id,
period,
odds,
max_amount,
min_amount,
status,
create_by,
create_time,
update_by,
update_time,
remark,
search_value,
flag,
#{id},
#{secondId},
#{period},
#{odds},
#{maxAmount},
#{minAmount},
#{status},
#{createBy},
#{createTime},
#{updateBy},
#{updateTime},
#{remark},
#{searchValue},
#{flag},
update t_second_period_config
second_id = #{secondId},
period = #{period},
odds = #{odds},
max_amount = #{maxAmount},
min_amount = #{minAmount},
status = #{status},
create_by = #{createBy},
create_time = #{createTime},
update_by = #{updateBy},
update_time = #{updateTime},
remark = #{remark},
search_value = #{searchValue},
flag = #{flag},
where id = #{id}
delete from t_second_period_config where id = #{id}
delete from t_second_period_config where id in
#{id}