INSERT INTO UnivGoodsAuthLog ( goodsauthlogid ,
adminid, authtype,
objecttype, objectid, uid, created, goods,
starttime, endtime, description )
Values ( nextval('seq_Univgoodsauthlogid'),
#{adminid},#{authtype},
#{objecttype},#{objectid},#{uid}, current_timestamp ,#{goods},
#{starttime}, #{endtime},#{description})
UPDATE UnivGoodsAuthLog
SET 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 UnivGoodsAuthLog ( goodsauthlogid,adminid,authtype,
objecttype,objectid,uid,created,goods,starttime,
endtime,description )
Values
( nextval('seq_UnivGoodsAuthLogId') ,
#{item.adminid} , #{item.authtype},
#{item.objecttype} , #{item.objectid},
#{item.uid} , current_timestamp ,
#{item.goods} , #{item.starttime},
#{item.endtime} , #{item.description} )