Commit b6b73361 by chenxi

陈希交接文档提交

1 parent 243e4339
Showing 15 changed files with 47 additions and 0 deletions
-- 根据产品经理邮件中提供的付款单流水号(例如:er1108153679834415104)查询业务流水号
select merchant_sp_no from oa_apply_batch_transfer
where deleted_flag = 'N' and biz_serial_no like '%er1108153679834415104%';
-- 根据业务流水号更新批量付款状态
update nb_cb_batch_transfer, oa_apply_batch_transfer
set nb_transfer_status = 1,
updated_by = '陈希_林昉工单261016手动更新为支付成功,已线下完成支付',
updated_date = now()
where dj_serial_no = '44211331_202610040002';
\ No newline at end of file \ No newline at end of file
异常日志 - 2026-10-27 10:52:26
共 5 行原始数据, 合并为 1 个订单, 1 条异常
--- 重复订单号(1个) ---
订单号=46266 出现在5行(行2,3,4,5,6), 共5个交易参考号已合并: 260824180004687,260828180611784,260829191801411,260831155355196,260831163013234
============================================================
[行2,3,4,5,6] 订单号=46266: 在dj_car_life_pay_order中未查询到支付订单
-- 自动生成SQL脚本
-- 生成时间: 2026-10-27 10:52:26
-- 数据来源: D:\workingSpace\交接\线上工单处理\异常订单、流水处理\10月份数据\异常订单处理7.xlsx
1、附件1
中的订单必须都是线下支付订单
select go.order_code, po.pay_type from dj_car_life_pay_order po
inner join dj_car_life_goods_order go on go.order_code = po.order_code
where po.order_code in ('260303185816345','260303180740979')
and po.pay_type not in (1,3,4);
2、交易参考号必须在待补录订单表中有记录
select * from dj_car_life_wait_input_order
where trade_no in ('031767549210260107601901063003','031767549210260110601400466445')
3、订单号是否重复,以下SQL验证:
select distinct(order_code) from dj_car_life_goods_order
where order_code in ('260303185816345','260303180740979','260303182140484','260303181847472','260303182725368','260303183030155','260303183320111','260316154639367','260328152217849','260610165447890','260610182426752','260508111522626','260430150728994','260610192958861','260510131456300','260605170206764','260518161400852','260605170455126','260522173052526','260605170738314','260610204623808','260610194652384','260605171008682','260605171213841','260610163316204','260605113132931','260626111410314','260610135631704','260613180250654','260613163736991','260618103416672','260610173115597','260630175342655','260629130834492','260628174955508','260619191741592','260619191156243','260619191003705','260619190804258','260619190542647','260619190303314','260619190022688','260624232636932','260627172931964','260630184856994','260326145451232','260313175727597','260318155053335','260624131157381','260525125911231','260604152434622','260605164454651','260606155610908','260606142849167','260606152120198','260607111100971','260607115608750','260611172455817','260615120338839','260615174618385','260616173023697','260625160035317','260625111828243')
附件2:
部分退款流水改为全部退款,退款状态改为已退款即可
测试流水改为已补录,补录订单号留空,这种特殊流水审计认可。
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!