goodsauthlogid,adminid,authtype,objecttype,objectid,uid,created,goods,starttime,endtime,description INSERT INTO GoodsAuthLog ( nextval('seq_goodsauthlogid') , adminid,authtype, objecttype,objectid,uid,created,goods,starttime, endtime,description ) Values ( #{goodsauthlogid},#{adminid},#{authtype}, #{objecttype},#{objectid},#{uid}, current_timestamp ,#{goods},#{starttime}, #{endtime},#{description}) UPDATE GoodsAuthLog SET goodsauthlogid=#{goodsauthlogid},adminid=#{adminid}, authtype=#{authtype},objecttype=#{objecttype}, objectid=#{objectid},uid=#{uid},created=#{created}, goods=#{goods},starttime=#{starttime},endtime=#{endtime}, description=#{description} WHERE goodsauthlogid=#{goodsauthlogid} INSERT INTO GoodsAuthLog ( goodsauthlogid,adminid,authtype, objecttype,objectid,uid,created,goods,starttime, endtime,description ) Values ( nextval('seq_goodsauthlogid') , #{item.adminid} , #{item.authtype}, #{item.objecttype} , #{item.objectid}, #{item.uid} , current_timestamp , #{item.goods} , #{item.starttime}, #{item.endtime} , #{item.description} )