v1.0.50: 碎片处理6项修改 - 1)硬数据板块改名为「硬数据碎片新增与处理」;2)硬数据彻底移除「状态」字段(查看弹窗/数据表status列/列表接口全部删除,已转换以converted_id非空标识,preliminary旧页同步清理);3)硬数据操作列「继续补全」改「手动补全」+新增「AI补全」占位;4)软数据操作列「补全」改「手动补全」+新增「AI补全」占位;5)硬数据「废弃」改为从preliminary_data彻底硬删除;6)人员性别枚举收敛为男/女/未知(迁移归并其他/保密)
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
* 入参:source_type(company|person|product|need|mixed,必填)/
|
||||
* company_name / person_name / contact_phone / contact_email /
|
||||
* target_product_category / description / source_channel
|
||||
* 写入 preliminary_data,status=待处理,recorded_by=当前登录用户
|
||||
* 写入 preliminary_data,recorded_by=当前登录用户(v1.0.50 起无 status 字段)
|
||||
*/
|
||||
require_once __DIR__ . '/../common/db.php';
|
||||
require_once __DIR__ . '/../common/response.php';
|
||||
@@ -85,8 +85,8 @@ $pdo->prepare(
|
||||
"INSERT INTO preliminary_data
|
||||
(source_type, company_name, industry, registration_number, business_role, country, address,
|
||||
person_name, contact_phone, contact_email, work_location, id_number, platform, account_id, profile_url,
|
||||
source_channel, recorded_by, status)
|
||||
VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, '待处理')"
|
||||
source_channel, recorded_by)
|
||||
VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)"
|
||||
)->execute([
|
||||
$sourceType,
|
||||
$companyName !== '' ? $companyName : null,
|
||||
|
||||
Reference in New Issue
Block a user