id,aType,aId,
cType,statDay,orders,
amount
delete from aska_stat
where id = #{id,jdbcType=INTEGER}
insert into aska_stat
( id,aType,aId
,cType,statDay,orders
,amount)
values (#{id,jdbcType=INTEGER},#{aType,jdbcType=CHAR},#{aId,jdbcType=INTEGER}
,#{cType,jdbcType=CHAR},#{statDay,jdbcType=DATE},#{orders,jdbcType=INTEGER}
,#{amount,jdbcType=INTEGER})
insert into aska_stat
id,
aType,
aId,
cType,
statDay,
orders,
amount,
#{id,jdbcType=INTEGER},
#{aType,jdbcType=CHAR},
#{aId,jdbcType=INTEGER},
#{cType,jdbcType=CHAR},
#{statDay,jdbcType=DATE},
#{orders,jdbcType=INTEGER},
#{amount,jdbcType=INTEGER},
update aska_stat
aType = #{aType,jdbcType=CHAR},
aId = #{aId,jdbcType=INTEGER},
cType = #{cType,jdbcType=CHAR},
statDay = #{statDay,jdbcType=DATE},
orders = #{orders,jdbcType=INTEGER},
amount = #{amount,jdbcType=INTEGER},
where id = #{id,jdbcType=INTEGER}
update aska_stat
set
aType = #{aType,jdbcType=CHAR},
aId = #{aId,jdbcType=INTEGER},
cType = #{cType,jdbcType=CHAR},
statDay = #{statDay,jdbcType=DATE},
orders = #{orders,jdbcType=INTEGER},
amount = #{amount,jdbcType=INTEGER}
where id = #{id,jdbcType=INTEGER}