tinywms.factories.update
更新指定工厂信息
- 请求路由:
tinywms.factories.update- 交互模型:
Request Response- 访 问限制: 无
请求
RSocket.rr({
"route" : "tinywms.factories.update",
"data" : {
"replaceMe" : "工厂更新信息"
}
});
请求参数
| 名称 | 类型 | 必须 | 说明 |
|---|---|---|---|
id | String | 否 | 工厂ID |
name | String | 否 | 工厂名称(中文) |
nameEn | String | 否 | 工厂名称(英文) |
abbreviation | String | 否 | 名称缩写 |
contactPerson | Object | 否 | 联系人信息 |
contactPerson.username | String | 否 | 用户标识 |
contactPerson.name | String | 否 | 用户名称 |
contactPerson.mobile | String | 否 | 用户手机号 |
address | String | 否 | 工厂地址(中文) |
addressEn | String | 否 | 工厂地址(英文) |
customerName | String | 否 | 客户名称 |
warehouseKeeper | Object[] | 否 | |
warehouseKeeper.[].legalEntityId | String | 否 | 法人主体id |
warehouseKeeper.[].username | String | 否 | 用户标识 |
warehouseKeeper.[].name | String | 否 | 用户名称 |
warehouseKeeper.[].mobile | String | 否 | 用户手机号 |
handoverPerson | Object[] | 否 | |
handoverPerson.[].legalEntityId | String | 否 | 法人主体id |
handoverPerson.[].username | String | 否 | 用户标识 |
handoverPerson.[].name | String | 否 | 用户名称 |
handoverPerson.[].mobile | String | 否 | 用户手机号 |
legalEntityId | String | 否 | 法人主体id |
customerId | String | 否 | 客户id |
extraProps | Object | 否 | 扩展属性 |
crBy | String | 否 | 创建者 |
upBy | String | 否 | 最后修改者 |
crDate | String | 否 | 创建时间 |
upDate | String | 否 | 最后修改时间 |
tenantId | String | 否 | 租户ID |
返回
更新后的工厂信息
{ }
返回属性
| 名称 | 类型 | 说明 |
|---|---|---|
id | String | 工厂ID |
name | String | 工厂名称(中文) |
nameEn | String | 工厂名称(英文) |
abbreviation | String | 名称缩写 |
contactPerson | Object | 联系人信息 |
contactPerson.username | String | 用户标识 |
contactPerson.name | String | 用户名称 |
contactPerson.mobile | String | 用户手机号 |
address | String | 工厂地址(中文) |
addressEn | String | 工厂地址(英文) |
customerName | String | 客户名称 |
warehouseKeeper | Object[] | |
warehouseKeeper.[].legalEntityId | String | 法人主体id |
warehouseKeeper.[].username | String | 用户标识 |
warehouseKeeper.[].name | String | 用户名称 |
warehouseKeeper.[].mobile | String | 用户手机号 |
handoverPerson | Object[] | |
handoverPerson.[].legalEntityId | String | 法人主体id |
handoverPerson.[].username | String | 用户标识 |
handoverPerson.[].name | String | 用户名称 |
handoverPerson.[].mobile | String | 用户手机号 |
legalEntityId | String | 法人主体id |
customerId | String | 客户id |
extraProps | Object | 扩展属性 |
crBy | String | 创建者 |
upBy | String | 最后修改者 |
crDate | String | 创建时间 |
upDate | String | 最后修改时间 |
tenantId | String | 租户ID |