Files
2026-03-01 01:43:46 +08:00

5.8 KiB
Raw Permalink Blame History

提单前台

处理流程

获取企业产品

/workorder/filter/product?enterpriseId=impdmahu-qxqlctq2lghkfq7q&operateType=add

正哥已处理

operateType 如果是删除:已开通

operateType 如果是删除:已开通、试用中

ep_product_chargemode 查询产品

转换为 ProductsBBossEnum 中的产品

无暂停单 && 无注销单 && (开通的 || 试用单没走完的删了域名的)

提单(政企客户经理/省客户经理)

/workorder/custom/save

com.cmcc.cdn.platform.selfservice.controller.NewWorkOrderController#save

提单参数

{
    "code": null,
    "type": "domain_request",
    "model": null,
    "source": null,
    "enterpriseCpId": null,
    "name": null,
    "mobile": null,
    "email": null,
    "createUser": null,
    "corp": null,
    "creatorInfo": null,
    "dealer": null,
    "createTime": null,
    "state": null,
    "approve": null,
    "description": "",
    "domain": null,
    "https": null,
    "keyLessFlag": null,
    "keyless": null,
    "speedDomain": null,
    "speedList": [
        {
            "domain": "20250822110828.komect.com",
            "cpDomain": "",
            "icpNumber": "京ICP备0500_komect.com_12号",
            "mainLoopDomain": null,
            "loopDomain": null,
            "loopType": null
        }
    ],
    "product": "网页加速",
    "port": null,
    "provinces": [
        33
    ],
    "plains": null,
    "orignAddress": null,
    "loopDomain": [
        {
            "value": "[2001:0db8:85a3:0000:0000:8a2e:0370:7334]:80",
            "type": "ip",
            "mainFlag": true,
            "weight": null
        }
    ],
    "md5List": [
        "eehgcudaliutvzavcyv7xysao"
    ],
    "requirement": "add",
    "enterprise": "awgb5qxx-hdmw9aygdphcswsi",
    "icpNumber": null,
    "isBatch": null,
    "fileId": null,
    "id": null,
    "secInfoFileId": [
        "0rawbsu5ee2ygvcyq13jpuri2"
    ],
    "plane": null,
    "httpSelection": {
        "http": null,
        "https": null
    },
    "domainType": null,
    "subdomain": null,
    "isSubscribe": null,
    "productId": "PRODUCTID1747035900"
}

存在性校验:

self_service_domain_config

work_order_cache_domain

batch_self_domain

configure_list、speed_configure_domain、work_order

live_order_info、live_order_domain_info


主表:work_order

子表:configure_list (映射)

配置表:orign_address、speed_configure_domain、batch_self_domain(批量)

审批记录:domain_history(刚开始会创建两条记录)

域名表:self_service_domain_config、live_stream_domain_config(直播)

附件:log_file_resource

企业工单关系表:worker_order_enterprise

更新:configure_list 的 record_number 和 self_service_domain_config 的合法性。

更新:domain_history 会设置校验状态 isIcpCheckCompleted、isIcpCheckSuccess

随后找人的时候会设置:approvingUserid、approvingMobile、dealer(下一个审批人角色)、userTemp(审批过的人)

审批下发 BPM(集团客户经理管理员)

/workorder/approvedecision

下发话单

置空 approvingUserid、approvingMobile

增加审批记录。

下发 BPM 人员选择

根据创单人判断

省客户经理:取省 SA,如果没有取 徐娜 GLOBAL_AREA_MANAGER_ID

不是省客户经理 :取 SA,如果没有取 徐娜 GLOBAL_AREA_MANAGER_ID

阶段反馈

com.cmcc.cdn.platform.selfservice.order.DomainOrderService#domainOrderStageFeedback

针对阶段反馈成功只是更改了 bpmTaskDao 表的状态

回退接口

work_order 表

configure_list 表

通过 domain_history​校验是否已通过备案

如果备案未完成不可驳回

退回工单至发起人处

如果是批量域名需要删除对应的表

关话单

删除域名,发邮件

domain_history​记录

工单列表查询

/workorder/getworkList

{
	"data":[
		{
			"approving":true,
			"approvingWorker":"政企分公司|政企汤汤|18867102345",
			"corpName":"ECName-1701700035",
			"createUser":false,
			"customConfig":false,
			"dealer":"政企客户经理",
			"details":"20231204233906.komect.com",
			"distribute":false,
			"enumType":"domain_request",
			"id":347411,
			"mobile":"18867102345",
			"modifying":true,
			"orderType":0,
			"orderTypeCheck":false,
			"prohibited":false,
			"status":"bpmReject",
			"time":"2023-12-04 23:40",
			"type":"域名配置需求",
			"user":"政企汤汤 | 18867102345 | lichunliang@cmhi.chinamobile.com"
		}
	],
	"pageNum":1,
	"pageSize":10,
	"total":1
}

{
	"data":[
		{
			"approving":false,
			"corpName":"xj测试企业193",
			"createUser":true,
			"customConfig":false,
			"details":"p193000925001",
			"distribute":false,
			"enumType":"DOMAIN_MIGRATE",
			"id":347374,
			"modifying":false,
			"orderType":0,
			"orderTypeCheck":false,
			"prohibited":false,
			"status":"finished",
			"time":"2023-11-13 16:18",
			"type":"订购迁移工单",
			"user":"政企汤汤|18867102345"
		}
	],
	"pageNum":1,
	"pageSize":10,
	"total":1
}

WorkOrder​的 status 决定列表

工单详情

/workorder/detail

域名配置工单修改合法性位置

com.cmcc.cdn.platform.selfservice.order.DomainOrderService#updateCheckedIcpInfo

客户经理修改工单接口

http://dev.p.cdn.10086.cn:8080/workorder/modify/detail

id: 347652
type: domain_request

上传附件普通

/workorder/custom/upload

删除附件

/workorder/custom/deleteFile

上传信安附件

/workorder/requestDomain/upload