id,item_id,user_id,num,price,total
#{id},#{itemId},#{userId},#{num},#{price},#{total}
item_id = #{itemId},
user_id = #{userId},
num = #{num},
price = #{price},
total = #{total},
and id = #{id}
and item_id = #{itemId}
and user_id = #{userId}
and num = #{num}
and price = #{price}
and total = #{total}
insert into car(
) values(
)
delete from car where id=#{id}
delete from car where 1=1
delete from car where 1=1
update car
where 1=1
update car
where id=#{id}
update car
item_id = #{item.itemId},
user_id = #{item.userId},
num = #{item.num},
price = #{item.price},
total = #{item.total},
where 1=1
and id = #{item.id}
${sql}
${sql}