zhanghua
2025-08-02 08c2033475fa42690c3246aa1510f6c6c932c2ea
src/api/attendance.js
@@ -4,15 +4,17 @@
export function getData(params) {
  return apolloClient.query({
    query: gql`
      query vars($staffId: Int!, $beginDate: LocalDate!, $endDate: LocalDate!, $pageIn: PageIn!) {
      query vars($staffId: Int!, $beginDate: LocalDate!, $endDate: LocalDate!,$reportType:String!, $pageIn: PageIn!) {
        findPlayerAttendanceSummary(
          staffId: $staffId
          beginDate: $beginDate
          endDate: $endDate
          reportType: $reportType
          pageIn: $pageIn
        ) {
          ls {
            playerName
            courseDate
            state
            voucherName
            qty