费用列表
接口:/expense/list
Method:POST
数据格式:JSON
请求参数:
参数 | 类型 | 是否必填 | 描述 |
---|---|---|---|
employeeId | String | Y | 员工工号 |
statusList | List<String> | N | 费用状态: UNREIMBURSED -未报销 REIMBURSED -已报销 REIMBURSING -报销中 NOREIMBURSED -无需报销 |
endDate | Date | N | 结束时间 |
startDate | Date | N | 开始时间 |
corpPay | boolean | N | 是否企业支付,默认为 false |
pageNum | int | N | 页码,默认为 1 |
pageSize | int | N | 每页条数,默认为 20,最大值为 100 |
- 返回数据:
参数 | 类型 | 描述 |
---|---|---|
count | int | 总条数 |
list | List<SimpleFeeDataDto> | 分页的结果 |
- SimpleFeeDataDto结构
参数 | 类型 | 描述 |
---|---|---|
employeeId | String | 员工工号 |
employeeName | String | 员工姓名 |
feeCode | String | 费用编码 |
ConsumeCcy | String | 消费币种 |
ConsumeAmount | BigDecimal | 消费金额 |
feeTypeCode | String | 费用类型编码 |
feeTypeName | String | 费用类型名称 |
status | String | 费用状态: UNREIMBURSED -未报销 REIMBURSED -已报销 REIMBURSING -报销中 NOREIMBURSED -无需报销 |
sourceType | String | 第三方消费平台 |
consumeTime | String | 消费时间(yyyy-MM-dd格式字符串)| |
- 请求示例:
{
"employeeId":"maycur001",
"pageSize":3,
"pageNum":1,
"statusList":["UNREIMBURSED"],
"endDate":1718192175983,
"startDate":1652355375000,
"corpPay1":true
}
返回数据(成功)
{
"code": "ACK",
"message": "",
"data": {
"list": [
{
"employeeId": "maycur001",
"userName": "张三",
"feeCode": "FD240426657750Q",
"consumeCcy": "CNY",
"consumeAmount": 111.00,
"feeTypeCode": "F006",
"feeTypeName": "员工住宿",
"statusDesc": "未报销",
"status": "UNREIMBURSED",
"sourceType": null,
"consumeTime": "2024-04-26"
},
{
"employeeId": "maycur001",
"userName": "张三",
"feeCode": "FD240126XXGO97E",
"consumeCcy": "CNY",
"consumeAmount": 111.00,
"feeTypeCode": "F006",
"feeTypeName": "员工住宿",
"statusDesc": "未报销",
"status": "UNREIMBURSED",
"sourceType": null,
"consumeTime": "2024-01-26"
},
{
"employeeId": "maycur001",
"userName": "张三",
"feeCode": "FD24011411BGNF88",
"consumeCcy": "CNY",
"consumeAmount": 146.00,
"feeTypeCode": "CT0009",
"feeTypeName": "员工火车票",
"statusDesc": "未报销",
"status": "UNREIMBURSED",
"sourceType": null,
"consumeTime": "2022-09-05"
}
],
"totalCount": 6
},
"args": null,
"linkDetail": false,
"nonBizError": false
}