insert into asset(fund_id,price_date,asset_net,asset_share, isvalid, creatorid, createtime, updaterid, updatetime,channel_id) values (#{itemDo.fundId},#{itemDo.priceDate},#{itemDo.assetNet},#{itemDo.assetShare}, #{itemDo.isvalid}, #{itemDo.creatorId}, #{itemDo.createTime}, #{itemDo.updaterId}, #{itemDo.updateTime}, #{itemDo.channelId}) update asset asset_net = #{itemDo.assetNet}, asset_share = #{itemDo.assetShare}, updatetime=#{itemDo.updateTime} where isvalid = 1 and fund_id = #{itemDo.fundId} and price_date = #{itemDo.priceDate} and channel_id = #{itemDo.channelId} update asset set isvalid=0,updatetime=now(),updaterid=#{updaterId} where fund_id=#{fundId} and price_date=#{priceDate} update asset set isvalid=0,updatetime=now() where fund_id=#{fundId} and price_date in #{priceDate}