问题描述:

image.png

赵梦醒账号:15864721336 密码get_rich

问题的子需求编号:2206290019-0003

问题复现可以找现场实施郭旭娟,客开协助可以找王泽润

客开初步排查原因:

1、该报错出现在原厂类,如下图所示将该报错内容搜索报错编号,并将报错编号搜原厂类,并找不到该编号。
image.png

2、使用Arthas抓取报错,没有任何错误信息

image.png

解决方案

1、改库

— 询价单
select id from cpu_sourcing.ipu_quotation where vbuyoffer_billcode = ‘XJ2207040011’
— 询价单子表
select id,product_name,unpd_released from cpu_sourcing.ipu_quotation_detail where quotationid = ‘询价单id’

将出现问题的 询价单子表的unpd_released 字段改成 0 或者 改成 1

2、改完库之后会出现新的报错:
image.png

解决方案:执行SQL恢复该单据的采购需求。
SQL:
— 采购需求 的子需求编号在define1上,询价单的子需求编号也在define1上。如果找不到子需求编号,直接管实施顾问要询价单的子需求编号即可。
select id from cpu_sourcing.ipu_pu_req_define where define1 = ‘2206290019-0003’
select * from cpu_sourcing.ipu_pu_req where id = ‘38406’ — 执行完这个sql,找到dr,将dr从1改成0即可