POST spsapi/SalaryBusiness/GetSalaryRestaurantList

获取扣餐对比数据

Request Information

URI Parameters

None.

Body Parameters

RestaurantPageRequest
NameDescriptionTypeAdditional information
SalaryDate

查询日期(例:2023-08)

string

None.

EmpId

员工id

integer

None.

DepId

部门id

integer

None.

EmpCode

员工工号

string

None.

EmpStatus

人员状态(0:在职 1:离职)

integer

None.

Status

匹配状态(0:正常1:异常)

integer

None.

Remark

备注

string

None.

MaxResultCount

每页多少条

integer

None.

SkipCount

越过多少条(第几页)

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "SalaryDate": "sample string 1",
  "EmpId": 1,
  "DepId": 1,
  "EmpCode": "sample string 2",
  "EmpStatus": 1,
  "Status": 1,
  "Remark": "sample string 3",
  "MaxResultCount": 4,
  "SkipCount": 5
}

application/xml, text/xml

Sample:
<RestaurantPageRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WXProgramApi.Models.BaseModel">
  <MaxResultCount>4</MaxResultCount>
  <SkipCount>5</SkipCount>
  <DepId>1</DepId>
  <EmpCode>sample string 2</EmpCode>
  <EmpId>1</EmpId>
  <EmpStatus>1</EmpStatus>
  <Remark>sample string 3</Remark>
  <SalaryDate>sample string 1</SalaryDate>
  <Status>1</Status>
</RestaurantPageRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

BasePageResultOfEmpRestaurantDto
NameDescriptionTypeAdditional information
rows

Collection of EmpRestaurantDto

None.

total

integer

None.

errcode

错误编码 100:error 401:鉴权失败;200:成功;500:内部错误;

ErrCode

None.

message

消息

string

None.

Response Formats

application/json, text/json

Sample:
{
  "rows": [
    {
      "id": 1,
      "salary_date": "sample string 2",
      "restaurant_date": "sample string 3",
      "dep_id": 1,
      "dep_name": "sample string 4",
      "area_id": 1,
      "area_name": "sample string 5",
      "emp_id": 1,
      "emp_code": "sample string 6",
      "emp_name": "sample string 7",
      "attendance_days": 1.0,
      "restaurant_money": 1.0,
      "salary_cut_money": 1.0,
      "salary_cut_status": 1,
      "diff_money": 1.0,
      "emp_status": 1,
      "status": 1,
      "remark": "sample string 8",
      "ding_code": "sample string 9",
      "ding_check": 1,
      "update_time": "2026-08-31T00:47:39.1557764+08:00"
    },
    {
      "id": 1,
      "salary_date": "sample string 2",
      "restaurant_date": "sample string 3",
      "dep_id": 1,
      "dep_name": "sample string 4",
      "area_id": 1,
      "area_name": "sample string 5",
      "emp_id": 1,
      "emp_code": "sample string 6",
      "emp_name": "sample string 7",
      "attendance_days": 1.0,
      "restaurant_money": 1.0,
      "salary_cut_money": 1.0,
      "salary_cut_status": 1,
      "diff_money": 1.0,
      "emp_status": 1,
      "status": 1,
      "remark": "sample string 8",
      "ding_code": "sample string 9",
      "ding_check": 1,
      "update_time": "2026-08-31T00:47:39.1557764+08:00"
    }
  ],
  "total": 1,
  "errcode": 2,
  "message": "sample string 2"
}

application/xml, text/xml

Sample:
<BasePageResultOfEmpRestaurantDtolcSimexH xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WXProgramApi.Models.BaseModel">
  <errcode>Error</errcode>
  <message>sample string 2</message>
  <rows>
    <EmpRestaurantDto>
      <area_id>1</area_id>
      <area_name>sample string 5</area_name>
      <attendance_days>1</attendance_days>
      <dep_id>1</dep_id>
      <dep_name>sample string 4</dep_name>
      <diff_money>1</diff_money>
      <ding_check>1</ding_check>
      <ding_code>sample string 9</ding_code>
      <emp_code>sample string 6</emp_code>
      <emp_id>1</emp_id>
      <emp_name>sample string 7</emp_name>
      <emp_status>1</emp_status>
      <id>1</id>
      <remark>sample string 8</remark>
      <restaurant_date>sample string 3</restaurant_date>
      <restaurant_money>1</restaurant_money>
      <salary_cut_money>1</salary_cut_money>
      <salary_cut_status>1</salary_cut_status>
      <salary_date>sample string 2</salary_date>
      <status>1</status>
      <update_time>2026-08-31T00:47:39.1557764+08:00</update_time>
    </EmpRestaurantDto>
    <EmpRestaurantDto>
      <area_id>1</area_id>
      <area_name>sample string 5</area_name>
      <attendance_days>1</attendance_days>
      <dep_id>1</dep_id>
      <dep_name>sample string 4</dep_name>
      <diff_money>1</diff_money>
      <ding_check>1</ding_check>
      <ding_code>sample string 9</ding_code>
      <emp_code>sample string 6</emp_code>
      <emp_id>1</emp_id>
      <emp_name>sample string 7</emp_name>
      <emp_status>1</emp_status>
      <id>1</id>
      <remark>sample string 8</remark>
      <restaurant_date>sample string 3</restaurant_date>
      <restaurant_money>1</restaurant_money>
      <salary_cut_money>1</salary_cut_money>
      <salary_cut_status>1</salary_cut_status>
      <salary_date>sample string 2</salary_date>
      <status>1</status>
      <update_time>2026-08-31T00:47:39.1557764+08:00</update_time>
    </EmpRestaurantDto>
  </rows>
  <total>1</total>
</BasePageResultOfEmpRestaurantDtolcSimexH>