From 212b78135278bd57196a998d267b140cd7c508db Mon Sep 17 00:00:00 2001 From: ryoeiken <754264374@qq.com> Date: Thu, 19 Nov 2020 10:31:06 +0800 Subject: [PATCH 001/296] =?UTF-8?q?=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E5=88=9D=E5=A7=8B=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/application-dev.yml | 148 +++++++++--------- .../src/main/resources/application-prop.yml | 148 +++++++++--------- .../src/main/resources/application.yml | 32 ++-- 3 files changed, 164 insertions(+), 164 deletions(-) diff --git a/ruoyi-admin/src/main/resources/application-dev.yml b/ruoyi-admin/src/main/resources/application-dev.yml index 37d4e8964..328d30f1c 100644 --- a/ruoyi-admin/src/main/resources/application-dev.yml +++ b/ruoyi-admin/src/main/resources/application-dev.yml @@ -1,77 +1,77 @@ # 数据源配置 spring: - datasource: - type: com.alibaba.druid.pool.DruidDataSource - driverClassName: com.mysql.cj.jdbc.Driver - druid: - # 主库数据源 - master: - url: jdbc:mysql://192.168.0.222:3306/ry-vue?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true - username: root - password: root - # 从库数据源 - slave: - # 从数据源开关/默认关闭 - enabled: false - url: - username: - password: - # 初始连接数 - initialSize: 5 - # 最小连接池数量 - minIdle: 10 - # 最大连接池数量 - maxActive: 20 - # 配置获取连接等待超时的时间 - maxWait: 60000 - # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒 - timeBetweenEvictionRunsMillis: 60000 - # 配置一个连接在池中最小生存的时间,单位是毫秒 - minEvictableIdleTimeMillis: 300000 - # 配置一个连接在池中最大生存的时间,单位是毫秒 - maxEvictableIdleTimeMillis: 900000 - # 配置检测连接是否有效 - validationQuery: SELECT 1 FROM DUAL - testWhileIdle: true - testOnBorrow: false - testOnReturn: false - webStatFilter: - enabled: true - statViewServlet: - enabled: true - # 设置白名单,不填则允许所有访问 - allow: - url-pattern: /druid/* - # 控制台管理用户名和密码 - login-username: - login-password: - filter: - stat: - enabled: true - # 慢SQL记录 - log-slow-sql: true - slow-sql-millis: 1000 - merge-sql: true - wall: - config: - multi-statement-allow: true - # redis 配置 - redis: - # 地址 - host: 192.168.0.222 - # 端口,默认为6379 - port: 6379 - # 密码 + datasource: + type: com.alibaba.druid.pool.DruidDataSource + driverClassName: com.mysql.cj.jdbc.Driver + druid: + # 主库数据源 + master: + url: jdbc:mysql://120.77.157.122:3306/fantang?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true + username: fantang + password: HdfzaPE8YbdWdjCw + # 从库数据源 + slave: + # 从数据源开关/默认关闭 + enabled: false + url: + username: password: - # 连接超时时间 - timeout: 10s - lettuce: - pool: - # 连接池中的最小空闲连接 - min-idle: 0 - # 连接池中的最大空闲连接 - max-idle: 8 - # 连接池的最大数据库连接数 - max-active: 8 - # #连接池最大阻塞等待时间(使用负值表示没有限制) - max-wait: -1ms \ No newline at end of file + # 初始连接数 + initialSize: 5 + # 最小连接池数量 + minIdle: 10 + # 最大连接池数量 + maxActive: 20 + # 配置获取连接等待超时的时间 + maxWait: 60000 + # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒 + timeBetweenEvictionRunsMillis: 60000 + # 配置一个连接在池中最小生存的时间,单位是毫秒 + minEvictableIdleTimeMillis: 300000 + # 配置一个连接在池中最大生存的时间,单位是毫秒 + maxEvictableIdleTimeMillis: 900000 + # 配置检测连接是否有效 + validationQuery: SELECT 1 FROM DUAL + testWhileIdle: true + testOnBorrow: false + testOnReturn: false + webStatFilter: + enabled: true + statViewServlet: + enabled: true + # 设置白名单,不填则允许所有访问 + allow: + url-pattern: /druid/* + # 控制台管理用户名和密码 + login-username: + login-password: + filter: + stat: + enabled: true + # 慢SQL记录 + log-slow-sql: true + slow-sql-millis: 1000 + merge-sql: true + wall: + config: + multi-statement-allow: true + # redis 配置 + redis: + # 地址 + host: 127.0.0.1 + # 端口,默认为6379 + port: 6379 + # 密码 + password: + # 连接超时时间 + timeout: 10s + lettuce: + pool: + # 连接池中的最小空闲连接 + min-idle: 0 + # 连接池中的最大空闲连接 + max-idle: 8 + # 连接池的最大数据库连接数 + max-active: 8 + # #连接池最大阻塞等待时间(使用负值表示没有限制) + max-wait: -1ms \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/application-prop.yml b/ruoyi-admin/src/main/resources/application-prop.yml index 5a50c5f2e..328d30f1c 100644 --- a/ruoyi-admin/src/main/resources/application-prop.yml +++ b/ruoyi-admin/src/main/resources/application-prop.yml @@ -1,77 +1,77 @@ # 数据源配置 spring: - datasource: - type: com.alibaba.druid.pool.DruidDataSource - driverClassName: com.mysql.cj.jdbc.Driver - druid: - # 主库数据源 - master: - url: jdbc:mysql://localhost:3306/ry-vue?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true - username: root - password: root - # 从库数据源 - slave: - # 从数据源开关/默认关闭 - enabled: false - url: - username: - password: - # 初始连接数 - initialSize: 5 - # 最小连接池数量 - minIdle: 10 - # 最大连接池数量 - maxActive: 20 - # 配置获取连接等待超时的时间 - maxWait: 60000 - # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒 - timeBetweenEvictionRunsMillis: 60000 - # 配置一个连接在池中最小生存的时间,单位是毫秒 - minEvictableIdleTimeMillis: 300000 - # 配置一个连接在池中最大生存的时间,单位是毫秒 - maxEvictableIdleTimeMillis: 900000 - # 配置检测连接是否有效 - validationQuery: SELECT 1 FROM DUAL - testWhileIdle: true - testOnBorrow: false - testOnReturn: false - webStatFilter: - enabled: true - statViewServlet: - enabled: true - # 设置白名单,不填则允许所有访问 - allow: - url-pattern: /druid/* - # 控制台管理用户名和密码 - login-username: - login-password: - filter: - stat: - enabled: true - # 慢SQL记录 - log-slow-sql: true - slow-sql-millis: 1000 - merge-sql: true - wall: - config: - multi-statement-allow: true - # redis 配置 - redis: - # 地址 - host: 192.168.0.222 - # 端口,默认为6379 - port: 6379 - # 密码 + datasource: + type: com.alibaba.druid.pool.DruidDataSource + driverClassName: com.mysql.cj.jdbc.Driver + druid: + # 主库数据源 + master: + url: jdbc:mysql://120.77.157.122:3306/fantang?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true + username: fantang + password: HdfzaPE8YbdWdjCw + # 从库数据源 + slave: + # 从数据源开关/默认关闭 + enabled: false + url: + username: password: - # 连接超时时间 - timeout: 10s - lettuce: - pool: - # 连接池中的最小空闲连接 - min-idle: 0 - # 连接池中的最大空闲连接 - max-idle: 8 - # 连接池的最大数据库连接数 - max-active: 8 - # #连接池最大阻塞等待时间(使用负值表示没有限制) - max-wait: -1ms \ No newline at end of file + # 初始连接数 + initialSize: 5 + # 最小连接池数量 + minIdle: 10 + # 最大连接池数量 + maxActive: 20 + # 配置获取连接等待超时的时间 + maxWait: 60000 + # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒 + timeBetweenEvictionRunsMillis: 60000 + # 配置一个连接在池中最小生存的时间,单位是毫秒 + minEvictableIdleTimeMillis: 300000 + # 配置一个连接在池中最大生存的时间,单位是毫秒 + maxEvictableIdleTimeMillis: 900000 + # 配置检测连接是否有效 + validationQuery: SELECT 1 FROM DUAL + testWhileIdle: true + testOnBorrow: false + testOnReturn: false + webStatFilter: + enabled: true + statViewServlet: + enabled: true + # 设置白名单,不填则允许所有访问 + allow: + url-pattern: /druid/* + # 控制台管理用户名和密码 + login-username: + login-password: + filter: + stat: + enabled: true + # 慢SQL记录 + log-slow-sql: true + slow-sql-millis: 1000 + merge-sql: true + wall: + config: + multi-statement-allow: true + # redis 配置 + redis: + # 地址 + host: 127.0.0.1 + # 端口,默认为6379 + port: 6379 + # 密码 + password: + # 连接超时时间 + timeout: 10s + lettuce: + pool: + # 连接池中的最小空闲连接 + min-idle: 0 + # 连接池中的最大空闲连接 + max-idle: 8 + # 连接池的最大数据库连接数 + max-active: 8 + # #连接池最大阻塞等待时间(使用负值表示没有限制) + max-wait: -1ms \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/application.yml b/ruoyi-admin/src/main/resources/application.yml index 394380bcc..073a856dd 100644 --- a/ruoyi-admin/src/main/resources/application.yml +++ b/ruoyi-admin/src/main/resources/application.yml @@ -47,15 +47,15 @@ spring: messages: # 国际化资源文件路径 basename: i18n/messages - profiles: + profiles: active: dev # 文件上传 servlet: - multipart: - # 单个文件大小 - max-file-size: 10MB - # 设置总上传的文件大小 - max-request-size: 20MB + multipart: + # 单个文件大小 + max-file-size: 10MB + # 设置总上传的文件大小 + max-request-size: 20MB # 服务模块 devtools: restart: @@ -64,13 +64,13 @@ spring: # token配置 token: - # 令牌自定义标识 - header: Authorization - # 令牌密钥 - secret: abcdefghijklmnopqrstuvwxyz - # 令牌有效期(默认30分钟) - expireTime: 30 - + # 令牌自定义标识 + header: Authorization + # 令牌密钥 + secret: abcdefghijklmnopqrstuvwxyz + # 令牌有效期(默认30分钟) + expireTime: 30 + # MyBatis配置 # https://baomidou.com/config/ mybatis-plus: @@ -160,11 +160,11 @@ mybatis-plus: selectStrategy: NOT_NULL # PageHelper分页插件 -pagehelper: +pagehelper: helperDialect: mysql reasonable: true supportMethodsArguments: true - params: count=countSql + params: count=countSql # Swagger配置 swagger: @@ -174,7 +174,7 @@ swagger: pathMapping: /dev-api # 防止XSS攻击 -xss: +xss: # 过滤开关 enabled: true # 排除链接(多个用逗号分隔) -- Gitee From 3d3188e399c2e3e9c60edf53f3bfee1e6373e2e1 Mon Sep 17 00:00:00 2001 From: ryoeiken <754264374@qq.com> Date: Thu, 19 Nov 2020 15:15:23 +0800 Subject: [PATCH 002/296] =?UTF-8?q?=E8=87=AA=E5=8A=A8=E7=94=9F=E6=88=90=20?= =?UTF-8?q?CRUD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../FtCareStaffInfoDaoController.java | 107 +++++ .../controller/FtDepartDaoController.java | 101 +++++ .../controller/FtFoodDaoController.java | 107 +++++ .../controller/FtOrderDaoController.java | 125 ++++++ .../controller/FtPatientDaoController.java | 104 +++++ .../controller/FtPrepaymentDaoController.java | 106 +++++ .../FtReportMealsDaoController.java | 109 +++++ .../controller/FtSettleDaoController.java | 116 +++++ .../FtSpecialDemandDaoController.java | 109 +++++ .../controller/FtStaffInfoDaoController.java | 107 +++++ .../FtStaffSubsidyDaoController.java | 110 +++++ .../controller/FtSubsidyDaoController.java | 116 +++++ .../fantang/domain/FtCareStaffInfoDao.java | 71 +++ .../system/fantang/domain/FtDepartDao.java | 42 ++ .../system/fantang/domain/FtFoodDao.java | 66 +++ .../system/fantang/domain/FtOrderDao.java | 137 ++++++ .../system/fantang/domain/FtPatientDao.java | 53 +++ .../fantang/domain/FtPrepaymentDao.java | 78 ++++ .../fantang/domain/FtReportMealsDao.java | 80 ++++ .../system/fantang/domain/FtSettleDao.java | 97 ++++ .../fantang/domain/FtSpecialDemandDao.java | 90 ++++ .../system/fantang/domain/FtStaffInfoDao.java | 87 ++++ .../fantang/domain/FtStaffSubsidyDao.java | 74 ++++ .../system/fantang/domain/FtSubsidyDao.java | 81 ++++ .../mapper/FtCareStaffInfoDaoMapper.java | 14 + .../fantang/mapper/FtDepartDaoMapper.java | 14 + .../fantang/mapper/FtFoodDaoMapper.java | 14 + .../fantang/mapper/FtOrderDaoMapper.java | 14 + .../fantang/mapper/FtPatientDaoMapper.java | 14 + .../fantang/mapper/FtPrepaymentDaoMapper.java | 14 + .../mapper/FtReportMealsDaoMapper.java | 14 + .../fantang/mapper/FtSettleDaoMapper.java | 14 + .../mapper/FtSpecialDemandDaoMapper.java | 14 + .../fantang/mapper/FtStaffInfoDaoMapper.java | 14 + .../mapper/FtStaffSubsidyDaoMapper.java | 14 + .../fantang/mapper/FtSubsidyDaoMapper.java | 14 + .../service/IFtCareStaffInfoDaoService.java | 14 + .../fantang/service/IFtDepartDaoService.java | 14 + .../fantang/service/IFtFoodDaoService.java | 14 + .../fantang/service/IFtOrderDaoService.java | 14 + .../fantang/service/IFtPatientDaoService.java | 14 + .../service/IFtPrepaymentDaoService.java | 14 + .../service/IFtReportMealsDaoService.java | 14 + .../fantang/service/IFtSettleDaoService.java | 14 + .../service/IFtSpecialDemandDaoService.java | 14 + .../service/IFtStaffInfoDaoService.java | 14 + .../service/IFtStaffSubsidyDaoService.java | 14 + .../fantang/service/IFtSubsidyDaoService.java | 14 + .../impl/FtCareStaffInfoDaoServiceImpl.java | 18 + .../service/impl/FtDepartDaoServiceImpl.java | 18 + .../service/impl/FtFoodDaoServiceImpl.java | 18 + .../service/impl/FtOrderDaoServiceImpl.java | 18 + .../service/impl/FtPatientDaoServiceImpl.java | 18 + .../impl/FtPrepaymentDaoServiceImpl.java | 18 + .../impl/FtReportMealsDaoServiceImpl.java | 18 + .../service/impl/FtSettleDaoServiceImpl.java | 18 + .../impl/FtSpecialDemandDaoServiceImpl.java | 18 + .../impl/FtStaffInfoDaoServiceImpl.java | 18 + .../impl/FtStaffSubsidyDaoServiceImpl.java | 18 + .../service/impl/FtSubsidyDaoServiceImpl.java | 18 + .../fantang/FtCareStaffInfoDaoMapper.xml | 18 + .../mapper/fantang/FtDepartDaoMapper.xml | 13 + .../mapper/fantang/FtFoodDaoMapper.xml | 17 + .../mapper/fantang/FtOrderDaoMapper.xml | 29 ++ .../mapper/fantang/FtPatientDaoMapper.xml | 15 + .../mapper/fantang/FtPrepaymentDaoMapper.xml | 19 + .../mapper/fantang/FtReportMealsDaoMapper.xml | 19 + .../mapper/fantang/FtSettleDaoMapper.xml | 22 + .../fantang/FtSpecialDemandDaoMapper.xml | 21 + .../mapper/fantang/FtStaffInfoDaoMapper.xml | 21 + .../fantang/FtStaffSubsidyDaoMapper.xml | 18 + .../mapper/fantang/FtSubsidyDaoMapper.xml | 19 + ruoyi-ui/src/api/fantang/careStaffInfo.js | 53 +++ ruoyi-ui/src/api/fantang/demand.js | 53 +++ ruoyi-ui/src/api/fantang/depart.js | 53 +++ ruoyi-ui/src/api/fantang/food.js | 53 +++ ruoyi-ui/src/api/fantang/meals.js | 53 +++ ruoyi-ui/src/api/fantang/order.js | 53 +++ ruoyi-ui/src/api/fantang/patient.js | 53 +++ ruoyi-ui/src/api/fantang/prepayment.js | 53 +++ ruoyi-ui/src/api/fantang/settle.js | 53 +++ ruoyi-ui/src/api/fantang/staffInfo.js | 53 +++ ruoyi-ui/src/api/fantang/staffSubsidy.js | 53 +++ ruoyi-ui/src/api/fantang/subsidy.js | 53 +++ .../src/views/fantang/careStaffInfo/index.vue | 305 +++++++++++++ ruoyi-ui/src/views/fantang/demand/index.vue | 319 ++++++++++++++ ruoyi-ui/src/views/fantang/depart/index.vue | 258 +++++++++++ ruoyi-ui/src/views/fantang/food/index.vue | 298 +++++++++++++ ruoyi-ui/src/views/fantang/meals/index.vue | 325 ++++++++++++++ ruoyi-ui/src/views/fantang/order/index.vue | 413 ++++++++++++++++++ ruoyi-ui/src/views/fantang/patient/index.vue | 277 ++++++++++++ .../src/views/fantang/prepayment/index.vue | 286 ++++++++++++ ruoyi-ui/src/views/fantang/settle/index.vue | 354 +++++++++++++++ .../src/views/fantang/staffInfo/index.vue | 313 +++++++++++++ .../src/views/fantang/staffSubsidy/index.vue | 307 +++++++++++++ ruoyi-ui/src/views/fantang/subsidy/index.vue | 338 ++++++++++++++ 96 files changed, 7485 insertions(+) create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/fantang/controller/FtCareStaffInfoDaoController.java create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/fantang/controller/FtDepartDaoController.java create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/fantang/controller/FtFoodDaoController.java create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/fantang/controller/FtOrderDaoController.java create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/fantang/controller/FtPatientDaoController.java create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/fantang/controller/FtPrepaymentDaoController.java create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/fantang/controller/FtReportMealsDaoController.java create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/fantang/controller/FtSettleDaoController.java create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/fantang/controller/FtSpecialDemandDaoController.java create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/fantang/controller/FtStaffInfoDaoController.java create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/fantang/controller/FtStaffSubsidyDaoController.java create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/fantang/controller/FtSubsidyDaoController.java create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/fantang/domain/FtCareStaffInfoDao.java create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/fantang/domain/FtDepartDao.java create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/fantang/domain/FtFoodDao.java create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/fantang/domain/FtOrderDao.java create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/fantang/domain/FtPatientDao.java create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/fantang/domain/FtPrepaymentDao.java create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/fantang/domain/FtReportMealsDao.java create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/fantang/domain/FtSettleDao.java create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/fantang/domain/FtSpecialDemandDao.java create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/fantang/domain/FtStaffInfoDao.java create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/fantang/domain/FtStaffSubsidyDao.java create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/fantang/domain/FtSubsidyDao.java create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/fantang/mapper/FtCareStaffInfoDaoMapper.java create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/fantang/mapper/FtDepartDaoMapper.java create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/fantang/mapper/FtFoodDaoMapper.java create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/fantang/mapper/FtOrderDaoMapper.java create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/fantang/mapper/FtPatientDaoMapper.java create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/fantang/mapper/FtPrepaymentDaoMapper.java create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/fantang/mapper/FtReportMealsDaoMapper.java create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/fantang/mapper/FtSettleDaoMapper.java create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/fantang/mapper/FtSpecialDemandDaoMapper.java create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/fantang/mapper/FtStaffInfoDaoMapper.java create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/fantang/mapper/FtStaffSubsidyDaoMapper.java create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/fantang/mapper/FtSubsidyDaoMapper.java create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/IFtCareStaffInfoDaoService.java create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/IFtDepartDaoService.java create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/IFtFoodDaoService.java create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/IFtOrderDaoService.java create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/IFtPatientDaoService.java create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/IFtPrepaymentDaoService.java create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/IFtReportMealsDaoService.java create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/IFtSettleDaoService.java create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/IFtSpecialDemandDaoService.java create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/IFtStaffInfoDaoService.java create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/IFtStaffSubsidyDaoService.java create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/IFtSubsidyDaoService.java create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/impl/FtCareStaffInfoDaoServiceImpl.java create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/impl/FtDepartDaoServiceImpl.java create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/impl/FtFoodDaoServiceImpl.java create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/impl/FtOrderDaoServiceImpl.java create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/impl/FtPatientDaoServiceImpl.java create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/impl/FtPrepaymentDaoServiceImpl.java create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/impl/FtReportMealsDaoServiceImpl.java create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/impl/FtSettleDaoServiceImpl.java create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/impl/FtSpecialDemandDaoServiceImpl.java create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/impl/FtStaffInfoDaoServiceImpl.java create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/impl/FtStaffSubsidyDaoServiceImpl.java create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/impl/FtSubsidyDaoServiceImpl.java create mode 100644 ruoyi-system/src/main/resources/mapper/fantang/FtCareStaffInfoDaoMapper.xml create mode 100644 ruoyi-system/src/main/resources/mapper/fantang/FtDepartDaoMapper.xml create mode 100644 ruoyi-system/src/main/resources/mapper/fantang/FtFoodDaoMapper.xml create mode 100644 ruoyi-system/src/main/resources/mapper/fantang/FtOrderDaoMapper.xml create mode 100644 ruoyi-system/src/main/resources/mapper/fantang/FtPatientDaoMapper.xml create mode 100644 ruoyi-system/src/main/resources/mapper/fantang/FtPrepaymentDaoMapper.xml create mode 100644 ruoyi-system/src/main/resources/mapper/fantang/FtReportMealsDaoMapper.xml create mode 100644 ruoyi-system/src/main/resources/mapper/fantang/FtSettleDaoMapper.xml create mode 100644 ruoyi-system/src/main/resources/mapper/fantang/FtSpecialDemandDaoMapper.xml create mode 100644 ruoyi-system/src/main/resources/mapper/fantang/FtStaffInfoDaoMapper.xml create mode 100644 ruoyi-system/src/main/resources/mapper/fantang/FtStaffSubsidyDaoMapper.xml create mode 100644 ruoyi-system/src/main/resources/mapper/fantang/FtSubsidyDaoMapper.xml create mode 100644 ruoyi-ui/src/api/fantang/careStaffInfo.js create mode 100644 ruoyi-ui/src/api/fantang/demand.js create mode 100644 ruoyi-ui/src/api/fantang/depart.js create mode 100644 ruoyi-ui/src/api/fantang/food.js create mode 100644 ruoyi-ui/src/api/fantang/meals.js create mode 100644 ruoyi-ui/src/api/fantang/order.js create mode 100644 ruoyi-ui/src/api/fantang/patient.js create mode 100644 ruoyi-ui/src/api/fantang/prepayment.js create mode 100644 ruoyi-ui/src/api/fantang/settle.js create mode 100644 ruoyi-ui/src/api/fantang/staffInfo.js create mode 100644 ruoyi-ui/src/api/fantang/staffSubsidy.js create mode 100644 ruoyi-ui/src/api/fantang/subsidy.js create mode 100644 ruoyi-ui/src/views/fantang/careStaffInfo/index.vue create mode 100644 ruoyi-ui/src/views/fantang/demand/index.vue create mode 100644 ruoyi-ui/src/views/fantang/depart/index.vue create mode 100644 ruoyi-ui/src/views/fantang/food/index.vue create mode 100644 ruoyi-ui/src/views/fantang/meals/index.vue create mode 100644 ruoyi-ui/src/views/fantang/order/index.vue create mode 100644 ruoyi-ui/src/views/fantang/patient/index.vue create mode 100644 ruoyi-ui/src/views/fantang/prepayment/index.vue create mode 100644 ruoyi-ui/src/views/fantang/settle/index.vue create mode 100644 ruoyi-ui/src/views/fantang/staffInfo/index.vue create mode 100644 ruoyi-ui/src/views/fantang/staffSubsidy/index.vue create mode 100644 ruoyi-ui/src/views/fantang/subsidy/index.vue diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/fantang/controller/FtCareStaffInfoDaoController.java b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/controller/FtCareStaffInfoDaoController.java new file mode 100644 index 000000000..575765246 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/controller/FtCareStaffInfoDaoController.java @@ -0,0 +1,107 @@ +package com.ruoyi.system.fantang.controller; + +import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; +import com.baomidou.mybatisplus.core.toolkit.Wrappers; +import com.ruoyi.common.annotation.Log; +import com.ruoyi.common.core.controller.BaseController; +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.common.core.page.TableDataInfo; +import com.ruoyi.common.enums.BusinessType; +import com.ruoyi.common.utils.StringUtils; +import com.ruoyi.common.utils.poi.ExcelUtil; +import com.ruoyi.system.fantang.domain.FtCareStaffInfoDao; +import com.ruoyi.system.fantang.service.IFtCareStaffInfoDaoService; +import lombok.RequiredArgsConstructor; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.security.access.prepost.PreAuthorize; +import org.springframework.web.bind.annotation.*; + +import java.util.Arrays; +import java.util.List; + +/** + * 护工信息Controller + * + * @author ft + * @date 2020-11-19 + */ +@RequiredArgsConstructor(onConstructor_ = @Autowired) +@RestController +@RequestMapping("/fantang/careStaffInfo") +public class FtCareStaffInfoDaoController extends BaseController { + + private final IFtCareStaffInfoDaoService iFtCareStaffInfoDaoService; + + /** + * 查询护工信息列表 + */ + @PreAuthorize("@ss.hasPermi('fantang:careStaffInfo:list')") + @GetMapping("/list") + public TableDataInfo list(FtCareStaffInfoDao ftCareStaffInfoDao) { + startPage(); + LambdaQueryWrapper lqw = Wrappers.lambdaQuery(ftCareStaffInfoDao); + if (StringUtils.isNotBlank(ftCareStaffInfoDao.getName())) { + lqw.like(FtCareStaffInfoDao::getName, ftCareStaffInfoDao.getName()); + } + if (StringUtils.isNotBlank(ftCareStaffInfoDao.getCorpName())) { + lqw.like(FtCareStaffInfoDao::getCorpName, ftCareStaffInfoDao.getCorpName()); + } + if (StringUtils.isNotBlank(ftCareStaffInfoDao.getDepartList())) { + lqw.eq(FtCareStaffInfoDao::getDepartList, ftCareStaffInfoDao.getDepartList()); + } + List list = iFtCareStaffInfoDaoService.list(lqw); + return getDataTable(list); + } + + /** + * 导出护工信息列表 + */ + @PreAuthorize("@ss.hasPermi('fantang:careStaffInfo:export')") + @Log(title = "护工信息", businessType = BusinessType.EXPORT) + @GetMapping("/export") + public AjaxResult export(FtCareStaffInfoDao ftCareStaffInfoDao) { + LambdaQueryWrapper lqw = new LambdaQueryWrapper(ftCareStaffInfoDao); + List list = iFtCareStaffInfoDaoService.list(lqw); + ExcelUtil util = new ExcelUtil(FtCareStaffInfoDao.class); + return util.exportExcel(list, "careStaffInfo"); + } + + /** + * 获取护工信息详细信息 + */ + @PreAuthorize("@ss.hasPermi('fantang:careStaffInfo:query')") + @GetMapping(value = "/{careStaffId}") + public AjaxResult getInfo(@PathVariable("careStaffId") Long careStaffId) { + return AjaxResult.success(iFtCareStaffInfoDaoService.getById(careStaffId)); + } + + /** + * 新增护工信息 + */ + @PreAuthorize("@ss.hasPermi('fantang:careStaffInfo:add')") + @Log(title = "护工信息", businessType = BusinessType.INSERT) + @PostMapping + public AjaxResult add(@RequestBody FtCareStaffInfoDao ftCareStaffInfoDao) { + return toAjax(iFtCareStaffInfoDaoService.save(ftCareStaffInfoDao) ? 1 : 0); + } + + /** + * 修改护工信息 + */ + @PreAuthorize("@ss.hasPermi('fantang:careStaffInfo:edit')") + @Log(title = "护工信息", businessType = BusinessType.UPDATE) + @PutMapping + public AjaxResult edit(@RequestBody FtCareStaffInfoDao ftCareStaffInfoDao) { + return toAjax(iFtCareStaffInfoDaoService.updateById(ftCareStaffInfoDao) ? 1 : 0); + } + + /** + * 删除护工信息 + */ + @PreAuthorize("@ss.hasPermi('fantang:careStaffInfo:remove')") + @Log(title = "护工信息", businessType = BusinessType.DELETE) + @DeleteMapping("/{careStaffIds}") + public AjaxResult remove(@PathVariable Long[] careStaffIds) { + return toAjax(iFtCareStaffInfoDaoService.removeByIds(Arrays.asList(careStaffIds)) ? 1 : 0); + } +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/fantang/controller/FtDepartDaoController.java b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/controller/FtDepartDaoController.java new file mode 100644 index 000000000..13b9f1ced --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/controller/FtDepartDaoController.java @@ -0,0 +1,101 @@ +package com.ruoyi.system.fantang.controller; + +import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; +import com.baomidou.mybatisplus.core.toolkit.Wrappers; +import com.ruoyi.common.annotation.Log; +import com.ruoyi.common.core.controller.BaseController; +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.common.core.page.TableDataInfo; +import com.ruoyi.common.enums.BusinessType; +import com.ruoyi.common.utils.StringUtils; +import com.ruoyi.common.utils.poi.ExcelUtil; +import com.ruoyi.system.fantang.domain.FtDepartDao; +import com.ruoyi.system.fantang.service.IFtDepartDaoService; +import lombok.RequiredArgsConstructor; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.security.access.prepost.PreAuthorize; +import org.springframework.web.bind.annotation.*; + +import java.util.Arrays; +import java.util.List; + +/** + * 科室管理Controller + * + * @author ft + * @date 2020-11-19 + */ +@RequiredArgsConstructor(onConstructor_ = @Autowired) +@RestController +@RequestMapping("/fantang/depart") +public class FtDepartDaoController extends BaseController { + + private final IFtDepartDaoService iFtDepartDaoService; + + /** + * 查询科室管理列表 + */ + @PreAuthorize("@ss.hasPermi('fantang:depart:list')") + @GetMapping("/list") + public TableDataInfo list(FtDepartDao ftDepartDao) { + startPage(); + LambdaQueryWrapper lqw = Wrappers.lambdaQuery(ftDepartDao); + if (StringUtils.isNotBlank(ftDepartDao.getDepartName())) { + lqw.like(FtDepartDao::getDepartName, ftDepartDao.getDepartName()); + } + List list = iFtDepartDaoService.list(lqw); + return getDataTable(list); + } + + /** + * 导出科室管理列表 + */ + @PreAuthorize("@ss.hasPermi('fantang:depart:export')") + @Log(title = "科室管理", businessType = BusinessType.EXPORT) + @GetMapping("/export") + public AjaxResult export(FtDepartDao ftDepartDao) { + LambdaQueryWrapper lqw = new LambdaQueryWrapper(ftDepartDao); + List list = iFtDepartDaoService.list(lqw); + ExcelUtil util = new ExcelUtil(FtDepartDao.class); + return util.exportExcel(list, "depart"); + } + + /** + * 获取科室管理详细信息 + */ + @PreAuthorize("@ss.hasPermi('fantang:depart:query')") + @GetMapping(value = "/{departId}") + public AjaxResult getInfo(@PathVariable("departId") Long departId) { + return AjaxResult.success(iFtDepartDaoService.getById(departId)); + } + + /** + * 新增科室管理 + */ + @PreAuthorize("@ss.hasPermi('fantang:depart:add')") + @Log(title = "科室管理", businessType = BusinessType.INSERT) + @PostMapping + public AjaxResult add(@RequestBody FtDepartDao ftDepartDao) { + return toAjax(iFtDepartDaoService.save(ftDepartDao) ? 1 : 0); + } + + /** + * 修改科室管理 + */ + @PreAuthorize("@ss.hasPermi('fantang:depart:edit')") + @Log(title = "科室管理", businessType = BusinessType.UPDATE) + @PutMapping + public AjaxResult edit(@RequestBody FtDepartDao ftDepartDao) { + return toAjax(iFtDepartDaoService.updateById(ftDepartDao) ? 1 : 0); + } + + /** + * 删除科室管理 + */ + @PreAuthorize("@ss.hasPermi('fantang:depart:remove')") + @Log(title = "科室管理", businessType = BusinessType.DELETE) + @DeleteMapping("/{departIds}") + public AjaxResult remove(@PathVariable Long[] departIds) { + return toAjax(iFtDepartDaoService.removeByIds(Arrays.asList(departIds)) ? 1 : 0); + } +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/fantang/controller/FtFoodDaoController.java b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/controller/FtFoodDaoController.java new file mode 100644 index 000000000..dcf6eeeb8 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/controller/FtFoodDaoController.java @@ -0,0 +1,107 @@ +package com.ruoyi.system.fantang.controller; + +import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; +import com.baomidou.mybatisplus.core.toolkit.Wrappers; +import com.ruoyi.common.annotation.Log; +import com.ruoyi.common.core.controller.BaseController; +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.common.core.page.TableDataInfo; +import com.ruoyi.common.enums.BusinessType; +import com.ruoyi.common.utils.StringUtils; +import com.ruoyi.common.utils.poi.ExcelUtil; +import com.ruoyi.system.fantang.domain.FtFoodDao; +import com.ruoyi.system.fantang.service.IFtFoodDaoService; +import lombok.RequiredArgsConstructor; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.security.access.prepost.PreAuthorize; +import org.springframework.web.bind.annotation.*; + +import java.util.Arrays; +import java.util.List; + +/** + * 食品管理Controller + * + * @author ft + * @date 2020-11-19 + */ +@RequiredArgsConstructor(onConstructor_ = @Autowired) +@RestController +@RequestMapping("/fantang/food") +public class FtFoodDaoController extends BaseController { + + private final IFtFoodDaoService iFtFoodDaoService; + + /** + * 查询食品管理列表 + */ + @PreAuthorize("@ss.hasPermi('fantang:food:list')") + @GetMapping("/list") + public TableDataInfo list(FtFoodDao ftFoodDao) { + startPage(); + LambdaQueryWrapper lqw = Wrappers.lambdaQuery(ftFoodDao); + if (StringUtils.isNotBlank(ftFoodDao.getName())) { + lqw.like(FtFoodDao::getName, ftFoodDao.getName()); + } + if (ftFoodDao.getPrice() != null) { + lqw.eq(FtFoodDao::getPrice, ftFoodDao.getPrice()); + } + if (ftFoodDao.getType() != null) { + lqw.eq(FtFoodDao::getType, ftFoodDao.getType()); + } + List list = iFtFoodDaoService.list(lqw); + return getDataTable(list); + } + + /** + * 导出食品管理列表 + */ + @PreAuthorize("@ss.hasPermi('fantang:food:export')") + @Log(title = "食品管理", businessType = BusinessType.EXPORT) + @GetMapping("/export") + public AjaxResult export(FtFoodDao ftFoodDao) { + LambdaQueryWrapper lqw = new LambdaQueryWrapper(ftFoodDao); + List list = iFtFoodDaoService.list(lqw); + ExcelUtil util = new ExcelUtil(FtFoodDao.class); + return util.exportExcel(list, "food"); + } + + /** + * 获取食品管理详细信息 + */ + @PreAuthorize("@ss.hasPermi('fantang:food:query')") + @GetMapping(value = "/{foodId}") + public AjaxResult getInfo(@PathVariable("foodId") Long foodId) { + return AjaxResult.success(iFtFoodDaoService.getById(foodId)); + } + + /** + * 新增食品管理 + */ + @PreAuthorize("@ss.hasPermi('fantang:food:add')") + @Log(title = "食品管理", businessType = BusinessType.INSERT) + @PostMapping + public AjaxResult add(@RequestBody FtFoodDao ftFoodDao) { + return toAjax(iFtFoodDaoService.save(ftFoodDao) ? 1 : 0); + } + + /** + * 修改食品管理 + */ + @PreAuthorize("@ss.hasPermi('fantang:food:edit')") + @Log(title = "食品管理", businessType = BusinessType.UPDATE) + @PutMapping + public AjaxResult edit(@RequestBody FtFoodDao ftFoodDao) { + return toAjax(iFtFoodDaoService.updateById(ftFoodDao) ? 1 : 0); + } + + /** + * 删除食品管理 + */ + @PreAuthorize("@ss.hasPermi('fantang:food:remove')") + @Log(title = "食品管理", businessType = BusinessType.DELETE) + @DeleteMapping("/{foodIds}") + public AjaxResult remove(@PathVariable Long[] foodIds) { + return toAjax(iFtFoodDaoService.removeByIds(Arrays.asList(foodIds)) ? 1 : 0); + } +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/fantang/controller/FtOrderDaoController.java b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/controller/FtOrderDaoController.java new file mode 100644 index 000000000..41b726948 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/controller/FtOrderDaoController.java @@ -0,0 +1,125 @@ +package com.ruoyi.system.fantang.controller; + +import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; +import com.baomidou.mybatisplus.core.toolkit.Wrappers; +import com.ruoyi.common.annotation.Log; +import com.ruoyi.common.core.controller.BaseController; +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.common.core.page.TableDataInfo; +import com.ruoyi.common.enums.BusinessType; +import com.ruoyi.common.utils.StringUtils; +import com.ruoyi.common.utils.poi.ExcelUtil; +import com.ruoyi.system.fantang.domain.FtOrderDao; +import com.ruoyi.system.fantang.service.IFtOrderDaoService; +import lombok.RequiredArgsConstructor; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.security.access.prepost.PreAuthorize; +import org.springframework.web.bind.annotation.*; + +import java.util.Arrays; +import java.util.List; + +/** + * 订单管理Controller + * + * @author ft + * @date 2020-11-19 + */ +@RequiredArgsConstructor(onConstructor_ = @Autowired) +@RestController +@RequestMapping("/fantang/order") +public class FtOrderDaoController extends BaseController { + + private final IFtOrderDaoService iFtOrderDaoService; + + /** + * 查询订单管理列表 + */ + @PreAuthorize("@ss.hasPermi('fantang:order:list')") + @GetMapping("/list") + public TableDataInfo list(FtOrderDao ftOrderDao) { + startPage(); + LambdaQueryWrapper lqw = Wrappers.lambdaQuery(ftOrderDao); + if (StringUtils.isNotBlank(ftOrderDao.getOrderType())) { + lqw.eq(FtOrderDao::getOrderType, ftOrderDao.getOrderType()); + } + if (ftOrderDao.getTotalPrice() != null) { + lqw.eq(FtOrderDao::getTotalPrice, ftOrderDao.getTotalPrice()); + } + if (ftOrderDao.getDiscount() != null) { + lqw.eq(FtOrderDao::getDiscount, ftOrderDao.getDiscount()); + } + if (ftOrderDao.getReceipts() != null) { + lqw.eq(FtOrderDao::getReceipts, ftOrderDao.getReceipts()); + } + if (ftOrderDao.getCreateAt() != null) { + lqw.eq(FtOrderDao::getCreateAt, ftOrderDao.getCreateAt()); + } + if (StringUtils.isNotBlank(ftOrderDao.getOrderSrc())) { + lqw.eq(FtOrderDao::getOrderSrc, ftOrderDao.getOrderSrc()); + } + if (ftOrderDao.getCurrentPrice() != null) { + lqw.eq(FtOrderDao::getCurrentPrice, ftOrderDao.getCurrentPrice()); + } + if (StringUtils.isNotBlank(ftOrderDao.getPayType())) { + lqw.eq(FtOrderDao::getPayType, ftOrderDao.getPayType()); + } + if (ftOrderDao.getWriteOffAt() != null) { + lqw.eq(FtOrderDao::getWriteOffAt, ftOrderDao.getWriteOffAt()); + } + List list = iFtOrderDaoService.list(lqw); + return getDataTable(list); + } + + /** + * 导出订单管理列表 + */ + @PreAuthorize("@ss.hasPermi('fantang:order:export')") + @Log(title = "订单管理", businessType = BusinessType.EXPORT) + @GetMapping("/export") + public AjaxResult export(FtOrderDao ftOrderDao) { + LambdaQueryWrapper lqw = new LambdaQueryWrapper(ftOrderDao); + List list = iFtOrderDaoService.list(lqw); + ExcelUtil util = new ExcelUtil(FtOrderDao.class); + return util.exportExcel(list, "order"); + } + + /** + * 获取订单管理详细信息 + */ + @PreAuthorize("@ss.hasPermi('fantang:order:query')") + @GetMapping(value = "/{orderId}") + public AjaxResult getInfo(@PathVariable("orderId") Long orderId) { + return AjaxResult.success(iFtOrderDaoService.getById(orderId)); + } + + /** + * 新增订单管理 + */ + @PreAuthorize("@ss.hasPermi('fantang:order:add')") + @Log(title = "订单管理", businessType = BusinessType.INSERT) + @PostMapping + public AjaxResult add(@RequestBody FtOrderDao ftOrderDao) { + return toAjax(iFtOrderDaoService.save(ftOrderDao) ? 1 : 0); + } + + /** + * 修改订单管理 + */ + @PreAuthorize("@ss.hasPermi('fantang:order:edit')") + @Log(title = "订单管理", businessType = BusinessType.UPDATE) + @PutMapping + public AjaxResult edit(@RequestBody FtOrderDao ftOrderDao) { + return toAjax(iFtOrderDaoService.updateById(ftOrderDao) ? 1 : 0); + } + + /** + * 删除订单管理 + */ + @PreAuthorize("@ss.hasPermi('fantang:order:remove')") + @Log(title = "订单管理", businessType = BusinessType.DELETE) + @DeleteMapping("/{orderIds}") + public AjaxResult remove(@PathVariable Long[] orderIds) { + return toAjax(iFtOrderDaoService.removeByIds(Arrays.asList(orderIds)) ? 1 : 0); + } +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/fantang/controller/FtPatientDaoController.java b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/controller/FtPatientDaoController.java new file mode 100644 index 000000000..90595fd7b --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/controller/FtPatientDaoController.java @@ -0,0 +1,104 @@ +package com.ruoyi.system.fantang.controller; + +import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; +import com.baomidou.mybatisplus.core.toolkit.Wrappers; +import com.ruoyi.common.annotation.Log; +import com.ruoyi.common.core.controller.BaseController; +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.common.core.page.TableDataInfo; +import com.ruoyi.common.enums.BusinessType; +import com.ruoyi.common.utils.StringUtils; +import com.ruoyi.common.utils.poi.ExcelUtil; +import com.ruoyi.system.fantang.domain.FtPatientDao; +import com.ruoyi.system.fantang.service.IFtPatientDaoService; +import lombok.RequiredArgsConstructor; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.security.access.prepost.PreAuthorize; +import org.springframework.web.bind.annotation.*; + +import java.util.Arrays; +import java.util.List; + +/** + * 病人管理Controller + * + * @author ft + * @date 2020-11-19 + */ +@RequiredArgsConstructor(onConstructor_ = @Autowired) +@RestController +@RequestMapping("/fantang/patient") +public class FtPatientDaoController extends BaseController { + + private final IFtPatientDaoService iFtPatientDaoService; + + /** + * 查询病人管理列表 + */ + @PreAuthorize("@ss.hasPermi('fantang:patient:list')") + @GetMapping("/list") + public TableDataInfo list(FtPatientDao ftPatientDao) { + startPage(); + LambdaQueryWrapper lqw = Wrappers.lambdaQuery(ftPatientDao); + if (StringUtils.isNotBlank(ftPatientDao.getName())) { + lqw.like(FtPatientDao::getName, ftPatientDao.getName()); + } + if (StringUtils.isNotBlank(ftPatientDao.getBedId())) { + lqw.eq(FtPatientDao::getBedId, ftPatientDao.getBedId()); + } + List list = iFtPatientDaoService.list(lqw); + return getDataTable(list); + } + + /** + * 导出病人管理列表 + */ + @PreAuthorize("@ss.hasPermi('fantang:patient:export')") + @Log(title = "病人管理", businessType = BusinessType.EXPORT) + @GetMapping("/export") + public AjaxResult export(FtPatientDao ftPatientDao) { + LambdaQueryWrapper lqw = new LambdaQueryWrapper(ftPatientDao); + List list = iFtPatientDaoService.list(lqw); + ExcelUtil util = new ExcelUtil(FtPatientDao.class); + return util.exportExcel(list, "patient"); + } + + /** + * 获取病人管理详细信息 + */ + @PreAuthorize("@ss.hasPermi('fantang:patient:query')") + @GetMapping(value = "/{patientId}") + public AjaxResult getInfo(@PathVariable("patientId") Long patientId) { + return AjaxResult.success(iFtPatientDaoService.getById(patientId)); + } + + /** + * 新增病人管理 + */ + @PreAuthorize("@ss.hasPermi('fantang:patient:add')") + @Log(title = "病人管理", businessType = BusinessType.INSERT) + @PostMapping + public AjaxResult add(@RequestBody FtPatientDao ftPatientDao) { + return toAjax(iFtPatientDaoService.save(ftPatientDao) ? 1 : 0); + } + + /** + * 修改病人管理 + */ + @PreAuthorize("@ss.hasPermi('fantang:patient:edit')") + @Log(title = "病人管理", businessType = BusinessType.UPDATE) + @PutMapping + public AjaxResult edit(@RequestBody FtPatientDao ftPatientDao) { + return toAjax(iFtPatientDaoService.updateById(ftPatientDao) ? 1 : 0); + } + + /** + * 删除病人管理 + */ + @PreAuthorize("@ss.hasPermi('fantang:patient:remove')") + @Log(title = "病人管理", businessType = BusinessType.DELETE) + @DeleteMapping("/{patientIds}") + public AjaxResult remove(@PathVariable Long[] patientIds) { + return toAjax(iFtPatientDaoService.removeByIds(Arrays.asList(patientIds)) ? 1 : 0); + } +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/fantang/controller/FtPrepaymentDaoController.java b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/controller/FtPrepaymentDaoController.java new file mode 100644 index 000000000..3dd48ba8c --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/controller/FtPrepaymentDaoController.java @@ -0,0 +1,106 @@ +package com.ruoyi.system.fantang.controller; + +import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; +import com.baomidou.mybatisplus.core.toolkit.Wrappers; +import com.ruoyi.common.annotation.Log; +import com.ruoyi.common.core.controller.BaseController; +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.common.core.page.TableDataInfo; +import com.ruoyi.common.enums.BusinessType; +import com.ruoyi.common.utils.poi.ExcelUtil; +import com.ruoyi.system.fantang.domain.FtPrepaymentDao; +import com.ruoyi.system.fantang.service.IFtPrepaymentDaoService; +import lombok.RequiredArgsConstructor; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.security.access.prepost.PreAuthorize; +import org.springframework.web.bind.annotation.*; + +import java.util.Arrays; +import java.util.List; + +/** + * 收费管理Controller + * + * @author ft + * @date 2020-11-19 + */ +@RequiredArgsConstructor(onConstructor_ = @Autowired) +@RestController +@RequestMapping("/fantang/prepayment") +public class FtPrepaymentDaoController extends BaseController { + + private final IFtPrepaymentDaoService iFtPrepaymentDaoService; + + /** + * 查询收费管理列表 + */ + @PreAuthorize("@ss.hasPermi('fantang:prepayment:list')") + @GetMapping("/list") + public TableDataInfo list(FtPrepaymentDao ftPrepaymentDao) { + startPage(); + LambdaQueryWrapper lqw = Wrappers.lambdaQuery(ftPrepaymentDao); + if (ftPrepaymentDao.getCollectAt() != null) { + lqw.eq(FtPrepaymentDao::getCollectAt, ftPrepaymentDao.getCollectAt()); + } + if (ftPrepaymentDao.getSettlementAt() != null) { + lqw.eq(FtPrepaymentDao::getSettlementAt, ftPrepaymentDao.getSettlementAt()); + } + if (ftPrepaymentDao.getSettlementFlag() != null) { + lqw.eq(FtPrepaymentDao::getSettlementFlag, ftPrepaymentDao.getSettlementFlag()); + } + List list = iFtPrepaymentDaoService.list(lqw); + return getDataTable(list); + } + + /** + * 导出收费管理列表 + */ + @PreAuthorize("@ss.hasPermi('fantang:prepayment:export')") + @Log(title = "收费管理", businessType = BusinessType.EXPORT) + @GetMapping("/export") + public AjaxResult export(FtPrepaymentDao ftPrepaymentDao) { + LambdaQueryWrapper lqw = new LambdaQueryWrapper(ftPrepaymentDao); + List list = iFtPrepaymentDaoService.list(lqw); + ExcelUtil util = new ExcelUtil(FtPrepaymentDao.class); + return util.exportExcel(list, "prepayment"); + } + + /** + * 获取收费管理详细信息 + */ + @PreAuthorize("@ss.hasPermi('fantang:prepayment:query')") + @GetMapping(value = "/{prepaymentId}") + public AjaxResult getInfo(@PathVariable("prepaymentId") Long prepaymentId) { + return AjaxResult.success(iFtPrepaymentDaoService.getById(prepaymentId)); + } + + /** + * 新增收费管理 + */ + @PreAuthorize("@ss.hasPermi('fantang:prepayment:add')") + @Log(title = "收费管理", businessType = BusinessType.INSERT) + @PostMapping + public AjaxResult add(@RequestBody FtPrepaymentDao ftPrepaymentDao) { + return toAjax(iFtPrepaymentDaoService.save(ftPrepaymentDao) ? 1 : 0); + } + + /** + * 修改收费管理 + */ + @PreAuthorize("@ss.hasPermi('fantang:prepayment:edit')") + @Log(title = "收费管理", businessType = BusinessType.UPDATE) + @PutMapping + public AjaxResult edit(@RequestBody FtPrepaymentDao ftPrepaymentDao) { + return toAjax(iFtPrepaymentDaoService.updateById(ftPrepaymentDao) ? 1 : 0); + } + + /** + * 删除收费管理 + */ + @PreAuthorize("@ss.hasPermi('fantang:prepayment:remove')") + @Log(title = "收费管理", businessType = BusinessType.DELETE) + @DeleteMapping("/{prepaymentIds}") + public AjaxResult remove(@PathVariable Long[] prepaymentIds) { + return toAjax(iFtPrepaymentDaoService.removeByIds(Arrays.asList(prepaymentIds)) ? 1 : 0); + } +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/fantang/controller/FtReportMealsDaoController.java b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/controller/FtReportMealsDaoController.java new file mode 100644 index 000000000..a6611bdf7 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/controller/FtReportMealsDaoController.java @@ -0,0 +1,109 @@ +package com.ruoyi.system.fantang.controller; + +import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; +import com.baomidou.mybatisplus.core.toolkit.Wrappers; +import com.ruoyi.common.annotation.Log; +import com.ruoyi.common.core.controller.BaseController; +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.common.core.page.TableDataInfo; +import com.ruoyi.common.enums.BusinessType; +import com.ruoyi.common.utils.poi.ExcelUtil; +import com.ruoyi.system.fantang.domain.FtReportMealsDao; +import com.ruoyi.system.fantang.service.IFtReportMealsDaoService; +import lombok.RequiredArgsConstructor; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.security.access.prepost.PreAuthorize; +import org.springframework.web.bind.annotation.*; + +import java.util.Arrays; +import java.util.List; + +/** + * 报餐管理Controller + * + * @author ft + * @date 2020-11-19 + */ +@RequiredArgsConstructor(onConstructor_ = @Autowired) +@RestController +@RequestMapping("/fantang/meals") +public class FtReportMealsDaoController extends BaseController { + + private final IFtReportMealsDaoService iFtReportMealsDaoService; + + /** + * 查询报餐管理列表 + */ + @PreAuthorize("@ss.hasPermi('fantang:meals:list')") + @GetMapping("/list") + public TableDataInfo list(FtReportMealsDao ftReportMealsDao) { + startPage(); + LambdaQueryWrapper lqw = Wrappers.lambdaQuery(ftReportMealsDao); + if (ftReportMealsDao.getCreateAt() != null) { + lqw.eq(FtReportMealsDao::getCreateAt, ftReportMealsDao.getCreateAt()); + } + if (ftReportMealsDao.getType() != null) { + lqw.eq(FtReportMealsDao::getType, ftReportMealsDao.getType()); + } + if (ftReportMealsDao.getCreateBy() != null) { + lqw.eq(FtReportMealsDao::getCreateBy, ftReportMealsDao.getCreateBy()); + } + if (ftReportMealsDao.getPrice() != null) { + lqw.eq(FtReportMealsDao::getPrice, ftReportMealsDao.getPrice()); + } + List list = iFtReportMealsDaoService.list(lqw); + return getDataTable(list); + } + + /** + * 导出报餐管理列表 + */ + @PreAuthorize("@ss.hasPermi('fantang:meals:export')") + @Log(title = "报餐管理", businessType = BusinessType.EXPORT) + @GetMapping("/export") + public AjaxResult export(FtReportMealsDao ftReportMealsDao) { + LambdaQueryWrapper lqw = new LambdaQueryWrapper(ftReportMealsDao); + List list = iFtReportMealsDaoService.list(lqw); + ExcelUtil util = new ExcelUtil(FtReportMealsDao.class); + return util.exportExcel(list, "meals"); + } + + /** + * 获取报餐管理详细信息 + */ + @PreAuthorize("@ss.hasPermi('fantang:meals:query')") + @GetMapping(value = "/{id}") + public AjaxResult getInfo(@PathVariable("id") Long id) { + return AjaxResult.success(iFtReportMealsDaoService.getById(id)); + } + + /** + * 新增报餐管理 + */ + @PreAuthorize("@ss.hasPermi('fantang:meals:add')") + @Log(title = "报餐管理", businessType = BusinessType.INSERT) + @PostMapping + public AjaxResult add(@RequestBody FtReportMealsDao ftReportMealsDao) { + return toAjax(iFtReportMealsDaoService.save(ftReportMealsDao) ? 1 : 0); + } + + /** + * 修改报餐管理 + */ + @PreAuthorize("@ss.hasPermi('fantang:meals:edit')") + @Log(title = "报餐管理", businessType = BusinessType.UPDATE) + @PutMapping + public AjaxResult edit(@RequestBody FtReportMealsDao ftReportMealsDao) { + return toAjax(iFtReportMealsDaoService.updateById(ftReportMealsDao) ? 1 : 0); + } + + /** + * 删除报餐管理 + */ + @PreAuthorize("@ss.hasPermi('fantang:meals:remove')") + @Log(title = "报餐管理", businessType = BusinessType.DELETE) + @DeleteMapping("/{ids}") + public AjaxResult remove(@PathVariable Long[] ids) { + return toAjax(iFtReportMealsDaoService.removeByIds(Arrays.asList(ids)) ? 1 : 0); + } +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/fantang/controller/FtSettleDaoController.java b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/controller/FtSettleDaoController.java new file mode 100644 index 000000000..f43cada63 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/controller/FtSettleDaoController.java @@ -0,0 +1,116 @@ +package com.ruoyi.system.fantang.controller; + +import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; +import com.baomidou.mybatisplus.core.toolkit.Wrappers; +import com.ruoyi.common.annotation.Log; +import com.ruoyi.common.core.controller.BaseController; +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.common.core.page.TableDataInfo; +import com.ruoyi.common.enums.BusinessType; +import com.ruoyi.common.utils.StringUtils; +import com.ruoyi.common.utils.poi.ExcelUtil; +import com.ruoyi.system.fantang.domain.FtSettleDao; +import com.ruoyi.system.fantang.service.IFtSettleDaoService; +import lombok.RequiredArgsConstructor; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.security.access.prepost.PreAuthorize; +import org.springframework.web.bind.annotation.*; + +import java.util.Arrays; +import java.util.List; + +/** + * 结算报Controller + * + * @author ft + * @date 2020-11-19 + */ +@RequiredArgsConstructor(onConstructor_ = @Autowired) +@RestController +@RequestMapping("/fantang/settle") +public class FtSettleDaoController extends BaseController { + + private final IFtSettleDaoService iFtSettleDaoService; + + /** + * 查询结算报列表 + */ + @PreAuthorize("@ss.hasPermi('fantang:settle:list')") + @GetMapping("/list") + public TableDataInfo list(FtSettleDao ftSettleDao) { + startPage(); + LambdaQueryWrapper lqw = Wrappers.lambdaQuery(ftSettleDao); + if (ftSettleDao.getSettleAt() != null) { + lqw.eq(FtSettleDao::getSettleAt, ftSettleDao.getSettleAt()); + } + if (ftSettleDao.getPrice() != null) { + lqw.eq(FtSettleDao::getPrice, ftSettleDao.getPrice()); + } + if (ftSettleDao.getPayable() != null) { + lqw.eq(FtSettleDao::getPayable, ftSettleDao.getPayable()); + } + if (ftSettleDao.getReceipts() != null) { + lqw.eq(FtSettleDao::getReceipts, ftSettleDao.getReceipts()); + } + if (StringUtils.isNotBlank(ftSettleDao.getType())) { + lqw.eq(FtSettleDao::getType, ftSettleDao.getType()); + } + if (ftSettleDao.getRefund() != null) { + lqw.eq(FtSettleDao::getRefund, ftSettleDao.getRefund()); + } + List list = iFtSettleDaoService.list(lqw); + return getDataTable(list); + } + + /** + * 导出结算报列表 + */ + @PreAuthorize("@ss.hasPermi('fantang:settle:export')") + @Log(title = "结算报", businessType = BusinessType.EXPORT) + @GetMapping("/export") + public AjaxResult export(FtSettleDao ftSettleDao) { + LambdaQueryWrapper lqw = new LambdaQueryWrapper(ftSettleDao); + List list = iFtSettleDaoService.list(lqw); + ExcelUtil util = new ExcelUtil(FtSettleDao.class); + return util.exportExcel(list, "settle"); + } + + /** + * 获取结算报详细信息 + */ + @PreAuthorize("@ss.hasPermi('fantang:settle:query')") + @GetMapping(value = "/{settleId}") + public AjaxResult getInfo(@PathVariable("settleId") Long settleId) { + return AjaxResult.success(iFtSettleDaoService.getById(settleId)); + } + + /** + * 新增结算报 + */ + @PreAuthorize("@ss.hasPermi('fantang:settle:add')") + @Log(title = "结算报", businessType = BusinessType.INSERT) + @PostMapping + public AjaxResult add(@RequestBody FtSettleDao ftSettleDao) { + return toAjax(iFtSettleDaoService.save(ftSettleDao) ? 1 : 0); + } + + /** + * 修改结算报 + */ + @PreAuthorize("@ss.hasPermi('fantang:settle:edit')") + @Log(title = "结算报", businessType = BusinessType.UPDATE) + @PutMapping + public AjaxResult edit(@RequestBody FtSettleDao ftSettleDao) { + return toAjax(iFtSettleDaoService.updateById(ftSettleDao) ? 1 : 0); + } + + /** + * 删除结算报 + */ + @PreAuthorize("@ss.hasPermi('fantang:settle:remove')") + @Log(title = "结算报", businessType = BusinessType.DELETE) + @DeleteMapping("/{settleIds}") + public AjaxResult remove(@PathVariable Long[] settleIds) { + return toAjax(iFtSettleDaoService.removeByIds(Arrays.asList(settleIds)) ? 1 : 0); + } +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/fantang/controller/FtSpecialDemandDaoController.java b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/controller/FtSpecialDemandDaoController.java new file mode 100644 index 000000000..770d0b32f --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/controller/FtSpecialDemandDaoController.java @@ -0,0 +1,109 @@ +package com.ruoyi.system.fantang.controller; + +import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; +import com.baomidou.mybatisplus.core.toolkit.Wrappers; +import com.ruoyi.common.annotation.Log; +import com.ruoyi.common.core.controller.BaseController; +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.common.core.page.TableDataInfo; +import com.ruoyi.common.enums.BusinessType; +import com.ruoyi.common.utils.poi.ExcelUtil; +import com.ruoyi.system.fantang.domain.FtSpecialDemandDao; +import com.ruoyi.system.fantang.service.IFtSpecialDemandDaoService; +import lombok.RequiredArgsConstructor; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.security.access.prepost.PreAuthorize; +import org.springframework.web.bind.annotation.*; + +import java.util.Arrays; +import java.util.List; + +/** + * 特殊用餐管理Controller + * + * @author ft + * @date 2020-11-19 + */ +@RequiredArgsConstructor(onConstructor_ = @Autowired) +@RestController +@RequestMapping("/fantang/demand") +public class FtSpecialDemandDaoController extends BaseController { + + private final IFtSpecialDemandDaoService iFtSpecialDemandDaoService; + + /** + * 查询特殊用餐管理列表 + */ + @PreAuthorize("@ss.hasPermi('fantang:demand:list')") + @GetMapping("/list") + public TableDataInfo list(FtSpecialDemandDao ftSpecialDemandDao) { + startPage(); + LambdaQueryWrapper lqw = Wrappers.lambdaQuery(ftSpecialDemandDao); + if (ftSpecialDemandDao.getType() != null) { + lqw.eq(FtSpecialDemandDao::getType, ftSpecialDemandDao.getType()); + } + if (ftSpecialDemandDao.getCreateAt() != null) { + lqw.eq(FtSpecialDemandDao::getCreateAt, ftSpecialDemandDao.getCreateAt()); + } + if (ftSpecialDemandDao.getPrice() != null) { + lqw.eq(FtSpecialDemandDao::getPrice, ftSpecialDemandDao.getPrice()); + } + if (ftSpecialDemandDao.getTerm() != null) { + lqw.eq(FtSpecialDemandDao::getTerm, ftSpecialDemandDao.getTerm()); + } + List list = iFtSpecialDemandDaoService.list(lqw); + return getDataTable(list); + } + + /** + * 导出特殊用餐管理列表 + */ + @PreAuthorize("@ss.hasPermi('fantang:demand:export')") + @Log(title = "特殊用餐管理", businessType = BusinessType.EXPORT) + @GetMapping("/export") + public AjaxResult export(FtSpecialDemandDao ftSpecialDemandDao) { + LambdaQueryWrapper lqw = new LambdaQueryWrapper(ftSpecialDemandDao); + List list = iFtSpecialDemandDaoService.list(lqw); + ExcelUtil util = new ExcelUtil(FtSpecialDemandDao.class); + return util.exportExcel(list, "demand"); + } + + /** + * 获取特殊用餐管理详细信息 + */ + @PreAuthorize("@ss.hasPermi('fantang:demand:query')") + @GetMapping(value = "/{id}") + public AjaxResult getInfo(@PathVariable("id") Long id) { + return AjaxResult.success(iFtSpecialDemandDaoService.getById(id)); + } + + /** + * 新增特殊用餐管理 + */ + @PreAuthorize("@ss.hasPermi('fantang:demand:add')") + @Log(title = "特殊用餐管理", businessType = BusinessType.INSERT) + @PostMapping + public AjaxResult add(@RequestBody FtSpecialDemandDao ftSpecialDemandDao) { + return toAjax(iFtSpecialDemandDaoService.save(ftSpecialDemandDao) ? 1 : 0); + } + + /** + * 修改特殊用餐管理 + */ + @PreAuthorize("@ss.hasPermi('fantang:demand:edit')") + @Log(title = "特殊用餐管理", businessType = BusinessType.UPDATE) + @PutMapping + public AjaxResult edit(@RequestBody FtSpecialDemandDao ftSpecialDemandDao) { + return toAjax(iFtSpecialDemandDaoService.updateById(ftSpecialDemandDao) ? 1 : 0); + } + + /** + * 删除特殊用餐管理 + */ + @PreAuthorize("@ss.hasPermi('fantang:demand:remove')") + @Log(title = "特殊用餐管理", businessType = BusinessType.DELETE) + @DeleteMapping("/{ids}") + public AjaxResult remove(@PathVariable Long[] ids) { + return toAjax(iFtSpecialDemandDaoService.removeByIds(Arrays.asList(ids)) ? 1 : 0); + } +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/fantang/controller/FtStaffInfoDaoController.java b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/controller/FtStaffInfoDaoController.java new file mode 100644 index 000000000..9b87ffb50 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/controller/FtStaffInfoDaoController.java @@ -0,0 +1,107 @@ +package com.ruoyi.system.fantang.controller; + +import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; +import com.baomidou.mybatisplus.core.toolkit.Wrappers; +import com.ruoyi.common.annotation.Log; +import com.ruoyi.common.core.controller.BaseController; +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.common.core.page.TableDataInfo; +import com.ruoyi.common.enums.BusinessType; +import com.ruoyi.common.utils.StringUtils; +import com.ruoyi.common.utils.poi.ExcelUtil; +import com.ruoyi.system.fantang.domain.FtStaffInfoDao; +import com.ruoyi.system.fantang.service.IFtStaffInfoDaoService; +import lombok.RequiredArgsConstructor; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.security.access.prepost.PreAuthorize; +import org.springframework.web.bind.annotation.*; + +import java.util.Arrays; +import java.util.List; + +/** + * 员工管理Controller + * + * @author ft + * @date 2020-11-19 + */ +@RequiredArgsConstructor(onConstructor_ = @Autowired) +@RestController +@RequestMapping("/fantang/staffInfo") +public class FtStaffInfoDaoController extends BaseController { + + private final IFtStaffInfoDaoService iFtStaffInfoDaoService; + + /** + * 查询员工管理列表 + */ + @PreAuthorize("@ss.hasPermi('fantang:staffInfo:list')") + @GetMapping("/list") + public TableDataInfo list(FtStaffInfoDao ftStaffInfoDao) { + startPage(); + LambdaQueryWrapper lqw = Wrappers.lambdaQuery(ftStaffInfoDao); + if (StringUtils.isNotBlank(ftStaffInfoDao.getName())) { + lqw.like(FtStaffInfoDao::getName, ftStaffInfoDao.getName()); + } + if (StringUtils.isNotBlank(ftStaffInfoDao.getPost())) { + lqw.eq(FtStaffInfoDao::getPost, ftStaffInfoDao.getPost()); + } + if (StringUtils.isNotBlank(ftStaffInfoDao.getRole())) { + lqw.eq(FtStaffInfoDao::getRole, ftStaffInfoDao.getRole()); + } + List list = iFtStaffInfoDaoService.list(lqw); + return getDataTable(list); + } + + /** + * 导出员工管理列表 + */ + @PreAuthorize("@ss.hasPermi('fantang:staffInfo:export')") + @Log(title = "员工管理", businessType = BusinessType.EXPORT) + @GetMapping("/export") + public AjaxResult export(FtStaffInfoDao ftStaffInfoDao) { + LambdaQueryWrapper lqw = new LambdaQueryWrapper(ftStaffInfoDao); + List list = iFtStaffInfoDaoService.list(lqw); + ExcelUtil util = new ExcelUtil(FtStaffInfoDao.class); + return util.exportExcel(list, "staffInfo"); + } + + /** + * 获取员工管理详细信息 + */ + @PreAuthorize("@ss.hasPermi('fantang:staffInfo:query')") + @GetMapping(value = "/{staffId}") + public AjaxResult getInfo(@PathVariable("staffId") Long staffId) { + return AjaxResult.success(iFtStaffInfoDaoService.getById(staffId)); + } + + /** + * 新增员工管理 + */ + @PreAuthorize("@ss.hasPermi('fantang:staffInfo:add')") + @Log(title = "员工管理", businessType = BusinessType.INSERT) + @PostMapping + public AjaxResult add(@RequestBody FtStaffInfoDao ftStaffInfoDao) { + return toAjax(iFtStaffInfoDaoService.save(ftStaffInfoDao) ? 1 : 0); + } + + /** + * 修改员工管理 + */ + @PreAuthorize("@ss.hasPermi('fantang:staffInfo:edit')") + @Log(title = "员工管理", businessType = BusinessType.UPDATE) + @PutMapping + public AjaxResult edit(@RequestBody FtStaffInfoDao ftStaffInfoDao) { + return toAjax(iFtStaffInfoDaoService.updateById(ftStaffInfoDao) ? 1 : 0); + } + + /** + * 删除员工管理 + */ + @PreAuthorize("@ss.hasPermi('fantang:staffInfo:remove')") + @Log(title = "员工管理", businessType = BusinessType.DELETE) + @DeleteMapping("/{staffIds}") + public AjaxResult remove(@PathVariable Long[] staffIds) { + return toAjax(iFtStaffInfoDaoService.removeByIds(Arrays.asList(staffIds)) ? 1 : 0); + } +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/fantang/controller/FtStaffSubsidyDaoController.java b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/controller/FtStaffSubsidyDaoController.java new file mode 100644 index 000000000..b28060602 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/controller/FtStaffSubsidyDaoController.java @@ -0,0 +1,110 @@ +package com.ruoyi.system.fantang.controller; + +import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; +import com.baomidou.mybatisplus.core.toolkit.Wrappers; +import com.ruoyi.common.annotation.Log; +import com.ruoyi.common.core.controller.BaseController; +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.common.core.page.TableDataInfo; +import com.ruoyi.common.enums.BusinessType; +import com.ruoyi.common.utils.StringUtils; +import com.ruoyi.common.utils.poi.ExcelUtil; +import com.ruoyi.system.fantang.domain.FtStaffSubsidyDao; +import com.ruoyi.system.fantang.service.IFtStaffSubsidyDaoService; +import lombok.RequiredArgsConstructor; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.security.access.prepost.PreAuthorize; +import org.springframework.web.bind.annotation.*; + +import java.util.Arrays; +import java.util.List; + +/** + * 补贴流水查看Controller + * + * @author ft + * @date 2020-11-19 + */ +@RequiredArgsConstructor(onConstructor_ = @Autowired) +@RestController +@RequestMapping("/fantang/staffSubsidy") +public class FtStaffSubsidyDaoController extends BaseController { + + private final IFtStaffSubsidyDaoService iFtStaffSubsidyDaoService; + + /** + * 查询补贴流水查看列表 + */ + @PreAuthorize("@ss.hasPermi('fantang:staffSubsidy:list')") + @GetMapping("/list") + public TableDataInfo list(FtStaffSubsidyDao ftStaffSubsidyDao) { + startPage(); + LambdaQueryWrapper lqw = Wrappers.lambdaQuery(ftStaffSubsidyDao); + if (StringUtils.isNotBlank(ftStaffSubsidyDao.getSubsidyType())) { + lqw.eq(FtStaffSubsidyDao::getSubsidyType, ftStaffSubsidyDao.getSubsidyType()); + } + if (StringUtils.isNotBlank(ftStaffSubsidyDao.getIncomeType())) { + lqw.eq(FtStaffSubsidyDao::getIncomeType, ftStaffSubsidyDao.getIncomeType()); + } + if (ftStaffSubsidyDao.getPrice() != null) { + lqw.eq(FtStaffSubsidyDao::getPrice, ftStaffSubsidyDao.getPrice()); + } + if (ftStaffSubsidyDao.getConsumAt() != null) { + lqw.eq(FtStaffSubsidyDao::getConsumAt, ftStaffSubsidyDao.getConsumAt()); + } + List list = iFtStaffSubsidyDaoService.list(lqw); + return getDataTable(list); + } + + /** + * 导出补贴流水查看列表 + */ + @PreAuthorize("@ss.hasPermi('fantang:staffSubsidy:export')") + @Log(title = "补贴流水查看", businessType = BusinessType.EXPORT) + @GetMapping("/export") + public AjaxResult export(FtStaffSubsidyDao ftStaffSubsidyDao) { + LambdaQueryWrapper lqw = new LambdaQueryWrapper(ftStaffSubsidyDao); + List list = iFtStaffSubsidyDaoService.list(lqw); + ExcelUtil util = new ExcelUtil(FtStaffSubsidyDao.class); + return util.exportExcel(list, "staffSubsidy"); + } + + /** + * 获取补贴流水查看详细信息 + */ + @PreAuthorize("@ss.hasPermi('fantang:staffSubsidy:query')") + @GetMapping(value = "/{subsidyId}") + public AjaxResult getInfo(@PathVariable("subsidyId") Long subsidyId) { + return AjaxResult.success(iFtStaffSubsidyDaoService.getById(subsidyId)); + } + + /** + * 新增补贴流水查看 + */ + @PreAuthorize("@ss.hasPermi('fantang:staffSubsidy:add')") + @Log(title = "补贴流水查看", businessType = BusinessType.INSERT) + @PostMapping + public AjaxResult add(@RequestBody FtStaffSubsidyDao ftStaffSubsidyDao) { + return toAjax(iFtStaffSubsidyDaoService.save(ftStaffSubsidyDao) ? 1 : 0); + } + + /** + * 修改补贴流水查看 + */ + @PreAuthorize("@ss.hasPermi('fantang:staffSubsidy:edit')") + @Log(title = "补贴流水查看", businessType = BusinessType.UPDATE) + @PutMapping + public AjaxResult edit(@RequestBody FtStaffSubsidyDao ftStaffSubsidyDao) { + return toAjax(iFtStaffSubsidyDaoService.updateById(ftStaffSubsidyDao) ? 1 : 0); + } + + /** + * 删除补贴流水查看 + */ + @PreAuthorize("@ss.hasPermi('fantang:staffSubsidy:remove')") + @Log(title = "补贴流水查看", businessType = BusinessType.DELETE) + @DeleteMapping("/{subsidyIds}") + public AjaxResult remove(@PathVariable Long[] subsidyIds) { + return toAjax(iFtStaffSubsidyDaoService.removeByIds(Arrays.asList(subsidyIds)) ? 1 : 0); + } +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/fantang/controller/FtSubsidyDaoController.java b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/controller/FtSubsidyDaoController.java new file mode 100644 index 000000000..a4545c0c0 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/controller/FtSubsidyDaoController.java @@ -0,0 +1,116 @@ +package com.ruoyi.system.fantang.controller; + +import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; +import com.baomidou.mybatisplus.core.toolkit.Wrappers; +import com.ruoyi.common.annotation.Log; +import com.ruoyi.common.core.controller.BaseController; +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.common.core.page.TableDataInfo; +import com.ruoyi.common.enums.BusinessType; +import com.ruoyi.common.utils.StringUtils; +import com.ruoyi.common.utils.poi.ExcelUtil; +import com.ruoyi.system.fantang.domain.FtSubsidyDao; +import com.ruoyi.system.fantang.service.IFtSubsidyDaoService; +import lombok.RequiredArgsConstructor; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.security.access.prepost.PreAuthorize; +import org.springframework.web.bind.annotation.*; + +import java.util.Arrays; +import java.util.List; + +/** + * 补贴管理Controller + * + * @author ft + * @date 2020-11-19 + */ +@RequiredArgsConstructor(onConstructor_ = @Autowired) +@RestController +@RequestMapping("/fantang/subsidy") +public class FtSubsidyDaoController extends BaseController { + + private final IFtSubsidyDaoService iFtSubsidyDaoService; + + /** + * 查询补贴管理列表 + */ + @PreAuthorize("@ss.hasPermi('fantang:subsidy:list')") + @GetMapping("/list") + public TableDataInfo list(FtSubsidyDao ftSubsidyDao) { + startPage(); + LambdaQueryWrapper lqw = Wrappers.lambdaQuery(ftSubsidyDao); + if (StringUtils.isNotBlank(ftSubsidyDao.getType())) { + lqw.eq(FtSubsidyDao::getType, ftSubsidyDao.getType()); + } + if (ftSubsidyDao.getPrice() != null) { + lqw.eq(FtSubsidyDao::getPrice, ftSubsidyDao.getPrice()); + } + if (StringUtils.isNotBlank(ftSubsidyDao.getRange())) { + lqw.eq(FtSubsidyDao::getRange, ftSubsidyDao.getRange()); + } + if (StringUtils.isNotBlank(ftSubsidyDao.getCycle())) { + lqw.eq(FtSubsidyDao::getCycle, ftSubsidyDao.getCycle()); + } + if (ftSubsidyDao.getCreateAt() != null) { + lqw.eq(FtSubsidyDao::getCreateAt, ftSubsidyDao.getCreateAt()); + } + if (StringUtils.isNotBlank(ftSubsidyDao.getCreateBy())) { + lqw.eq(FtSubsidyDao::getCreateBy, ftSubsidyDao.getCreateBy()); + } + List list = iFtSubsidyDaoService.list(lqw); + return getDataTable(list); + } + + /** + * 导出补贴管理列表 + */ + @PreAuthorize("@ss.hasPermi('fantang:subsidy:export')") + @Log(title = "补贴管理", businessType = BusinessType.EXPORT) + @GetMapping("/export") + public AjaxResult export(FtSubsidyDao ftSubsidyDao) { + LambdaQueryWrapper lqw = new LambdaQueryWrapper(ftSubsidyDao); + List list = iFtSubsidyDaoService.list(lqw); + ExcelUtil util = new ExcelUtil(FtSubsidyDao.class); + return util.exportExcel(list, "subsidy"); + } + + /** + * 获取补贴管理详细信息 + */ + @PreAuthorize("@ss.hasPermi('fantang:subsidy:query')") + @GetMapping(value = "/{subsidyId}") + public AjaxResult getInfo(@PathVariable("subsidyId") Long subsidyId) { + return AjaxResult.success(iFtSubsidyDaoService.getById(subsidyId)); + } + + /** + * 新增补贴管理 + */ + @PreAuthorize("@ss.hasPermi('fantang:subsidy:add')") + @Log(title = "补贴管理", businessType = BusinessType.INSERT) + @PostMapping + public AjaxResult add(@RequestBody FtSubsidyDao ftSubsidyDao) { + return toAjax(iFtSubsidyDaoService.save(ftSubsidyDao) ? 1 : 0); + } + + /** + * 修改补贴管理 + */ + @PreAuthorize("@ss.hasPermi('fantang:subsidy:edit')") + @Log(title = "补贴管理", businessType = BusinessType.UPDATE) + @PutMapping + public AjaxResult edit(@RequestBody FtSubsidyDao ftSubsidyDao) { + return toAjax(iFtSubsidyDaoService.updateById(ftSubsidyDao) ? 1 : 0); + } + + /** + * 删除补贴管理 + */ + @PreAuthorize("@ss.hasPermi('fantang:subsidy:remove')") + @Log(title = "补贴管理", businessType = BusinessType.DELETE) + @DeleteMapping("/{subsidyIds}") + public AjaxResult remove(@PathVariable Long[] subsidyIds) { + return toAjax(iFtSubsidyDaoService.removeByIds(Arrays.asList(subsidyIds)) ? 1 : 0); + } +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/fantang/domain/FtCareStaffInfoDao.java b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/domain/FtCareStaffInfoDao.java new file mode 100644 index 000000000..53888ca92 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/domain/FtCareStaffInfoDao.java @@ -0,0 +1,71 @@ +package com.ruoyi.system.fantang.domain; + +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; +import com.ruoyi.common.annotation.Excel; +import lombok.Data; +import lombok.EqualsAndHashCode; +import lombok.NoArgsConstructor; +import lombok.ToString; +import lombok.experimental.Accessors; + +import java.io.Serializable; + +/** + * 护工信息对象 ft_care_staff_info + * + * @author ft + * @date 2020-11-19 + */ +@Data +@ToString +@EqualsAndHashCode +@NoArgsConstructor +@Accessors(chain = true) +@TableName("ft_care_staff_info") +public class FtCareStaffInfoDao implements Serializable { + + private static final long serialVersionUID = 1L; + + + /** + * 护工 id + */ + @TableId(value = "care_staff_id") + private Long careStaffId; + + /** + * 姓名 + */ + @Excel(name = "姓名") + private String name; + + /** + * 所属公司名称 + */ + @Excel(name = "所属公司名称") + private String corpName; + + /** + * 所属科室清单 + */ + @Excel(name = "所属科室清单") + private String departList; + + /** + * 启用标志 + */ + private Integer flag; + + /** + * 照片 + */ + @Excel(name = "照片") + private String photo; + + /** + * 二维码 + */ + @Excel(name = "二维码") + private String qrCode; +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/fantang/domain/FtDepartDao.java b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/domain/FtDepartDao.java new file mode 100644 index 000000000..4f8f1cc7b --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/domain/FtDepartDao.java @@ -0,0 +1,42 @@ +package com.ruoyi.system.fantang.domain; + +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; +import com.ruoyi.common.annotation.Excel; +import lombok.Data; +import lombok.EqualsAndHashCode; +import lombok.NoArgsConstructor; +import lombok.ToString; +import lombok.experimental.Accessors; + +import java.io.Serializable; + +/** + * 科室管理对象 ft_depart + * + * @author ft + * @date 2020-11-19 + */ +@Data +@ToString +@EqualsAndHashCode +@NoArgsConstructor +@Accessors(chain = true) +@TableName("ft_depart") +public class FtDepartDao implements Serializable { + + private static final long serialVersionUID = 1L; + + + /** + * 科室编号 + */ + @TableId(value = "depart_id") + private Long departId; + + /** + * 科室名称 + */ + @Excel(name = "科室名称") + private String departName; +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/fantang/domain/FtFoodDao.java b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/domain/FtFoodDao.java new file mode 100644 index 000000000..66a7a8672 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/domain/FtFoodDao.java @@ -0,0 +1,66 @@ +package com.ruoyi.system.fantang.domain; + +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; +import com.ruoyi.common.annotation.Excel; +import lombok.Data; +import lombok.EqualsAndHashCode; +import lombok.NoArgsConstructor; +import lombok.ToString; +import lombok.experimental.Accessors; + +import java.io.Serializable; +import java.math.BigDecimal; + +/** + * 食品管理对象 ft_food + * + * @author ft + * @date 2020-11-19 + */ +@Data +@ToString +@EqualsAndHashCode +@NoArgsConstructor +@Accessors(chain = true) +@TableName("ft_food") +public class FtFoodDao implements Serializable { + + private static final long serialVersionUID = 1L; + + + /** + * 食品id + */ + @TableId(value = "food_id") + private Long foodId; + + /** + * 名称 + */ + @Excel(name = "名称") + private String name; + + /** + * 图片地址 + */ + @Excel(name = "图片地址") + private String pictureUrl; + + /** + * 售价 + */ + @Excel(name = "售价") + private BigDecimal price; + + /** + * 启用标志 + */ + private Long flag; + + /** + * 食品分类 + */ + @Excel(name = "食品分类") + private Long type; +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/fantang/domain/FtOrderDao.java b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/domain/FtOrderDao.java new file mode 100644 index 000000000..92e271f00 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/domain/FtOrderDao.java @@ -0,0 +1,137 @@ +package com.ruoyi.system.fantang.domain; + +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; +import com.fasterxml.jackson.annotation.JsonFormat; +import com.ruoyi.common.annotation.Excel; +import lombok.Data; +import lombok.EqualsAndHashCode; +import lombok.NoArgsConstructor; +import lombok.ToString; +import lombok.experimental.Accessors; + +import java.io.Serializable; +import java.math.BigDecimal; +import java.util.Date; + +/** + * 订单管理对象 ft_order + * + * @author ft + * @date 2020-11-19 + */ +@Data +@ToString +@EqualsAndHashCode +@NoArgsConstructor +@Accessors(chain = true) +@TableName("ft_order") +public class FtOrderDao implements Serializable { + + private static final long serialVersionUID = 1L; + + + /** + * 订单 id + */ + @TableId(value = "order_id") + private Long orderId; + + /** + * 订单类型 + */ + @Excel(name = "订单类型") + private String orderType; + + /** + * 员工 id + */ + private Long workerId; + + /** + * 清单 + */ + @Excel(name = "清单") + private String orderList; + + /** + * 总价 + */ + @Excel(name = "总价") + private BigDecimal totalPrice; + + /** + * 折扣 + */ + @Excel(name = "折扣") + private BigDecimal discount; + + /** + * 实收 + */ + @Excel(name = "实收") + private BigDecimal receipts; + + /** + * 创建时间 + */ + @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd") + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") + private Date createAt; + + /** + * 创建人 + */ + private String createBy; + + /** + * 订单来源 + */ + @Excel(name = "订单来源") + private String orderSrc; + + /** + * 订单现售 + */ + @Excel(name = "订单现售") + private BigDecimal currentPrice; + + /** + * 支付方式 + */ + @Excel(name = "支付方式") + private String payType; + + /** + * 支付标志 + */ + private Integer payFlag; + + /** + * 过期标志 + */ + private Integer expiredFlag; + + /** + * 核销标志 + */ + private Integer writeOffFlag; + + /** + * 核销时间 + */ + @Excel(name = "核销时间", width = 30, dateFormat = "yyyy-MM-dd") + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") + private Date writeOffAt; + + /** + * 是否过期 + */ + @Excel(name = "是否过期") + private Integer isExpired; + + /** + * 核销设备 id + */ + private Long deviceId; +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/fantang/domain/FtPatientDao.java b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/domain/FtPatientDao.java new file mode 100644 index 000000000..4c2bffb9b --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/domain/FtPatientDao.java @@ -0,0 +1,53 @@ +package com.ruoyi.system.fantang.domain; + +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; +import com.ruoyi.common.annotation.Excel; +import lombok.Data; +import lombok.EqualsAndHashCode; +import lombok.NoArgsConstructor; +import lombok.ToString; +import lombok.experimental.Accessors; + +import java.io.Serializable; + +/** + * 病人管理对象 ft_patient + * + * @author ft + * @date 2020-11-19 + */ +@Data +@ToString +@EqualsAndHashCode +@NoArgsConstructor +@Accessors(chain = true) +@TableName("ft_patient") +public class FtPatientDao implements Serializable { + + private static final long serialVersionUID = 1L; + + + /** + * 病人id + */ + @TableId(value = "patient_id") + private Long patientId; + + /** + * 姓名 + */ + @Excel(name = "姓名") + private String name; + + /** + * 所属部门id + */ + private Long departId; + + /** + * 床号 + */ + @Excel(name = "床号") + private String bedId; +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/fantang/domain/FtPrepaymentDao.java b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/domain/FtPrepaymentDao.java new file mode 100644 index 000000000..7be72c8de --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/domain/FtPrepaymentDao.java @@ -0,0 +1,78 @@ +package com.ruoyi.system.fantang.domain; + +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; +import com.fasterxml.jackson.annotation.JsonFormat; +import com.ruoyi.common.annotation.Excel; +import lombok.Data; +import lombok.EqualsAndHashCode; +import lombok.NoArgsConstructor; +import lombok.ToString; +import lombok.experimental.Accessors; + +import java.io.Serializable; +import java.util.Date; + +/** + * 收费管理对象 ft_prepayment + * + * @author ft + * @date 2020-11-19 + */ +@Data +@ToString +@EqualsAndHashCode +@NoArgsConstructor +@Accessors(chain = true) +@TableName("ft_prepayment") +public class FtPrepaymentDao implements Serializable { + + private static final long serialVersionUID = 1L; + + + /** + * 预付费id + */ + @TableId(value = "prepayment_id") + private Long prepaymentId; + + /** + * 病人id + */ + private Long patientId; + + /** + * 收款时间 + */ + @Excel(name = "收款时间", width = 30, dateFormat = "yyyy-MM-dd") + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") + private Date collectAt; + + /** + * 收款员 + */ + private Long collectBy; + + /** + * 结算时间 + */ + @Excel(name = "结算时间", width = 30, dateFormat = "yyyy-MM-dd") + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") + private Date settlementAt; + + /** + * 结算员 + */ + private Long settlementBy; + + /** + * 结算报表id + */ + private Long settlementId; + + /** + * 结算标志 + */ + @Excel(name = "结算标志") + private Long settlementFlag; +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/fantang/domain/FtReportMealsDao.java b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/domain/FtReportMealsDao.java new file mode 100644 index 000000000..e5131d56d --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/domain/FtReportMealsDao.java @@ -0,0 +1,80 @@ +package com.ruoyi.system.fantang.domain; + +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; +import com.fasterxml.jackson.annotation.JsonFormat; +import com.ruoyi.common.annotation.Excel; +import lombok.Data; +import lombok.EqualsAndHashCode; +import lombok.NoArgsConstructor; +import lombok.ToString; +import lombok.experimental.Accessors; + +import java.io.Serializable; +import java.math.BigDecimal; +import java.util.Date; + +/** + * 报餐管理对象 ft_report_meals + * + * @author ft + * @date 2020-11-19 + */ +@Data +@ToString +@EqualsAndHashCode +@NoArgsConstructor +@Accessors(chain = true) +@TableName("ft_report_meals") +public class FtReportMealsDao implements Serializable { + + private static final long serialVersionUID = 1L; + + + /** + * $column.columnComment + */ + @TableId(value = "id") + private Long id; + + /** + * 报餐日期 + */ + @Excel(name = "报餐日期", width = 30, dateFormat = "yyyy-MM-dd") + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") + private Date createAt; + + /** + * 报餐类型 + */ + @Excel(name = "报餐类型") + private Long type; + + /** + * 病人id + */ + private Long patientId; + + /** + * 报餐人 + */ + @Excel(name = "报餐人") + private Long createBy; + + /** + * 订单列表 + */ + @Excel(name = "订单列表") + private String foods; + + /** + * 总价 + */ + @Excel(name = "总价") + private BigDecimal price; + + /** + * 结算标志 + */ + private Long settlementFlag; +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/fantang/domain/FtSettleDao.java b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/domain/FtSettleDao.java new file mode 100644 index 000000000..c0e2ada4c --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/domain/FtSettleDao.java @@ -0,0 +1,97 @@ +package com.ruoyi.system.fantang.domain; + +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; +import com.fasterxml.jackson.annotation.JsonFormat; +import com.ruoyi.common.annotation.Excel; +import lombok.Data; +import lombok.EqualsAndHashCode; +import lombok.NoArgsConstructor; +import lombok.ToString; +import lombok.experimental.Accessors; + +import java.io.Serializable; +import java.math.BigDecimal; +import java.util.Date; + +/** + * 结算报对象 ft_settle + * + * @author ft + * @date 2020-11-19 + */ +@Data +@ToString +@EqualsAndHashCode +@NoArgsConstructor +@Accessors(chain = true) +@TableName("ft_settle") +public class FtSettleDao implements Serializable { + + private static final long serialVersionUID = 1L; + + + /** + * 结算 id + */ + @TableId(value = "settle_id") + private Long settleId; + + /** + * 病人 id + */ + private Long patientId; + + /** + * 结算日期 + */ + @Excel(name = "结算日期", width = 30, dateFormat = "yyyy-MM-dd") + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") + private Date settleAt; + + /** + * 操作员 + */ + private String opera; + + /** + * 记录清单 + */ + @Excel(name = "记录清单") + private String list; + + /** + * 结算总价 + */ + @Excel(name = "结算总价") + private BigDecimal price; + + /** + * 应收 + */ + @Excel(name = "应收") + private BigDecimal payable; + + /** + * 实收 + */ + @Excel(name = "实收") + private BigDecimal receipts; + + /** + * 结算类型 + */ + @Excel(name = "结算类型") + private String type; + + /** + * 退押金标志 + */ + private Integer flag; + + /** + * 退款总额 + */ + @Excel(name = "退款总额") + private BigDecimal refund; +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/fantang/domain/FtSpecialDemandDao.java b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/domain/FtSpecialDemandDao.java new file mode 100644 index 000000000..a93e96b61 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/domain/FtSpecialDemandDao.java @@ -0,0 +1,90 @@ +package com.ruoyi.system.fantang.domain; + +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; +import com.fasterxml.jackson.annotation.JsonFormat; +import com.ruoyi.common.annotation.Excel; +import lombok.Data; +import lombok.EqualsAndHashCode; +import lombok.NoArgsConstructor; +import lombok.ToString; +import lombok.experimental.Accessors; + +import java.io.Serializable; +import java.math.BigDecimal; +import java.util.Date; + +/** + * 特殊用餐管理对象 ft_special_demand + * + * @author ft + * @date 2020-11-19 + */ +@Data +@ToString +@EqualsAndHashCode +@NoArgsConstructor +@Accessors(chain = true) +@TableName("ft_special_demand") +public class FtSpecialDemandDao implements Serializable { + + private static final long serialVersionUID = 1L; + + + /** + * id + */ + @TableId(value = "id") + private Long id; + + /** + * 病人id + */ + private Long patientId; + + /** + * 订单详情 + */ + @Excel(name = "订单详情") + private String foods; + + /** + * 用餐类型 + */ + @Excel(name = "用餐类型") + private Long type; + + /** + * 创建时间 + */ + @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd") + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") + private Date createAt; + + /** + * 创建人 + */ + private Long createBy; + + /** + * 总价 + */ + @Excel(name = "总价") + private BigDecimal price; + + /** + * 有效期 + */ + @Excel(name = "有效期") + private Long term; + + /** + * 更新日期 + */ + private Date updateAt; + + /** + * 更新操作人 id + */ + private Long updateBy; +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/fantang/domain/FtStaffInfoDao.java b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/domain/FtStaffInfoDao.java new file mode 100644 index 000000000..74c9ea770 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/domain/FtStaffInfoDao.java @@ -0,0 +1,87 @@ +package com.ruoyi.system.fantang.domain; + +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; +import com.ruoyi.common.annotation.Excel; +import lombok.Data; +import lombok.EqualsAndHashCode; +import lombok.NoArgsConstructor; +import lombok.ToString; +import lombok.experimental.Accessors; + +import java.io.Serializable; +import java.math.BigDecimal; +import java.util.Date; + +/** + * 员工管理对象 ft_staff_info + * + * @author ft + * @date 2020-11-19 + */ +@Data +@ToString +@EqualsAndHashCode +@NoArgsConstructor +@Accessors(chain = true) +@TableName("ft_staff_info") +public class FtStaffInfoDao implements Serializable { + + private static final long serialVersionUID = 1L; + + + /** + * 员工 id + */ + @TableId(value = "staff_id") + private Long staffId; + + /** + * 科室 id + */ + private Long departId; + + /** + * 姓名 + */ + @Excel(name = "姓名") + private String name; + + /** + * 岗位 + */ + @Excel(name = "岗位") + private String post; + + /** + * 角色 + */ + @Excel(name = "角色") + private String role; + + /** + * 密码 + */ + private String password; + + /** + * 创建日期 + */ + private Date createAt; + + /** + * 创建人 + */ + private String createBy; + + /** + * 启用标志 + */ + private Integer flag; + + /** + * 补贴余额 + */ + @Excel(name = "补贴余额") + private BigDecimal balance; +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/fantang/domain/FtStaffSubsidyDao.java b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/domain/FtStaffSubsidyDao.java new file mode 100644 index 000000000..f193ba01a --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/domain/FtStaffSubsidyDao.java @@ -0,0 +1,74 @@ +package com.ruoyi.system.fantang.domain; + +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; +import com.fasterxml.jackson.annotation.JsonFormat; +import com.ruoyi.common.annotation.Excel; +import lombok.Data; +import lombok.EqualsAndHashCode; +import lombok.NoArgsConstructor; +import lombok.ToString; +import lombok.experimental.Accessors; + +import java.io.Serializable; +import java.math.BigDecimal; +import java.util.Date; + +/** + * 补贴流水查看对象 ft_staff_subsidy + * + * @author ft + * @date 2020-11-19 + */ +@Data +@ToString +@EqualsAndHashCode +@NoArgsConstructor +@Accessors(chain = true) +@TableName("ft_staff_subsidy") +public class FtStaffSubsidyDao implements Serializable { + + private static final long serialVersionUID = 1L; + + + /** + * 补贴流水 id + */ + @TableId(value = "subsidy_id") + private Long subsidyId; + + /** + * 员工 id + */ + private Long staffId; + + /** + * 补贴类型 + */ + @Excel(name = "补贴类型") + private String subsidyType; + + /** + * 收支类型 + */ + @Excel(name = "收支类型") + private String incomeType; + + /** + * 金额 + */ + @Excel(name = "金额") + private BigDecimal price; + + /** + * 消费日期 + */ + @Excel(name = "消费日期", width = 30, dateFormat = "yyyy-MM-dd") + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") + private Date consumAt; + + /** + * 消费订单 id + */ + private Long orderId; +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/fantang/domain/FtSubsidyDao.java b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/domain/FtSubsidyDao.java new file mode 100644 index 000000000..952ec281b --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/domain/FtSubsidyDao.java @@ -0,0 +1,81 @@ +package com.ruoyi.system.fantang.domain; + +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; +import com.fasterxml.jackson.annotation.JsonFormat; +import com.ruoyi.common.annotation.Excel; +import lombok.Data; +import lombok.EqualsAndHashCode; +import lombok.NoArgsConstructor; +import lombok.ToString; +import lombok.experimental.Accessors; + +import java.io.Serializable; +import java.math.BigDecimal; +import java.util.Date; + +/** + * 补贴管理对象 ft_subsidy + * + * @author ft + * @date 2020-11-19 + */ +@Data +@ToString +@EqualsAndHashCode +@NoArgsConstructor +@Accessors(chain = true) +@TableName("ft_subsidy") +public class FtSubsidyDao implements Serializable { + + private static final long serialVersionUID = 1L; + + + /** + * 补贴 id + */ + @TableId(value = "subsidy_id") + private Long subsidyId; + + /** + * 补贴类型 + */ + @Excel(name = "补贴类型") + private String type; + + /** + * 金额 + */ + @Excel(name = "金额") + private BigDecimal price; + + /** + * 范围 + */ + @Excel(name = "范围") + private String range; + + /** + * 周期 + */ + @Excel(name = "周期") + private String cycle; + + /** + * 启用标志 + */ + private Integer flag; + + /** + * 创建日期 + */ + @Excel(name = "创建日期", width = 30, dateFormat = "yyyy-MM-dd") + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") + private Date createAt; + + /** + * 创建人 + */ + @Excel(name = "创建人") + private String createBy; +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/fantang/mapper/FtCareStaffInfoDaoMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/mapper/FtCareStaffInfoDaoMapper.java new file mode 100644 index 000000000..dd7b54d3e --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/mapper/FtCareStaffInfoDaoMapper.java @@ -0,0 +1,14 @@ +package com.ruoyi.system.fantang.mapper; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.ruoyi.system.fantang.domain.FtCareStaffInfoDao; + +/** + * 护工信息Mapper接口 + * + * @author ft + * @date 2020-11-19 + */ +public interface FtCareStaffInfoDaoMapper extends BaseMapper { + +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/fantang/mapper/FtDepartDaoMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/mapper/FtDepartDaoMapper.java new file mode 100644 index 000000000..bef46e9f4 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/mapper/FtDepartDaoMapper.java @@ -0,0 +1,14 @@ +package com.ruoyi.system.fantang.mapper; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.ruoyi.system.fantang.domain.FtDepartDao; + +/** + * 科室管理Mapper接口 + * + * @author ft + * @date 2020-11-19 + */ +public interface FtDepartDaoMapper extends BaseMapper { + +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/fantang/mapper/FtFoodDaoMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/mapper/FtFoodDaoMapper.java new file mode 100644 index 000000000..8a0db1cec --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/mapper/FtFoodDaoMapper.java @@ -0,0 +1,14 @@ +package com.ruoyi.system.fantang.mapper; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.ruoyi.system.fantang.domain.FtFoodDao; + +/** + * 食品管理Mapper接口 + * + * @author ft + * @date 2020-11-19 + */ +public interface FtFoodDaoMapper extends BaseMapper { + +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/fantang/mapper/FtOrderDaoMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/mapper/FtOrderDaoMapper.java new file mode 100644 index 000000000..d927dee87 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/mapper/FtOrderDaoMapper.java @@ -0,0 +1,14 @@ +package com.ruoyi.system.fantang.mapper; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.ruoyi.system.fantang.domain.FtOrderDao; + +/** + * 订单管理Mapper接口 + * + * @author ft + * @date 2020-11-19 + */ +public interface FtOrderDaoMapper extends BaseMapper { + +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/fantang/mapper/FtPatientDaoMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/mapper/FtPatientDaoMapper.java new file mode 100644 index 000000000..99a66d94a --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/mapper/FtPatientDaoMapper.java @@ -0,0 +1,14 @@ +package com.ruoyi.system.fantang.mapper; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.ruoyi.system.fantang.domain.FtPatientDao; + +/** + * 病人管理Mapper接口 + * + * @author ft + * @date 2020-11-19 + */ +public interface FtPatientDaoMapper extends BaseMapper { + +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/fantang/mapper/FtPrepaymentDaoMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/mapper/FtPrepaymentDaoMapper.java new file mode 100644 index 000000000..3b34423d9 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/mapper/FtPrepaymentDaoMapper.java @@ -0,0 +1,14 @@ +package com.ruoyi.system.fantang.mapper; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.ruoyi.system.fantang.domain.FtPrepaymentDao; + +/** + * 收费管理Mapper接口 + * + * @author ft + * @date 2020-11-19 + */ +public interface FtPrepaymentDaoMapper extends BaseMapper { + +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/fantang/mapper/FtReportMealsDaoMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/mapper/FtReportMealsDaoMapper.java new file mode 100644 index 000000000..e1e2f6c8e --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/mapper/FtReportMealsDaoMapper.java @@ -0,0 +1,14 @@ +package com.ruoyi.system.fantang.mapper; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.ruoyi.system.fantang.domain.FtReportMealsDao; + +/** + * 报餐管理Mapper接口 + * + * @author ft + * @date 2020-11-19 + */ +public interface FtReportMealsDaoMapper extends BaseMapper { + +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/fantang/mapper/FtSettleDaoMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/mapper/FtSettleDaoMapper.java new file mode 100644 index 000000000..515054470 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/mapper/FtSettleDaoMapper.java @@ -0,0 +1,14 @@ +package com.ruoyi.system.fantang.mapper; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.ruoyi.system.fantang.domain.FtSettleDao; + +/** + * 结算报Mapper接口 + * + * @author ft + * @date 2020-11-19 + */ +public interface FtSettleDaoMapper extends BaseMapper { + +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/fantang/mapper/FtSpecialDemandDaoMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/mapper/FtSpecialDemandDaoMapper.java new file mode 100644 index 000000000..a4e928efb --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/mapper/FtSpecialDemandDaoMapper.java @@ -0,0 +1,14 @@ +package com.ruoyi.system.fantang.mapper; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.ruoyi.system.fantang.domain.FtSpecialDemandDao; + +/** + * 特殊用餐管理Mapper接口 + * + * @author ft + * @date 2020-11-19 + */ +public interface FtSpecialDemandDaoMapper extends BaseMapper { + +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/fantang/mapper/FtStaffInfoDaoMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/mapper/FtStaffInfoDaoMapper.java new file mode 100644 index 000000000..b21637c2b --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/mapper/FtStaffInfoDaoMapper.java @@ -0,0 +1,14 @@ +package com.ruoyi.system.fantang.mapper; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.ruoyi.system.fantang.domain.FtStaffInfoDao; + +/** + * 员工管理Mapper接口 + * + * @author ft + * @date 2020-11-19 + */ +public interface FtStaffInfoDaoMapper extends BaseMapper { + +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/fantang/mapper/FtStaffSubsidyDaoMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/mapper/FtStaffSubsidyDaoMapper.java new file mode 100644 index 000000000..db264da79 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/mapper/FtStaffSubsidyDaoMapper.java @@ -0,0 +1,14 @@ +package com.ruoyi.system.fantang.mapper; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.ruoyi.system.fantang.domain.FtStaffSubsidyDao; + +/** + * 补贴流水查看Mapper接口 + * + * @author ft + * @date 2020-11-19 + */ +public interface FtStaffSubsidyDaoMapper extends BaseMapper { + +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/fantang/mapper/FtSubsidyDaoMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/mapper/FtSubsidyDaoMapper.java new file mode 100644 index 000000000..8bab977a9 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/mapper/FtSubsidyDaoMapper.java @@ -0,0 +1,14 @@ +package com.ruoyi.system.fantang.mapper; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.ruoyi.system.fantang.domain.FtSubsidyDao; + +/** + * 补贴管理Mapper接口 + * + * @author ft + * @date 2020-11-19 + */ +public interface FtSubsidyDaoMapper extends BaseMapper { + +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/IFtCareStaffInfoDaoService.java b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/IFtCareStaffInfoDaoService.java new file mode 100644 index 000000000..cc1451091 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/IFtCareStaffInfoDaoService.java @@ -0,0 +1,14 @@ +package com.ruoyi.system.fantang.service; + +import com.baomidou.mybatisplus.extension.service.IService; +import com.ruoyi.system.fantang.domain.FtCareStaffInfoDao; + +/** + * 护工信息Service接口 + * + * @author ft + * @date 2020-11-19 + */ +public interface IFtCareStaffInfoDaoService extends IService { + +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/IFtDepartDaoService.java b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/IFtDepartDaoService.java new file mode 100644 index 000000000..61cb1f01f --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/IFtDepartDaoService.java @@ -0,0 +1,14 @@ +package com.ruoyi.system.fantang.service; + +import com.baomidou.mybatisplus.extension.service.IService; +import com.ruoyi.system.fantang.domain.FtDepartDao; + +/** + * 科室管理Service接口 + * + * @author ft + * @date 2020-11-19 + */ +public interface IFtDepartDaoService extends IService { + +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/IFtFoodDaoService.java b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/IFtFoodDaoService.java new file mode 100644 index 000000000..5f4744511 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/IFtFoodDaoService.java @@ -0,0 +1,14 @@ +package com.ruoyi.system.fantang.service; + +import com.baomidou.mybatisplus.extension.service.IService; +import com.ruoyi.system.fantang.domain.FtFoodDao; + +/** + * 食品管理Service接口 + * + * @author ft + * @date 2020-11-19 + */ +public interface IFtFoodDaoService extends IService { + +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/IFtOrderDaoService.java b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/IFtOrderDaoService.java new file mode 100644 index 000000000..d11f742d4 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/IFtOrderDaoService.java @@ -0,0 +1,14 @@ +package com.ruoyi.system.fantang.service; + +import com.baomidou.mybatisplus.extension.service.IService; +import com.ruoyi.system.fantang.domain.FtOrderDao; + +/** + * 订单管理Service接口 + * + * @author ft + * @date 2020-11-19 + */ +public interface IFtOrderDaoService extends IService { + +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/IFtPatientDaoService.java b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/IFtPatientDaoService.java new file mode 100644 index 000000000..ca73e56b7 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/IFtPatientDaoService.java @@ -0,0 +1,14 @@ +package com.ruoyi.system.fantang.service; + +import com.baomidou.mybatisplus.extension.service.IService; +import com.ruoyi.system.fantang.domain.FtPatientDao; + +/** + * 病人管理Service接口 + * + * @author ft + * @date 2020-11-19 + */ +public interface IFtPatientDaoService extends IService { + +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/IFtPrepaymentDaoService.java b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/IFtPrepaymentDaoService.java new file mode 100644 index 000000000..c6c0db615 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/IFtPrepaymentDaoService.java @@ -0,0 +1,14 @@ +package com.ruoyi.system.fantang.service; + +import com.baomidou.mybatisplus.extension.service.IService; +import com.ruoyi.system.fantang.domain.FtPrepaymentDao; + +/** + * 收费管理Service接口 + * + * @author ft + * @date 2020-11-19 + */ +public interface IFtPrepaymentDaoService extends IService { + +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/IFtReportMealsDaoService.java b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/IFtReportMealsDaoService.java new file mode 100644 index 000000000..98b8963cd --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/IFtReportMealsDaoService.java @@ -0,0 +1,14 @@ +package com.ruoyi.system.fantang.service; + +import com.baomidou.mybatisplus.extension.service.IService; +import com.ruoyi.system.fantang.domain.FtReportMealsDao; + +/** + * 报餐管理Service接口 + * + * @author ft + * @date 2020-11-19 + */ +public interface IFtReportMealsDaoService extends IService { + +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/IFtSettleDaoService.java b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/IFtSettleDaoService.java new file mode 100644 index 000000000..703684fb3 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/IFtSettleDaoService.java @@ -0,0 +1,14 @@ +package com.ruoyi.system.fantang.service; + +import com.baomidou.mybatisplus.extension.service.IService; +import com.ruoyi.system.fantang.domain.FtSettleDao; + +/** + * 结算报Service接口 + * + * @author ft + * @date 2020-11-19 + */ +public interface IFtSettleDaoService extends IService { + +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/IFtSpecialDemandDaoService.java b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/IFtSpecialDemandDaoService.java new file mode 100644 index 000000000..83ea2a2c0 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/IFtSpecialDemandDaoService.java @@ -0,0 +1,14 @@ +package com.ruoyi.system.fantang.service; + +import com.baomidou.mybatisplus.extension.service.IService; +import com.ruoyi.system.fantang.domain.FtSpecialDemandDao; + +/** + * 特殊用餐管理Service接口 + * + * @author ft + * @date 2020-11-19 + */ +public interface IFtSpecialDemandDaoService extends IService { + +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/IFtStaffInfoDaoService.java b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/IFtStaffInfoDaoService.java new file mode 100644 index 000000000..c8a6174bd --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/IFtStaffInfoDaoService.java @@ -0,0 +1,14 @@ +package com.ruoyi.system.fantang.service; + +import com.baomidou.mybatisplus.extension.service.IService; +import com.ruoyi.system.fantang.domain.FtStaffInfoDao; + +/** + * 员工管理Service接口 + * + * @author ft + * @date 2020-11-19 + */ +public interface IFtStaffInfoDaoService extends IService { + +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/IFtStaffSubsidyDaoService.java b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/IFtStaffSubsidyDaoService.java new file mode 100644 index 000000000..390161370 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/IFtStaffSubsidyDaoService.java @@ -0,0 +1,14 @@ +package com.ruoyi.system.fantang.service; + +import com.baomidou.mybatisplus.extension.service.IService; +import com.ruoyi.system.fantang.domain.FtStaffSubsidyDao; + +/** + * 补贴流水查看Service接口 + * + * @author ft + * @date 2020-11-19 + */ +public interface IFtStaffSubsidyDaoService extends IService { + +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/IFtSubsidyDaoService.java b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/IFtSubsidyDaoService.java new file mode 100644 index 000000000..ec71ed53d --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/IFtSubsidyDaoService.java @@ -0,0 +1,14 @@ +package com.ruoyi.system.fantang.service; + +import com.baomidou.mybatisplus.extension.service.IService; +import com.ruoyi.system.fantang.domain.FtSubsidyDao; + +/** + * 补贴管理Service接口 + * + * @author ft + * @date 2020-11-19 + */ +public interface IFtSubsidyDaoService extends IService { + +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/impl/FtCareStaffInfoDaoServiceImpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/impl/FtCareStaffInfoDaoServiceImpl.java new file mode 100644 index 000000000..913c02dfb --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/impl/FtCareStaffInfoDaoServiceImpl.java @@ -0,0 +1,18 @@ +package com.ruoyi.system.fantang.service.impl; + +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.ruoyi.system.fantang.domain.FtCareStaffInfoDao; +import com.ruoyi.system.fantang.mapper.FtCareStaffInfoDaoMapper; +import com.ruoyi.system.fantang.service.IFtCareStaffInfoDaoService; +import org.springframework.stereotype.Service; + +/** + * 护工信息Service业务层处理 + * + * @author ft + * @date 2020-11-19 + */ +@Service +public class FtCareStaffInfoDaoServiceImpl extends ServiceImpl implements IFtCareStaffInfoDaoService { + +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/impl/FtDepartDaoServiceImpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/impl/FtDepartDaoServiceImpl.java new file mode 100644 index 000000000..feffbf565 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/impl/FtDepartDaoServiceImpl.java @@ -0,0 +1,18 @@ +package com.ruoyi.system.fantang.service.impl; + +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.ruoyi.system.fantang.domain.FtDepartDao; +import com.ruoyi.system.fantang.mapper.FtDepartDaoMapper; +import com.ruoyi.system.fantang.service.IFtDepartDaoService; +import org.springframework.stereotype.Service; + +/** + * 科室管理Service业务层处理 + * + * @author ft + * @date 2020-11-19 + */ +@Service +public class FtDepartDaoServiceImpl extends ServiceImpl implements IFtDepartDaoService { + +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/impl/FtFoodDaoServiceImpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/impl/FtFoodDaoServiceImpl.java new file mode 100644 index 000000000..5a72140d0 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/impl/FtFoodDaoServiceImpl.java @@ -0,0 +1,18 @@ +package com.ruoyi.system.fantang.service.impl; + +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.ruoyi.system.fantang.domain.FtFoodDao; +import com.ruoyi.system.fantang.mapper.FtFoodDaoMapper; +import com.ruoyi.system.fantang.service.IFtFoodDaoService; +import org.springframework.stereotype.Service; + +/** + * 食品管理Service业务层处理 + * + * @author ft + * @date 2020-11-19 + */ +@Service +public class FtFoodDaoServiceImpl extends ServiceImpl implements IFtFoodDaoService { + +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/impl/FtOrderDaoServiceImpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/impl/FtOrderDaoServiceImpl.java new file mode 100644 index 000000000..b1159e872 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/impl/FtOrderDaoServiceImpl.java @@ -0,0 +1,18 @@ +package com.ruoyi.system.fantang.service.impl; + +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.ruoyi.system.fantang.domain.FtOrderDao; +import com.ruoyi.system.fantang.mapper.FtOrderDaoMapper; +import com.ruoyi.system.fantang.service.IFtOrderDaoService; +import org.springframework.stereotype.Service; + +/** + * 订单管理Service业务层处理 + * + * @author ft + * @date 2020-11-19 + */ +@Service +public class FtOrderDaoServiceImpl extends ServiceImpl implements IFtOrderDaoService { + +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/impl/FtPatientDaoServiceImpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/impl/FtPatientDaoServiceImpl.java new file mode 100644 index 000000000..5dce07db5 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/impl/FtPatientDaoServiceImpl.java @@ -0,0 +1,18 @@ +package com.ruoyi.system.fantang.service.impl; + +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.ruoyi.system.fantang.domain.FtPatientDao; +import com.ruoyi.system.fantang.mapper.FtPatientDaoMapper; +import com.ruoyi.system.fantang.service.IFtPatientDaoService; +import org.springframework.stereotype.Service; + +/** + * 病人管理Service业务层处理 + * + * @author ft + * @date 2020-11-19 + */ +@Service +public class FtPatientDaoServiceImpl extends ServiceImpl implements IFtPatientDaoService { + +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/impl/FtPrepaymentDaoServiceImpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/impl/FtPrepaymentDaoServiceImpl.java new file mode 100644 index 000000000..c808f2cb1 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/impl/FtPrepaymentDaoServiceImpl.java @@ -0,0 +1,18 @@ +package com.ruoyi.system.fantang.service.impl; + +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.ruoyi.system.fantang.domain.FtPrepaymentDao; +import com.ruoyi.system.fantang.mapper.FtPrepaymentDaoMapper; +import com.ruoyi.system.fantang.service.IFtPrepaymentDaoService; +import org.springframework.stereotype.Service; + +/** + * 收费管理Service业务层处理 + * + * @author ft + * @date 2020-11-19 + */ +@Service +public class FtPrepaymentDaoServiceImpl extends ServiceImpl implements IFtPrepaymentDaoService { + +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/impl/FtReportMealsDaoServiceImpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/impl/FtReportMealsDaoServiceImpl.java new file mode 100644 index 000000000..7c9194b02 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/impl/FtReportMealsDaoServiceImpl.java @@ -0,0 +1,18 @@ +package com.ruoyi.system.fantang.service.impl; + +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.ruoyi.system.fantang.domain.FtReportMealsDao; +import com.ruoyi.system.fantang.mapper.FtReportMealsDaoMapper; +import com.ruoyi.system.fantang.service.IFtReportMealsDaoService; +import org.springframework.stereotype.Service; + +/** + * 报餐管理Service业务层处理 + * + * @author ft + * @date 2020-11-19 + */ +@Service +public class FtReportMealsDaoServiceImpl extends ServiceImpl implements IFtReportMealsDaoService { + +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/impl/FtSettleDaoServiceImpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/impl/FtSettleDaoServiceImpl.java new file mode 100644 index 000000000..892cbb6cf --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/impl/FtSettleDaoServiceImpl.java @@ -0,0 +1,18 @@ +package com.ruoyi.system.fantang.service.impl; + +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.ruoyi.system.fantang.domain.FtSettleDao; +import com.ruoyi.system.fantang.mapper.FtSettleDaoMapper; +import com.ruoyi.system.fantang.service.IFtSettleDaoService; +import org.springframework.stereotype.Service; + +/** + * 结算报Service业务层处理 + * + * @author ft + * @date 2020-11-19 + */ +@Service +public class FtSettleDaoServiceImpl extends ServiceImpl implements IFtSettleDaoService { + +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/impl/FtSpecialDemandDaoServiceImpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/impl/FtSpecialDemandDaoServiceImpl.java new file mode 100644 index 000000000..be172fa43 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/impl/FtSpecialDemandDaoServiceImpl.java @@ -0,0 +1,18 @@ +package com.ruoyi.system.fantang.service.impl; + +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.ruoyi.system.fantang.domain.FtSpecialDemandDao; +import com.ruoyi.system.fantang.mapper.FtSpecialDemandDaoMapper; +import com.ruoyi.system.fantang.service.IFtSpecialDemandDaoService; +import org.springframework.stereotype.Service; + +/** + * 特殊用餐管理Service业务层处理 + * + * @author ft + * @date 2020-11-19 + */ +@Service +public class FtSpecialDemandDaoServiceImpl extends ServiceImpl implements IFtSpecialDemandDaoService { + +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/impl/FtStaffInfoDaoServiceImpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/impl/FtStaffInfoDaoServiceImpl.java new file mode 100644 index 000000000..ed334de7d --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/impl/FtStaffInfoDaoServiceImpl.java @@ -0,0 +1,18 @@ +package com.ruoyi.system.fantang.service.impl; + +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.ruoyi.system.fantang.domain.FtStaffInfoDao; +import com.ruoyi.system.fantang.mapper.FtStaffInfoDaoMapper; +import com.ruoyi.system.fantang.service.IFtStaffInfoDaoService; +import org.springframework.stereotype.Service; + +/** + * 员工管理Service业务层处理 + * + * @author ft + * @date 2020-11-19 + */ +@Service +public class FtStaffInfoDaoServiceImpl extends ServiceImpl implements IFtStaffInfoDaoService { + +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/impl/FtStaffSubsidyDaoServiceImpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/impl/FtStaffSubsidyDaoServiceImpl.java new file mode 100644 index 000000000..6ee285164 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/impl/FtStaffSubsidyDaoServiceImpl.java @@ -0,0 +1,18 @@ +package com.ruoyi.system.fantang.service.impl; + +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.ruoyi.system.fantang.domain.FtStaffSubsidyDao; +import com.ruoyi.system.fantang.mapper.FtStaffSubsidyDaoMapper; +import com.ruoyi.system.fantang.service.IFtStaffSubsidyDaoService; +import org.springframework.stereotype.Service; + +/** + * 补贴流水查看Service业务层处理 + * + * @author ft + * @date 2020-11-19 + */ +@Service +public class FtStaffSubsidyDaoServiceImpl extends ServiceImpl implements IFtStaffSubsidyDaoService { + +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/impl/FtSubsidyDaoServiceImpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/impl/FtSubsidyDaoServiceImpl.java new file mode 100644 index 000000000..23ca475ec --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/service/impl/FtSubsidyDaoServiceImpl.java @@ -0,0 +1,18 @@ +package com.ruoyi.system.fantang.service.impl; + +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.ruoyi.system.fantang.domain.FtSubsidyDao; +import com.ruoyi.system.fantang.mapper.FtSubsidyDaoMapper; +import com.ruoyi.system.fantang.service.IFtSubsidyDaoService; +import org.springframework.stereotype.Service; + +/** + * 补贴管理Service业务层处理 + * + * @author ft + * @date 2020-11-19 + */ +@Service +public class FtSubsidyDaoServiceImpl extends ServiceImpl implements IFtSubsidyDaoService { + +} diff --git a/ruoyi-system/src/main/resources/mapper/fantang/FtCareStaffInfoDaoMapper.xml b/ruoyi-system/src/main/resources/mapper/fantang/FtCareStaffInfoDaoMapper.xml new file mode 100644 index 000000000..016b88833 --- /dev/null +++ b/ruoyi-system/src/main/resources/mapper/fantang/FtCareStaffInfoDaoMapper.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/ruoyi-system/src/main/resources/mapper/fantang/FtDepartDaoMapper.xml b/ruoyi-system/src/main/resources/mapper/fantang/FtDepartDaoMapper.xml new file mode 100644 index 000000000..f57edb63b --- /dev/null +++ b/ruoyi-system/src/main/resources/mapper/fantang/FtDepartDaoMapper.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/ruoyi-system/src/main/resources/mapper/fantang/FtFoodDaoMapper.xml b/ruoyi-system/src/main/resources/mapper/fantang/FtFoodDaoMapper.xml new file mode 100644 index 000000000..28da078e9 --- /dev/null +++ b/ruoyi-system/src/main/resources/mapper/fantang/FtFoodDaoMapper.xml @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/ruoyi-system/src/main/resources/mapper/fantang/FtOrderDaoMapper.xml b/ruoyi-system/src/main/resources/mapper/fantang/FtOrderDaoMapper.xml new file mode 100644 index 000000000..507c7fe6c --- /dev/null +++ b/ruoyi-system/src/main/resources/mapper/fantang/FtOrderDaoMapper.xml @@ -0,0 +1,29 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/ruoyi-system/src/main/resources/mapper/fantang/FtPatientDaoMapper.xml b/ruoyi-system/src/main/resources/mapper/fantang/FtPatientDaoMapper.xml new file mode 100644 index 000000000..1aefb760d --- /dev/null +++ b/ruoyi-system/src/main/resources/mapper/fantang/FtPatientDaoMapper.xml @@ -0,0 +1,15 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/ruoyi-system/src/main/resources/mapper/fantang/FtPrepaymentDaoMapper.xml b/ruoyi-system/src/main/resources/mapper/fantang/FtPrepaymentDaoMapper.xml new file mode 100644 index 000000000..0cf355b9d --- /dev/null +++ b/ruoyi-system/src/main/resources/mapper/fantang/FtPrepaymentDaoMapper.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/ruoyi-system/src/main/resources/mapper/fantang/FtReportMealsDaoMapper.xml b/ruoyi-system/src/main/resources/mapper/fantang/FtReportMealsDaoMapper.xml new file mode 100644 index 000000000..da35e4b98 --- /dev/null +++ b/ruoyi-system/src/main/resources/mapper/fantang/FtReportMealsDaoMapper.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/ruoyi-system/src/main/resources/mapper/fantang/FtSettleDaoMapper.xml b/ruoyi-system/src/main/resources/mapper/fantang/FtSettleDaoMapper.xml new file mode 100644 index 000000000..bd734805e --- /dev/null +++ b/ruoyi-system/src/main/resources/mapper/fantang/FtSettleDaoMapper.xml @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/ruoyi-system/src/main/resources/mapper/fantang/FtSpecialDemandDaoMapper.xml b/ruoyi-system/src/main/resources/mapper/fantang/FtSpecialDemandDaoMapper.xml new file mode 100644 index 000000000..74c6ed309 --- /dev/null +++ b/ruoyi-system/src/main/resources/mapper/fantang/FtSpecialDemandDaoMapper.xml @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/ruoyi-system/src/main/resources/mapper/fantang/FtStaffInfoDaoMapper.xml b/ruoyi-system/src/main/resources/mapper/fantang/FtStaffInfoDaoMapper.xml new file mode 100644 index 000000000..f32aabe54 --- /dev/null +++ b/ruoyi-system/src/main/resources/mapper/fantang/FtStaffInfoDaoMapper.xml @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/ruoyi-system/src/main/resources/mapper/fantang/FtStaffSubsidyDaoMapper.xml b/ruoyi-system/src/main/resources/mapper/fantang/FtStaffSubsidyDaoMapper.xml new file mode 100644 index 000000000..83adfc001 --- /dev/null +++ b/ruoyi-system/src/main/resources/mapper/fantang/FtStaffSubsidyDaoMapper.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/ruoyi-system/src/main/resources/mapper/fantang/FtSubsidyDaoMapper.xml b/ruoyi-system/src/main/resources/mapper/fantang/FtSubsidyDaoMapper.xml new file mode 100644 index 000000000..3e678be41 --- /dev/null +++ b/ruoyi-system/src/main/resources/mapper/fantang/FtSubsidyDaoMapper.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/ruoyi-ui/src/api/fantang/careStaffInfo.js b/ruoyi-ui/src/api/fantang/careStaffInfo.js new file mode 100644 index 000000000..3ecb88f08 --- /dev/null +++ b/ruoyi-ui/src/api/fantang/careStaffInfo.js @@ -0,0 +1,53 @@ +import request from '@/utils/request' + +// 查询护工信息列表 +export function listCareStaffInfo(query) { + return request({ + url: '/fantang/careStaffInfo/list', + method: 'get', + params: query + }) +} + +// 查询护工信息详细 +export function getCareStaffInfo(careStaffId) { + return request({ + url: '/fantang/careStaffInfo/' + careStaffId, + method: 'get' + }) +} + +// 新增护工信息 +export function addCareStaffInfo(data) { + return request({ + url: '/fantang/careStaffInfo', + method: 'post', + data: data + }) +} + +// 修改护工信息 +export function updateCareStaffInfo(data) { + return request({ + url: '/fantang/careStaffInfo', + method: 'put', + data: data + }) +} + +// 删除护工信息 +export function delCareStaffInfo(careStaffId) { + return request({ + url: '/fantang/careStaffInfo/' + careStaffId, + method: 'delete' + }) +} + +// 导出护工信息 +export function exportCareStaffInfo(query) { + return request({ + url: '/fantang/careStaffInfo/export', + method: 'get', + params: query + }) +} \ No newline at end of file diff --git a/ruoyi-ui/src/api/fantang/demand.js b/ruoyi-ui/src/api/fantang/demand.js new file mode 100644 index 000000000..2b08f7dcc --- /dev/null +++ b/ruoyi-ui/src/api/fantang/demand.js @@ -0,0 +1,53 @@ +import request from '@/utils/request' + +// 查询特殊用餐管理列表 +export function listDemand(query) { + return request({ + url: '/fantang/demand/list', + method: 'get', + params: query + }) +} + +// 查询特殊用餐管理详细 +export function getDemand(id) { + return request({ + url: '/fantang/demand/' + id, + method: 'get' + }) +} + +// 新增特殊用餐管理 +export function addDemand(data) { + return request({ + url: '/fantang/demand', + method: 'post', + data: data + }) +} + +// 修改特殊用餐管理 +export function updateDemand(data) { + return request({ + url: '/fantang/demand', + method: 'put', + data: data + }) +} + +// 删除特殊用餐管理 +export function delDemand(id) { + return request({ + url: '/fantang/demand/' + id, + method: 'delete' + }) +} + +// 导出特殊用餐管理 +export function exportDemand(query) { + return request({ + url: '/fantang/demand/export', + method: 'get', + params: query + }) +} \ No newline at end of file diff --git a/ruoyi-ui/src/api/fantang/depart.js b/ruoyi-ui/src/api/fantang/depart.js new file mode 100644 index 000000000..8fc196dd9 --- /dev/null +++ b/ruoyi-ui/src/api/fantang/depart.js @@ -0,0 +1,53 @@ +import request from '@/utils/request' + +// 查询科室管理列表 +export function listDepart(query) { + return request({ + url: '/fantang/depart/list', + method: 'get', + params: query + }) +} + +// 查询科室管理详细 +export function getDepart(departId) { + return request({ + url: '/fantang/depart/' + departId, + method: 'get' + }) +} + +// 新增科室管理 +export function addDepart(data) { + return request({ + url: '/fantang/depart', + method: 'post', + data: data + }) +} + +// 修改科室管理 +export function updateDepart(data) { + return request({ + url: '/fantang/depart', + method: 'put', + data: data + }) +} + +// 删除科室管理 +export function delDepart(departId) { + return request({ + url: '/fantang/depart/' + departId, + method: 'delete' + }) +} + +// 导出科室管理 +export function exportDepart(query) { + return request({ + url: '/fantang/depart/export', + method: 'get', + params: query + }) +} \ No newline at end of file diff --git a/ruoyi-ui/src/api/fantang/food.js b/ruoyi-ui/src/api/fantang/food.js new file mode 100644 index 000000000..50ea4b465 --- /dev/null +++ b/ruoyi-ui/src/api/fantang/food.js @@ -0,0 +1,53 @@ +import request from '@/utils/request' + +// 查询食品管理列表 +export function listFood(query) { + return request({ + url: '/fantang/food/list', + method: 'get', + params: query + }) +} + +// 查询食品管理详细 +export function getFood(foodId) { + return request({ + url: '/fantang/food/' + foodId, + method: 'get' + }) +} + +// 新增食品管理 +export function addFood(data) { + return request({ + url: '/fantang/food', + method: 'post', + data: data + }) +} + +// 修改食品管理 +export function updateFood(data) { + return request({ + url: '/fantang/food', + method: 'put', + data: data + }) +} + +// 删除食品管理 +export function delFood(foodId) { + return request({ + url: '/fantang/food/' + foodId, + method: 'delete' + }) +} + +// 导出食品管理 +export function exportFood(query) { + return request({ + url: '/fantang/food/export', + method: 'get', + params: query + }) +} \ No newline at end of file diff --git a/ruoyi-ui/src/api/fantang/meals.js b/ruoyi-ui/src/api/fantang/meals.js new file mode 100644 index 000000000..c30be269d --- /dev/null +++ b/ruoyi-ui/src/api/fantang/meals.js @@ -0,0 +1,53 @@ +import request from '@/utils/request' + +// 查询报餐管理列表 +export function listMeals(query) { + return request({ + url: '/fantang/meals/list', + method: 'get', + params: query + }) +} + +// 查询报餐管理详细 +export function getMeals(id) { + return request({ + url: '/fantang/meals/' + id, + method: 'get' + }) +} + +// 新增报餐管理 +export function addMeals(data) { + return request({ + url: '/fantang/meals', + method: 'post', + data: data + }) +} + +// 修改报餐管理 +export function updateMeals(data) { + return request({ + url: '/fantang/meals', + method: 'put', + data: data + }) +} + +// 删除报餐管理 +export function delMeals(id) { + return request({ + url: '/fantang/meals/' + id, + method: 'delete' + }) +} + +// 导出报餐管理 +export function exportMeals(query) { + return request({ + url: '/fantang/meals/export', + method: 'get', + params: query + }) +} \ No newline at end of file diff --git a/ruoyi-ui/src/api/fantang/order.js b/ruoyi-ui/src/api/fantang/order.js new file mode 100644 index 000000000..5c55ab503 --- /dev/null +++ b/ruoyi-ui/src/api/fantang/order.js @@ -0,0 +1,53 @@ +import request from '@/utils/request' + +// 查询订单管理列表 +export function listOrder(query) { + return request({ + url: '/fantang/order/list', + method: 'get', + params: query + }) +} + +// 查询订单管理详细 +export function getOrder(orderId) { + return request({ + url: '/fantang/order/' + orderId, + method: 'get' + }) +} + +// 新增订单管理 +export function addOrder(data) { + return request({ + url: '/fantang/order', + method: 'post', + data: data + }) +} + +// 修改订单管理 +export function updateOrder(data) { + return request({ + url: '/fantang/order', + method: 'put', + data: data + }) +} + +// 删除订单管理 +export function delOrder(orderId) { + return request({ + url: '/fantang/order/' + orderId, + method: 'delete' + }) +} + +// 导出订单管理 +export function exportOrder(query) { + return request({ + url: '/fantang/order/export', + method: 'get', + params: query + }) +} \ No newline at end of file diff --git a/ruoyi-ui/src/api/fantang/patient.js b/ruoyi-ui/src/api/fantang/patient.js new file mode 100644 index 000000000..2bef131f3 --- /dev/null +++ b/ruoyi-ui/src/api/fantang/patient.js @@ -0,0 +1,53 @@ +import request from '@/utils/request' + +// 查询病人管理列表 +export function listPatient(query) { + return request({ + url: '/fantang/patient/list', + method: 'get', + params: query + }) +} + +// 查询病人管理详细 +export function getPatient(patientId) { + return request({ + url: '/fantang/patient/' + patientId, + method: 'get' + }) +} + +// 新增病人管理 +export function addPatient(data) { + return request({ + url: '/fantang/patient', + method: 'post', + data: data + }) +} + +// 修改病人管理 +export function updatePatient(data) { + return request({ + url: '/fantang/patient', + method: 'put', + data: data + }) +} + +// 删除病人管理 +export function delPatient(patientId) { + return request({ + url: '/fantang/patient/' + patientId, + method: 'delete' + }) +} + +// 导出病人管理 +export function exportPatient(query) { + return request({ + url: '/fantang/patient/export', + method: 'get', + params: query + }) +} \ No newline at end of file diff --git a/ruoyi-ui/src/api/fantang/prepayment.js b/ruoyi-ui/src/api/fantang/prepayment.js new file mode 100644 index 000000000..083dd12b9 --- /dev/null +++ b/ruoyi-ui/src/api/fantang/prepayment.js @@ -0,0 +1,53 @@ +import request from '@/utils/request' + +// 查询收费管理列表 +export function listPrepayment(query) { + return request({ + url: '/fantang/prepayment/list', + method: 'get', + params: query + }) +} + +// 查询收费管理详细 +export function getPrepayment(prepaymentId) { + return request({ + url: '/fantang/prepayment/' + prepaymentId, + method: 'get' + }) +} + +// 新增收费管理 +export function addPrepayment(data) { + return request({ + url: '/fantang/prepayment', + method: 'post', + data: data + }) +} + +// 修改收费管理 +export function updatePrepayment(data) { + return request({ + url: '/fantang/prepayment', + method: 'put', + data: data + }) +} + +// 删除收费管理 +export function delPrepayment(prepaymentId) { + return request({ + url: '/fantang/prepayment/' + prepaymentId, + method: 'delete' + }) +} + +// 导出收费管理 +export function exportPrepayment(query) { + return request({ + url: '/fantang/prepayment/export', + method: 'get', + params: query + }) +} \ No newline at end of file diff --git a/ruoyi-ui/src/api/fantang/settle.js b/ruoyi-ui/src/api/fantang/settle.js new file mode 100644 index 000000000..2396a837e --- /dev/null +++ b/ruoyi-ui/src/api/fantang/settle.js @@ -0,0 +1,53 @@ +import request from '@/utils/request' + +// 查询结算报列表 +export function listSettle(query) { + return request({ + url: '/fantang/settle/list', + method: 'get', + params: query + }) +} + +// 查询结算报详细 +export function getSettle(settleId) { + return request({ + url: '/fantang/settle/' + settleId, + method: 'get' + }) +} + +// 新增结算报 +export function addSettle(data) { + return request({ + url: '/fantang/settle', + method: 'post', + data: data + }) +} + +// 修改结算报 +export function updateSettle(data) { + return request({ + url: '/fantang/settle', + method: 'put', + data: data + }) +} + +// 删除结算报 +export function delSettle(settleId) { + return request({ + url: '/fantang/settle/' + settleId, + method: 'delete' + }) +} + +// 导出结算报 +export function exportSettle(query) { + return request({ + url: '/fantang/settle/export', + method: 'get', + params: query + }) +} \ No newline at end of file diff --git a/ruoyi-ui/src/api/fantang/staffInfo.js b/ruoyi-ui/src/api/fantang/staffInfo.js new file mode 100644 index 000000000..1c4440ee6 --- /dev/null +++ b/ruoyi-ui/src/api/fantang/staffInfo.js @@ -0,0 +1,53 @@ +import request from '@/utils/request' + +// 查询员工管理列表 +export function listStaffInfo(query) { + return request({ + url: '/fantang/staffInfo/list', + method: 'get', + params: query + }) +} + +// 查询员工管理详细 +export function getStaffInfo(staffId) { + return request({ + url: '/fantang/staffInfo/' + staffId, + method: 'get' + }) +} + +// 新增员工管理 +export function addStaffInfo(data) { + return request({ + url: '/fantang/staffInfo', + method: 'post', + data: data + }) +} + +// 修改员工管理 +export function updateStaffInfo(data) { + return request({ + url: '/fantang/staffInfo', + method: 'put', + data: data + }) +} + +// 删除员工管理 +export function delStaffInfo(staffId) { + return request({ + url: '/fantang/staffInfo/' + staffId, + method: 'delete' + }) +} + +// 导出员工管理 +export function exportStaffInfo(query) { + return request({ + url: '/fantang/staffInfo/export', + method: 'get', + params: query + }) +} \ No newline at end of file diff --git a/ruoyi-ui/src/api/fantang/staffSubsidy.js b/ruoyi-ui/src/api/fantang/staffSubsidy.js new file mode 100644 index 000000000..e93c130fa --- /dev/null +++ b/ruoyi-ui/src/api/fantang/staffSubsidy.js @@ -0,0 +1,53 @@ +import request from '@/utils/request' + +// 查询补贴流水查看列表 +export function listStaffSubsidy(query) { + return request({ + url: '/fantang/staffSubsidy/list', + method: 'get', + params: query + }) +} + +// 查询补贴流水查看详细 +export function getStaffSubsidy(subsidyId) { + return request({ + url: '/fantang/staffSubsidy/' + subsidyId, + method: 'get' + }) +} + +// 新增补贴流水查看 +export function addStaffSubsidy(data) { + return request({ + url: '/fantang/staffSubsidy', + method: 'post', + data: data + }) +} + +// 修改补贴流水查看 +export function updateStaffSubsidy(data) { + return request({ + url: '/fantang/staffSubsidy', + method: 'put', + data: data + }) +} + +// 删除补贴流水查看 +export function delStaffSubsidy(subsidyId) { + return request({ + url: '/fantang/staffSubsidy/' + subsidyId, + method: 'delete' + }) +} + +// 导出补贴流水查看 +export function exportStaffSubsidy(query) { + return request({ + url: '/fantang/staffSubsidy/export', + method: 'get', + params: query + }) +} \ No newline at end of file diff --git a/ruoyi-ui/src/api/fantang/subsidy.js b/ruoyi-ui/src/api/fantang/subsidy.js new file mode 100644 index 000000000..b2a8abfbc --- /dev/null +++ b/ruoyi-ui/src/api/fantang/subsidy.js @@ -0,0 +1,53 @@ +import request from '@/utils/request' + +// 查询补贴管理列表 +export function listSubsidy(query) { + return request({ + url: '/fantang/subsidy/list', + method: 'get', + params: query + }) +} + +// 查询补贴管理详细 +export function getSubsidy(subsidyId) { + return request({ + url: '/fantang/subsidy/' + subsidyId, + method: 'get' + }) +} + +// 新增补贴管理 +export function addSubsidy(data) { + return request({ + url: '/fantang/subsidy', + method: 'post', + data: data + }) +} + +// 修改补贴管理 +export function updateSubsidy(data) { + return request({ + url: '/fantang/subsidy', + method: 'put', + data: data + }) +} + +// 删除补贴管理 +export function delSubsidy(subsidyId) { + return request({ + url: '/fantang/subsidy/' + subsidyId, + method: 'delete' + }) +} + +// 导出补贴管理 +export function exportSubsidy(query) { + return request({ + url: '/fantang/subsidy/export', + method: 'get', + params: query + }) +} \ No newline at end of file diff --git a/ruoyi-ui/src/views/fantang/careStaffInfo/index.vue b/ruoyi-ui/src/views/fantang/careStaffInfo/index.vue new file mode 100644 index 000000000..868a31a68 --- /dev/null +++ b/ruoyi-ui/src/views/fantang/careStaffInfo/index.vue @@ -0,0 +1,305 @@ + + + diff --git a/ruoyi-ui/src/views/fantang/demand/index.vue b/ruoyi-ui/src/views/fantang/demand/index.vue new file mode 100644 index 000000000..9c1ed58a7 --- /dev/null +++ b/ruoyi-ui/src/views/fantang/demand/index.vue @@ -0,0 +1,319 @@ + + + diff --git a/ruoyi-ui/src/views/fantang/depart/index.vue b/ruoyi-ui/src/views/fantang/depart/index.vue new file mode 100644 index 000000000..d502f8a3a --- /dev/null +++ b/ruoyi-ui/src/views/fantang/depart/index.vue @@ -0,0 +1,258 @@ + + + diff --git a/ruoyi-ui/src/views/fantang/food/index.vue b/ruoyi-ui/src/views/fantang/food/index.vue new file mode 100644 index 000000000..177884e04 --- /dev/null +++ b/ruoyi-ui/src/views/fantang/food/index.vue @@ -0,0 +1,298 @@ + + + diff --git a/ruoyi-ui/src/views/fantang/meals/index.vue b/ruoyi-ui/src/views/fantang/meals/index.vue new file mode 100644 index 000000000..e07fa5d67 --- /dev/null +++ b/ruoyi-ui/src/views/fantang/meals/index.vue @@ -0,0 +1,325 @@ + + + diff --git a/ruoyi-ui/src/views/fantang/order/index.vue b/ruoyi-ui/src/views/fantang/order/index.vue new file mode 100644 index 000000000..08cb346ed --- /dev/null +++ b/ruoyi-ui/src/views/fantang/order/index.vue @@ -0,0 +1,413 @@ + + + diff --git a/ruoyi-ui/src/views/fantang/patient/index.vue b/ruoyi-ui/src/views/fantang/patient/index.vue new file mode 100644 index 000000000..591aa6d33 --- /dev/null +++ b/ruoyi-ui/src/views/fantang/patient/index.vue @@ -0,0 +1,277 @@ + + + diff --git a/ruoyi-ui/src/views/fantang/prepayment/index.vue b/ruoyi-ui/src/views/fantang/prepayment/index.vue new file mode 100644 index 000000000..a40b515fb --- /dev/null +++ b/ruoyi-ui/src/views/fantang/prepayment/index.vue @@ -0,0 +1,286 @@ + + + diff --git a/ruoyi-ui/src/views/fantang/settle/index.vue b/ruoyi-ui/src/views/fantang/settle/index.vue new file mode 100644 index 000000000..c6a45a466 --- /dev/null +++ b/ruoyi-ui/src/views/fantang/settle/index.vue @@ -0,0 +1,354 @@ + + + diff --git a/ruoyi-ui/src/views/fantang/staffInfo/index.vue b/ruoyi-ui/src/views/fantang/staffInfo/index.vue new file mode 100644 index 000000000..4f54f0b3f --- /dev/null +++ b/ruoyi-ui/src/views/fantang/staffInfo/index.vue @@ -0,0 +1,313 @@ + + + diff --git a/ruoyi-ui/src/views/fantang/staffSubsidy/index.vue b/ruoyi-ui/src/views/fantang/staffSubsidy/index.vue new file mode 100644 index 000000000..9a32babb0 --- /dev/null +++ b/ruoyi-ui/src/views/fantang/staffSubsidy/index.vue @@ -0,0 +1,307 @@ + + + diff --git a/ruoyi-ui/src/views/fantang/subsidy/index.vue b/ruoyi-ui/src/views/fantang/subsidy/index.vue new file mode 100644 index 000000000..e154da3ec --- /dev/null +++ b/ruoyi-ui/src/views/fantang/subsidy/index.vue @@ -0,0 +1,338 @@ + + + -- Gitee From 78f06ed7e252daacb610762bf864e23710f0afc1 Mon Sep 17 00:00:00 2001 From: ryoeiken <754264374@qq.com> Date: Thu, 19 Nov 2020 15:52:46 +0800 Subject: [PATCH 003/296] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=89=8D=E7=AB=AF?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../controller/FtPrepaymentDaoController.java | 6 + .../fantang/domain/FtPrepaymentDao.java | 14 ++ .../mapper/fantang/FtPrepaymentDaoMapper.xml | 2 + .../src/views/fantang/careStaffInfo/index.vue | 98 ++++++------ ruoyi-ui/src/views/fantang/demand/index.vue | 99 ++++++------ ruoyi-ui/src/views/fantang/depart/index.vue | 71 +++++---- ruoyi-ui/src/views/fantang/food/index.vue | 89 ++++++----- ruoyi-ui/src/views/fantang/meals/index.vue | 107 ++++++------- ruoyi-ui/src/views/fantang/order/index.vue | 137 +++++++++-------- ruoyi-ui/src/views/fantang/patient/index.vue | 77 +++++----- .../src/views/fantang/prepayment/index.vue | 144 +++++++++++++----- ruoyi-ui/src/views/fantang/settle/index.vue | 111 +++++++------- .../src/views/fantang/staffInfo/index.vue | 100 ++++++------ .../src/views/fantang/staffSubsidy/index.vue | 102 +++++++------ ruoyi-ui/src/views/fantang/subsidy/index.vue | 120 +++++++++------ 15 files changed, 728 insertions(+), 549 deletions(-) diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/fantang/controller/FtPrepaymentDaoController.java b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/controller/FtPrepaymentDaoController.java index 3dd48ba8c..088a55266 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/fantang/controller/FtPrepaymentDaoController.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/controller/FtPrepaymentDaoController.java @@ -48,6 +48,12 @@ public class FtPrepaymentDaoController extends BaseController { if (ftPrepaymentDao.getSettlementFlag() != null) { lqw.eq(FtPrepaymentDao::getSettlementFlag, ftPrepaymentDao.getSettlementFlag()); } + if (ftPrepaymentDao.getPrepaid() != null) { + lqw.eq(FtPrepaymentDao::getPrepaid, ftPrepaymentDao.getPrepaid()); + } + if (ftPrepaymentDao.getPrepaidAt() != null) { + lqw.eq(FtPrepaymentDao::getPrepaidAt, ftPrepaymentDao.getPrepaidAt()); + } List list = iFtPrepaymentDaoService.list(lqw); return getDataTable(list); } diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/fantang/domain/FtPrepaymentDao.java b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/domain/FtPrepaymentDao.java index 7be72c8de..095e88864 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/fantang/domain/FtPrepaymentDao.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/fantang/domain/FtPrepaymentDao.java @@ -11,6 +11,7 @@ import lombok.ToString; import lombok.experimental.Accessors; import java.io.Serializable; +import java.math.BigDecimal; import java.util.Date; /** @@ -75,4 +76,17 @@ public class FtPrepaymentDao implements Serializable { */ @Excel(name = "结算标志") private Long settlementFlag; + + /** + * 预付费金额 + */ + @Excel(name = "预付费金额") + private BigDecimal prepaid; + + /** + * 预付费时间 + */ + @Excel(name = "预付费时间", width = 30, dateFormat = "yyyy-MM-dd") + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") + private Date prepaidAt; } diff --git a/ruoyi-system/src/main/resources/mapper/fantang/FtPrepaymentDaoMapper.xml b/ruoyi-system/src/main/resources/mapper/fantang/FtPrepaymentDaoMapper.xml index 0cf355b9d..919bf8e48 100644 --- a/ruoyi-system/src/main/resources/mapper/fantang/FtPrepaymentDaoMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/fantang/FtPrepaymentDaoMapper.xml @@ -13,6 +13,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" + + diff --git a/ruoyi-ui/src/views/fantang/careStaffInfo/index.vue b/ruoyi-ui/src/views/fantang/careStaffInfo/index.vue index 868a31a68..27b8fab77 100644 --- a/ruoyi-ui/src/views/fantang/careStaffInfo/index.vue +++ b/ruoyi-ui/src/views/fantang/careStaffInfo/index.vue @@ -42,7 +42,8 @@ size="mini" @click="handleAdd" v-hasPermi="['fantang:careStaffInfo:add']" - >新增 + >新增 + 修改 + >修改 + 删除 + >删除 + 导出 + >导出 + - + - + - - - - - + + + + + - + - + - + - + - + - +