文档
测试

根据公司ID和状态分页

GET
http://127.0.0.1:8094/base/wcDataRel/selectBycompanyId

接口描述

分页带查询根据companyId,deviceCardNo deviceCardNo为空查询所有 companyId和deviceCardNo可以同时存在 deviceCardNo模糊查询数据库deviceCardNo和wcName字段 两个参数同时存在时(查询)两个参数用and连接

请求参数

参数名
类型
描述
必填
dataStatus
int
当前状态(0:离线,1在线,-1查询维修状态) (必传 只能传0,1, -1)
必填
currentPage
int
页码 默认为1
必填
pageSize
int
条数 默认为10
必填
companyId
int
公司id 从redis获取 试例为2(必传)
必填

响应参数

参数名
类型
描述
必填
totalCount
必填
totalPage
必填
pageSize
必填
pageNo
必填
data
必填

说明 / 示例

{ "code": "EPP01_0000", "message": "成功", "data": { "data": [ { "createUserId": null, "createTime": "2019-09-02 15:16:36", "updateUserId": null, "updateTime": null, "dataStatus": 5, "id": 24, "wcName": null, "wcAddress": null, "wcLog": 0, "wcLat": 0, "deptName": null, "deptId": null, "imageUrl": null, "openTime": null, "closeTime": null, "managerName": null, "managerPhone": null, "equipmentInstallationDate": null, "wcNumber": "1", "updateLastTime": null, "isAlarm": null, "menFlowReal": null, "womanFlowReal": null, "otherFlowReal": null, "menFlowRealStatus": null, "womanFlowRealStatus": null, "otherFlowRealStatus": null, "cleanLastTime": null, "cleanCard": null, "cleanCountNumber": null, "partolLastTime": null, "partolLastCard": null, "partolCountNumber": null, "wcManCountNumber": null, "wcManUseNumber": null, "wcWomanCountNumber": null, "wcWomanUseNumber": null, "wcOtherCountNumber": null, "wcOtherUseNumber": null, "companyId": 2, "wid": null, "deviceCardNo": null }, { "createUserId": null, "createTime": "2019-09-02 15:16:26", "updateUserId": null, "updateTime": null, "dataStatus": 1, "id": 21, "wcName": "3", "wcAddress": null, "wcLog": 0, "wcLat": 0, "deptName": null, "deptId": null, "imageUrl": null, "openTime": null, "closeTime": null, "managerName": null, "managerPhone": null, "equipmentInstallationDate": null, "wcNumber": "0", "updateLastTime": null, "isAlarm": null, "menFlowReal": null, "womanFlowReal": null, "otherFlowReal": null, "menFlowRealStatus": null, "womanFlowRealStatus": null, "otherFlowRealStatus": null, "cleanLastTime": null, "cleanCard": null, "cleanCountNumber": null, "partolLastTime": null, "partolLastCard": null, "partolCountNumber": null, "wcManCountNumber": null, "wcManUseNumber": null, "wcWomanCountNumber": null, "wcWomanUseNumber": null, "wcOtherCountNumber": null, "wcOtherUseNumber": null, "companyId": 2, "wid": null, "deviceCardNo": null }, { "createUserId": null, "createTime": "2019-09-02 15:16:06", "updateUserId": null, "updateTime": null, "dataStatus": -1, "id": 23, "wcName": "0", "wcAddress": null, "wcLog": 0, "wcLat": 0, "deptName": null, "deptId": null, "imageUrl": null, "openTime": null, "closeTime": null, "managerName": null, "managerPhone": null, "equipmentInstallationDate": null, "wcNumber": "5", "updateLastTime": null, "isAlarm": null, "menFlowReal": null, "womanFlowReal": null, "otherFlowReal": null, "menFlowRealStatus": null, "womanFlowRealStatus": null, "otherFlowRealStatus": null, "cleanLastTime": null, "cleanCard": null, "cleanCountNumber": null, "partolLastTime": null, "partolLastCard": null, "partolCountNumber": null, "wcManCountNumber": null, "wcManUseNumber": null, "wcWomanCountNumber": null, "wcWomanUseNumber": null, "wcOtherCountNumber": null, "wcOtherUseNumber": null, "companyId": 2, "wid": null, "deviceCardNo": null }, { "createUserId": null, "createTime": "2019-09-02 15:16:03", "updateUserId": null, "updateTime": null, "dataStatus": 0, "id": 22, "wcName": "0", "wcAddress": null, "wcLog": 0, "wcLat": 0, "deptName": null, "deptId": null, "imageUrl": null, "openTime": null, "closeTime": null, "managerName": null, "managerPhone": null, "equipmentInstallationDate": null, "wcNumber": "5", "updateLastTime": null, "isAlarm": null, "menFlowReal": null, "womanFlowReal": null, "otherFlowReal": null, "menFlowRealStatus": null, "womanFlowRealStatus": null, "otherFlowRealStatus": null, "cleanLastTime": null, "cleanCard": null, "cleanCountNumber": null, "partolLastTime": null, "partolLastCard": null, "partolCountNumber": null, "wcManCountNumber": null, "wcManUseNumber": null, "wcWomanCountNumber": null, "wcWomanUseNumber": null, "wcOtherCountNumber": null, "wcOtherUseNumber": null, "companyId": 2, "wid": null, "deviceCardNo": null } ], "totalCount": 4, "totalPage": 1, "pageSize": 10, "pageNo": 1 } }