taikai2312/bchange/hotwebs/src/api/modules/mmbd/bchangemastermanage/BchangeMasterVO.md

243 lines
4.7 KiB
Markdown
Raw Normal View History

2025-08-28 16:01:30 +08:00
# 新增主实体
## 1.接口说明
新增主实体
## 2.使用场景
新增主实体
## 3.接口调用说明
### 3.1请求类型
POST
### 3.2请求示例
> http://IP:port/nccloud/api/mmbd/bchangemanage/bchangeMaster/addBchangeMasterVO
### 3.3请求URL参数说明
>以下参数为billhead字段的参数
|参数|描述|类型|示例值|是否必输|
|:--|:--|:--|:--|:--|
|  pk_bchangemaster|主键|主键||是|
|  code|code|字符串|code_example|否|
|  name|name|字符串|name_example|否|
|  billno|施工单号|字符串|billno_example|否|
|  parent_no|父项编码|字符串|parent_no_example|否|
|  child_no|子项编码|字符串|child_no_example|否|
|  before_num|变更前数量|字符串|before_num_example|否|
|  after_num|变更后数量|字符串|after_num_example|否|
|  pk_org|pk_org|组织||否|
|  pk_group|pk_group|组织_集团||否|
|  pk_org_v|组织多版本|组织_版本信息||否|
|  dr|dr|整数|100|否|
|  ts|ts|日期时间|2021-09-02 16:29:59|否|
|  status|vostatus|整数|100|否|
> 请求参数JSON示例
```
{
"bchangeMaster":{
"pk_bchangemaster":"",
"code":"code_example",
"name":"name_example",
"billno":"billno_example",
"parent_no":"parent_no_example",
"child_no":"child_no_example",
"before_num":"before_num_example",
"after_num":"after_num_example",
"pk_org":"",
"pk_group":"",
"pk_org_v":"",
"dr":"100",
"ts":"2021-09-02 16:29:59",
"status":"100",
},
}
```
### 3.4返回值说明
#### 3.4.1正确返回示例
>返回值JSON示例
```
{
}
```
#### 3.4.2错误返回示例
>返回值JSON示例
```
{
"success":false,
"code":"1000000001",
"message":"errorMessage"
}
```
# 修改主实体
## 1.接口说明
修改主实体
## 2.使用场景
修改主实体
## 3.接口调用说明
### 3.1请求类型
POST
### 3.2请求示例
> http://IP:port/nccloud/api/mmbd/bchangemanage/bchangeMaster/updateBchangeMasterVO
### 3.3请求URL参数说明
>以下参数为billhead字段的参数
|参数|描述|类型|示例值|是否必输|
|:--|:--|:--|:--|:--|
|  pk_bchangemaster|主键|主键||是|
|  code|code|字符串|code_example|否|
|  name|name|字符串|name_example|否|
|  billno|施工单号|字符串|billno_example|否|
|  parent_no|父项编码|字符串|parent_no_example|否|
|  child_no|子项编码|字符串|child_no_example|否|
|  before_num|变更前数量|字符串|before_num_example|否|
|  after_num|变更后数量|字符串|after_num_example|否|
|  pk_org|pk_org|组织||否|
|  pk_group|pk_group|组织_集团||否|
|  pk_org_v|组织多版本|组织_版本信息||否|
|  dr|dr|整数|100|否|
|  ts|ts|日期时间|2021-09-02 16:29:59|否|
|  status|vostatus|整数|100|否|
> 请求参数JSON示例
```
{
"bchangeMaster":{
  "pk_bchangemaster":"",
  "code":"code_example",
  "name":"name_example",
  "billno":"billno_example",
  "parent_no":"parent_no_example",
  "child_no":"child_no_example",
  "before_num":"before_num_example",
  "after_num":"after_num_example",
  "pk_org":"",
  "pk_group":"",
  "pk_org_v":"",
  "dr":"100",
  "ts":"2021-09-02 16:29:59",
  "status":"100",
},
}
```
### 3.4返回值说明
#### 3.4.1正确返回示例
>返回值JSON示例
```
{
}
```
#### 3.4.2错误返回示例
>返回值JSON示例
```
{
"success":false,
"code":"1000000001",
"message":"errorMessage"
}
```
# 查询主实体
## 1.接口说明
查询主实体
## 2.使用场景
查询主实体
## 3.接口调用说明
### 3.1请求类型
POST
### 3.2请求示例
> http://IP:port/nccloud/api/mmbd/bchangemanage/bchangeMaster/queryBchangeMasterVO
### 3.3请求URL参数说明
**支持常用字段的查询**
> 请求参数JSON示例
```
{
"code":"0000001",
"pk_org":"1001F21000000000BNA4"
}
```
### 3.4返回值说明
#### 3.4.1正确返回示例
>返回值JSON示例
```
{
}
```
#### 3.4.2错误返回示例
>返回值JSON示例
```
{
"success":false,
"code":"1000000001",
"message":"errorMessage"
}
```
# 删除主实体
## 1.接口说明
删除主实体
## 2.使用场景
删除主实体
## 3.接口调用说明
### 3.1请求类型
POST
### 3.2请求示例
> http://IP:port/nccloud/api/mmbd/bchangemanage/bchangeMaster/deleteBchangeMasterVO
### 3.3请求URL参数说明
**支持主键字段的删除**
> 请求参数JSON示例
```
{
"pk_bchangemaster":"0001G4100000000021VS"
}
```
### 3.4返回值说明
#### 3.4.1正确返回示例
>返回值JSON示例
```
{
}
```
#### 3.4.2错误返回示例
>返回值JSON示例
```
{
"success":false,
"code":"1000000001",
"message":"errorMessage"
}
```