trf_id, trf_no, trf_date, org_id, staff_id, trf_in_mac, trf_out_mac, trf_amount, remarks, annex_paths, make_staff, make_time, flg_valid, cp_id, op_create_time, op_create_user_id, op_update_time, op_update_user_id, op_app_code, op_timestamp, op_db_user
AND trf_no = #{trfNo}
AND trf_date = #{trfDate}
AND org_id = #{orgId}
AND staff_id = #{staffId}
AND trf_in_mac = #{trfInMac}
AND trf_out_mac = #{trfOutMac}
AND trf_amount = #{trfAmount}
AND remarks = #{remarks}
AND annex_paths = #{annexPaths}
AND make_staff = #{makeStaff}
AND make_time = #{makeTime}
AND flg_valid = #{flgValid}
AND cp_id = #{cpId}
AND op_create_time = #{opCreateTime}
AND op_create_user_id = #{opCreateUserId}
AND op_update_time = #{opUpdateTime}
AND op_update_user_id = #{opUpdateUserId}
AND op_app_code = #{opAppCode}
AND op_timestamp = #{opTimestamp}
AND op_db_user = #{opDbUser}
WHERE trf_id in
#{item}
insert into dkic_b.t_mac_transfer
(
trf_no,
trf_date,
org_id,
staff_id,
trf_in_mac,
trf_out_mac,
trf_amount,
remarks,
annex_paths,
make_staff,
make_time,
cp_id,
op_app_code,
)
values
(
#{item.trfNo},
#{item.trfDate},
#{item.orgId}::uuid,
#{item.staffId}::uuid,
#{item.trfInMac}::uuid,
#{item.trfOutMac}::uuid,
#{item.trfAmount},
#{item.remarks},
#{item.annexPaths},
#{item.makeStaff}::uuid,
#{item.makeTime},
#{item.cpId},
#{item.opAppCode},
)