Files
notes/work/移动杭研/问题处理/2024-04/0429-直播改为点播更新sql.md
2026-03-01 01:43:46 +08:00

44 lines
1015 B
Markdown
Raw Permalink Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
日期: 2024-04-29 14:51
来源: 鹏豪
---
# 问题详情
下午起来后帮忙跑一个场景。@田卓
走一个直播试用单,在运营经理点击受理之前把直播改成点播,梳理出要执行的所有 sql。改完后正常走 bpm 反馈
# 处理过程
```sql
# 直播改点播,改为 1点播下载网页 为例,id为对应表的主键id
# 这里存2是因为平台ProductsEnums进行转换的1-22-13-04-5
update test_substance
set test_type = 2
where id = 1769;
# order_type为2的那个试用单的主键id
update order_info
set product = '["1"]'
where id = 4267;
update testorder_info
set test_type = '["1"]'
where id = 1396;
```
![](../../../../attachment/images-paste/image-20240429145200914.png)
![](../../../../attachment/images-paste/image-20240429145305577.png)
![](../../../../attachment/images-paste/image-20240429145429189.png)
![](../../../../attachment/images-paste/image-20240429145450652.png)
# 总结
已完成