insert into
valuation_accounting(fund_id,
fund_name,
assets_under_custody,
custodian_valuation_id,
update_time,
battle_result)
values(#{fundId},
#{fundName},
#{assets},
#{attachmentId},
#{updateTime},
#{battleResult})
insert into
attachment(attachment_id,
attachment_name,
url,
upload_person_id,
create_time)
values(#{attachmentId},
#{attachmentName},
#{url},
#{userId},
#{addTime})
update
valuation_accounting
set
bank_valuation_id=#{attachmentId},
update_time=#{updateTime},
battle_result=#{battleResult}
where
fund_id=#{fundId}
insert into
operation_history(operator_type_id,
operator_account,
operator_role,
operator_person,
operator_time,
hash)
values(#{operatorTypeId},
#{operatorAccount},
#{operatorRole},
#{operatorPerson},
#{operatorTime},
#{hash})
update
valuation_accounting
set
update_time=#{updateTime},
battle_result=#{battleResult}
where
fund_id=#{fundId}
update
attachment
set
attachment_name=#{attachmentName},
url=#{url},
upload_person_id=#{userId},
create_time=#{addTime}
where
attachment_id=#{attachmentId}
update
attachment
set
attachment_name=#{attachmentName},
url=#{url},
upload_person_id=#{userId},
create_time=#{addTime}
where
attachment_id=#{attachmentId}