--- title: 默认模块 language_tabs: - shell: Shell - http: HTTP - javascript: JavaScript - ruby: Ruby - python: Python - php: PHP - java: Java - go: Go toc_footers: [] includes: [] search: true code_clipboard: true highlight_theme: darkula headingLevel: 2 generator: "@tarslib/widdershins v4.0.30" --- # 默认模块 Base URLs: * 正式环境: https://lygcgs.com.cn:8078/shjapi # Authentication # PreWeldingDaily ## GET 获取焊接日报待审核列表。 GET /api/PreWeldingDaily/GetPendingWeldingDailyTempDetailList ### 请求参数 |名称|位置|类型|必选|说明| |---|---|---|---|---| |projectId|query|string| 是 |项目ID| |unitWorkId|query|string| 否 |单位工程ID,可为空| |weldingDate|query|string| 否 |焊接日期,可为空,格式如 yyyy-MM-dd| |pipelineCode|query|string| 否 |管线编号关键字,可为空| |welderCode|query|string| 否 |焊工编号关键字,可为空| |pageIndex|query|integer(int32)| 否 |页码,从1开始;小于等于0时返回全部记录| |token|header|string| 否 |none| > 返回示例 > 200 Response ```json { "code": 0, "message": "string", "data": {} } ``` ### 返回结果 |状态码|状态码含义|说明|数据模型| |---|---|---|---| |200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|OK|[Model.ResponeData](#schemamodel.responedata)| ## GET 查看单条焊接日报待审核明细。 GET /api/PreWeldingDaily/GetPendingWeldingDailyTempDetail ### 请求参数 |名称|位置|类型|必选|说明| |---|---|---|---|---| |tempDetailId|query|string| 是 |待审核明细ID| |token|header|string| 否 |none| > 返回示例 > 200 Response ```json { "code": 0, "message": "string", "data": {} } ``` ### 返回结果 |状态码|状态码含义|说明|数据模型| |---|---|---|---| |200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|OK|[Model.ResponeData](#schemamodel.responedata)| ## POST 批量审核通过焊接日报待审核明细。 POST /api/PreWeldingDaily/AuditPendingWeldingDailyTempDetails > Body 请求参数 ```json { "TempDetailIds": [ "string" ], "AuditMan": "string" } ``` ```yaml TempDetailIds: - string AuditMan: string ``` ### 请求参数 |名称|位置|类型|必选|说明| |---|---|---|---|---| |token|header|string| 否 |none| |body|body|[Model.WeldingDailyTempDetailBatchRequest](#schemamodel.weldingdailytempdetailbatchrequest)| 是 |none| > 返回示例 > 200 Response ```json { "code": 0, "message": "string", "data": {} } ``` ### 返回结果 |状态码|状态码含义|说明|数据模型| |---|---|---|---| |200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|OK|[Model.ResponeData](#schemamodel.responedata)| ## POST 批量删除焊接日报待审核明细。 POST /api/PreWeldingDaily/DeletePendingWeldingDailyTempDetails > Body 请求参数 ```json { "TempDetailIds": [ "string" ], "AuditMan": "string" } ``` ```yaml TempDetailIds: - string AuditMan: string ``` ### 请求参数 |名称|位置|类型|必选|说明| |---|---|---|---|---| |token|header|string| 否 |none| |body|body|[Model.WeldingDailyTempDetailBatchRequest](#schemamodel.weldingdailytempdetailbatchrequest)| 是 |none| > 返回示例 > 200 Response ```json { "code": 0, "message": "string", "data": {} } ``` ### 返回结果 |状态码|状态码含义|说明|数据模型| |---|---|---|---| |200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|OK|[Model.ResponeData](#schemamodel.responedata)| # 数据模型

Model.ResponeData

```json { "code": 0, "message": "string", "data": {} } ``` ### 属性 |名称|类型|必选|约束|中文名|说明| |---|---|---|---|---|---| |code|integer(int32)|false|none||代码 1-正常;0-异常;| |message|string|false|none||消息| |data|object|false|none||数据|

Model.WeldingDailyTempDetailBatchRequest

```json { "TempDetailIds": [ "string" ], "AuditMan": "string" } ``` 焊接日报待审核批量操作参数。 ### 属性 |名称|类型|必选|约束|中文名|说明| |---|---|---|---|---|---| |TempDetailIds|[string]|false|none||待审核明细ID集合。| |AuditMan|string|false|none||审核人ID,批量删除时无需填写。|