Commit 4d7b2b29 authored by 赵啸非's avatar 赵啸非

添加大厅与窗口关联

parent 70d21de1
......@@ -12646,6 +12646,66 @@ dict|object|字典对象
}
```
### 根据大厅查询所属业务列表
**请求URL:** window/hall/getBusinessByHall
**请求方式:** POST
**内容类型:** application/json;charset=utf-8
**简要描述:** 根据大厅查询所属业务列表
**请求参数:**
参数名称|类型|必填|描述
:---|:--|:---|:------
id|Long|是|大厅Id
size|Integer|否|每页条数,值为-1,查询所有记录
**请求样例:**
```
{
"page":1,
"size":10
}
```
**响应参数:**
参数名称|参数类型|描述
:---|:---|:------
code|Integer|结果码(-1.失败,1.成功)
msg|String|消息
data|object|数据对象
 per_page|Integer|每页条数
 total|Integer|总条数
 last_page|Integer|总页数
 current_page|Integer|当前页
 data|array|结果集列表|数组
  id|Long|序号,主键,自增长
  windowId|Long|窗口ID
  windowName|String|窗口名称
  hallId|Long|大厅ID
  hallName|String|大厅名称
  sort|Integer|排序
  remark|String|备注
  createTime|Date|创建时间
  createUserId|Long|创建用户
  updateTime|Date|修改时间
dict|object|字典对象
**响应消息样例:**
```
{
"code":1,
"data":{
}
}
```
### 查看大厅窗口
**请求URL:** window/hall/info
......
......@@ -94,7 +94,7 @@ public class SiteBusinessServiceImpl extends AbstractCRUDCacheServiceImpl<SiteBu
//重新内存分页
params.getPage();
params.getSize();
list = MemoryPagination.pagination(list, params.getSize(), params.getPage());
list = MemoryPagination.pagination(list, params.getSize() == -1 ? list.size() : params.getSize(), params.getPage());
if (!ObjectUtils.isEmpty(params.getIdNotList())) {
//排除掉已经存在的ids
log.info("idNotList:{}", JSON.toJSONString(params.getIdNotList()));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment