├── .DS_Store
├── .gitattributes
├── README.md
├── lib
├── javax.ejb.jar
├── javax.jms.jar
├── javax.persistence.jar
├── javax.resource.jar
├── javax.servlet.jsp.jar
├── javax.servlet.jsp.jstl.jar
└── javax.transaction.jar
├── pom.xml
└── src
├── main
├── java
│ └── com
│ │ └── aaa
│ │ ├── HospitalApplication.java
│ │ ├── ServletInitializer.java
│ │ ├── config
│ │ ├── ShiroConfig.java
│ │ ├── UserCredentialsMatcher.java
│ │ └── UserRealm.java
│ │ ├── controller
│ │ ├── AreaController.java
│ │ ├── BaseController.java
│ │ ├── BasetimeController.java
│ │ ├── CCashierController.java
│ │ ├── COutController.java
│ │ ├── CTakeConter.java
│ │ ├── CXiangmuPayController.java
│ │ ├── CheckupController.java
│ │ ├── CreportController.java
│ │ ├── DepartmentController.java
│ │ ├── DoctorController.java
│ │ ├── FinanceController.java
│ │ ├── LadminController.java
│ │ ├── LdrugController.java
│ │ ├── LitemController.java
│ │ ├── LleaveController.java
│ │ ├── LpayController.java
│ │ ├── MainController.java
│ │ ├── MenuController.java
│ │ ├── OutinstoreController.java
│ │ ├── PaibanController.java
│ │ ├── PathstoreController.java
│ │ ├── PharmacyController.java
│ │ ├── PrjectTypeController.java
│ │ ├── RecordController.java
│ │ ├── RegisteredTypeController.java
│ │ ├── RoleController.java
│ │ ├── SdrugdictionaryController.java
│ │ ├── SkullController.java
│ │ ├── StoreController.java
│ │ ├── SysController.java
│ │ ├── TypeController.java
│ │ ├── UnitController.java
│ │ ├── UpplierController.java
│ │ ├── UserController.java
│ │ └── WarehuoseController.java
│ │ ├── entity
│ │ ├── Area.java
│ │ ├── Ban.java
│ │ ├── Baoque.java
│ │ ├── Bed.java
│ │ ├── CCashier.java
│ │ ├── CDepartments.java
│ │ ├── CDoctor.java
│ │ ├── CPharmacy.java
│ │ ├── CRegisteredtype.java
│ │ ├── CReport.java
│ │ ├── CWarehuose.java
│ │ ├── Caigou.java
│ │ ├── Coutpatienttype.java
│ │ ├── DataGridView.java
│ │ ├── Departments.java
│ │ ├── Doctor.java
│ │ ├── Drugdictionary.java
│ │ ├── Drugstore.java
│ │ ├── Finance.java
│ │ ├── Huishou.java
│ │ ├── Inoutpatienttype.java
│ │ ├── Lcheckup.java
│ │ ├── Litem.java
│ │ ├── Lpharmacy.java
│ │ ├── Lrecord.java
│ │ ├── Menu.java
│ │ ├── Moneytype.java
│ │ ├── Outpatienttype.java
│ │ ├── Paiban.java
│ │ ├── Pay.java
│ │ ├── Projecttype.java
│ │ ├── Record.java
│ │ ├── Register.java
│ │ ├── Registeredtype.java
│ │ ├── ReportVo.java
│ │ ├── Role.java
│ │ ├── RoleMenu.java
│ │ ├── SdoctorDuibi.java
│ │ ├── Sdrugdictionary.java
│ │ ├── Skull.java
│ │ ├── SreportYear.java
│ │ ├── TreeNode.java
│ │ ├── Type.java
│ │ ├── Unit.java
│ │ ├── Upplier.java
│ │ ├── User.java
│ │ ├── UserRole.java
│ │ ├── Warehuose.java
│ │ ├── Ypharmacy.java
│ │ └── currentFinance.java
│ │ ├── mapper
│ │ ├── AreaMapper.java
│ │ ├── CCashierMapper.java
│ │ ├── COutMapper.java
│ │ ├── CTakeMapper.java
│ │ ├── CXiangmuPayMapper.java
│ │ ├── CheckupMapper.java
│ │ ├── CreportMapper.java
│ │ ├── DepartmentMapper.java
│ │ ├── DoctorMapper.java
│ │ ├── FinanceMapper.java
│ │ ├── LadminMapper.java
│ │ ├── LdrugMapper.java
│ │ ├── LitemMapper.java
│ │ ├── LleaveMapper.java
│ │ ├── LpayMapper.java
│ │ ├── MainMapper.java
│ │ ├── MenuMapper.java
│ │ ├── OutinstoreMapper.java
│ │ ├── PaibanMapper.java
│ │ ├── PharmacyMapper.java
│ │ ├── PrjectTypeMapper.java
│ │ ├── PutinMapper.java
│ │ ├── RecordMapper.java
│ │ ├── RegisteredTypeMapper.java
│ │ ├── RoleMapper.java
│ │ ├── SdrugdictionaryMapper.java
│ │ ├── SkullMapper.java
│ │ ├── StoreMapper.java
│ │ ├── TypeMapper.java
│ │ ├── UnitMapper.java
│ │ ├── UpplierMapper.java
│ │ ├── UserMapper.java
│ │ └── WarehuoseMapper.java
│ │ └── service
│ │ ├── AreaService.java
│ │ ├── CCashierService.java
│ │ ├── COutService.java
│ │ ├── CTakeService.java
│ │ ├── CXiangmuPayService.java
│ │ ├── CheckupService.java
│ │ ├── CreportService.java
│ │ ├── DepartmentService.java
│ │ ├── DoctorService.java
│ │ ├── FinanceService.java
│ │ ├── Impl
│ │ ├── AreaServiceImpl.java
│ │ ├── CCashierServiceImpl.java
│ │ ├── COutServiceImpl.java
│ │ ├── CTakeServiceImpl.java
│ │ ├── CXiangmuPayServiceImpl.java
│ │ ├── CheckupServiceImpl.java
│ │ ├── CreportServiceImpl.java
│ │ ├── DepartmentServiceImpl.java
│ │ ├── DoctorServiceImpl.java
│ │ ├── FinanceServiceImpl.java
│ │ ├── LadminServiceImpl.java
│ │ ├── LdrugServiceImpl.java
│ │ ├── LitemServiceImpl.java
│ │ ├── LleaveServiceImpl.java
│ │ ├── LpayServiceImpl.java
│ │ ├── MainServiceImpl.java
│ │ ├── MenuServiceImpl.java
│ │ ├── OutinstoreServiceImpl.java
│ │ ├── PaibanServiceImpl.java
│ │ ├── PharmacyServiceImpl.java
│ │ ├── PrjectTypeServiceImpl.java
│ │ ├── PutinServiceImpl.java
│ │ ├── RecordServiceImpl.java
│ │ ├── RegisteredTypeServiceImpl.java
│ │ ├── RoleServiceImpl.java
│ │ ├── SdrugdictionaryServiceImpl.java
│ │ ├── SkullServiceImpl.java
│ │ ├── StoreServiceImpl.java
│ │ ├── TypeServiceImpl.java
│ │ ├── UnitServiceImpl.java
│ │ ├── UpplierServiceImpl.java
│ │ ├── UserServiceImpl.java
│ │ └── WarehuoseServiceImpl.java
│ │ ├── LadminService.java
│ │ ├── LdrugService.java
│ │ ├── LitemService.java
│ │ ├── LleaveService.java
│ │ ├── LpayService.java
│ │ ├── MainService.java
│ │ ├── MenuService.java
│ │ ├── OutinstoreService.java
│ │ ├── PaibanService.java
│ │ ├── PharmacyService.java
│ │ ├── PrjectTypeService.java
│ │ ├── PutinService.java
│ │ ├── RecordService.java
│ │ ├── RegisteredTypeService.java
│ │ ├── RoleService.java
│ │ ├── SdrugdictionaryService.java
│ │ ├── SkullService.java
│ │ ├── StoreService.java
│ │ ├── TypeService.java
│ │ ├── UnitService.java
│ │ ├── UpplierService.java
│ │ ├── UserService.java
│ │ └── WarehuoseService.java
└── resources
│ ├── application.properties
│ ├── mapper
│ ├── AreaMapper.xml
│ ├── CCashierMapper.xml
│ ├── COutMapper.xml
│ ├── CTakeMapper.xml
│ ├── CXiangmuMapper.xml
│ ├── CheckupMapper.xml
│ ├── CreportMapper.xml
│ ├── DepartmentMapper.xml
│ ├── DoctorMapper.xml
│ ├── FinanceMapper.xml
│ ├── LadminMapper.xml
│ ├── LdrugMapper.xml
│ ├── LitemMapper.xml
│ ├── LleaveMapper.xml
│ ├── LpayMapper.xml
│ ├── MainMapper.xml
│ ├── MenuMapper.xml
│ ├── OutinstoreMapper.xml
│ ├── PaibanMapper.xml
│ ├── PharmacyMapper.xml
│ ├── ProjectTypeMapper.xml
│ ├── PutinMapper.xml
│ ├── RecordMapper.xml
│ ├── RoleMapper.xml
│ ├── SdrugdictionaryMapper.xml
│ ├── SkullMapper.xml
│ ├── StoreMapper.xml
│ ├── TypeMapper.xml
│ ├── UnitMapper.xml
│ ├── UpplierMapper.xml
│ ├── UserMapper.xml
│ ├── WarehouseMapper.xml
│ └── registerTypeMapper.xml
│ ├── static
│ ├── css
│ │ ├── bootstrap.min.css
│ │ ├── c_beputinstorage.css
│ │ ├── c_store.css
│ │ ├── favicon.ico
│ │ ├── icon.css
│ │ ├── icon1.css
│ │ ├── index.css
│ │ └── public.css
│ ├── images
│ │ ├── back.jpg
│ │ ├── bg.jpg
│ │ ├── login_bg.jpg
│ │ ├── one.jpg
│ │ ├── timg.jpg
│ │ └── two.jpg
│ ├── js
│ │ ├── bodyTab.js
│ │ ├── echarts.min.js
│ │ ├── index.js
│ │ ├── jquery-3.1.1.js
│ │ ├── jquery-3.1.1.min.js
│ │ └── jquery.min.js
│ ├── layui
│ │ ├── css
│ │ │ ├── global.css
│ │ │ ├── layui.css
│ │ │ ├── layui.mobile.css
│ │ │ └── modules
│ │ │ │ ├── code.css
│ │ │ │ ├── laydate
│ │ │ │ └── default
│ │ │ │ │ └── laydate.css
│ │ │ │ └── layer
│ │ │ │ └── default
│ │ │ │ ├── icon-ext.png
│ │ │ │ ├── icon.png
│ │ │ │ ├── layer.css
│ │ │ │ ├── loading-0.gif
│ │ │ │ ├── loading-1.gif
│ │ │ │ └── loading-2.gif
│ │ ├── font
│ │ │ ├── iconfont.eot
│ │ │ ├── iconfont.svg
│ │ │ ├── iconfont.ttf
│ │ │ ├── iconfont.woff
│ │ │ └── iconfont.woff2
│ │ ├── images
│ │ │ └── face
│ │ │ │ ├── 0.gif
│ │ │ │ ├── 1.gif
│ │ │ │ ├── 10.gif
│ │ │ │ ├── 11.gif
│ │ │ │ ├── 12.gif
│ │ │ │ ├── 13.gif
│ │ │ │ ├── 14.gif
│ │ │ │ ├── 15.gif
│ │ │ │ ├── 16.gif
│ │ │ │ ├── 17.gif
│ │ │ │ ├── 18.gif
│ │ │ │ ├── 19.gif
│ │ │ │ ├── 2.gif
│ │ │ │ ├── 20.gif
│ │ │ │ ├── 21.gif
│ │ │ │ ├── 22.gif
│ │ │ │ ├── 23.gif
│ │ │ │ ├── 24.gif
│ │ │ │ ├── 25.gif
│ │ │ │ ├── 26.gif
│ │ │ │ ├── 27.gif
│ │ │ │ ├── 28.gif
│ │ │ │ ├── 29.gif
│ │ │ │ ├── 3.gif
│ │ │ │ ├── 30.gif
│ │ │ │ ├── 31.gif
│ │ │ │ ├── 32.gif
│ │ │ │ ├── 33.gif
│ │ │ │ ├── 34.gif
│ │ │ │ ├── 35.gif
│ │ │ │ ├── 36.gif
│ │ │ │ ├── 37.gif
│ │ │ │ ├── 38.gif
│ │ │ │ ├── 39.gif
│ │ │ │ ├── 4.gif
│ │ │ │ ├── 40.gif
│ │ │ │ ├── 41.gif
│ │ │ │ ├── 42.gif
│ │ │ │ ├── 43.gif
│ │ │ │ ├── 44.gif
│ │ │ │ ├── 45.gif
│ │ │ │ ├── 46.gif
│ │ │ │ ├── 47.gif
│ │ │ │ ├── 48.gif
│ │ │ │ ├── 49.gif
│ │ │ │ ├── 5.gif
│ │ │ │ ├── 50.gif
│ │ │ │ ├── 51.gif
│ │ │ │ ├── 52.gif
│ │ │ │ ├── 53.gif
│ │ │ │ ├── 54.gif
│ │ │ │ ├── 55.gif
│ │ │ │ ├── 56.gif
│ │ │ │ ├── 57.gif
│ │ │ │ ├── 58.gif
│ │ │ │ ├── 59.gif
│ │ │ │ ├── 6.gif
│ │ │ │ ├── 60.gif
│ │ │ │ ├── 61.gif
│ │ │ │ ├── 62.gif
│ │ │ │ ├── 63.gif
│ │ │ │ ├── 64.gif
│ │ │ │ ├── 65.gif
│ │ │ │ ├── 66.gif
│ │ │ │ ├── 67.gif
│ │ │ │ ├── 68.gif
│ │ │ │ ├── 69.gif
│ │ │ │ ├── 7.gif
│ │ │ │ ├── 70.gif
│ │ │ │ ├── 71.gif
│ │ │ │ ├── 8.gif
│ │ │ │ └── 9.gif
│ │ ├── lay
│ │ │ └── modules
│ │ │ │ ├── carousel.js
│ │ │ │ ├── code.js
│ │ │ │ ├── colorpicker.js
│ │ │ │ ├── element.js
│ │ │ │ ├── flow.js
│ │ │ │ ├── form.js
│ │ │ │ ├── jquery.js
│ │ │ │ ├── laydate.js
│ │ │ │ ├── layedit.js
│ │ │ │ ├── layer.js
│ │ │ │ ├── laypage.js
│ │ │ │ ├── laytpl.js
│ │ │ │ ├── mobile.js
│ │ │ │ ├── rate.js
│ │ │ │ ├── slider.js
│ │ │ │ ├── table.js
│ │ │ │ ├── transfer.js
│ │ │ │ ├── tree.js
│ │ │ │ ├── upload.js
│ │ │ │ └── util.js
│ │ ├── layui.all.js
│ │ └── layui.js
│ └── layui_ext
│ │ ├── dist
│ │ └── dtree.js
│ │ ├── dtree
│ │ ├── dtree.css
│ │ ├── dtree.js
│ │ └── font
│ │ │ ├── dtreefont.css
│ │ │ ├── dtreefont.eot
│ │ │ ├── dtreefont.svg
│ │ │ ├── dtreefont.ttf
│ │ │ ├── dtreefont.woff
│ │ │ └── icons.json
│ │ └── json
│ │ └── case
│ │ ├── asyncTree1.json
│ │ ├── asyncTree2.json
│ │ ├── asyncTree3.json
│ │ ├── asyncTree4.json
│ │ ├── asyncTreeCheckBox.json
│ │ └── asyncTreeCheckBox2.json
│ └── templates
│ ├── cao
│ ├── Cquyao.html
│ ├── Ctoll.html
│ ├── Cxiangmu.html
│ ├── cashier.html
│ ├── chuanzhe.html
│ ├── index.html
│ ├── jiancha.html
│ ├── report.html
│ └── xaingmupay.html
│ ├── drugstore
│ ├── c_beputinstorage.html
│ ├── c_gooutstore.html
│ ├── c_lackdrug.html
│ ├── c_pharmacy.html
│ ├── c_record.html
│ ├── c_recycle.html
│ ├── c_selectDrug.html
│ ├── c_store.html
│ └── c_storedrugDate.html
│ ├── index.html
│ ├── liao
│ ├── admin.html
│ ├── checkup.html
│ ├── drug.html
│ ├── item.html
│ ├── leave.html
│ ├── pay.html
│ └── pharmacy.html
│ └── view
│ ├── center
│ ├── area.html
│ ├── departments.html
│ ├── doctor.html
│ ├── drugdictionary.html
│ ├── icon.html
│ ├── paiban.html
│ ├── projectTypeManage.html
│ ├── registeredType.html
│ ├── skull.html
│ ├── supply.html
│ ├── type.html
│ ├── unit.html
│ └── warehuose.html
│ ├── finance
│ ├── current.html
│ ├── doctorDuibi.html
│ ├── reportBing.html
│ ├── reportManage.html
│ ├── zhuYuanBing.html
│ └── zhuYuanManage.html
│ ├── index.html
│ ├── login.html
│ ├── main
│ └── main.html
│ ├── menu
│ ├── menuLeft.html
│ ├── menuManager.html
│ └── menuRight.html
│ ├── role
│ └── roleManager.html
│ └── user
│ ├── updateLogin.html
│ └── userManager.html
└── test
└── java
└── com
└── aaa
└── HospitalApplicationTests.java
/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JavaGraduationProject/HospitalManagementSystem/614b60883af05b949a7475c06cd794951116a0a4/.DS_Store
--------------------------------------------------------------------------------
/.gitattributes:
--------------------------------------------------------------------------------
1 | *.js linguist-language=java
2 | *.css linguist-language=java
3 | *.html linguist-language=java
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # 全目录
2 |
3 | [更多系统、论文,供君选择 ~~>](https://www.yuque.com/wisebit/blog)
4 |
5 | # 69.HospitalManagementSystem
6 |
7 |
群: 983063232(入群获取sql文件)
8 | QQ: 206157502(加好友获取sql文件)
9 |
10 | 69.医院管理系统
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 | # 简介
21 |
22 |
23 | > 本代码来源于网络,仅供学习参考使用,请入群(983063232)后联系群主索要sql文件!
24 | >
25 | > 提供1.远程部署/2.修改代码/3.设计文档指导/4.框架代码讲解等服务
26 | >
27 | > 用户登录地址:http://localhost:8080/sel/toLogin
28 | >
29 | > 用户名:user 密码: 123456
30 | >
31 | > 管理员: admin 密码: 123456
32 |
33 |
34 |
35 | # 环境
36 |
37 | - IntelliJ IDEA 2009.3
38 |
39 | - Mysql 5.7.26
40 |
41 | - Tomcat 7.0.73
42 |
43 | - JDK 1.8
44 |
45 |
46 |
47 |
48 | ## 缩略图
49 |
50 | 
51 | 
52 | 
53 | 
54 | 
55 |
56 |
57 |
58 |
59 |
--------------------------------------------------------------------------------
/lib/javax.ejb.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JavaGraduationProject/HospitalManagementSystem/614b60883af05b949a7475c06cd794951116a0a4/lib/javax.ejb.jar
--------------------------------------------------------------------------------
/lib/javax.jms.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JavaGraduationProject/HospitalManagementSystem/614b60883af05b949a7475c06cd794951116a0a4/lib/javax.jms.jar
--------------------------------------------------------------------------------
/lib/javax.persistence.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JavaGraduationProject/HospitalManagementSystem/614b60883af05b949a7475c06cd794951116a0a4/lib/javax.persistence.jar
--------------------------------------------------------------------------------
/lib/javax.resource.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JavaGraduationProject/HospitalManagementSystem/614b60883af05b949a7475c06cd794951116a0a4/lib/javax.resource.jar
--------------------------------------------------------------------------------
/lib/javax.servlet.jsp.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JavaGraduationProject/HospitalManagementSystem/614b60883af05b949a7475c06cd794951116a0a4/lib/javax.servlet.jsp.jar
--------------------------------------------------------------------------------
/lib/javax.servlet.jsp.jstl.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JavaGraduationProject/HospitalManagementSystem/614b60883af05b949a7475c06cd794951116a0a4/lib/javax.servlet.jsp.jstl.jar
--------------------------------------------------------------------------------
/lib/javax.transaction.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JavaGraduationProject/HospitalManagementSystem/614b60883af05b949a7475c06cd794951116a0a4/lib/javax.transaction.jar
--------------------------------------------------------------------------------
/src/main/java/com/aaa/HospitalApplication.java:
--------------------------------------------------------------------------------
1 | package com.aaa;
2 |
3 | import org.springframework.boot.SpringApplication;
4 | import org.springframework.boot.autoconfigure.SpringBootApplication;
5 |
6 | @SpringBootApplication
7 | public class HospitalApplication {
8 |
9 | public static void main(String[] args) {
10 | SpringApplication.run(HospitalApplication.class, args);
11 | }
12 |
13 | }
14 |
--------------------------------------------------------------------------------
/src/main/java/com/aaa/ServletInitializer.java:
--------------------------------------------------------------------------------
1 | package com.aaa;
2 |
3 | import org.springframework.boot.builder.SpringApplicationBuilder;
4 | import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
5 |
6 | public class ServletInitializer extends SpringBootServletInitializer {
7 |
8 | @Override
9 | protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
10 | return application.sources(HospitalApplication.class);
11 | }
12 |
13 | }
14 |
--------------------------------------------------------------------------------
/src/main/java/com/aaa/config/UserCredentialsMatcher.java:
--------------------------------------------------------------------------------
1 | package com.aaa.config;
2 |
3 | import org.apache.shiro.crypto.SecureRandomNumberGenerator;
4 | import org.apache.shiro.crypto.hash.SimpleHash;
5 |
6 | public class UserCredentialsMatcher {
7 | /**
8 | * 随机生成 salt 需要指定 它的字符串的长度
9 | *
10 | * @param len 字符串的长度
11 | * @return salt
12 | */
13 | public static String generateSalt(int len) {
14 | //一个Byte占两个字节
15 | int byteLen = len >> 1;
16 | SecureRandomNumberGenerator secureRandom = new SecureRandomNumberGenerator();
17 | return secureRandom.nextBytes(byteLen).toHex();
18 | }
19 |
20 | /**
21 | * 获取加密后的密码,使用默认hash迭代的次数 1 次
22 | *
23 | * @param hashAlgorithm hash算法名称 MD2、MD5、SHA-1、SHA-256、SHA-384、SHA-512、etc。
24 | * @param password 需要加密的密码
25 | * @param salt 盐
26 | * @return 加密后的密码
27 | */
28 | public static String encryptPassword(String hashAlgorithm, String password, String salt) {
29 | return encryptPassword("MD5", password, salt, 2);
30 | }
31 |
32 | /**
33 | * 获取加密后的密码,需要指定 hash迭代的次数
34 | *
35 | * @param hashAlgorithm hash算法名称 MD2、MD5、SHA-1、SHA-256、SHA-384、SHA-512、etc。
36 | * @param password 需要加密的密码
37 | * @param salt 盐
38 | * @param hashIterations hash迭代的次数
39 | * @return 加密后的密码
40 | */
41 | public static String encryptPassword(String hashAlgorithm, String password, String salt, int hashIterations) {
42 | SimpleHash hash = new SimpleHash(hashAlgorithm, password, salt, hashIterations);
43 | return hash.toString();
44 | }
45 | }
46 |
--------------------------------------------------------------------------------
/src/main/java/com/aaa/controller/BaseController.java:
--------------------------------------------------------------------------------
1 | package com.aaa.controller;
2 |
3 | import org.springframework.beans.propertyeditors.CustomDateEditor;
4 | import org.springframework.web.bind.ServletRequestDataBinder;
5 | import org.springframework.web.bind.annotation.InitBinder;
6 |
7 | import java.text.SimpleDateFormat;
8 | import java.util.Date;
9 |
10 | public class BaseController {
11 | @InitBinder
12 | public void initBinder(ServletRequestDataBinder binder) {
13 | SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd hh:mm:ss");
14 | binder.registerCustomEditor(Date.class, new CustomDateEditor(sdf, true));
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/src/main/java/com/aaa/controller/BasetimeController.java:
--------------------------------------------------------------------------------
1 | package com.aaa.controller;
2 |
3 | import org.springframework.beans.propertyeditors.CustomDateEditor;
4 | import org.springframework.web.bind.ServletRequestDataBinder;
5 | import org.springframework.web.bind.annotation.InitBinder;
6 |
7 | import java.text.SimpleDateFormat;
8 | import java.util.Date;
9 |
10 | public class BasetimeController {
11 | @InitBinder
12 | public void initBinder(ServletRequestDataBinder binder) {
13 | SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
14 | binder.registerCustomEditor(Date.class, new CustomDateEditor(sdf, true));
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/src/main/java/com/aaa/controller/CheckupController.java:
--------------------------------------------------------------------------------
1 | package com.aaa.controller;
2 |
3 | import com.aaa.entity.Lcheckup;
4 | import com.aaa.entity.Register;
5 | import com.aaa.service.CheckupService;
6 | import com.github.pagehelper.PageHelper;
7 | import com.github.pagehelper.PageInfo;
8 | import org.springframework.beans.factory.annotation.Autowired;
9 | import org.springframework.stereotype.Controller;
10 | import org.springframework.web.bind.annotation.RequestMapping;
11 | import org.springframework.web.bind.annotation.ResponseBody;
12 |
13 | import java.util.HashMap;
14 | import java.util.List;
15 | import java.util.Map;
16 |
17 | @Controller
18 | @RequestMapping("liao")
19 | public class CheckupController {
20 |
21 | @Autowired
22 | private CheckupService checkupService;
23 |
24 | @RequestMapping("/checkup")
25 | public String checkup(){
26 | return "liao/checkup";
27 | }
28 |
29 | //添加检查结果
30 | @RequestMapping("/addCheckup")
31 | @ResponseBody
32 | public Object addCheckup(Lcheckup lcheckup){
33 | //添加检查结果
34 | int i = checkupService.addCheckup(lcheckup);
35 | if(i==1){
36 | //添加检查费用
37 | checkupService.updPrice(lcheckup);
38 | return null;
39 | }else{
40 | return "添加异常";
41 | }
42 | }
43 |
44 |
45 | //查询患者检查结果
46 | @RequestMapping("/selCheckup")
47 | @ResponseBody
48 | public Object selCheckup(Integer page, Integer limit,Lcheckup lcheckup){
49 | PageHelper.startPage(page, limit);
50 | List lcheckups = checkupService.selCheckup(lcheckup);
51 | PageInfo pageInfo = new PageInfo(lcheckups);
52 | Map tableData = new HashMap();
53 | //这是layui要求返回的json数据格式
54 | tableData.put("code", 0);
55 | tableData.put("msg", "");
56 | //将全部数据的条数作为count传给前台(一共多少条)
57 | tableData.put("count", pageInfo.getTotal());
58 | //将分页后的数据返回(每页要显示的数据)
59 | tableData.put("data", pageInfo.getList());
60 | return tableData;
61 | }
62 | }
63 |
--------------------------------------------------------------------------------
/src/main/java/com/aaa/controller/RecordController.java:
--------------------------------------------------------------------------------
1 | package com.aaa.controller;
2 |
3 | import com.aaa.entity.Record;
4 |
5 | import com.aaa.service.RecordService;
6 | import com.github.pagehelper.PageHelper;
7 | import com.github.pagehelper.PageInfo;
8 | import org.springframework.beans.factory.annotation.Autowired;
9 | import org.springframework.stereotype.Controller;
10 | import org.springframework.web.bind.annotation.RequestMapping;
11 | import org.springframework.web.bind.annotation.ResponseBody;
12 |
13 | import java.util.HashMap;
14 |
15 | import java.util.List;
16 | import java.util.Map;
17 |
18 | @Controller
19 | @RequestMapping("record")
20 | public class RecordController {
21 | @Autowired
22 | private RecordService rs;
23 | @RequestMapping("selrecord")
24 | @ResponseBody
25 | public Object selrecord(Record record, Integer page, Integer limit) {
26 | System.out.print("进去查询药房方法");
27 | PageHelper.startPage(page, limit);
28 | List selrecord = rs.selrecord(record);
29 | PageInfo pageInfo = new PageInfo(selrecord);
30 | Map drugstoresData = new HashMap();
31 | //这是layui要求返回的json数据格式
32 | drugstoresData.put("code", 0);
33 | drugstoresData.put("msg", "");
34 | //将全部数据的条数作为count传给前台(一共多少条)
35 | drugstoresData.put("count", pageInfo.getTotal());
36 | //将分页后的数据返回(每页要显示的数据)
37 | drugstoresData.put("data", pageInfo.getList());
38 | return drugstoresData;
39 | }
40 |
41 | }
42 |
--------------------------------------------------------------------------------
/src/main/java/com/aaa/entity/Area.java:
--------------------------------------------------------------------------------
1 | package com.aaa.entity;
2 |
3 |
4 | public class Area {
5 | private Integer areaId;
6 | private String areaName;
7 |
8 | public Integer getAreaId() {
9 | return areaId;
10 | }
11 |
12 | public void setAreaId(Integer areaId) {
13 | this.areaId = areaId;
14 | }
15 |
16 | public String getAreaName() {
17 | return areaName;
18 | }
19 |
20 | public void setAreaName(String areaName) {
21 | this.areaName = areaName;
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/src/main/java/com/aaa/entity/Ban.java:
--------------------------------------------------------------------------------
1 | package com.aaa.entity;
2 |
3 |
4 | public class Ban {
5 | private Integer bid;
6 | private String bname;
7 |
8 | public Integer getBid() {
9 | return bid;
10 | }
11 |
12 | public void setBid(Integer bid) {
13 | this.bid = bid;
14 | }
15 |
16 | public String getBname() {
17 | return bname;
18 | }
19 |
20 | public void setBname(String bname) {
21 | this.bname = bname;
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/src/main/java/com/aaa/entity/Baoque.java:
--------------------------------------------------------------------------------
1 | package com.aaa.entity;
2 |
3 | public class Baoque {
4 | private Integer baoqueid;
5 | private String baoqueName;
6 | private Integer baoqueNum;
7 |
8 | public Integer getBaoqueid() {
9 | return baoqueid;
10 | }
11 |
12 | public void setBaoqueid(Integer baoqueid) {
13 | this.baoqueid = baoqueid;
14 | }
15 |
16 | public String getBaoqueName() {
17 | return baoqueName;
18 | }
19 |
20 | public void setBaoqueName(String baoqueName) {
21 | this.baoqueName = baoqueName;
22 | }
23 |
24 | public Integer getBaoqueNum() {
25 | return baoqueNum;
26 | }
27 |
28 | public void setBaoqueNum(Integer baoqueNum) {
29 | this.baoqueNum = baoqueNum;
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/src/main/java/com/aaa/entity/Bed.java:
--------------------------------------------------------------------------------
1 | package com.aaa.entity;
2 |
3 |
4 | public class Bed {
5 | private Integer bedId;
6 | private String bedname;
7 | private Integer state;
8 | private Double price;
9 | private Integer departmentId;
10 | private String department;
11 |
12 | public Integer getDepartmentId() {
13 | return departmentId;
14 | }
15 |
16 | public void setDepartmentId(Integer departmentId) {
17 | this.departmentId = departmentId;
18 | }
19 |
20 | public String getDepartment() {
21 | return department;
22 | }
23 |
24 | public void setDepartment(String department) {
25 | this.department = department;
26 | }
27 |
28 | public Integer getBedId() {
29 | return bedId;
30 | }
31 |
32 | public void setBedId(Integer bedId) {
33 | this.bedId = bedId;
34 | }
35 |
36 | public String getBedname() {
37 | return bedname;
38 | }
39 |
40 | public void setBedname(String bedname) {
41 | this.bedname = bedname;
42 | }
43 |
44 | public Integer getState() {
45 | return state;
46 | }
47 |
48 | public void setState(Integer state) {
49 | this.state = state;
50 | }
51 |
52 | public Double getPrice() {
53 | return price;
54 | }
55 |
56 | public void setPrice(Double price) {
57 | this.price = price;
58 | }
59 | }
60 |
--------------------------------------------------------------------------------
/src/main/java/com/aaa/entity/CDepartments.java:
--------------------------------------------------------------------------------
1 | package com.aaa.entity;
2 |
3 | public class CDepartments {
4 | private int departmentId;//科室id
5 | private String department;//科室名称
6 |
7 | public int getDepartmentId() {
8 | return departmentId;
9 | }
10 |
11 | public void setDepartmentId(int departmentId) {
12 | this.departmentId = departmentId;
13 | }
14 |
15 | public String getDepartment() {
16 | return department;
17 | }
18 |
19 | public void setDepartment(String department) {
20 | this.department = department;
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/src/main/java/com/aaa/entity/CDoctor.java:
--------------------------------------------------------------------------------
1 | package com.aaa.entity;
2 |
3 |
4 | public class CDoctor {
5 | private int doctorId;//医生id
6 | private String doctorName;//医生姓名
7 | private Integer departmentId;//外键科室id
8 | private Integer registeredid;//外键类型id
9 | private Integer dstate;
10 |
11 | @Override
12 | public String toString() {
13 | return "CDoctor{" +
14 | "doctorId=" + doctorId +
15 | ", doctorName='" + doctorName + '\'' +
16 | ", departmentId=" + departmentId +
17 | ", registeredid=" + registeredid +
18 | ", dstate=" + dstate +
19 | '}';
20 | }
21 |
22 | public Integer getDstate() {
23 | return dstate;
24 | }
25 |
26 | public void setDstate(Integer dstate) {
27 | this.dstate = dstate;
28 | }
29 |
30 | public int getDoctorId() {
31 | return doctorId;
32 | }
33 |
34 | public void setDoctorId(int doctorId) {
35 | this.doctorId = doctorId;
36 | }
37 |
38 | public String getDoctorName() {
39 | return doctorName;
40 | }
41 |
42 | public void setDoctorName(String doctorName) {
43 | this.doctorName = doctorName;
44 | }
45 |
46 | public Integer getDepartmentId() {
47 | return departmentId;
48 | }
49 |
50 | public void setDepartmentId(Integer departmentId) {
51 | this.departmentId = departmentId;
52 | }
53 |
54 | public Integer getRegisteredid() {
55 | return registeredid;
56 | }
57 |
58 | public void setRegisteredid(Integer registeredid) {
59 | this.registeredid = registeredid;
60 | }
61 | }
62 |
--------------------------------------------------------------------------------
/src/main/java/com/aaa/entity/CRegisteredtype.java:
--------------------------------------------------------------------------------
1 | package com.aaa.entity;
2 |
3 |
4 |
5 | public class CRegisteredtype {
6 | private int registeredId;//类型id
7 | private String type;//类型名称
8 | private double price;//价格
9 |
10 | public int getRegisteredId() {
11 | return registeredId;
12 | }
13 |
14 | public void setRegisteredId(int registeredId) {
15 | this.registeredId = registeredId;
16 | }
17 |
18 | public String getType() {
19 | return type;
20 | }
21 |
22 | public void setType(String type) {
23 | this.type = type;
24 | }
25 |
26 | public double getPrice() {
27 | return price;
28 | }
29 |
30 | public void setPrice(double price) {
31 | this.price = price;
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/src/main/java/com/aaa/entity/CWarehuose.java:
--------------------------------------------------------------------------------
1 | package com.aaa.entity;
2 |
3 | public class CWarehuose {
4 | private Integer warehouseId;
5 | private String supplierName;
6 |
7 | public Integer getWarehouseId() {
8 | return warehouseId;
9 | }
10 |
11 | public void setWarehouseId(Integer warehouseId) {
12 | this.warehouseId = warehouseId;
13 | }
14 |
15 | public String getSupplierName() {
16 | return supplierName;
17 | }
18 |
19 | public void setSupplierName(String supplierName) {
20 | this.supplierName = supplierName;
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/src/main/java/com/aaa/entity/Caigou.java:
--------------------------------------------------------------------------------
1 | package com.aaa.entity;
2 |
3 | public class Caigou {
4 | private Integer caigouid ;
5 | private String caigouname ;
6 | private String gonghuoshang ;
7 | private String danwei ;
8 | private String candi ;
9 | private String leixing ;
10 | private Integer shuliang ;
11 |
12 | public Integer getCaigouid() {
13 | return caigouid;
14 | }
15 |
16 | public void setCaigouid(Integer caigouid) {
17 | this.caigouid = caigouid;
18 | }
19 |
20 | public String getCaigouname() {
21 | return caigouname;
22 | }
23 |
24 | public void setCaigouname(String caigouname) {
25 | this.caigouname = caigouname;
26 | }
27 |
28 | public String getGonghuoshang() {
29 | return gonghuoshang;
30 | }
31 |
32 | public void setGonghuoshang(String gonghuoshang) {
33 | this.gonghuoshang = gonghuoshang;
34 | }
35 |
36 | public String getDanwei() {
37 | return danwei;
38 | }
39 |
40 | public void setDanwei(String danwei) {
41 | this.danwei = danwei;
42 | }
43 |
44 | public String getCandi() {
45 | return candi;
46 | }
47 |
48 | public void setCandi(String candi) {
49 | this.candi = candi;
50 | }
51 |
52 | public String getLeixing() {
53 | return leixing;
54 | }
55 |
56 | public void setLeixing(String leixing) {
57 | this.leixing = leixing;
58 | }
59 |
60 | public Integer getShuliang() {
61 | return shuliang;
62 | }
63 |
64 | public void setShuliang(Integer shuliang) {
65 | this.shuliang = shuliang;
66 | }
67 | }
68 |
--------------------------------------------------------------------------------
/src/main/java/com/aaa/entity/Coutpatienttype.java:
--------------------------------------------------------------------------------
1 | package com.aaa.entity;
2 |
3 | public class Coutpatienttype {
4 | private Integer outpatientId;//序号
5 | private String projectName;//项目名称
6 | private Integer unit;//单位
7 | private Integer bigprojectId;//项目分类
8 | private double price;//价格
9 | private String unitName;//单位
10 | private Integer ostate;//项目状态
11 |
12 | public Integer getOstate() {
13 | return ostate;
14 | }
15 |
16 | public void setOstate(Integer ostate) {
17 | this.ostate = ostate;
18 | }
19 |
20 | public String getUnitName() {
21 | return unitName;
22 | }
23 |
24 | public void setUnitName(String unitName) {
25 | this.unitName = unitName;
26 | }
27 |
28 | public Integer getOutpatientId() {
29 | return outpatientId;
30 | }
31 |
32 | public void setOutpatientId(Integer outpatientId) {
33 | this.outpatientId = outpatientId;
34 | }
35 |
36 | public String getProjectName() {
37 | return projectName;
38 | }
39 |
40 | public void setProjectName(String projectName) {
41 | this.projectName = projectName;
42 | }
43 |
44 | public Integer getUnit() {
45 | return unit;
46 | }
47 |
48 | public void setUnit(Integer unit) {
49 | this.unit = unit;
50 | }
51 |
52 | public Integer getBigprojectId() {
53 | return bigprojectId;
54 | }
55 |
56 | public void setBigprojectId(Integer bigprojectId) {
57 | this.bigprojectId = bigprojectId;
58 | }
59 |
60 | public double getPrice() {
61 | return price;
62 | }
63 |
64 | public void setPrice(double price) {
65 | this.price = price;
66 | }
67 | }
68 |
--------------------------------------------------------------------------------
/src/main/java/com/aaa/entity/DataGridView.java:
--------------------------------------------------------------------------------
1 | package com.aaa.entity;
2 |
3 | public class DataGridView {
4 | private Integer code = 0;
5 | private String msg = "";
6 | private Long count;
7 | private Object data;
8 |
9 | public DataGridView(Object data) {
10 | this.data = data;
11 | }
12 |
13 | public Integer getCode() {
14 | return code;
15 | }
16 |
17 | public void setCode(Integer code) {
18 | this.code = code;
19 | }
20 |
21 | public String getMsg() {
22 | return msg;
23 | }
24 |
25 | public void setMsg(String msg) {
26 | this.msg = msg;
27 | }
28 |
29 | public Long getCount() {
30 | return count;
31 | }
32 |
33 | public void setCount(Long count) {
34 | this.count = count;
35 | }
36 |
37 | public Object getData() {
38 | return data;
39 | }
40 |
41 | public void setData(Object data) {
42 | this.data = data;
43 | }
44 | }
45 |
--------------------------------------------------------------------------------
/src/main/java/com/aaa/entity/Departments.java:
--------------------------------------------------------------------------------
1 | package com.aaa.entity;
2 |
3 |
4 |
5 |
6 | public class Departments {
7 | private Integer departmentId;
8 | private String department;
9 |
10 | public Integer getDepartmentId() {
11 | return departmentId;
12 | }
13 |
14 | public void setDepartmentId(Integer departmentId) {
15 | this.departmentId = departmentId;
16 | }
17 |
18 | public String getDepartment() {
19 | return department;
20 | }
21 |
22 | public void setDepartment(String department) {
23 | this.department = department;
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/src/main/java/com/aaa/entity/Doctor.java:
--------------------------------------------------------------------------------
1 | package com.aaa.entity;
2 |
3 |
4 | public class Doctor {
5 | private Integer doctorId;
6 | private String doctorName;
7 | private Integer departmentId;
8 | private String department;
9 | private Integer registeredId;
10 | private String type;
11 | private Integer dstate;
12 |
13 | public Integer getDoctorId() {
14 | return doctorId;
15 | }
16 |
17 | public void setDoctorId(Integer doctorId) {
18 | this.doctorId = doctorId;
19 | }
20 |
21 | public String getDoctorName() {
22 | return doctorName;
23 | }
24 |
25 | public void setDoctorName(String doctorName) {
26 | this.doctorName = doctorName;
27 | }
28 |
29 | public Integer getDepartmentId() {
30 | return departmentId;
31 | }
32 |
33 | public void setDepartmentId(Integer departmentId) {
34 | this.departmentId = departmentId;
35 | }
36 |
37 | public String getDepartment() {
38 | return department;
39 | }
40 |
41 | public void setDepartment(String department) {
42 | this.department = department;
43 | }
44 |
45 | public Integer getRegisteredId() {
46 | return registeredId;
47 | }
48 |
49 | public void setRegisteredId(Integer registeredId) {
50 | this.registeredId = registeredId;
51 | }
52 |
53 | public String getType() {
54 | return type;
55 | }
56 |
57 | public void setType(String type) {
58 | this.type = type;
59 | }
60 |
61 | public Integer getDstate() {
62 | return dstate;
63 | }
64 |
65 | public void setDstate(Integer dstate) {
66 | this.dstate = dstate;
67 | }
68 | }
69 |
--------------------------------------------------------------------------------
/src/main/java/com/aaa/entity/Finance.java:
--------------------------------------------------------------------------------
1 | package com.aaa.entity;
2 |
3 | public class Finance {
4 | private String name;
5 | private Double value;
6 |
7 | public String getName() {
8 | return name;
9 | }
10 |
11 | public void setName(String name) {
12 | this.name = name;
13 | }
14 |
15 | public Double getValue() {
16 | return value;
17 | }
18 |
19 | public void setValue(Double value) {
20 | this.value = value;
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/src/main/java/com/aaa/entity/Huishou.java:
--------------------------------------------------------------------------------
1 | package com.aaa.entity;
2 |
3 | public class Huishou {
4 | private Integer huishouid ;
5 | private String huishouname ;
6 | private Integer huishounumber ;
7 | private String huishoupihao ;
8 | private String jbr ;
9 | private String beizhu ;
10 |
11 | public Integer getHuishouid() {
12 | return huishouid;
13 | }
14 |
15 | public void setHuishouid(Integer huishouid) {
16 | this.huishouid = huishouid;
17 | }
18 |
19 | public String getHuishouname() {
20 | return huishouname;
21 | }
22 |
23 | public void setHuishouname(String huishouname) {
24 | this.huishouname = huishouname;
25 | }
26 |
27 | public Integer getHuishounumber() {
28 | return huishounumber;
29 | }
30 |
31 | public void setHuishounumber(Integer huishounumber) {
32 | this.huishounumber = huishounumber;
33 | }
34 |
35 | public String getHuishoupihao() {
36 | return huishoupihao;
37 | }
38 |
39 | public void setHuishoupihao(String huishoupihao) {
40 | this.huishoupihao = huishoupihao;
41 | }
42 |
43 | public String getJbr() {
44 | return jbr;
45 | }
46 |
47 | public void setJbr(String jbr) {
48 | this.jbr = jbr;
49 | }
50 |
51 | public String getBeizhu() {
52 | return beizhu;
53 | }
54 |
55 | public void setBeizhu(String beizhu) {
56 | this.beizhu = beizhu;
57 | }
58 | }
59 |
--------------------------------------------------------------------------------
/src/main/java/com/aaa/entity/Lcheckup.java:
--------------------------------------------------------------------------------
1 | package com.aaa.entity;
2 |
3 | import com.fasterxml.jackson.annotation.JsonFormat;
4 | import net.sf.jsqlparser.expression.DateTimeLiteralExpression;
5 |
6 | import java.util.Date;
7 |
8 | public class Lcheckup {
9 |
10 | Integer cid;
11 | Integer registerid;
12 | String content;
13 | @JsonFormat(pattern = "yyyy年MM月dd日",timezone = "GMT+8" )
14 | Date citme;
15 | String userName;
16 |
17 | @Override
18 | public String toString() {
19 | return "Lcheckup{" +
20 | "cid=" + cid +
21 | ", registerid=" + registerid +
22 | ", content='" + content + '\'' +
23 | ", citme=" + citme +
24 | ", userName='" + userName + '\'' +
25 | '}';
26 | }
27 |
28 | public Integer getCid() {
29 | return cid;
30 | }
31 |
32 | public void setCid(Integer cid) {
33 | this.cid = cid;
34 | }
35 |
36 | public Integer getRegisterid() {
37 | return registerid;
38 | }
39 |
40 | public void setRegisterid(Integer registerid) {
41 | this.registerid = registerid;
42 | }
43 |
44 | public String getContent() {
45 | return content;
46 | }
47 |
48 | public void setContent(String content) {
49 | this.content = content;
50 | }
51 |
52 | public Date getCitme() {
53 | return citme;
54 | }
55 |
56 | public void setCitme(Date citme) {
57 | this.citme = citme;
58 | }
59 |
60 | public String getUserName() {
61 | return userName;
62 | }
63 |
64 | public void setUserName(String userName) {
65 | this.userName = userName;
66 | }
67 | }
68 |
--------------------------------------------------------------------------------
/src/main/java/com/aaa/entity/Moneytype.java:
--------------------------------------------------------------------------------
1 | package com.aaa.entity;
2 |
3 | public class Moneytype {
4 | private Integer moneyId;
5 | private String moneytype;
6 | private String percent;
7 |
8 | public Integer getMoneyId() {
9 | return moneyId;
10 | }
11 |
12 | public void setMoneyId(Integer moneyId) {
13 | this.moneyId = moneyId;
14 | }
15 |
16 | public String getMoneytype() {
17 | return moneytype;
18 | }
19 |
20 | public void setMoneytype(String moneytype) {
21 | this.moneytype = moneytype;
22 | }
23 |
24 | public String getPercent() {
25 | return percent;
26 | }
27 |
28 | public void setPercent(String percent) {
29 | this.percent = percent;
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/src/main/java/com/aaa/entity/Pay.java:
--------------------------------------------------------------------------------
1 | package com.aaa.entity;
2 |
3 | import java.util.Date;
4 |
5 | public class Pay {
6 |
7 | int payid;
8 | int registerid;
9 | Double money;
10 | Date payDate;
11 | String userName;
12 |
13 | @Override
14 | public String toString() {
15 | return "Pay{" +
16 | "payid=" + payid +
17 | ", registerid=" + registerid +
18 | ", money=" + money +
19 | ", payDate=" + payDate +
20 | ", userName='" + userName + '\'' +
21 | '}';
22 | }
23 |
24 | public String getUserName() {
25 | return userName;
26 | }
27 |
28 | public void setUserName(String userName) {
29 | this.userName = userName;
30 | }
31 |
32 | public int getPayid() {
33 | return payid;
34 | }
35 |
36 | public void setPayid(int payid) {
37 | this.payid = payid;
38 | }
39 |
40 | public int getRegisterid() {
41 | return registerid;
42 | }
43 |
44 | public void setRegisterid(int registerid) {
45 | this.registerid = registerid;
46 | }
47 |
48 | public Double getMoney() {
49 | return money;
50 | }
51 |
52 | public void setMoney(Double money) {
53 | this.money = money;
54 | }
55 |
56 | public Date getPayDate() {
57 | return payDate;
58 | }
59 |
60 | public void setPayDate(Date payDate) {
61 | this.payDate = payDate;
62 | }
63 | }
64 |
--------------------------------------------------------------------------------
/src/main/java/com/aaa/entity/Projecttype.java:
--------------------------------------------------------------------------------
1 | package com.aaa.entity;
2 |
3 |
4 | public class Projecttype {
5 | private Integer projectId;
6 | private String projectName;
7 | private Integer pp;
8 |
9 | public Integer getPp() {
10 | return pp;
11 | }
12 |
13 | public void setPp(Integer pp) {
14 | this.pp = pp;
15 | }
16 |
17 | public Integer getProjectId() {
18 | return projectId;
19 | }
20 |
21 | public void setProjectId(Integer projectId) {
22 | this.projectId = projectId;
23 | }
24 |
25 | public String getProjectName() {
26 | return projectName;
27 | }
28 |
29 | public void setProjectName(String projectName) {
30 | this.projectName = projectName;
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/src/main/java/com/aaa/entity/Record.java:
--------------------------------------------------------------------------------
1 | package com.aaa.entity;
2 |
3 | import com.fasterxml.jackson.annotation.JsonFormat;
4 |
5 | import java.util.Date;
6 |
7 | public class Record {
8 | private Integer jiluid;
9 | private Date jilutime;
10 | private String jiluname;
11 | private String jilutype;
12 |
13 | private String jilupeople;
14 | private String jilupihao;
15 | private Integer jilunumber;
16 |
17 | public Integer getJilunumber() {
18 | return jilunumber;
19 | }
20 |
21 | public void setJilunumber(Integer jilunumber) {
22 | this.jilunumber = jilunumber;
23 | }
24 |
25 | public Integer getJiluid() {
26 | return jiluid;
27 | }
28 |
29 | public void setJiluid(Integer jiluid) {
30 | this.jiluid = jiluid;
31 | }
32 |
33 | public Date getJilutime() {
34 | return jilutime;
35 | }
36 |
37 | public void setJilutime(Date jilutime) {
38 | this.jilutime = jilutime;
39 | }
40 |
41 | public String getJiluname() {
42 | return jiluname;
43 | }
44 |
45 | public void setJiluname(String jiluname) {
46 | this.jiluname = jiluname;
47 | }
48 |
49 | public String getJilutype() {
50 | return jilutype;
51 | }
52 |
53 | public void setJilutype(String jilutype) {
54 | this.jilutype = jilutype;
55 | }
56 |
57 | public String getJilupeople() {
58 | return jilupeople;
59 | }
60 |
61 | public void setJilupeople(String jilupeople) {
62 | this.jilupeople = jilupeople;
63 | }
64 |
65 | public String getJilupihao() {
66 | return jilupihao;
67 | }
68 |
69 | public void setJilupihao(String jilupihao) {
70 | this.jilupihao = jilupihao;
71 | }
72 | }
73 |
--------------------------------------------------------------------------------
/src/main/java/com/aaa/entity/Registeredtype.java:
--------------------------------------------------------------------------------
1 | package com.aaa.entity;
2 |
3 |
4 |
5 |
6 | public class Registeredtype {
7 | private Integer registeredId;
8 | private String type;
9 | private double price;
10 |
11 | public Integer getRegisteredId() {
12 | return registeredId;
13 | }
14 |
15 | public void setRegisteredId(Integer registeredId) {
16 | this.registeredId = registeredId;
17 | }
18 |
19 | public String getType() {
20 | return type;
21 | }
22 |
23 | public void setType(String type) {
24 | this.type = type;
25 | }
26 |
27 | public double getPrice() {
28 | return price;
29 | }
30 |
31 | public void setPrice(double price) {
32 | this.price = price;
33 | }
34 | }
35 |
--------------------------------------------------------------------------------
/src/main/java/com/aaa/entity/Role.java:
--------------------------------------------------------------------------------
1 | package com.aaa.entity;
2 |
3 | public class Role {
4 | private Integer roleid;
5 |
6 | private String rolename;
7 |
8 | private String roledesc;
9 |
10 | private Integer available;
11 |
12 | public Integer getRoleid() {
13 | return roleid;
14 | }
15 |
16 | public void setRoleid(Integer roleid) {
17 | this.roleid = roleid;
18 | }
19 |
20 | public String getRolename() {
21 | return rolename;
22 | }
23 |
24 | public void setRolename(String rolename) {
25 | this.rolename = rolename == null ? null : rolename.trim();
26 | }
27 |
28 | public String getRoledesc() {
29 | return roledesc;
30 | }
31 |
32 | public void setRoledesc(String roledesc) {
33 | this.roledesc = roledesc == null ? null : roledesc.trim();
34 | }
35 |
36 | public Integer getAvailable() {
37 | return available;
38 | }
39 |
40 | public void setAvailable(Integer available) {
41 | this.available = available;
42 | }
43 | }
--------------------------------------------------------------------------------
/src/main/java/com/aaa/entity/RoleMenu.java:
--------------------------------------------------------------------------------
1 | package com.aaa.entity;
2 |
3 | public class RoleMenu {
4 | private Integer [] ids;
5 | private Integer roleid;
6 |
7 |
8 | public Integer[] getIds() {
9 | return ids;
10 | }
11 |
12 | public void setIds(Integer[] ids) {
13 | this.ids = ids;
14 | }
15 |
16 | public Integer getRoleid() {
17 | return roleid;
18 | }
19 |
20 | public void setRoleid(Integer roleid) {
21 | this.roleid = roleid;
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/src/main/java/com/aaa/entity/SdoctorDuibi.java:
--------------------------------------------------------------------------------
1 | package com.aaa.entity;
2 |
3 | public class SdoctorDuibi {
4 | private Integer num;
5 | private String total;
6 | private String doctorName;
7 |
8 | public Integer getNum() {
9 | return num;
10 | }
11 |
12 | public void setNum(Integer num) {
13 | this.num = num;
14 | }
15 |
16 | public String getTotal() {
17 | return total;
18 | }
19 |
20 | public void setTotal(String total) {
21 | this.total = total;
22 | }
23 |
24 | public String getDoctorName() {
25 | return doctorName;
26 | }
27 |
28 | public void setDoctorName(String doctorName) {
29 | this.doctorName = doctorName;
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/src/main/java/com/aaa/entity/Sdrugdictionary.java:
--------------------------------------------------------------------------------
1 | package com.aaa.entity;
2 |
3 | public class Sdrugdictionary {
4 | private Integer drugId;
5 | private String drugName;
6 | private Integer unitId ;
7 | private String unitName;
8 | private Double sellingPrice;
9 | private Integer areaId;
10 | private String areaName;
11 | private Integer typeId;
12 | private String typeName;
13 |
14 | public String getUnitName() {
15 | return unitName;
16 | }
17 |
18 | public void setUnitName(String unitName) {
19 | this.unitName = unitName;
20 | }
21 |
22 | public String getAreaName() {
23 | return areaName;
24 | }
25 |
26 | public void setAreaName(String areaName) {
27 | this.areaName = areaName;
28 | }
29 |
30 | public String getTypeName() {
31 | return typeName;
32 | }
33 |
34 | public void setTypeName(String typeName) {
35 | this.typeName = typeName;
36 | }
37 |
38 | public Integer getDrugId() {
39 | return drugId;
40 | }
41 |
42 | public void setDrugId(Integer drugId) {
43 | this.drugId = drugId;
44 | }
45 |
46 | public String getDrugName() {
47 | return drugName;
48 | }
49 |
50 | public void setDrugName(String drugName) {
51 | this.drugName = drugName;
52 | }
53 |
54 | public Integer getUnitId() {
55 | return unitId;
56 | }
57 |
58 | public void setUnitId(Integer unitId) {
59 | this.unitId = unitId;
60 | }
61 |
62 | public Double getSellingPrice() {
63 | return sellingPrice;
64 | }
65 |
66 | public void setSellingPrice(Double sellingPrice) {
67 | this.sellingPrice = sellingPrice;
68 | }
69 |
70 | public Integer getAreaId() {
71 | return areaId;
72 | }
73 |
74 | public void setAreaId(Integer areaId) {
75 | this.areaId = areaId;
76 | }
77 |
78 | public Integer getTypeId() {
79 | return typeId;
80 | }
81 |
82 | public void setTypeId(Integer typeId) {
83 | this.typeId = typeId;
84 | }
85 |
86 | }
87 |
--------------------------------------------------------------------------------
/src/main/java/com/aaa/entity/Skull.java:
--------------------------------------------------------------------------------
1 | package com.aaa.entity;
2 |
3 |
4 | public class Skull {
5 | private Integer skullId;
6 | private String skullName;
7 |
8 | public Integer getSkullId() {
9 | return skullId;
10 | }
11 |
12 | public void setSkullId(Integer skullId) {
13 | this.skullId = skullId;
14 | }
15 |
16 | public String getSkullName() {
17 | return skullName;
18 | }
19 |
20 | public void setSkullName(String skullName) {
21 | this.skullName = skullName;
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/src/main/java/com/aaa/entity/SreportYear.java:
--------------------------------------------------------------------------------
1 | package com.aaa.entity;
2 |
3 | public class SreportYear {
4 | }
5 |
--------------------------------------------------------------------------------
/src/main/java/com/aaa/entity/Type.java:
--------------------------------------------------------------------------------
1 | package com.aaa.entity;
2 |
3 |
4 |
5 |
6 | public class Type {
7 | private Integer typeId;
8 | private String typeName;
9 |
10 | public Integer getTypeId() {
11 | return typeId;
12 | }
13 |
14 | public void setTypeId(Integer typeId) {
15 | this.typeId = typeId;
16 | }
17 |
18 | public String getTypeName() {
19 | return typeName;
20 | }
21 |
22 | public void setTypeName(String typeName) {
23 | this.typeName = typeName;
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/src/main/java/com/aaa/entity/Unit.java:
--------------------------------------------------------------------------------
1 | package com.aaa.entity;
2 |
3 | public class Unit {
4 | private Integer unitId;
5 | private String unitName;
6 |
7 | public Integer getUnitId() {
8 | return unitId;
9 | }
10 |
11 | public void setUnitId(Integer unitId) {
12 | this.unitId = unitId;
13 | }
14 |
15 | public String getUnitName() {
16 | return unitName;
17 | }
18 |
19 | public void setUnitName(String unitName) {
20 | this.unitName = unitName;
21 | }
22 | }
23 |
24 |
25 |
--------------------------------------------------------------------------------
/src/main/java/com/aaa/entity/Upplier.java:
--------------------------------------------------------------------------------
1 | package com.aaa.entity;
2 |
3 |
4 | public class Upplier {
5 | private Integer supplierId;
6 | private String supplierName;
7 | private String supplierPhone;
8 | private String supplierAddress;
9 |
10 | public Integer getSupplierId() {
11 | return supplierId;
12 | }
13 |
14 | public void setSupplierId(Integer supplierId) {
15 | this.supplierId = supplierId;
16 | }
17 |
18 | public String getSupplierName() {
19 | return supplierName;
20 | }
21 |
22 | public void setSupplierName(String supplierName) {
23 | this.supplierName = supplierName;
24 | }
25 |
26 | public String getSupplierPhone() {
27 | return supplierPhone;
28 | }
29 |
30 | public void setSupplierPhone(String supplierPhone) {
31 | this.supplierPhone = supplierPhone;
32 | }
33 |
34 | public String getSupplierAddress() {
35 | return supplierAddress;
36 | }
37 |
38 | public void setSupplierAddress(String supplierAddress) {
39 | this.supplierAddress = supplierAddress;
40 | }
41 |
42 | }
43 |
--------------------------------------------------------------------------------
/src/main/java/com/aaa/entity/UserRole.java:
--------------------------------------------------------------------------------
1 | package com.aaa.entity;
2 |
3 | public class UserRole {
4 | // 接收多个角色id
5 | private Integer[] ids;
6 | private Integer userid;
7 |
8 | public Integer getUserid() {
9 | return userid;
10 | }
11 |
12 | public void setUserid(Integer userid) {
13 | this.userid = userid;
14 | }
15 |
16 |
17 | public Integer[] getIds() {
18 | return ids;
19 | }
20 |
21 | public void setIds(Integer[] ids) {
22 | this.ids = ids;
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/src/main/java/com/aaa/entity/Warehuose.java:
--------------------------------------------------------------------------------
1 | package com.aaa.entity;
2 |
3 |
4 | public class Warehuose {
5 | private Integer warehouseId;
6 | private String supplierName;
7 |
8 | public Integer getWarehouseId() {
9 | return warehouseId;
10 | }
11 |
12 | public void setWarehouseId(Integer warehouseId) {
13 | this.warehouseId = warehouseId;
14 | }
15 |
16 | public String getSupplierName() {
17 | return supplierName;
18 | }
19 |
20 | public void setSupplierName(String supplierName) {
21 | this.supplierName = supplierName;
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/src/main/java/com/aaa/entity/currentFinance.java:
--------------------------------------------------------------------------------
1 | package com.aaa.entity;
2 |
3 | public class currentFinance {
4 | private Double value;
5 | private String name;
6 |
7 | public Double getValue() {
8 | return value;
9 | }
10 |
11 | public void setValue(Double value) {
12 | this.value = value;
13 | }
14 |
15 | public String getName() {
16 | return name;
17 | }
18 |
19 | public void setName(String name) {
20 | this.name = name;
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/src/main/java/com/aaa/mapper/AreaMapper.java:
--------------------------------------------------------------------------------
1 | package com.aaa.mapper;
2 |
3 | import com.aaa.entity.Area;
4 | import org.apache.ibatis.annotations.Mapper;
5 |
6 | import java.util.List;
7 |
8 | @Mapper
9 | public interface AreaMapper {
10 | List findAllArea(Area area);
11 | int deleteArea(Integer areaId);
12 | int addArea(Area area);
13 | int count(Area area);
14 | }
15 |
--------------------------------------------------------------------------------
/src/main/java/com/aaa/mapper/CCashierMapper.java:
--------------------------------------------------------------------------------
1 | package com.aaa.mapper;
2 |
3 | import com.aaa.entity.*;
4 | import org.apache.ibatis.annotations.Mapper;
5 |
6 | import java.util.List;
7 |
8 | @Mapper
9 | public interface CCashierMapper {
10 | //查询挂号的所有信息用于页面表格展示
11 | List sel();
12 | //查询所有药房
13 | List selware();
14 | //根据药房查询所有药品信息在药品详情框中展示
15 | List selpharm(CPharmacy cPharmacy);
16 | //查询这个用户的处方表上有没有这个药
17 | Integer selcadr(CCashier cCashier);
18 | //添加处方药品
19 | Integer addchu(CCashier cCashier);
20 | //如果有该药品则改变该药品的数量
21 | Integer updchu(CCashier cCashier);
22 | //查询该用户的处方
23 | List selpepi(Integer perid);
24 | //删除处方中的药品
25 | Integer del(CCashier cCashier);
26 | //减少药房中的数量
27 | Integer deldrunum(CPharmacy cPharmacy);
28 | //添加药品数量
29 | Integer adddrunum(CPharmacy cPharmacy);
30 | //模糊查询
31 | List mohu(ReportVo reportVo);
32 | //修改用户的病例
33 | Integer addbing(CReport cReport);
34 | //查询用户有没有病例
35 | String selbing(Integer rid);
36 | //查询用户做项目的结果
37 | String lookbing(Integer reid);
38 | //查询该用户是否还有未交钱的项目
39 | int seljiao(Integer reid);
40 | //查看该用户有几个已经做过的项目
41 | Integer selyi(Integer reid);
42 | //查询该用户有几个已经交过钱的项目
43 | Integer selgong(Integer reid);
44 | //查询用户所有的处方
45 | List selall(Integer perid);
46 | //查询用户项目的处方
47 | List selximu(Integer perid);
48 | }
49 |
--------------------------------------------------------------------------------
/src/main/java/com/aaa/mapper/COutMapper.java:
--------------------------------------------------------------------------------
1 | package com.aaa.mapper;
2 |
3 | import com.aaa.entity.CCashier;
4 | import com.aaa.entity.CPharmacy;
5 | import com.aaa.entity.Coutpatienttype;
6 | import com.aaa.entity.ReportVo;
7 | import org.apache.ibatis.annotations.Mapper;
8 |
9 | import java.util.List;
10 |
11 | @Mapper
12 | public interface COutMapper {
13 | //查询门诊收费项目
14 | List selout(Coutpatienttype coutpatienttype);
15 | //查询这个用户的处方表上有没有这个药
16 | Integer selchuo(CCashier cCashier);
17 | //添加处方项目
18 | Integer addchuo(CCashier cCashier);
19 | //如果有该项目则改变该项目的数量
20 | Integer updchuo(CCashier cCashier);
21 | //删除处方中的项目
22 | Integer delo(CCashier cCashier);
23 | //查询这个用户的处方的价钱
24 | Double selch(CCashier cCashier);
25 | //修改用户信息付过钱了
26 | Integer shoufei(ReportVo reportVo);
27 | //把挂号费添加到收费表上
28 | Integer guafei(ReportVo reportVo);
29 | }
30 |
--------------------------------------------------------------------------------
/src/main/java/com/aaa/mapper/CTakeMapper.java:
--------------------------------------------------------------------------------
1 | package com.aaa.mapper;
2 |
3 | import com.aaa.entity.ReportVo;
4 | import org.apache.ibatis.annotations.Mapper;
5 |
6 | import java.util.List;
7 |
8 | @Mapper
9 | public interface CTakeMapper {
10 | //查询挂号的所有信息用于页面表格展示
11 | List sel();
12 | //药品出库修改用户状态
13 | Integer chuku(ReportVo reportVo);
14 | //查看所有交过费出院的患者
15 | List selhuan(ReportVo reportVo);
16 | //查询该用户的总价钱
17 | int zong(Integer reid);
18 | }
19 |
--------------------------------------------------------------------------------
/src/main/java/com/aaa/mapper/CXiangmuPayMapper.java:
--------------------------------------------------------------------------------
1 | package com.aaa.mapper;
2 |
3 | import com.aaa.entity.CCashier;
4 | import org.apache.ibatis.annotations.Mapper;
5 |
6 | import java.util.List;
7 |
8 | @Mapper
9 | public interface CXiangmuPayMapper {
10 | //查询用户所有的项目然后
11 | List selxiang(Integer perid);
12 | //查询该用户有没有收费项目
13 | Integer selshoux(Integer perid);
14 | //项目收费修改项目的收费状态
15 | Integer updxiang(Integer perid);
16 | //项目检查页面查询用户所有要检查的项目
17 | List selcha(Integer perid);
18 | //添加项目的检查结果
19 | Integer addjie(CCashier cCashier);
20 | }
21 |
--------------------------------------------------------------------------------
/src/main/java/com/aaa/mapper/CheckupMapper.java:
--------------------------------------------------------------------------------
1 | package com.aaa.mapper;
2 |
3 | import com.aaa.entity.Lcheckup;
4 | import org.apache.ibatis.annotations.Mapper;
5 |
6 | import java.util.List;
7 |
8 | @Mapper
9 | public interface CheckupMapper {
10 |
11 | int addCheckup(Lcheckup lcheckup);
12 | int updPrice(Lcheckup lcheckup);
13 | List selCheckup(Lcheckup lcheckup);
14 | }
15 |
--------------------------------------------------------------------------------
/src/main/java/com/aaa/mapper/CreportMapper.java:
--------------------------------------------------------------------------------
1 | package com.aaa.mapper;
2 |
3 |
4 | import com.aaa.entity.*;
5 | import org.apache.ibatis.annotations.Mapper;
6 |
7 | import java.util.List;
8 |
9 | @Mapper
10 | public interface CreportMapper {
11 | //查询挂号的所有信息
12 | List sel(ReportVo reportVo);
13 | List selById(Integer reportId);
14 | //查询所有的科室
15 | List seldep();
16 | //查询所有的门诊类型
17 | List selreg();
18 | //查询医生的信息
19 | List one(CDoctor cDoctor);
20 | List two(CDoctor cDoctor);
21 | List three(CDoctor cDoctor);
22 | List four(CDoctor cDoctor);
23 | List five(CDoctor cDoctor);
24 | List six(CDoctor cDoctor);
25 | List seven(CDoctor cDoctor);
26 | //根据所选科室查询该科室的价格
27 | Integer seltymo(CRegisteredtype cRegisteredtype);
28 | //添加挂号人员
29 | Integer addre(CReport cReport);
30 | //根据id删除某个患者的信息
31 | Integer delre(Integer id);
32 | //判断正在就诊的电话唯一
33 | Integer phone(CReport cReport);
34 | //判断正在就诊的电话唯一
35 | Integer carid(CReport cReport);
36 | //把今天预约而没有来的人进行删除
37 | int upddang();
38 | //从门诊转入住院
39 | Integer zhuanyuan(CReport cReport);
40 | }
41 |
--------------------------------------------------------------------------------
/src/main/java/com/aaa/mapper/DepartmentMapper.java:
--------------------------------------------------------------------------------
1 | package com.aaa.mapper;
2 |
3 | import com.aaa.entity.Departments;
4 | import org.apache.ibatis.annotations.Mapper;
5 |
6 | import java.util.List;
7 |
8 | @Mapper
9 | public interface DepartmentMapper {
10 | List departmentList(Departments departments);
11 | int deleteDepartment(Integer departmentId);
12 | int addDepartment(Departments departments);
13 | int count(Departments departments);
14 |
15 | /*
16 | * 判断该科室是否还有医生
17 | * */
18 | int checkCount(Integer departmentId);
19 | }
20 |
--------------------------------------------------------------------------------
/src/main/java/com/aaa/mapper/DoctorMapper.java:
--------------------------------------------------------------------------------
1 | package com.aaa.mapper;
2 |
3 | import com.aaa.entity.Departments;
4 | import com.aaa.entity.Doctor;
5 | import com.aaa.entity.Paiban;
6 | import com.aaa.entity.Registeredtype;
7 | import org.apache.ibatis.annotations.Mapper;
8 |
9 | import java.util.List;
10 | @Mapper
11 | public interface DoctorMapper {
12 | List doctorList(Doctor doctor);
13 | int deleteDoctor(Integer doctorId);
14 | int addDoctor(Doctor doctor);
15 | int editDoctor(Doctor doctor);
16 | List findAllDepartments();
17 | ListfindAllRegisteredtype();
18 | int count(Doctor doctor);
19 | /*
20 | * 判断该医生是否还有病人
21 | * */
22 | int checkCount(Integer doctorId);
23 | }
24 |
--------------------------------------------------------------------------------
/src/main/java/com/aaa/mapper/FinanceMapper.java:
--------------------------------------------------------------------------------
1 | package com.aaa.mapper;
2 |
3 | import com.aaa.entity.Finance;
4 | import com.aaa.entity.SdoctorDuibi;
5 | import com.aaa.entity.currentFinance;
6 | import org.apache.ibatis.annotations.Mapper;
7 |
8 | import java.util.List;
9 |
10 | @Mapper
11 | public interface FinanceMapper {
12 | /*门诊月收入对比*/
13 | List reportYearFinance(String year);
14 | /*门诊年收入对比*/
15 | List reportYearBingFinance();
16 | /*住院月收入对比*/
17 | List zhuYuanYearFinance(String year);
18 | /*住院年收入对比*/
19 | List zhuYuanYearBingFinance();
20 | /*医生收入统计对比*/
21 | List doctorDuibi(SdoctorDuibi sdoctorDuibi);
22 | /*住院部医生收入统计对比*/
23 | List zDoctorDuibi(SdoctorDuibi sdoctorDuibi);
24 | /*门诊当天*/
25 | List currentFinance(String current);
26 |
27 |
28 | }
29 |
--------------------------------------------------------------------------------
/src/main/java/com/aaa/mapper/LadminMapper.java:
--------------------------------------------------------------------------------
1 | package com.aaa.mapper;
2 |
3 | import com.aaa.entity.*;
4 | import org.apache.ibatis.annotations.Mapper;
5 |
6 | import java.util.List;
7 |
8 | @Mapper
9 | public interface LadminMapper {
10 |
11 | //条件查询科室
12 | List selDepartment(Departments departments);
13 | //条件查询医生
14 | List selDoctor(Doctor doctor);
15 | //查询床位
16 | List selBed(Bed bed);
17 | //执行添加患者
18 | int addRegister(Register register);
19 | //查询患者
20 | List selRegister(Register register);
21 | //修改患者床位状态
22 | int updBed(Register register);
23 | //查询折扣
24 | List selDis();
25 | //查询门诊传过来的信息
26 | List selDoor();
27 | //逻辑删除门诊信息
28 | int updZ(Register register);
29 | //修改患者信息
30 | int updKe(Register register);
31 | }
32 |
--------------------------------------------------------------------------------
/src/main/java/com/aaa/mapper/LdrugMapper.java:
--------------------------------------------------------------------------------
1 | package com.aaa.mapper;
2 |
3 | import com.aaa.entity.Lpharmacy;
4 | import com.aaa.entity.Lrecord;
5 | import org.apache.ibatis.annotations.Mapper;
6 |
7 | import java.util.List;
8 |
9 | @Mapper
10 | public interface LdrugMapper {
11 |
12 | //查询药品信息
13 | List selDrug(Lpharmacy lpharmacy);
14 | //查询患者的药品信息
15 | List selDrugs(Lrecord lrecord);
16 | //添加药品
17 | int addDrug(Lrecord lrecord);
18 | //修改药品信息,时间,数量,价钱
19 | int updDrug(Lrecord lrecord);
20 | //删除患者药品
21 | int delDrug(Lrecord lrecord);
22 | //修改药房数量
23 | int updDrugs(Lrecord lrecord);
24 | //修改药房数量
25 | int updNum(Lrecord lrecord);
26 | //取出药品
27 | int upd(Lrecord lrecord);
28 |
29 | }
30 |
--------------------------------------------------------------------------------
/src/main/java/com/aaa/mapper/LitemMapper.java:
--------------------------------------------------------------------------------
1 | package com.aaa.mapper;
2 |
3 | import com.aaa.entity.Litem;
4 | import com.aaa.entity.Lrecord;
5 | import org.apache.ibatis.annotations.Mapper;
6 |
7 | import java.util.List;
8 |
9 | @Mapper
10 | public interface LitemMapper {
11 |
12 | List selItems(Litem litem);
13 | }
14 |
--------------------------------------------------------------------------------
/src/main/java/com/aaa/mapper/LleaveMapper.java:
--------------------------------------------------------------------------------
1 | package com.aaa.mapper;
2 |
3 | import com.aaa.entity.Register;
4 | import org.apache.ibatis.annotations.Mapper;
5 |
6 | import java.util.List;
7 |
8 | @Mapper
9 | public interface LleaveMapper {
10 |
11 | List selRegisters(Register register);
12 | int updRstate(Register register);
13 | int updBstate(Register register);
14 | int selYaos(Register register);
15 |
16 | }
17 |
--------------------------------------------------------------------------------
/src/main/java/com/aaa/mapper/LpayMapper.java:
--------------------------------------------------------------------------------
1 | package com.aaa.mapper;
2 |
3 | import com.aaa.entity.Lrecord;
4 | import com.aaa.entity.Pay;
5 | import com.aaa.entity.Register;
6 | import org.apache.ibatis.annotations.Mapper;
7 |
8 | import java.util.List;
9 |
10 | @Mapper
11 | public interface LpayMapper {
12 |
13 | int updPay(Register register);
14 | int addPay(Register register);
15 | List selPays(Register register);
16 | List selSurplus(Lrecord lrecord);
17 | }
18 |
--------------------------------------------------------------------------------
/src/main/java/com/aaa/mapper/MainMapper.java:
--------------------------------------------------------------------------------
1 | package com.aaa.mapper;
2 |
3 | import com.aaa.entity.Paiban;
4 | import org.apache.ibatis.annotations.Mapper;
5 |
6 | import java.util.List;
7 |
8 | @Mapper
9 | public interface MainMapper {
10 | List one();
11 | List two();
12 | List three();
13 | List four();
14 | List five();
15 | List six();
16 | List seven();
17 | int currentNum();
18 | int Total();
19 | int zhuyuanTotal();
20 | int currentZhuYuan();
21 |
22 | }
23 |
--------------------------------------------------------------------------------
/src/main/java/com/aaa/mapper/MenuMapper.java:
--------------------------------------------------------------------------------
1 | package com.aaa.mapper;
2 |
3 | import com.aaa.entity.Menu;
4 | import com.aaa.entity.User;
5 | import org.apache.ibatis.annotations.Mapper;
6 |
7 | import java.util.List;
8 |
9 | @Mapper
10 | public interface MenuMapper {
11 | User loginname(String loginname);
12 |
13 | //查询所有菜单
14 | List