├── .gitignore ├── .mvn └── wrapper │ ├── MavenWrapperDownloader.java │ ├── maven-wrapper.jar │ └── maven-wrapper.properties ├── 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 ├── mvnw ├── mvnw.cmd ├── 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 │ └── sql │ │ ├── hospitaldata.sql │ │ └── 说明 │ └── 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 /.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/** 5 | !**/src/test/** 6 | 7 | ### STS ### 8 | .apt_generated 9 | .classpath 10 | .factorypath 11 | .project 12 | .settings 13 | .springBeans 14 | .sts4-cache 15 | 16 | ### IntelliJ IDEA ### 17 | .idea 18 | *.iws 19 | *.iml 20 | *.ipr 21 | 22 | ### NetBeans ### 23 | /nbproject/private/ 24 | /nbbuild/ 25 | /dist/ 26 | /nbdist/ 27 | /.nb-gradle/ 28 | build/ 29 | 30 | ### VS Code ### 31 | .vscode/ 32 | -------------------------------------------------------------------------------- /.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgs98/hospital/fa392263f49dc8ef71dab8f654bdde7206164623/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.0/apache-maven-3.6.0-bin.zip 2 | -------------------------------------------------------------------------------- /lib/javax.ejb.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgs98/hospital/fa392263f49dc8ef71dab8f654bdde7206164623/lib/javax.ejb.jar -------------------------------------------------------------------------------- /lib/javax.jms.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgs98/hospital/fa392263f49dc8ef71dab8f654bdde7206164623/lib/javax.jms.jar -------------------------------------------------------------------------------- /lib/javax.persistence.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgs98/hospital/fa392263f49dc8ef71dab8f654bdde7206164623/lib/javax.persistence.jar -------------------------------------------------------------------------------- /lib/javax.resource.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgs98/hospital/fa392263f49dc8ef71dab8f654bdde7206164623/lib/javax.resource.jar -------------------------------------------------------------------------------- /lib/javax.servlet.jsp.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgs98/hospital/fa392263f49dc8ef71dab8f654bdde7206164623/lib/javax.servlet.jsp.jar -------------------------------------------------------------------------------- /lib/javax.servlet.jsp.jstl.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgs98/hospital/fa392263f49dc8ef71dab8f654bdde7206164623/lib/javax.servlet.jsp.jstl.jar -------------------------------------------------------------------------------- /lib/javax.transaction.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgs98/hospital/fa392263f49dc8ef71dab8f654bdde7206164623/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/Paiban.java: -------------------------------------------------------------------------------- 1 | package com.aaa.entity; 2 | 3 | 4 | 5 | public class Paiban { 6 | private Integer paiId; 7 | private String one; 8 | private String two; 9 | private String three; 10 | private String four; 11 | private String five; 12 | private String six; 13 | private String seven; 14 | private Integer doctorId; 15 | private String doctorName; 16 | 17 | public Integer getPaiId() { 18 | return paiId; 19 | } 20 | 21 | public void setPaiId(Integer paiId) { 22 | this.paiId = paiId; 23 | } 24 | 25 | public String getOne() { 26 | return one; 27 | } 28 | 29 | public void setOne(String one) { 30 | this.one = one; 31 | } 32 | 33 | public String getTwo() { 34 | return two; 35 | } 36 | 37 | public void setTwo(String two) { 38 | this.two = two; 39 | } 40 | 41 | public String getThree() { 42 | return three; 43 | } 44 | 45 | public void setThree(String three) { 46 | this.three = three; 47 | } 48 | 49 | public String getFour() { 50 | return four; 51 | } 52 | 53 | public void setFour(String four) { 54 | this.four = four; 55 | } 56 | 57 | public String getFive() { 58 | return five; 59 | } 60 | 61 | public void setFive(String five) { 62 | this.five = five; 63 | } 64 | 65 | public String getSix() { 66 | return six; 67 | } 68 | 69 | public void setSix(String six) { 70 | this.six = six; 71 | } 72 | 73 | public String getSeven() { 74 | return seven; 75 | } 76 | 77 | public void setSeven(String seven) { 78 | this.seven = seven; 79 | } 80 | 81 | public Integer getDoctorId() { 82 | return doctorId; 83 | } 84 | 85 | public void setDoctorId(Integer doctorId) { 86 | this.doctorId = doctorId; 87 | } 88 | 89 | public String getDoctorName() { 90 | return doctorName; 91 | } 92 | 93 | public void setDoctorName(String doctorName) { 94 | this.doctorName = doctorName; 95 | } 96 | } 97 | -------------------------------------------------------------------------------- /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 queryMenuByUid(Integer userid); 15 | List loadAvailableMenu(); 16 | 17 | List selAllMenuByUser(Integer userId); 18 | 19 | //查询所有菜单 模糊查询 20 | List queryMenuAllList(Menu menu); 21 | 22 | //添加菜单 23 | int addMenu(Menu menu); 24 | 25 | //删除菜单 26 | int deleteMenu(Integer id); 27 | 28 | //检查父级中是否有子级菜单 29 | int checkMenuHasChildren(Integer pid); 30 | 31 | //修改 32 | int updateMenu(Menu menu); 33 | 34 | List queryMenuByRoleId(Integer roleid); 35 | } 36 | -------------------------------------------------------------------------------- /src/main/java/com/aaa/mapper/OutinstoreMapper.java: -------------------------------------------------------------------------------- 1 | package com.aaa.mapper; 2 | 3 | import com.aaa.entity.Baoque; 4 | import com.aaa.entity.Drugstore; 5 | import com.aaa.entity.Ypharmacy; 6 | import org.apache.ibatis.annotations.Mapper; 7 | 8 | import java.util.List; 9 | 10 | @Mapper 11 | public interface OutinstoreMapper { 12 | //查询报缺单 13 | List selbaoquedan(Baoque baoque); 14 | //根据补给单的名字查询对应的仓库药品 15 | Listselbaoquedrugname(Drugstore drugstore); 16 | //减去库存数量 17 | int updatedrugnumber(Drugstore drugstore); 18 | //减去报缺单数量 19 | int upbaoquenumber(Drugstore drugstore); 20 | //库房减去的=加上药房数量 21 | int uppharmacynumber(Drugstore drugstore); 22 | //查询库房给出补给时的数量=这条药品的最大数量 23 | int seldrugnamenum(Drugstore drugstore); 24 | //查询库房给出补给时的数量=这条药品的最大数量 仓库这批药品全部出库 删除这条 25 | int deldrugnamenum(Drugstore drugstore); 26 | //查询报缺表的数据是否有补给完毕的 27 | int selbaoquenamenum(Drugstore drugstore); 28 | //删除报缺数为小于1 的数据 29 | int delbaoquenamenum(); 30 | //直接出库添加药品表数据 31 | int addpharmacy(Ypharmacy ypharmacy); 32 | //出库药品前查询药品是否已存在 33 | int selpharymacyname(Ypharmacy ypharmacy); 34 | //已经存在则修改则添加数量 35 | int uppharymacy(Ypharmacy ypharmacy); 36 | //查询报缺表一共有几条数据 37 | int selbaoquecount(); 38 | /* 用于判断出库时某种药品时 先看看此药是否在紧急报缺表里面,有的话出库时 报缺表的此药也要随之减少*/ 39 | int selbaoqueName(Ypharmacy ypharmacy); 40 | //修改报缺表对应的药的需求数量 41 | int upbaoquenumber1(Ypharmacy ypharmacy); 42 | 43 | } 44 | -------------------------------------------------------------------------------- /src/main/java/com/aaa/mapper/PaibanMapper.java: -------------------------------------------------------------------------------- 1 | package com.aaa.mapper; 2 | 3 | import com.aaa.entity.Ban; 4 | import com.aaa.entity.Paiban; 5 | import org.apache.ibatis.annotations.Mapper; 6 | 7 | import java.util.List; 8 | 9 | @Mapper 10 | public interface PaibanMapper { 11 | List findAllPaiban(Paiban paiban); 12 | int editPaiban(Paiban paiban); 13 | List findAllBan(); 14 | int insertPaiban(Paiban paiban); 15 | int count(Integer Id); 16 | } 17 | -------------------------------------------------------------------------------- /src/main/java/com/aaa/mapper/PharmacyMapper.java: -------------------------------------------------------------------------------- 1 | package com.aaa.mapper; 2 | 3 | import com.aaa.entity.Baoque; 4 | import com.aaa.entity.Huishou; 5 | import com.aaa.entity.Ypharmacy; 6 | import org.apache.ibatis.annotations.Mapper; 7 | 8 | import java.util.List; 9 | 10 | @Mapper 11 | public interface PharmacyMapper { 12 | //查询药房药品 13 | Listselpharmacy(Ypharmacy ypharmacy); 14 | //添加药品到报缺表 15 | int addbaoque(Baoque baoque); 16 | //查询报缺表药品名称是否已存在 17 | int selbaoqueName(Baoque baoque); 18 | //修改数量 19 | int upbaoquenum(Baoque baoque); 20 | //回收给药房 21 | int delpharymacy(Ypharmacy ypharmacy); 22 | //回收表 23 | int addhuishou(Huishou huishou); 24 | //查询回收表 25 | Listselhuishou(Huishou huishou); 26 | //删除回收表 27 | int delhuishou(Huishou huishou); 28 | } 29 | -------------------------------------------------------------------------------- /src/main/java/com/aaa/mapper/PrjectTypeMapper.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 PrjectTypeMapper { 10 | /* 11 | * 项目增删改查 12 | * */ 13 | List findAllProjecttype(Projecttype projecttype); 14 | int addProjecttype(Projecttype projecttype); 15 | int deleteProjecttype(Integer projectId); 16 | int count1(Projecttype projecttype); 17 | /* 18 | * 门诊收费项目Outpatienttype 19 | * */ 20 | List findAllOutpatienttype(Outpatienttype outpatienttype); 21 | int addOutpatienttype(Outpatienttype outpatienttype); 22 | int editOutpatienttype(Outpatienttype outpatienttype); 23 | int deleteOutpatienttype(Integer outpatientId); 24 | int count2(Outpatienttype outpatienttype); 25 | /* 26 | * 住院收费项目Inoutpatienttype 27 | * */ 28 | List findAllInoutpatienttype(Inoutpatienttype inoutpatienttype); 29 | int addInoutpatienttype(Inoutpatienttype inoutpatienttype); 30 | int editInoutpatienttype(Inoutpatienttype inoutpatienttype); 31 | int deleteInoutpatienttype(Integer inoutpatientId); 32 | int count3(Inoutpatienttype inoutpatienttype); 33 | /* 34 | * 收费类型Monetype 35 | * */ 36 | List findAllMoneytype(Moneytype moneytype); 37 | int addMoneytype(Moneytype moneytype); 38 | int editMoneytype(Moneytype moneytype); 39 | int deleteMoneytype(Integer moneyId); 40 | int count4(Moneytype moneytype); 41 | 42 | /* 43 | * 床位Bed 44 | * */ 45 | List findAllBed(Bed bed); 46 | int addBed(Bed bed); 47 | int editBed(Bed bed); 48 | int deleteBed(Integer bedId); 49 | int count5(Bed bed); 50 | /* 51 | * 判断该床位是否有人 52 | * */ 53 | 54 | int checkCount(Integer bedId); 55 | } 56 | -------------------------------------------------------------------------------- /src/main/java/com/aaa/mapper/PutinMapper.java: -------------------------------------------------------------------------------- 1 | package com.aaa.mapper; 2 | 3 | import com.aaa.entity.Drugdictionary; 4 | import com.aaa.entity.Drugstore; 5 | import org.apache.ibatis.annotations.Mapper; 6 | 7 | import java.util.List; 8 | 9 | @Mapper 10 | public interface PutinMapper { 11 | //查询药品清单 12 | List seldcy(Drugdictionary drugdictionary); 13 | //添加入库 14 | int adddrugstore(Drugstore drugstoreName); 15 | //查询药库是否已经存在药品名 16 | int seldrugname(Drugstore drugstore); 17 | int updrugnumber(Drugstore drugstore); 18 | //查询药品库存数量 19 | int selnumber(Drugstore drugstore); 20 | } 21 | -------------------------------------------------------------------------------- /src/main/java/com/aaa/mapper/RecordMapper.java: -------------------------------------------------------------------------------- 1 | package com.aaa.mapper; 2 | 3 | import com.aaa.entity.Record; 4 | import org.apache.ibatis.annotations.Mapper; 5 | 6 | import java.util.List; 7 | 8 | @Mapper 9 | public interface RecordMapper { 10 | //查询所有记录 11 | List selrecord(Record record); 12 | //添加记录 13 | int addjilu(Record record); 14 | 15 | 16 | } 17 | -------------------------------------------------------------------------------- /src/main/java/com/aaa/mapper/RegisteredTypeMapper.java: -------------------------------------------------------------------------------- 1 | package com.aaa.mapper; 2 | 3 | import com.aaa.entity.Registeredtype; 4 | import org.apache.ibatis.annotations.Mapper; 5 | 6 | import java.util.List; 7 | 8 | @Mapper 9 | public interface RegisteredTypeMapper { 10 | //挂号类型的增删查改 11 | List registeredTypeList(Registeredtype registeredType); 12 | int deleteType(Integer registeredId); 13 | int editRegisteredType(Registeredtype Registeredtype); 14 | int addRegisteredType(Registeredtype Registeredtype); 15 | int count(Registeredtype registeredType); 16 | 17 | 18 | } 19 | -------------------------------------------------------------------------------- /src/main/java/com/aaa/mapper/RoleMapper.java: -------------------------------------------------------------------------------- 1 | package com.aaa.mapper; 2 | 3 | import com.aaa.entity.DataGridView; 4 | import com.aaa.entity.Role; 5 | import com.aaa.entity.RoleMenu; 6 | import org.apache.ibatis.annotations.Mapper; 7 | import org.apache.ibatis.annotations.Param; 8 | 9 | import java.util.List; 10 | 11 | @Mapper 12 | public interface RoleMapper { 13 | //加载所有角色 14 | List loadAllRole(Role role); 15 | //添加角色 16 | int insertRole(Role role); 17 | //修改角色 18 | int updateRole(Role role); 19 | //删除角色 20 | int deleteRoleId(Integer roleid); 21 | //删除角色与菜单的关系 22 | int deleteRoleMenuId(Integer roleid); 23 | //删除角色与用户的管理 24 | int deleteRoleUserId(Integer roleid); 25 | //按照角色id加载该角色的菜单 26 | DataGridView initRoleMenuTreeJson(Integer roleid); 27 | //保存角色与菜单的关系 28 | void saveRoleMenu(RoleMenu roleMenu); 29 | //添加角色 30 | void insertRoleMenu(@Param("rid")Integer rid, @Param("mid")Integer mid); 31 | } 32 | -------------------------------------------------------------------------------- /src/main/java/com/aaa/mapper/SdrugdictionaryMapper.java: -------------------------------------------------------------------------------- 1 | package com.aaa.mapper; 2 | 3 | import com.aaa.entity.Area; 4 | import com.aaa.entity.Sdrugdictionary; 5 | import com.aaa.entity.Type; 6 | import com.aaa.entity.Unit; 7 | import org.apache.ibatis.annotations.Mapper; 8 | 9 | import java.util.List; 10 | @Mapper 11 | public interface SdrugdictionaryMapper { 12 | //药品字典的增删改查 13 | List findAllSdrugdictionary(Sdrugdictionary sdrugdictionary); 14 | int addSdrugdictionary(Sdrugdictionary sdrugdictionary); 15 | int editSdrugdictionary(Sdrugdictionary sdrugdictionary); 16 | int deleteSdrugdictionary(Integer drugId); 17 | List findAllUnit(); 18 | List findAllArea(); 19 | List findAllType(); 20 | int count(Sdrugdictionary sdrugdictionary); 21 | } 22 | -------------------------------------------------------------------------------- /src/main/java/com/aaa/mapper/SkullMapper.java: -------------------------------------------------------------------------------- 1 | package com.aaa.mapper; 2 | 3 | import com.aaa.entity.Skull; 4 | import org.apache.ibatis.annotations.Mapper; 5 | 6 | import java.util.List; 7 | @Mapper 8 | public interface SkullMapper { 9 | //经办人的增删查改 10 | List findAllSkull(Skull skull); 11 | int deleteSkull(Integer skullId); 12 | int addSkull(Skull skull); 13 | int editSkull(Skull skull); 14 | } 15 | -------------------------------------------------------------------------------- /src/main/java/com/aaa/mapper/StoreMapper.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 StoreMapper { 10 | //查询库房药品 11 | List selStore(Drugstore drugstore); 12 | //查询药品类型 13 | List seltype(Type type); 14 | //查询药品类型 15 | List selarea(Area area); 16 | //查询药品类型 17 | List selunit(Unit unit); 18 | //经办人 19 | List selskull(Skull skull); 20 | //供货商 21 | List selupplier(Upplier upplier); 22 | //修改药品信息 23 | int updrugstore(Drugstore drugstore); 24 | //仓库 25 | List selwarehuose(Warehuose warehuose); 26 | //数量过少的药品查询 27 | List selectlackdrug(Drugstore drugstore); 28 | //库存不足的药品有多少条 29 | int selcountless(); 30 | //添加采购单 31 | int addcaigou(Caigou caigou); 32 | //添加采购单时判断采购单是否已经有同名药品 33 | int selcaigouname(Caigou caigou); 34 | //添加采购单时如果已存在此药品 则直接加数量 35 | int upcaigounumber(Caigou caigou); 36 | 37 | //查询采购表单 38 | List selcaigou(Caigou caigou); 39 | //删除采购单 40 | int delcaigou(Integer caigouid); 41 | //查询过期的药品 42 | List seldrugDate(Drugstore drugstore); 43 | //查询过期的药品有几条 44 | int selcountlessnum(); 45 | //删除过期药品 46 | int delguoqidurg(Integer rugstoreId); 47 | 48 | } 49 | -------------------------------------------------------------------------------- /src/main/java/com/aaa/mapper/TypeMapper.java: -------------------------------------------------------------------------------- 1 | package com.aaa.mapper; 2 | 3 | import com.aaa.entity.Type; 4 | import org.apache.ibatis.annotations.Mapper; 5 | 6 | import java.util.List; 7 | 8 | @Mapper 9 | public interface TypeMapper { 10 | //类型的增删查改 11 | List findAllType(Type type); 12 | int deleteType(Integer typeId); 13 | int addType(Type type); 14 | int count(Type type); 15 | } 16 | -------------------------------------------------------------------------------- /src/main/java/com/aaa/mapper/UnitMapper.java: -------------------------------------------------------------------------------- 1 | package com.aaa.mapper; 2 | 3 | import com.aaa.entity.Unit; 4 | import org.apache.ibatis.annotations.Mapper; 5 | 6 | import java.util.List; 7 | 8 | @Mapper 9 | public interface UnitMapper { 10 | //单位的增删查改 11 | List findAllUnit(Unit unit); 12 | int deleteUnit(Integer unitId); 13 | int addUnit(Unit unit); 14 | int count(Unit unit); 15 | } 16 | -------------------------------------------------------------------------------- /src/main/java/com/aaa/mapper/UpplierMapper.java: -------------------------------------------------------------------------------- 1 | package com.aaa.mapper; 2 | 3 | import com.aaa.entity.Upplier; 4 | import org.apache.ibatis.annotations.Mapper; 5 | 6 | import java.util.List; 7 | 8 | @Mapper 9 | public interface UpplierMapper { 10 | //供货商的增删查改 11 | List findAllUpplier(Upplier upplier); 12 | int deleteUpplier(Integer supplierId); 13 | int addUpplier(Upplier upplier); 14 | int count(Upplier upplier); 15 | } 16 | -------------------------------------------------------------------------------- /src/main/java/com/aaa/mapper/UserMapper.java: -------------------------------------------------------------------------------- 1 | package com.aaa.mapper; 2 | 3 | import com.aaa.entity.DataGridView; 4 | import com.aaa.entity.Role; 5 | import com.aaa.entity.RoleMenu; 6 | import com.aaa.entity.User; 7 | import org.apache.ibatis.annotations.Mapper; 8 | import org.apache.ibatis.annotations.Param; 9 | 10 | import java.util.List; 11 | 12 | @Mapper 13 | public interface UserMapper { 14 | List selectAllUser(User user); 15 | int updateUser(User user); 16 | //查询 17 | List initUserRole(Role role); 18 | //添加用户 19 | int addUser(User user); 20 | //删除用户所拥有的角色 21 | void deleteUser(Integer userid); 22 | int deleteUserById(Integer userid); 23 | int deleteRoleUser(Integer userid); 24 | //重置密码 25 | int resetUserPwd(User user); 26 | //查询所有用户角色 27 | DataGridView queryUserRole(Integer userid); 28 | //查询所有角色 29 | List queryAllRole(); 30 | //按照用户id查询角色 31 | List queryRoleById(Integer uid); 32 | //保存角色和菜单 33 | void saveRoleMenu(RoleMenu roleMenu); 34 | //保存用户和角色 35 | void insertUserRole(@Param("uid")Integer userid, @Param("rid")Integer rid); 36 | 37 | 38 | List updateLogin(User user); 39 | int editLogin(User user); 40 | int editPwd(User user); 41 | //检查唯一 42 | int checkUser(User user); 43 | 44 | } 45 | -------------------------------------------------------------------------------- /src/main/java/com/aaa/mapper/WarehuoseMapper.java: -------------------------------------------------------------------------------- 1 | package com.aaa.mapper; 2 | 3 | import com.aaa.entity.Warehuose; 4 | import org.apache.ibatis.annotations.Mapper; 5 | 6 | import java.util.List; 7 | 8 | @Mapper 9 | public interface WarehuoseMapper { 10 | //库房的增删查改 11 | List findAllWarehuose(Warehuose warehuose); 12 | int deleteWarehuose(Integer warehouseId); 13 | int addWarehuose(Warehuose warehuose); 14 | int count(Warehuose warehuose); 15 | } 16 | -------------------------------------------------------------------------------- /src/main/java/com/aaa/service/AreaService.java: -------------------------------------------------------------------------------- 1 | package com.aaa.service; 2 | 3 | import com.aaa.entity.Area; 4 | 5 | import java.util.List; 6 | 7 | public interface AreaService { 8 | /* 9 | * 地区的增删改查 10 | * */ 11 | List findAllArea(Area area); 12 | int deleteArea(Integer areaId); 13 | int addArea(Area area); 14 | int count(Area area); 15 | } 16 | -------------------------------------------------------------------------------- /src/main/java/com/aaa/service/CCashierService.java: -------------------------------------------------------------------------------- 1 | package com.aaa.service; 2 | 3 | import com.aaa.entity.*; 4 | 5 | import java.util.List; 6 | 7 | public interface CCashierService { 8 | //查询挂号的所有信息用于页面表格展示 9 | List sel(); 10 | //查询所有药房 11 | List selware(); 12 | //根据药房查询所有药品信息在药品详情框中展示 13 | List selpharm(CPharmacy cPharmacy); 14 | //查询这个用户的处方表上有没有这个药 15 | Integer selcadr(CCashier cCashier); 16 | //添加处方药品 17 | Integer addchu(CCashier cCashier); 18 | //如果有该药品则改变该药品的数量 19 | Integer updchu(CCashier cCashier); 20 | //查询该用户的处方 21 | List selpepi(Integer perid); 22 | //删除处方中的药品 23 | Integer del(CCashier cCashier); 24 | //减少药房中的数量 25 | Integer deldrunum(CPharmacy cPharmacy); 26 | //添加药品数量 27 | Integer adddrunum(CPharmacy cPharmacy); 28 | //模糊查询 29 | List mohu(ReportVo reportVo); 30 | //修改用户的病例 31 | Integer addbing(CReport cReport); 32 | //查询用户有没有病例 33 | String selbing(Integer rid); 34 | //查询用户做项目的结果 35 | String lookbing(Integer reid); 36 | //查询该用户是否还有未交钱的项目 37 | int seljiao(Integer reid); 38 | //查看该用户有几个已经做过的项目 39 | Integer selyi(Integer reid); 40 | //查询该用户有几个已经交过钱的项目 41 | Integer selgong(Integer reid); 42 | //查询用户所有的处方 43 | List selall(Integer perid); 44 | //查询用户项目的处方 45 | List selximu(Integer perid); 46 | } 47 | -------------------------------------------------------------------------------- /src/main/java/com/aaa/service/COutService.java: -------------------------------------------------------------------------------- 1 | package com.aaa.service; 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 | 8 | import java.util.List; 9 | 10 | public interface COutService { 11 | //查询门诊收费项目 12 | List selout(Coutpatienttype coutpatienttype); 13 | //查询这个用户的处方表上有没有这个药 14 | Integer selchuo(CCashier cCashier); 15 | //添加处方药品 16 | Integer addchuo(CCashier cCashier); 17 | //如果有该项目则改变该项目的数量 18 | Integer updchuo(CCashier cCashier); 19 | //删除处方中的项目 20 | Integer delo(CCashier cCashier); 21 | //查询这个用户的处方的价钱 22 | Double selch(CCashier cCashier); 23 | //修改用户信息付过钱了 24 | Integer shoufei(ReportVo reportVo); 25 | //把挂号费添加到收费表上 26 | Integer guafei(ReportVo reportVo); 27 | } 28 | -------------------------------------------------------------------------------- /src/main/java/com/aaa/service/CTakeService.java: -------------------------------------------------------------------------------- 1 | package com.aaa.service; 2 | 3 | import com.aaa.entity.ReportVo; 4 | 5 | import java.util.List; 6 | 7 | public interface CTakeService { 8 | //查询挂号的所有信息用于页面表格展示 9 | List sel(); 10 | //药品出库修改用户状态 11 | Integer chuku(ReportVo reportVo); 12 | //查看所有交过费出院的患者 13 | List selhuan(ReportVo reportVo); 14 | //查询该用户的总价钱 15 | int zong(Integer reid); 16 | } 17 | -------------------------------------------------------------------------------- /src/main/java/com/aaa/service/CXiangmuPayService.java: -------------------------------------------------------------------------------- 1 | package com.aaa.service; 2 | 3 | import com.aaa.entity.CCashier; 4 | 5 | import java.util.List; 6 | 7 | public interface CXiangmuPayService { 8 | //查询用户所有的项目然后 9 | List selxiang(Integer perid); 10 | //查询该用户有没有收费项目 11 | Integer selshoux(Integer perid); 12 | //项目收费修改项目的收费状态 13 | Integer updxiang(Integer perid); 14 | //项目检查页面查询用户所有要检查的项目 15 | List selcha(Integer perid); 16 | //添加项目的检查结果 17 | Integer addjie(CCashier cCashier); 18 | } 19 | -------------------------------------------------------------------------------- /src/main/java/com/aaa/service/CheckupService.java: -------------------------------------------------------------------------------- 1 | package com.aaa.service; 2 | 3 | import com.aaa.entity.Lcheckup; 4 | 5 | import java.util.List; 6 | 7 | public interface CheckupService { 8 | 9 | int addCheckup(Lcheckup lcheckup); 10 | int updPrice(Lcheckup lcheckup); 11 | List selCheckup(Lcheckup lcheckup); 12 | } 13 | -------------------------------------------------------------------------------- /src/main/java/com/aaa/service/CreportService.java: -------------------------------------------------------------------------------- 1 | package com.aaa.service; 2 | 3 | import com.aaa.entity.*; 4 | 5 | import java.util.List; 6 | 7 | public interface CreportService { 8 | //查询挂号的所有信息 9 | List sel(ReportVo reportVo); 10 | List selById(Integer reportId); 11 | //查询所有的科室 12 | List seldep(); 13 | //查询所有的门诊类型 14 | List selreg(); 15 | //查询医生的信息 16 | List one(CDoctor cDoctor); 17 | List two(CDoctor cDoctor); 18 | List three(CDoctor cDoctor); 19 | List four(CDoctor cDoctor); 20 | List five(CDoctor cDoctor); 21 | List six(CDoctor cDoctor); 22 | List seven(CDoctor cDoctor); 23 | //根据所选科室查询该科室的价格 24 | Integer seltymo(CRegisteredtype cRegisteredtype); 25 | //添加挂号人员 26 | Integer addre(CReport cReport); 27 | //根据id删除某个患者的信息 28 | Integer delre(Integer id); 29 | //判断正在就诊的电话唯一 30 | Integer phone(CReport cReport); 31 | //判断正在就诊的电话唯一 32 | Integer carid(CReport cReport); 33 | //把今天预约而没有来的人进行删除 34 | int upddang(); 35 | //从门诊转入住院 36 | Integer zhuanyuan(CReport cReport); 37 | } 38 | -------------------------------------------------------------------------------- /src/main/java/com/aaa/service/DepartmentService.java: -------------------------------------------------------------------------------- 1 | package com.aaa.service; 2 | 3 | import com.aaa.entity.Departments; 4 | 5 | import java.util.List; 6 | 7 | public interface DepartmentService { 8 | /* 9 | * 科室的增删改查 10 | * */ 11 | List departmentList(Departments departments); 12 | int deleteDepartment(Integer departmentId); 13 | int addDepartment(Departments departments); 14 | int count(Departments departments); 15 | 16 | /* 17 | * 判断该科室是否还有医生 18 | * */ 19 | int checkCount(Integer departmentId); 20 | } 21 | -------------------------------------------------------------------------------- /src/main/java/com/aaa/service/DoctorService.java: -------------------------------------------------------------------------------- 1 | package com.aaa.service; 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 | 8 | import java.util.List; 9 | 10 | public interface DoctorService { 11 | /* 12 | * 医生的增删改查 13 | * */ 14 | List doctorList(Doctor doctor); 15 | int deleteDoctor(Integer doctorId); 16 | int addDoctor(Doctor doctor); 17 | int editDoctor(Doctor doctor); 18 | List findAllDepartments(); 19 | ListfindAllRegisteredtype(); 20 | int count(Doctor doctor); 21 | /* 22 | * 判断该医生是否还有病人 23 | * */ 24 | int checkCount(Integer doctorId); 25 | } 26 | -------------------------------------------------------------------------------- /src/main/java/com/aaa/service/FinanceService.java: -------------------------------------------------------------------------------- 1 | package com.aaa.service; 2 | 3 | import com.aaa.entity.Finance; 4 | import com.aaa.entity.SdoctorDuibi; 5 | import com.aaa.entity.currentFinance; 6 | 7 | import java.util.List; 8 | 9 | public interface FinanceService { 10 | /*门诊月收入对比*/ 11 | List reportYearFinance(String year); 12 | /*门诊年收入对比*/ 13 | List reportYearBingFinance(); 14 | /*住院月收入对比*/ 15 | List zhuYuanYearFinance(String year); 16 | /*住院年收入对比*/ 17 | List zhuYuanYearBingFinance(); 18 | /*医生收入统计对比*/ 19 | List doctorDuibi(SdoctorDuibi sdoctorDuibi); 20 | /*住院部医生收入统计对比*/ 21 | List zDoctorDuibi(SdoctorDuibi sdoctorDuibi); 22 | /*门诊当天*/ 23 | List currentFinance(String current); 24 | } 25 | -------------------------------------------------------------------------------- /src/main/java/com/aaa/service/Impl/AreaServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.aaa.service.Impl; 2 | 3 | import com.aaa.entity.Area; 4 | import com.aaa.mapper.AreaMapper; 5 | import com.aaa.service.AreaService; 6 | import org.springframework.stereotype.Service; 7 | import org.springframework.transaction.annotation.Transactional; 8 | 9 | import javax.annotation.Resource; 10 | import java.util.List; 11 | 12 | @Service 13 | @Transactional 14 | public class AreaServiceImpl implements AreaService { 15 | @Resource 16 | private AreaMapper areaMapper; 17 | @Override 18 | public List findAllArea(Area area) { 19 | return areaMapper.findAllArea(area); 20 | } 21 | 22 | @Override 23 | public int deleteArea(Integer areaId) { 24 | return areaMapper.deleteArea(areaId); 25 | } 26 | 27 | @Override 28 | public int addArea(Area area) { 29 | return areaMapper.addArea(area); 30 | } 31 | 32 | 33 | @Override 34 | public int count(Area area) { 35 | return areaMapper.count(area); 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /src/main/java/com/aaa/service/Impl/COutServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.aaa.service.Impl; 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 com.aaa.mapper.CCashierMapper; 8 | import com.aaa.mapper.COutMapper; 9 | import com.aaa.service.COutService; 10 | import org.springframework.stereotype.Service; 11 | import org.springframework.transaction.annotation.Transactional; 12 | 13 | import javax.annotation.Resource; 14 | import java.util.List; 15 | 16 | @Service 17 | @Transactional 18 | public class COutServiceImpl implements COutService { 19 | @Resource 20 | private COutMapper cOutMapper; 21 | //查询门诊收费项目 22 | @Override 23 | public List selout(Coutpatienttype coutpatienttype) { 24 | return cOutMapper.selout(coutpatienttype); 25 | } 26 | //查询该用户的处方中是否有该项目 27 | @Override 28 | public Integer selchuo(CCashier cCashier) { 29 | return cOutMapper.selchuo(cCashier); 30 | } 31 | //给该项目添加到处方表 32 | @Override 33 | public Integer addchuo(CCashier cCashier) { 34 | return cOutMapper.addchuo(cCashier); 35 | } 36 | //修改该项目的数量 37 | @Override 38 | public Integer updchuo(CCashier cCashier) { 39 | return cOutMapper.updchuo(cCashier); 40 | } 41 | //删除处方中的项目 42 | @Override 43 | public Integer delo(CCashier cCashier) { 44 | return cOutMapper.delo(cCashier); 45 | } 46 | //查询该用户的处方价格 47 | @Override 48 | public Double selch(CCashier cCashier) { 49 | return cOutMapper.selch(cCashier); 50 | } 51 | 52 | @Override 53 | public Integer shoufei(ReportVo reportVo) { 54 | return cOutMapper.shoufei(reportVo); 55 | } 56 | 57 | @Override 58 | public Integer guafei(ReportVo reportVo) { 59 | return cOutMapper.guafei(reportVo); 60 | } 61 | } 62 | -------------------------------------------------------------------------------- /src/main/java/com/aaa/service/Impl/CTakeServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.aaa.service.Impl; 2 | 3 | import com.aaa.entity.ReportVo; 4 | import com.aaa.mapper.CTakeMapper; 5 | import com.aaa.service.CTakeService; 6 | import org.springframework.stereotype.Service; 7 | import org.springframework.transaction.annotation.Transactional; 8 | 9 | import javax.annotation.Resource; 10 | import java.util.List; 11 | @Service 12 | @Transactional 13 | public class CTakeServiceImpl implements CTakeService { 14 | @Resource 15 | private CTakeMapper cTakeMapper; 16 | //查看交过费没取药的患者 17 | @Override 18 | public List sel() { 19 | return cTakeMapper.sel(); 20 | } 21 | //修改用户状态 22 | @Override 23 | public Integer chuku(ReportVo reportVo) { 24 | return cTakeMapper.chuku(reportVo); 25 | } 26 | //查看交过费取过要的患者 27 | @Override 28 | public List selhuan(ReportVo reportVo) { 29 | return cTakeMapper.selhuan(reportVo); 30 | } 31 | //查询该用户的总价钱 32 | @Override 33 | public int zong(Integer reid) { 34 | return cTakeMapper.zong(reid); 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /src/main/java/com/aaa/service/Impl/CXiangmuPayServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.aaa.service.Impl; 2 | 3 | import com.aaa.entity.CCashier; 4 | import com.aaa.mapper.CXiangmuPayMapper; 5 | import com.aaa.service.CXiangmuPayService; 6 | import com.sun.org.apache.regexp.internal.RE; 7 | import org.springframework.stereotype.Service; 8 | import org.springframework.transaction.annotation.Transactional; 9 | 10 | import javax.annotation.Resource; 11 | import java.util.List; 12 | 13 | @Service 14 | @Transactional 15 | public class CXiangmuPayServiceImpl implements CXiangmuPayService { 16 | @Resource 17 | private CXiangmuPayMapper cXiangmuPayMapper; 18 | //查询用户所有的项目然后 19 | @Override 20 | public List selxiang(Integer perid) { 21 | return cXiangmuPayMapper.selxiang(perid); 22 | } 23 | //查询该用户有没有收费项目 24 | @Override 25 | public Integer selshoux(Integer perid) { 26 | return cXiangmuPayMapper.selshoux(perid); 27 | } 28 | //项目收费修改项目的收费状态 29 | @Override 30 | public Integer updxiang(Integer perid) { 31 | return cXiangmuPayMapper.updxiang(perid); 32 | } 33 | //项目检查页面查询用户所有要检查的项目 34 | @Override 35 | public List selcha(Integer perid) { 36 | return cXiangmuPayMapper.selcha(perid); 37 | } 38 | //添加项目的检查结果 39 | @Override 40 | public Integer addjie(CCashier cCashier) { 41 | return cXiangmuPayMapper.addjie(cCashier); 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /src/main/java/com/aaa/service/Impl/CheckupServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.aaa.service.Impl; 2 | 3 | import com.aaa.entity.Lcheckup; 4 | import com.aaa.mapper.CheckupMapper; 5 | import com.aaa.service.CheckupService; 6 | import org.springframework.stereotype.Service; 7 | import org.springframework.transaction.annotation.Transactional; 8 | 9 | import javax.annotation.Resource; 10 | import java.util.List; 11 | 12 | @Service 13 | @Transactional 14 | public class CheckupServiceImpl implements CheckupService { 15 | 16 | @Resource 17 | private CheckupMapper checkupMapper; 18 | 19 | @Override 20 | public int addCheckup(Lcheckup lcheckup) { 21 | return checkupMapper.addCheckup(lcheckup); 22 | } 23 | 24 | @Override 25 | public int updPrice(Lcheckup lcheckup) { 26 | return checkupMapper.updPrice(lcheckup); 27 | } 28 | 29 | @Override 30 | public List selCheckup(Lcheckup lcheckup) { 31 | return checkupMapper.selCheckup(lcheckup); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /src/main/java/com/aaa/service/Impl/DepartmentServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.aaa.service.Impl; 2 | 3 | import com.aaa.entity.Departments; 4 | import com.aaa.mapper.DepartmentMapper; 5 | import com.aaa.service.DepartmentService; 6 | import org.springframework.stereotype.Service; 7 | import org.springframework.transaction.annotation.Transactional; 8 | 9 | import javax.annotation.Resource; 10 | import java.util.List; 11 | @Service 12 | @Transactional 13 | public class DepartmentServiceImpl implements DepartmentService { 14 | @Resource 15 | private DepartmentMapper departmentMapper; 16 | @Override 17 | public List departmentList(Departments departments) { 18 | return departmentMapper.departmentList(departments); 19 | } 20 | 21 | @Override 22 | public int deleteDepartment(Integer departmentId) { 23 | return departmentMapper.deleteDepartment(departmentId); 24 | } 25 | 26 | @Override 27 | public int addDepartment(Departments departments) { 28 | return departmentMapper.addDepartment(departments); 29 | } 30 | 31 | 32 | @Override 33 | public int count(Departments departments) { 34 | return departmentMapper.count(departments); 35 | } 36 | 37 | @Override 38 | public int checkCount(Integer departmentId) { 39 | return departmentMapper.checkCount(departmentId); 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /src/main/java/com/aaa/service/Impl/DoctorServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.aaa.service.Impl; 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 com.aaa.mapper.DoctorMapper; 8 | import com.aaa.service.DoctorService; 9 | import org.springframework.stereotype.Service; 10 | import org.springframework.transaction.annotation.Transactional; 11 | 12 | import javax.annotation.Resource; 13 | import java.util.List; 14 | @Service 15 | @Transactional 16 | public class DoctorServiceImpl implements DoctorService { 17 | @Resource 18 | private DoctorMapper doctorMapper; 19 | @Override 20 | public List doctorList(Doctor doctor) { 21 | return doctorMapper.doctorList(doctor); 22 | } 23 | 24 | @Override 25 | public int deleteDoctor(Integer doctorId) { 26 | return doctorMapper.deleteDoctor(doctorId); 27 | } 28 | 29 | @Override 30 | public int addDoctor(Doctor doctor) { 31 | return doctorMapper.addDoctor(doctor); 32 | } 33 | 34 | @Override 35 | public int editDoctor(Doctor doctor) { 36 | return doctorMapper.editDoctor(doctor); 37 | } 38 | 39 | @Override 40 | public List findAllDepartments() { 41 | return doctorMapper.findAllDepartments(); 42 | } 43 | 44 | @Override 45 | public List findAllRegisteredtype() { 46 | return doctorMapper.findAllRegisteredtype(); 47 | } 48 | 49 | @Override 50 | public int count(Doctor doctor) { 51 | return doctorMapper.count(doctor); 52 | } 53 | 54 | @Override 55 | public int checkCount(Integer doctorId) { 56 | return doctorMapper.checkCount(doctorId); 57 | } 58 | 59 | 60 | } 61 | -------------------------------------------------------------------------------- /src/main/java/com/aaa/service/Impl/FinanceServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.aaa.service.Impl; 2 | 3 | import com.aaa.entity.Finance; 4 | import com.aaa.entity.SdoctorDuibi; 5 | import com.aaa.entity.currentFinance; 6 | import com.aaa.mapper.FinanceMapper; 7 | import com.aaa.service.FinanceService; 8 | import org.springframework.stereotype.Service; 9 | 10 | import javax.annotation.Resource; 11 | import java.util.List; 12 | @Service 13 | public class FinanceServiceImpl implements FinanceService { 14 | @Resource 15 | private FinanceMapper FinanceMapper; 16 | @Override 17 | public List reportYearFinance(String year) { 18 | return FinanceMapper.reportYearFinance(year); 19 | } 20 | 21 | @Override 22 | public List reportYearBingFinance() { 23 | return FinanceMapper.reportYearBingFinance(); 24 | } 25 | 26 | @Override 27 | public List zhuYuanYearFinance(String year) { 28 | return FinanceMapper.zhuYuanYearFinance(year); 29 | } 30 | 31 | @Override 32 | public List zhuYuanYearBingFinance() { 33 | return FinanceMapper.zhuYuanYearBingFinance(); 34 | } 35 | 36 | @Override 37 | public List doctorDuibi(SdoctorDuibi sdoctorDuibi) { 38 | return FinanceMapper.doctorDuibi(sdoctorDuibi); 39 | } 40 | 41 | @Override 42 | public List zDoctorDuibi(SdoctorDuibi sdoctorDuibi) { 43 | return FinanceMapper.zDoctorDuibi(sdoctorDuibi); 44 | } 45 | 46 | @Override 47 | public List currentFinance(String current) { 48 | return FinanceMapper.currentFinance(current); 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /src/main/java/com/aaa/service/Impl/LadminServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.aaa.service.Impl; 2 | 3 | import com.aaa.entity.*; 4 | import com.aaa.mapper.LadminMapper; 5 | import com.aaa.service.LadminService; 6 | import org.springframework.stereotype.Service; 7 | import org.springframework.transaction.annotation.Transactional; 8 | 9 | import javax.annotation.Resource; 10 | import java.util.List; 11 | 12 | @Service 13 | @Transactional 14 | public class LadminServiceImpl implements LadminService { 15 | 16 | @Resource 17 | private LadminMapper ladminMapper; 18 | 19 | @Override 20 | public List selDepartment(Departments departments) { 21 | return ladminMapper.selDepartment(departments); 22 | } 23 | 24 | @Override 25 | public List selDoctor(Doctor doctor) { 26 | return ladminMapper.selDoctor(doctor); 27 | } 28 | 29 | @Override 30 | public List selBed(Bed bed) { 31 | return ladminMapper.selBed(bed); 32 | } 33 | 34 | @Override 35 | public int addRegister(Register register) { 36 | return ladminMapper.addRegister(register); 37 | } 38 | 39 | @Override 40 | public List selRegister(Register register) { 41 | return ladminMapper.selRegister(register); 42 | } 43 | 44 | @Override 45 | public int updBed(Register register) { 46 | return ladminMapper.updBed(register); 47 | } 48 | 49 | @Override 50 | public List selDis() { 51 | return ladminMapper.selDis(); 52 | } 53 | 54 | @Override 55 | public List selDoor() { 56 | return ladminMapper.selDoor(); 57 | } 58 | 59 | @Override 60 | public int updZ(Register register) { 61 | return ladminMapper.updZ(register); 62 | } 63 | 64 | @Override 65 | public int updKe(Register register) { 66 | return ladminMapper.updKe(register); 67 | } 68 | } 69 | -------------------------------------------------------------------------------- /src/main/java/com/aaa/service/Impl/LdrugServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.aaa.service.Impl; 2 | 3 | import com.aaa.entity.Lpharmacy; 4 | import com.aaa.entity.Lrecord; 5 | import com.aaa.mapper.LdrugMapper; 6 | import com.aaa.service.LdrugService; 7 | import org.springframework.stereotype.Service; 8 | import org.springframework.transaction.annotation.Transactional; 9 | 10 | import javax.annotation.Resource; 11 | import java.util.List; 12 | 13 | @Service 14 | @Transactional 15 | public class LdrugServiceImpl implements LdrugService { 16 | 17 | @Resource 18 | private LdrugMapper ldrugMapper; 19 | 20 | @Override 21 | public List selDrug(Lpharmacy lpharmacy) { 22 | return ldrugMapper.selDrug(lpharmacy); 23 | } 24 | 25 | @Override 26 | public List selDrugs(Lrecord lrecord) { 27 | return ldrugMapper.selDrugs(lrecord); 28 | } 29 | 30 | @Override 31 | public int addDrug(Lrecord lrecord) { 32 | return ldrugMapper.addDrug(lrecord); 33 | } 34 | 35 | @Override 36 | public int updDrug(Lrecord lrecord) { 37 | return ldrugMapper.updDrug(lrecord); 38 | } 39 | 40 | @Override 41 | public int delDrug(Lrecord lrecord) { 42 | return ldrugMapper.delDrug(lrecord); 43 | } 44 | 45 | @Override 46 | public int updDrugs(Lrecord lrecord) { 47 | return ldrugMapper.updDrugs(lrecord); 48 | } 49 | 50 | @Override 51 | public int updNum(Lrecord lrecord) { 52 | return ldrugMapper.updNum(lrecord); 53 | } 54 | 55 | @Override 56 | public int upd(Lrecord lrecord) { 57 | return ldrugMapper.upd(lrecord); 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /src/main/java/com/aaa/service/Impl/LitemServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.aaa.service.Impl; 2 | 3 | import com.aaa.entity.Litem; 4 | import com.aaa.entity.Lrecord; 5 | import com.aaa.mapper.LitemMapper; 6 | import com.aaa.service.LitemService; 7 | import org.springframework.stereotype.Service; 8 | import org.springframework.transaction.annotation.Transactional; 9 | 10 | import javax.annotation.Resource; 11 | import java.util.List; 12 | 13 | @Service 14 | @Transactional 15 | public class LitemServiceImpl implements LitemService { 16 | 17 | @Resource 18 | private LitemMapper litemMapper; 19 | 20 | @Override 21 | public List selItems(Litem litem) { 22 | return litemMapper.selItems(litem); 23 | } 24 | 25 | } 26 | -------------------------------------------------------------------------------- /src/main/java/com/aaa/service/Impl/LleaveServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.aaa.service.Impl; 2 | 3 | import com.aaa.entity.Register; 4 | import com.aaa.mapper.LleaveMapper; 5 | import com.aaa.service.LleaveService; 6 | import org.springframework.stereotype.Service; 7 | import org.springframework.transaction.annotation.Transactional; 8 | 9 | import javax.annotation.Resource; 10 | import java.util.List; 11 | 12 | @Service 13 | @Transactional 14 | public class LleaveServiceImpl implements LleaveService { 15 | 16 | @Resource 17 | private LleaveMapper lleaveMapper; 18 | 19 | @Override 20 | public List selRegisters(Register register) { 21 | return lleaveMapper.selRegisters(register); 22 | } 23 | 24 | @Override 25 | public int updRstate(Register register) { 26 | return lleaveMapper.updRstate(register); 27 | } 28 | 29 | @Override 30 | public int updBstate(Register register) { 31 | return lleaveMapper.updBstate(register); 32 | } 33 | 34 | @Override 35 | public int selYaos(Register register) { 36 | return lleaveMapper.selYaos(register); 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /src/main/java/com/aaa/service/Impl/LpayServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.aaa.service.Impl; 2 | 3 | import com.aaa.entity.Lrecord; 4 | import com.aaa.entity.Pay; 5 | import com.aaa.entity.Register; 6 | import com.aaa.mapper.LpayMapper; 7 | import com.aaa.service.LpayService; 8 | import org.springframework.stereotype.Service; 9 | import org.springframework.transaction.annotation.Transactional; 10 | 11 | import javax.annotation.Resource; 12 | import java.util.List; 13 | 14 | @Service 15 | @Transactional 16 | public class LpayServiceImpl implements LpayService { 17 | 18 | @Resource 19 | private LpayMapper lpayMapper; 20 | 21 | @Override 22 | public int updPay(Register register) { 23 | return lpayMapper.updPay(register); 24 | } 25 | 26 | @Override 27 | public int addPay(Register register) { 28 | return lpayMapper.addPay(register); 29 | } 30 | 31 | @Override 32 | public List selPays(Register register) { 33 | return lpayMapper.selPays(register); 34 | } 35 | 36 | @Override 37 | public List selSurplus(Lrecord lrecord) { 38 | return lpayMapper.selSurplus(lrecord); 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /src/main/java/com/aaa/service/Impl/MainServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.aaa.service.Impl; 2 | 3 | import com.aaa.entity.Paiban; 4 | import com.aaa.mapper.MainMapper; 5 | import com.aaa.service.MainService; 6 | import org.springframework.stereotype.Service; 7 | import org.springframework.transaction.annotation.Transactional; 8 | 9 | import javax.annotation.Resource; 10 | import java.util.List; 11 | @Service 12 | @Transactional 13 | public class MainServiceImpl implements MainService { 14 | @Resource 15 | private MainMapper mainMapper; 16 | @Override 17 | public List one() { 18 | return mainMapper.one(); 19 | } 20 | 21 | @Override 22 | public List two() { 23 | return mainMapper.two(); 24 | } 25 | 26 | @Override 27 | public List three() { 28 | return mainMapper.three(); 29 | } 30 | 31 | @Override 32 | public List four() { 33 | return mainMapper.four(); 34 | } 35 | 36 | @Override 37 | public List five() { 38 | return mainMapper.five(); 39 | } 40 | 41 | @Override 42 | public List six() { 43 | return mainMapper.six(); 44 | } 45 | 46 | @Override 47 | public List seven() { 48 | return mainMapper.seven(); 49 | } 50 | 51 | @Override 52 | public int currentNum() { 53 | return mainMapper.currentNum(); 54 | } 55 | 56 | @Override 57 | public int Total() { 58 | return mainMapper.Total(); 59 | } 60 | 61 | @Override 62 | public int zhuyuanTotal() { 63 | return mainMapper.zhuyuanTotal(); 64 | } 65 | 66 | @Override 67 | public int currentZhuYuan() { 68 | return mainMapper.currentZhuYuan(); 69 | } 70 | 71 | 72 | } 73 | -------------------------------------------------------------------------------- /src/main/java/com/aaa/service/Impl/MenuServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.aaa.service.Impl; 2 | 3 | import com.aaa.entity.Menu; 4 | import com.aaa.entity.User; 5 | import com.aaa.mapper.MenuMapper; 6 | import com.aaa.service.MenuService; 7 | import org.springframework.stereotype.Service; 8 | import org.springframework.transaction.annotation.Transactional; 9 | 10 | import javax.annotation.Resource; 11 | import java.util.List; 12 | 13 | @Service 14 | @Transactional 15 | public class MenuServiceImpl implements MenuService { 16 | @Resource 17 | private MenuMapper menuMapper; 18 | 19 | @Override 20 | public User loginname(String loginname) { 21 | return menuMapper.loginname(loginname); 22 | } 23 | 24 | @Override 25 | public List queryMenuByUid(Integer userid) { 26 | return menuMapper.queryMenuByUid(userid); 27 | } 28 | 29 | @Override 30 | public List loadAvailableMenu() { 31 | return menuMapper.loadAvailableMenu(); 32 | } 33 | 34 | @Override 35 | public List selAllMenuByUser(Integer userId) { 36 | return menuMapper.selAllMenuByUser(userId); 37 | } 38 | 39 | @Override 40 | public List queryMenuAllList(Menu menu) { 41 | return menuMapper.queryMenuAllList(menu); 42 | } 43 | 44 | @Override 45 | public int addMenu(Menu menu) { 46 | return menuMapper.addMenu(menu); 47 | } 48 | 49 | @Override 50 | public int deleteMenu(Integer id) { 51 | return menuMapper.deleteMenu(id); 52 | } 53 | 54 | @Override 55 | public int checkMenuHasChildren(Integer pid) { 56 | return menuMapper.checkMenuHasChildren(pid); 57 | } 58 | 59 | @Override 60 | public int updateMenu(Menu menu) { 61 | return menuMapper.updateMenu(menu); 62 | } 63 | } 64 | -------------------------------------------------------------------------------- /src/main/java/com/aaa/service/Impl/PaibanServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.aaa.service.Impl; 2 | 3 | import com.aaa.entity.Ban; 4 | import com.aaa.entity.Paiban; 5 | import com.aaa.mapper.PaibanMapper; 6 | import com.aaa.service.PaibanService; 7 | import org.springframework.stereotype.Service; 8 | import org.springframework.transaction.annotation.Transactional; 9 | 10 | import javax.annotation.Resource; 11 | import java.util.List; 12 | @Service 13 | @Transactional 14 | public class PaibanServiceImpl implements PaibanService { 15 | @Resource 16 | private PaibanMapper paibanMapper; 17 | @Override 18 | public List findAllPaiban(Paiban paiban) { 19 | return paibanMapper.findAllPaiban(paiban); 20 | } 21 | 22 | @Override 23 | public int editPaiban(Paiban paiban) { 24 | return paibanMapper.editPaiban(paiban); 25 | } 26 | 27 | @Override 28 | public List findAllBan() { 29 | return paibanMapper.findAllBan(); 30 | } 31 | @Override 32 | public int insertPaiban(Paiban paiban) { 33 | return paibanMapper.insertPaiban(paiban); 34 | } 35 | 36 | @Override 37 | public int count(Integer Id) { 38 | return paibanMapper.count(Id); 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /src/main/java/com/aaa/service/Impl/PharmacyServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.aaa.service.Impl; 2 | 3 | import com.aaa.entity.Baoque; 4 | import com.aaa.entity.Huishou; 5 | import com.aaa.entity.Ypharmacy; 6 | import com.aaa.mapper.PharmacyMapper; 7 | import com.aaa.service.PharmacyService; 8 | import org.springframework.stereotype.Service; 9 | 10 | import javax.annotation.Resource; 11 | import java.util.List; 12 | 13 | @Service 14 | public class PharmacyServiceImpl implements PharmacyService { 15 | @Resource 16 | private PharmacyMapper pm; 17 | @Override 18 | public List selpharmacy(Ypharmacy ypharmacy) { 19 | return pm.selpharmacy(ypharmacy); 20 | } 21 | 22 | @Override 23 | public int addbaoque(Baoque baoque) { 24 | return pm.addbaoque(baoque); 25 | } 26 | 27 | @Override 28 | public int selbaoqueName(Baoque baoque) { 29 | return pm.selbaoqueName(baoque); 30 | } 31 | 32 | @Override 33 | public int upbaoquenum(Baoque baoque) { 34 | return pm.upbaoquenum(baoque); 35 | } 36 | 37 | @Override 38 | public int delpharymacy(Ypharmacy ypharmacy) { 39 | return pm.delpharymacy(ypharmacy); 40 | } 41 | 42 | @Override 43 | public int addhuishou(Huishou huishou) { 44 | return pm.addhuishou(huishou); 45 | } 46 | 47 | @Override 48 | public List selhuishou(Huishou huishou) { 49 | return pm.selhuishou(huishou); 50 | } 51 | 52 | @Override 53 | public int delhuishou(Huishou huishou) { 54 | return pm.delhuishou(huishou); 55 | } 56 | 57 | 58 | } 59 | -------------------------------------------------------------------------------- /src/main/java/com/aaa/service/Impl/PutinServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.aaa.service.Impl; 2 | 3 | import com.aaa.entity.Drugdictionary; 4 | import com.aaa.entity.Drugstore; 5 | import com.aaa.mapper.PutinMapper; 6 | import com.aaa.service.PutinService; 7 | import org.springframework.stereotype.Service; 8 | 9 | import javax.annotation.Resource; 10 | import java.util.List; 11 | 12 | @Service 13 | public class PutinServiceImpl implements PutinService { 14 | 15 | @Resource 16 | private PutinMapper sm; 17 | @Override 18 | public List seldcy(Drugdictionary drugdictionary) { 19 | return sm.seldcy(drugdictionary); 20 | } 21 | 22 | 23 | 24 | @Override 25 | public int adddrugstore(Drugstore drugstoreName) { 26 | return sm.adddrugstore(drugstoreName); 27 | } 28 | 29 | @Override 30 | public int seldrugname(Drugstore drugstore) { 31 | return sm.seldrugname(drugstore); 32 | } 33 | 34 | @Override 35 | public int updrugnumber(Drugstore drugstore) { 36 | return sm.updrugnumber(drugstore); 37 | } 38 | 39 | @Override 40 | public int selnumber(Drugstore drugstore) { 41 | return sm.selnumber(drugstore); 42 | } 43 | 44 | } 45 | -------------------------------------------------------------------------------- /src/main/java/com/aaa/service/Impl/RecordServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.aaa.service.Impl; 2 | 3 | import com.aaa.entity.Record; 4 | import com.aaa.mapper.RecordMapper; 5 | import com.aaa.service.RecordService; 6 | import org.springframework.stereotype.Service; 7 | 8 | import javax.annotation.Resource; 9 | import java.util.List; 10 | 11 | @Service 12 | public class RecordServiceImpl implements RecordService { 13 | @Resource 14 | private RecordMapper rd; 15 | @Override 16 | public List selrecord(Record record) { 17 | return rd.selrecord(record); 18 | } 19 | 20 | @Override 21 | public int addjilu(Record record) { 22 | return rd.addjilu(record); 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /src/main/java/com/aaa/service/Impl/RegisteredTypeServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.aaa.service.Impl; 2 | 3 | import com.aaa.entity.Registeredtype; 4 | import com.aaa.mapper.RegisteredTypeMapper; 5 | import com.aaa.service.RegisteredTypeService; 6 | import org.springframework.stereotype.Service; 7 | import org.springframework.transaction.annotation.Transactional; 8 | 9 | import javax.annotation.Resource; 10 | import java.util.List; 11 | @Service 12 | @Transactional 13 | public class RegisteredTypeServiceImpl implements RegisteredTypeService { 14 | @Resource 15 | private RegisteredTypeMapper registeredTypeMapper; 16 | @Override 17 | public List registeredTypeList(Registeredtype registeredType) { 18 | return registeredTypeMapper.registeredTypeList(registeredType); 19 | } 20 | 21 | @Override 22 | public int deleteType(Integer registeredId) { 23 | return registeredTypeMapper.deleteType(registeredId); 24 | } 25 | 26 | @Override 27 | public int editRegisteredType(Registeredtype registeredType) { 28 | return registeredTypeMapper.editRegisteredType(registeredType); 29 | } 30 | 31 | @Override 32 | public int addRegisteredType(Registeredtype registeredType) { 33 | return registeredTypeMapper.addRegisteredType(registeredType); 34 | } 35 | 36 | @Override 37 | public int count(Registeredtype registeredType) { 38 | return registeredTypeMapper.count(registeredType); 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /src/main/java/com/aaa/service/Impl/SdrugdictionaryServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.aaa.service.Impl; 2 | 3 | import com.aaa.entity.Area; 4 | import com.aaa.entity.Sdrugdictionary; 5 | import com.aaa.entity.Type; 6 | import com.aaa.entity.Unit; 7 | import com.aaa.mapper.SdrugdictionaryMapper; 8 | import com.aaa.service.SdrugdictionaryService; 9 | import org.springframework.stereotype.Service; 10 | import org.springframework.transaction.annotation.Transactional; 11 | 12 | import javax.annotation.Resource; 13 | import java.util.List; 14 | @Service 15 | @Transactional 16 | public class SdrugdictionaryServiceImpl implements SdrugdictionaryService { 17 | @Resource 18 | private SdrugdictionaryMapper sdrugdictionaryMapper; 19 | @Override 20 | public List findAllSdrugdictionary(Sdrugdictionary sdrugdictionary) { 21 | return sdrugdictionaryMapper.findAllSdrugdictionary(sdrugdictionary); 22 | } 23 | 24 | @Override 25 | public int addSdrugdictionary(Sdrugdictionary sdrugdictionary) { 26 | return sdrugdictionaryMapper.addSdrugdictionary(sdrugdictionary); 27 | } 28 | 29 | @Override 30 | public int editSdrugdictionary(Sdrugdictionary sdrugdictionary) { 31 | return sdrugdictionaryMapper.editSdrugdictionary(sdrugdictionary); 32 | } 33 | 34 | @Override 35 | public int deleteSdrugdictionary(Integer drugId) { 36 | return sdrugdictionaryMapper.deleteSdrugdictionary(drugId); 37 | } 38 | 39 | @Override 40 | public List findAllUnit() { 41 | return sdrugdictionaryMapper.findAllUnit(); 42 | } 43 | 44 | @Override 45 | public List findAllArea() { 46 | return sdrugdictionaryMapper.findAllArea(); 47 | } 48 | 49 | @Override 50 | public List findAllType() { 51 | return sdrugdictionaryMapper.findAllType(); 52 | } 53 | 54 | @Override 55 | public int count(Sdrugdictionary sdrugdictionary) { 56 | return sdrugdictionaryMapper.count(sdrugdictionary); 57 | } 58 | } 59 | -------------------------------------------------------------------------------- /src/main/java/com/aaa/service/Impl/SkullServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.aaa.service.Impl; 2 | 3 | import com.aaa.entity.Skull; 4 | import com.aaa.mapper.SkullMapper; 5 | import com.aaa.service.SkullService; 6 | import org.springframework.stereotype.Service; 7 | import org.springframework.transaction.annotation.Transactional; 8 | 9 | import javax.annotation.Resource; 10 | import java.util.List; 11 | @Service 12 | @Transactional 13 | public class SkullServiceImpl implements SkullService { 14 | @Resource 15 | private SkullMapper skullMapper; 16 | @Override 17 | public List findAllSkull(Skull skull) { 18 | return skullMapper.findAllSkull(skull); 19 | } 20 | 21 | @Override 22 | public int deleteSkull(Integer skullId) { 23 | return skullMapper.deleteSkull(skullId); 24 | } 25 | 26 | @Override 27 | public int addSkull(Skull skull) { 28 | return skullMapper.addSkull(skull); 29 | } 30 | 31 | @Override 32 | public int editSkull(Skull skull) { 33 | return skullMapper.editSkull(skull); 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /src/main/java/com/aaa/service/Impl/TypeServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.aaa.service.Impl; 2 | 3 | import com.aaa.entity.Type; 4 | import com.aaa.mapper.TypeMapper; 5 | import com.aaa.service.TypeService; 6 | import org.springframework.stereotype.Service; 7 | import org.springframework.transaction.annotation.Transactional; 8 | 9 | import javax.annotation.Resource; 10 | import java.util.List; 11 | @Service 12 | @Transactional 13 | public class TypeServiceImpl implements TypeService { 14 | @Resource 15 | private TypeMapper typeMapper; 16 | @Override 17 | public List findAllType(Type type) { 18 | return typeMapper.findAllType(type); 19 | } 20 | 21 | @Override 22 | public int deleteType(Integer typeId) { 23 | return typeMapper.deleteType(typeId); 24 | } 25 | 26 | @Override 27 | public int addType(Type type) { 28 | return typeMapper.addType(type); 29 | } 30 | 31 | 32 | @Override 33 | public int count(Type type) { 34 | return typeMapper.count(type); 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /src/main/java/com/aaa/service/Impl/UnitServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.aaa.service.Impl; 2 | 3 | import com.aaa.entity.Unit; 4 | import com.aaa.mapper.UnitMapper; 5 | import com.aaa.service.UnitService; 6 | import org.springframework.stereotype.Service; 7 | import org.springframework.transaction.annotation.Transactional; 8 | 9 | import javax.annotation.Resource; 10 | import java.util.List; 11 | @Service 12 | @Transactional 13 | public class UnitServiceImpl implements UnitService { 14 | @Resource 15 | private UnitMapper unitMapper; 16 | @Override 17 | public List findAllUnit(Unit unit) { 18 | return unitMapper.findAllUnit(unit); 19 | } 20 | 21 | @Override 22 | public int deleteUnit(Integer unitId) { 23 | return unitMapper.deleteUnit(unitId); 24 | } 25 | 26 | @Override 27 | public int addUnit(Unit unit) { 28 | return unitMapper.addUnit(unit); 29 | } 30 | 31 | 32 | @Override 33 | public int count(Unit unit) { 34 | return unitMapper.count(unit); 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /src/main/java/com/aaa/service/Impl/UpplierServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.aaa.service.Impl; 2 | 3 | import com.aaa.entity.Upplier; 4 | import com.aaa.mapper.UpplierMapper; 5 | import com.aaa.service.UpplierService; 6 | import org.springframework.stereotype.Service; 7 | import org.springframework.transaction.annotation.Transactional; 8 | 9 | import javax.annotation.Resource; 10 | import java.util.List; 11 | @Service 12 | @Transactional 13 | public class UpplierServiceImpl implements UpplierService { 14 | @Resource 15 | private UpplierMapper UpplierMapper; 16 | @Override 17 | public List findAllUpplier(Upplier upplier) { 18 | return UpplierMapper.findAllUpplier(upplier); 19 | } 20 | 21 | @Override 22 | public int deleteUpplier(Integer supplierId) { 23 | return UpplierMapper.deleteUpplier(supplierId); 24 | } 25 | 26 | @Override 27 | public int addUpplier(Upplier upplier) { 28 | return UpplierMapper.addUpplier(upplier); 29 | } 30 | 31 | 32 | @Override 33 | public int count(Upplier upplier) { 34 | return UpplierMapper.count(upplier); 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /src/main/java/com/aaa/service/Impl/WarehuoseServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.aaa.service.Impl; 2 | 3 | import com.aaa.entity.Warehuose; 4 | import com.aaa.mapper.WarehuoseMapper; 5 | import com.aaa.service.WarehuoseService; 6 | import org.springframework.stereotype.Service; 7 | import org.springframework.transaction.annotation.Transactional; 8 | 9 | import javax.annotation.Resource; 10 | import java.util.List; 11 | @Service 12 | @Transactional 13 | public class WarehuoseServiceImpl implements WarehuoseService { 14 | @Resource 15 | private WarehuoseMapper warehuoseMapper; 16 | @Override 17 | public List findAllWarehuose(Warehuose warehuose) { 18 | return warehuoseMapper.findAllWarehuose(warehuose); 19 | } 20 | 21 | @Override 22 | public int deleteWarehuose(Integer warehouseId) { 23 | return warehuoseMapper.deleteWarehuose(warehouseId); 24 | } 25 | 26 | @Override 27 | public int addWarehuose(Warehuose warehuose) { 28 | return warehuoseMapper.addWarehuose(warehuose); 29 | } 30 | 31 | 32 | @Override 33 | public int count(Warehuose warehuose) { 34 | return warehuoseMapper.count(warehuose); 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /src/main/java/com/aaa/service/LadminService.java: -------------------------------------------------------------------------------- 1 | package com.aaa.service; 2 | 3 | import com.aaa.entity.*; 4 | 5 | import java.util.List; 6 | 7 | public interface LadminService { 8 | 9 | List selDepartment(Departments departments); 10 | List selDoctor(Doctor doctor); 11 | List selBed(Bed bed); 12 | int addRegister(Register register); 13 | List selRegister(Register register); 14 | int updBed(Register register); 15 | List selDis(); 16 | List selDoor(); 17 | int updZ(Register register); 18 | int updKe(Register register); 19 | } 20 | -------------------------------------------------------------------------------- /src/main/java/com/aaa/service/LdrugService.java: -------------------------------------------------------------------------------- 1 | package com.aaa.service; 2 | 3 | import com.aaa.entity.Lpharmacy; 4 | import com.aaa.entity.Lrecord; 5 | 6 | import java.util.List; 7 | 8 | public interface LdrugService { 9 | 10 | List selDrug(Lpharmacy lpharmacy); 11 | List selDrugs(Lrecord lrecord); 12 | int addDrug(Lrecord lrecord); 13 | int updDrug(Lrecord lrecord); 14 | int delDrug(Lrecord lrecord); 15 | int updDrugs(Lrecord lrecord); 16 | int updNum(Lrecord lrecord); 17 | int upd(Lrecord lrecord); 18 | } 19 | -------------------------------------------------------------------------------- /src/main/java/com/aaa/service/LitemService.java: -------------------------------------------------------------------------------- 1 | package com.aaa.service; 2 | 3 | import com.aaa.entity.Litem; 4 | import com.aaa.entity.Lrecord; 5 | 6 | import java.util.List; 7 | 8 | public interface LitemService { 9 | 10 | List selItems(Litem litem); 11 | } 12 | -------------------------------------------------------------------------------- /src/main/java/com/aaa/service/LleaveService.java: -------------------------------------------------------------------------------- 1 | package com.aaa.service; 2 | 3 | import com.aaa.entity.Register; 4 | 5 | import java.util.List; 6 | 7 | public interface LleaveService { 8 | List selRegisters(Register register); 9 | int updRstate(Register register); 10 | int updBstate(Register register); 11 | int selYaos(Register register); 12 | } 13 | -------------------------------------------------------------------------------- /src/main/java/com/aaa/service/LpayService.java: -------------------------------------------------------------------------------- 1 | package com.aaa.service; 2 | 3 | import com.aaa.entity.Lrecord; 4 | import com.aaa.entity.Pay; 5 | import com.aaa.entity.Register; 6 | 7 | import java.util.List; 8 | 9 | public interface LpayService { 10 | 11 | int updPay(Register register); 12 | int addPay(Register register); 13 | List selPays(Register register); 14 | List selSurplus(Lrecord lrecord); 15 | } 16 | -------------------------------------------------------------------------------- /src/main/java/com/aaa/service/MainService.java: -------------------------------------------------------------------------------- 1 | package com.aaa.service; 2 | 3 | import com.aaa.entity.Paiban; 4 | 5 | import java.util.List; 6 | 7 | public interface MainService { 8 | //1--7 的排班 9 | List one(); 10 | List two(); 11 | List three(); 12 | List four(); 13 | List five(); 14 | List six(); 15 | List seven(); 16 | //门诊当天人数 17 | int currentNum(); 18 | //总人数 19 | int Total(); 20 | //住院总人数 21 | int zhuyuanTotal(); 22 | //住院当天人数 23 | int currentZhuYuan(); 24 | } 25 | -------------------------------------------------------------------------------- /src/main/java/com/aaa/service/MenuService.java: -------------------------------------------------------------------------------- 1 | package com.aaa.service; 2 | 3 | import com.aaa.entity.Menu; 4 | import com.aaa.entity.User; 5 | 6 | import java.util.List; 7 | 8 | public interface MenuService { 9 | //登陆 10 | User loginname(String loginname); 11 | //查询所有菜单 12 | List queryMenuByUid(Integer userid); 13 | //查询可用菜单 14 | List loadAvailableMenu(); 15 | 16 | List selAllMenuByUser(Integer userId); 17 | //查询所有菜单 模糊查询 18 | List queryMenuAllList(Menu menu); 19 | //添加菜单 20 | int addMenu(Menu menu); 21 | //删除菜单 22 | int deleteMenu(Integer id); 23 | //判断该菜单是否还有子级菜单 24 | int checkMenuHasChildren(Integer pid); 25 | //修改菜单 26 | int updateMenu(Menu menu); 27 | 28 | } 29 | -------------------------------------------------------------------------------- /src/main/java/com/aaa/service/OutinstoreService.java: -------------------------------------------------------------------------------- 1 | package com.aaa.service; 2 | 3 | import com.aaa.entity.Baoque; 4 | import com.aaa.entity.Drugstore; 5 | import com.aaa.entity.Ypharmacy; 6 | 7 | import java.util.List; 8 | 9 | public interface OutinstoreService { 10 | //查询报缺单 11 | List selbaoquedan(Baoque baoque); 12 | //根据补给单的名字查询对应的仓库药品 13 | Listselbaoquedrugname(Drugstore drugstore); 14 | //减去库存数量 15 | int updatedrugnumber(Drugstore drugstore); 16 | //减去报缺表 17 | int upbaoquenumber(Drugstore drugstore); 18 | //库房减去的=加上药房数量 19 | int uppharmacynumber(Drugstore drugstore); 20 | //查询库房给出补给时的数量=这条药品的最大数量 21 | int seldrugnamenum(Drugstore drugstore); 22 | //查询库房给出补给时的数量=这条药品的最大数量 仓库这批药品全部出库 删除这条 23 | int deldrugnamenum(Drugstore drugstore); 24 | //查询报缺表的数据是否有补给完毕的 25 | int selbaoquenamenum(Drugstore drugstore); 26 | //删除报缺数为小于1 的数据 27 | int delbaoquenamenum(); 28 | //直接出库添加药品表数据 29 | int addpharmacy(Ypharmacy ypharmacy); 30 | //出库药品前查询药品是否已存在 31 | int selpharymacyname(Ypharmacy ypharmacy); 32 | //已经存在则修改则添加数量 33 | int uppharymacy(Ypharmacy ypharmacy); 34 | //查询报缺表一共有几条数据 35 | int selbaoquecount(); 36 | /* 用于判断出库时某种药品时 先看看此药是否在紧急报缺表里面,有的话出库时 报缺表的此药也要随之减少*/ 37 | int selbaoqueName(Ypharmacy ypharmacy); 38 | //修改报缺表对应的药的需求数量 39 | int upbaoquenumber1(Ypharmacy ypharmacy); 40 | 41 | } 42 | -------------------------------------------------------------------------------- /src/main/java/com/aaa/service/PaibanService.java: -------------------------------------------------------------------------------- 1 | package com.aaa.service; 2 | 3 | import com.aaa.entity.Ban; 4 | import com.aaa.entity.Paiban; 5 | 6 | import java.util.List; 7 | 8 | public interface PaibanService { 9 | List findAllPaiban(Paiban paiban); 10 | int editPaiban(Paiban paiban); 11 | List findAllBan(); 12 | int insertPaiban(Paiban paiban); 13 | int count(Integer Id); 14 | } 15 | -------------------------------------------------------------------------------- /src/main/java/com/aaa/service/PharmacyService.java: -------------------------------------------------------------------------------- 1 | package com.aaa.service; 2 | 3 | import com.aaa.entity.Baoque; 4 | import com.aaa.entity.Huishou; 5 | import com.aaa.entity.Ypharmacy; 6 | 7 | import java.util.List; 8 | 9 | public interface PharmacyService { 10 | //查询药房药品 11 | List selpharmacy(Ypharmacy ypharmacy); 12 | //添加药品到报缺表 13 | int addbaoque(Baoque baoque); 14 | //查询报缺表药品名称是否已存在 15 | int selbaoqueName(Baoque baoque); 16 | int upbaoquenum(Baoque baoque); 17 | //回收给药房 18 | int delpharymacy(Ypharmacy ypharmacy); 19 | //回收表 20 | int addhuishou(Huishou huishou); 21 | //查询回收表 22 | Listselhuishou(Huishou huishou); 23 | //删除回收表 24 | int delhuishou(Huishou huishou); 25 | } 26 | -------------------------------------------------------------------------------- /src/main/java/com/aaa/service/PrjectTypeService.java: -------------------------------------------------------------------------------- 1 | package com.aaa.service; 2 | 3 | import com.aaa.entity.*; 4 | 5 | import java.util.List; 6 | 7 | public interface PrjectTypeService { 8 | /* 9 | * 项目增删改查 10 | * */ 11 | List findAllProjecttype(Projecttype projecttype); 12 | int addProjecttype(Projecttype projecttype); 13 | int deleteProjecttype(Integer projectId); 14 | int count1(Projecttype projecttype); 15 | /* 16 | * 门诊收费项目Outpatienttype 17 | * */ 18 | List findAllOutpatienttype(Outpatienttype outpatienttype); 19 | int addOutpatienttype(Outpatienttype outpatienttype); 20 | int editOutpatienttype(Outpatienttype outpatienttype); 21 | int deleteOutpatienttype(Integer outpatientId); 22 | int count2(Outpatienttype outpatienttype); 23 | /* 24 | * 住院收费项目Inoutpatienttype 25 | * */ 26 | List findAllInoutpatienttype(Inoutpatienttype inoutpatienttype); 27 | int addInoutpatienttype(Inoutpatienttype inoutpatienttype); 28 | int editInoutpatienttype(Inoutpatienttype inoutpatienttype); 29 | int deleteInoutpatienttype(Integer inoutpatientId); 30 | int count3(Inoutpatienttype inoutpatienttype); 31 | /* 32 | * 收费类型Monetype 33 | * */ 34 | List findAllMoneytype(Moneytype moneytype); 35 | int addMoneytype(Moneytype moneytype); 36 | int editMoneytype(Moneytype moneytype); 37 | int deleteMoneytype(Integer moneyId); 38 | int count4(Moneytype moneytype); 39 | /* 40 | * 床位Bed 41 | * */ 42 | List findAllBed(Bed bed); 43 | int addBed(Bed bed); 44 | int editBed(Bed bed); 45 | int deleteBed(Integer bedId); 46 | int count5(Bed bed); 47 | /* 48 | * 判断该床位是否有人 49 | * */ 50 | 51 | int checkCount(Integer bedId); 52 | } 53 | -------------------------------------------------------------------------------- /src/main/java/com/aaa/service/PutinService.java: -------------------------------------------------------------------------------- 1 | package com.aaa.service; 2 | 3 | import com.aaa.entity.Drugdictionary; 4 | import com.aaa.entity.Drugstore; 5 | 6 | import java.util.List; 7 | 8 | public interface PutinService { 9 | //查询药品清单 10 | List seldcy(Drugdictionary drugdictionary); 11 | //添加入库 12 | int adddrugstore(Drugstore drugstoreName); 13 | //查询药库是否已经存在药品名 14 | int seldrugname(Drugstore drugstore); 15 | int updrugnumber(Drugstore drugstore); 16 | //查询药品库存数量 17 | int selnumber(Drugstore drugstore); 18 | } 19 | -------------------------------------------------------------------------------- /src/main/java/com/aaa/service/RecordService.java: -------------------------------------------------------------------------------- 1 | package com.aaa.service; 2 | 3 | import com.aaa.entity.Record; 4 | import com.aaa.mapper.RecordMapper; 5 | 6 | import java.util.List; 7 | 8 | public interface RecordService { 9 | //查询所有记录 10 | List selrecord(Record record); 11 | //添加记录 12 | int addjilu(Record record); 13 | } 14 | -------------------------------------------------------------------------------- /src/main/java/com/aaa/service/RegisteredTypeService.java: -------------------------------------------------------------------------------- 1 | package com.aaa.service; 2 | 3 | import com.aaa.entity.Registeredtype; 4 | import com.aaa.mapper.RegisteredTypeMapper; 5 | 6 | import java.util.List; 7 | 8 | public interface RegisteredTypeService { 9 | //挂号类型的增删查改 10 | List registeredTypeList(Registeredtype registeredType); 11 | int deleteType(Integer registeredId); 12 | int editRegisteredType(Registeredtype Registeredtype); 13 | int addRegisteredType(Registeredtype Registeredtype); 14 | int count(Registeredtype registeredType); 15 | } 16 | -------------------------------------------------------------------------------- /src/main/java/com/aaa/service/RoleService.java: -------------------------------------------------------------------------------- 1 | package com.aaa.service; 2 | 3 | import com.aaa.entity.DataGridView; 4 | import com.aaa.entity.Role; 5 | import com.aaa.entity.RoleMenu; 6 | import org.apache.ibatis.annotations.Param; 7 | 8 | import java.util.List; 9 | 10 | public interface RoleService { 11 | /* 12 | * 13 | * */ 14 | //查询说有用户 15 | List loadAllRole(Role role); 16 | //添加角色 17 | int insertRole(Role role); 18 | //修改角色 19 | int updateRole(Role role); 20 | //删除角色 21 | int deleteRoleId(Integer roleid); 22 | //删除角色与菜单的关系 23 | int deleteRoleMenuId(Integer roleid); 24 | //删除角色与用户的关系 25 | int deleteRoleUserId(Integer roleid); 26 | //初始角色菜单 27 | DataGridView initRoleMenuTreeJson(Integer roleid); 28 | //保存角色与菜单的关系 29 | void saveRoleMenu(RoleMenu roleMenu); 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/com/aaa/service/SdrugdictionaryService.java: -------------------------------------------------------------------------------- 1 | package com.aaa.service; 2 | 3 | import com.aaa.entity.Area; 4 | import com.aaa.entity.Sdrugdictionary; 5 | import com.aaa.entity.Type; 6 | import com.aaa.entity.Unit; 7 | import com.aaa.mapper.SdrugdictionaryMapper; 8 | 9 | import java.util.List; 10 | 11 | public interface SdrugdictionaryService { 12 | List findAllSdrugdictionary(Sdrugdictionary sdrugdictionary); 13 | int addSdrugdictionary(Sdrugdictionary sdrugdictionary); 14 | int editSdrugdictionary(Sdrugdictionary sdrugdictionary); 15 | int deleteSdrugdictionary(Integer drugId); 16 | List findAllUnit(); 17 | List findAllArea(); 18 | List findAllType(); 19 | int count(Sdrugdictionary sdrugdictionary); 20 | } 21 | -------------------------------------------------------------------------------- /src/main/java/com/aaa/service/SkullService.java: -------------------------------------------------------------------------------- 1 | package com.aaa.service; 2 | 3 | import com.aaa.entity.Skull; 4 | 5 | import java.util.List; 6 | 7 | public interface SkullService { 8 | //经办人的增删改查 9 | List findAllSkull(Skull skull); 10 | int deleteSkull(Integer skullId); 11 | int addSkull(Skull skull); 12 | int editSkull(Skull skull); 13 | } 14 | -------------------------------------------------------------------------------- /src/main/java/com/aaa/service/StoreService.java: -------------------------------------------------------------------------------- 1 | package com.aaa.service; 2 | 3 | import com.aaa.entity.*; 4 | 5 | import java.util.List; 6 | 7 | public interface StoreService { 8 | //查询库房药品信息 9 | List selStore(Drugstore drugstore); 10 | //查询药品类型 11 | List seltype(Type type); 12 | //查询产地 13 | List selarea(Area area); 14 | //查询药品类型 15 | List selunit(Unit unit); 16 | //经办人 17 | List selskull(Skull skull); 18 | //供货商 19 | List selupplier(Upplier upplier); 20 | int updrugstore(Drugstore drugstore); 21 | //查询库房 22 | List selwarehuose(Warehuose warehuose); 23 | //数量过少的药品查询 24 | List selectlackdrug(Drugstore drugstore); 25 | int selcountless(); 26 | //添加采购单 27 | int addcaigou(Caigou caigou); 28 | int selcaigouname(Caigou caigou); 29 | //添加采购单时如果已存在此药品 则直接加数量 30 | int upcaigounumber(Caigou caigou); 31 | //查询采购表单 32 | List selcaigou(Caigou caigou); 33 | //删除采购单 34 | int delcaigou(Integer caigouid); 35 | List seldrugDate(Drugstore drugstore); 36 | int selcountlessnum(); 37 | //删除过期药品 38 | int delguoqidurg(Integer rugstoreId); 39 | 40 | } 41 | 42 | -------------------------------------------------------------------------------- /src/main/java/com/aaa/service/TypeService.java: -------------------------------------------------------------------------------- 1 | package com.aaa.service; 2 | 3 | import com.aaa.entity.Type; 4 | 5 | import java.util.List; 6 | 7 | public interface TypeService { 8 | //类型的增删查改 9 | List findAllType(Type type); 10 | int deleteType(Integer typeId); 11 | int addType(Type type); 12 | int count(Type type); 13 | } 14 | -------------------------------------------------------------------------------- /src/main/java/com/aaa/service/UnitService.java: -------------------------------------------------------------------------------- 1 | package com.aaa.service; 2 | 3 | import com.aaa.entity.Unit; 4 | 5 | import java.util.List; 6 | 7 | public interface UnitService { 8 | //单位的增删改查 9 | List findAllUnit(Unit unit); 10 | int deleteUnit(Integer unitId); 11 | int addUnit(Unit unit); 12 | int count(Unit unit); 13 | } 14 | -------------------------------------------------------------------------------- /src/main/java/com/aaa/service/UpplierService.java: -------------------------------------------------------------------------------- 1 | package com.aaa.service; 2 | 3 | import com.aaa.entity.Upplier; 4 | 5 | import java.util.List; 6 | 7 | public interface UpplierService { 8 | //供货商的增删查改 9 | List findAllUpplier(Upplier upplier); 10 | int deleteUpplier(Integer supplierId); 11 | int addUpplier(Upplier upplier); 12 | int count(Upplier upplier); 13 | } 14 | -------------------------------------------------------------------------------- /src/main/java/com/aaa/service/UserService.java: -------------------------------------------------------------------------------- 1 | package com.aaa.service; 2 | 3 | import com.aaa.entity.DataGridView; 4 | import com.aaa.entity.Role; 5 | import com.aaa.entity.User; 6 | import com.aaa.entity.UserRole; 7 | 8 | import java.util.List; 9 | 10 | public interface UserService { 11 | //查询所有用户 12 | List selectAllUser(User user); 13 | //修改用户 14 | int updateUser(User user); 15 | //初始化用户角色 16 | List initUserRole(Role role); 17 | //添加用户 18 | int addUser(User user); 19 | //删除用户 20 | void deleteUser(Integer userid); 21 | //重置密码 22 | int resetUserPwd(User user); 23 | //查询所有用户角色 24 | DataGridView queryUserRole(Integer userid); 25 | //保存用户和角色的关系 26 | void saveUserRole(UserRole userRole); 27 | //修改个人资料 28 | List updateLogin(User user); 29 | int editLogin(User user); 30 | //修改密码 31 | int editPwd(User user); 32 | //检查唯一 33 | int checkUser(User user); 34 | } 35 | -------------------------------------------------------------------------------- /src/main/java/com/aaa/service/WarehuoseService.java: -------------------------------------------------------------------------------- 1 | package com.aaa.service; 2 | 3 | import com.aaa.entity.Warehuose; 4 | 5 | import java.util.List; 6 | 7 | public interface WarehuoseService { 8 | List findAllWarehuose(Warehuose warehuose); 9 | int deleteWarehuose(Integer warehouseId); 10 | int addWarehuose(Warehuose warehuose); 11 | int count(Warehuose warehuose); 12 | } 13 | -------------------------------------------------------------------------------- /src/main/resources/mapper/AreaMapper.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 14 | 15 | insert into Area(areaName)values(#{areaName}) 16 | 17 | 18 | delete from Area where areaId=#{areaId} 19 | 20 | 23 | -------------------------------------------------------------------------------- /src/main/resources/mapper/COutMapper.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | 13 | 14 | 17 | 18 | 19 | INSERT INTO cashier (reportId,durgname,durgnum,repiceprice,repicetotal,state,ctime,ostate,mstate) 20 | VALUES (#{reportId},#{durgname},#{durgnum},#{repiceprice},#{repicetotal},1,NOW(),#{ostate},0) 21 | 22 | 23 | 24 | UPDATE cashier SET durgnum = durgnum+#{durgnum},repicetotal=repicetotal+#{repicetotal} WHERE durgname = #{durgname} 25 | 26 | 27 | 28 | DELETE FROM cashier WHERE cashier = #{cashier} 29 | 30 | 31 | 34 | 35 | 36 | UPDATE report set state=2 WHERE reportId=#{reportId} 37 | 38 | 39 | 40 | insert into cashier (reportid,durgname,durgnum,repiceprice,repicetotal,state,ctime)values (#{reportId},'挂号费',1,#{price},#{price},2,NOW()) 41 | 42 | -------------------------------------------------------------------------------- /src/main/resources/mapper/CXiangmuMapper.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | 10 | 11 | 14 | 15 | 16 | UPDATE cashier SET mstate = 1 WHERE reportId=#{perid} and mstate = 0 17 | 18 | 19 | 22 | 23 | 24 | UPDATE cashier SET jie = #{jie} WHERE reportId=#{reportId} and cashier = #{cashier} 25 | 26 | -------------------------------------------------------------------------------- /src/main/resources/mapper/CheckupMapper.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | insert into checkup(registerid,content,ctime) values(#{registerid},#{content},NOW()) 8 | 9 | 10 | update register set price=ifnull(price,0)+200*(1-(cast(replace(discount,'%','') as decimal(18,2))/100)) where registerid=#{registerid} 11 | 12 | 15 | -------------------------------------------------------------------------------- /src/main/resources/mapper/DepartmentMapper.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 14 | 15 | insert into departments(department)values(#{department}) 16 | 17 | 18 | update departments set ddstate=1 where departmentId=#{departmentId} 19 | 20 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /src/main/resources/mapper/DoctorMapper.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 17 | 18 | insert into doctor(doctorName,departmentId,registeredId,dstate)values(#{doctorName},#{departmentId},#{registeredId},#{dstate}) 19 | 20 | 21 | update doctor set departmentId=#{departmentId},registeredId=#{registeredId},dstate=#{dstate} where doctorId=#{doctorId} 22 | 23 | 24 | update doctor set dstate=3 where DoctorId=#{DoctorId} 25 | 26 | 29 | 32 | 35 | 38 | 39 | -------------------------------------------------------------------------------- /src/main/resources/mapper/LitemMapper.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 16 | 17 | insert into inoutpatienttype(registerid,durgname,durgnum,repiceprice,repicetotal,htime,state) values(#{registerid},#{durgname},#{durgnum},#{repiceprice},#{repiceprice},now(),#{state}); 18 | 19 | -------------------------------------------------------------------------------- /src/main/resources/mapper/LleaveMapper.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 20 | 21 | update register set state=1,endDate=NOW(),price=#{price} where registerid=#{registerid}; 22 | 23 | 24 | update bed set state=0 where bedid=(select bedNum from register where registerid=#{registerid}) 25 | 26 | 29 | -------------------------------------------------------------------------------- /src/main/resources/mapper/LpayMapper.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | update register set money=money+#{money} where registerid=#{registerid}; 8 | 9 | 10 | insert into pay(registerid,money,payDate) values(#{registerid},#{money},NOW()) 11 | 12 | 15 | 18 | -------------------------------------------------------------------------------- /src/main/resources/mapper/PaibanMapper.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 14 | 15 | update paiban set one=#{one},two=#{two},three=#{three},four=#{four},five=#{five},six=#{six},seven=#{seven} where doctorId=#{doctorId} 16 | 17 | 20 | 21 | insert into paiban (one,two,three,four,five,six,seven,doctorId)values (#{one},#{two},#{three},#{four},#{five},#{six},#{seven},#{doctorId}) 22 | 23 | 26 | -------------------------------------------------------------------------------- /src/main/resources/mapper/PharmacyMapper.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | 17 | 18 | INSERT into baoque(baoqueName,baoqueNum)VALUES(#{baoqueName},#{baoqueNum}) 19 | 20 | 21 | 25 | 26 | 27 | UPDATE baoque set baoqueNum =(baoqueNum+#{baoqueNum}) where baoqueName=#{baoqueName} 28 | 29 | 30 | 31 | delete from pharmacy where pharmacyId =#{pharmacyId} 32 | 33 | 34 | 35 | insert into huishou(huishouname,huishounumber,huishoupihao,jbr,beizhu) VALUES(#{huishouname},#{huishounumber},#{huishoupihao},#{jbr},#{beizhu}); 36 | 37 | 38 | 41 | 42 | delete from huishou where huishouid =#{huishouid} 43 | 44 | -------------------------------------------------------------------------------- /src/main/resources/mapper/PutinMapper.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | 15 | 16 | 17 | INSERT into drugstore(drugstoreName,supplierId,skullId,warehouseId,unit,tradePrice,sellingPrice,area,type,produceDate,validDate,drugstorenum,batch) 18 | VALUES(#{drugstoreName},#{supplierId},#{skullId},#{warehouseId},#{unit},#{tradePrice},#{sellingPrice},#{area},#{type},#{produceDate},#{validDate},#{drugstorenum},#{batch}) 19 | 20 | 23 | 24 | 25 | UPDATE drugstore set drugstorenum=(drugstorenum+#{drugstorenum}) where batch=#{batch} 26 | 27 | 28 | 31 | -------------------------------------------------------------------------------- /src/main/resources/mapper/RecordMapper.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | 16 | 17 | 18 | INSERT into jilu(jiluname,jilutime,jilutype,jilupeople,jilupihao,jilunumber)VALUES 19 | (#{jiluname},now(),#{jilutype},#{jilupeople},#{jilupihao},#{jilunumber}) 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /src/main/resources/mapper/RoleMapper.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 20 | 21 | insert into sys_role(rolename,roledesc,available)values(#{rolename},#{roledesc},#{available}) 22 | 23 | 24 | update sys_role set rolename=#{rolename},roledesc=#{roledesc},available=#{available} where roleid=#{roleid} 25 | 26 | 27 | 28 | delete from sys_role where roleid=#{roleid} 29 | 30 | 31 | delete from sys_role_menu where rid=#{roleid} 32 | 33 | 34 | delete from sys_role_user where rid=#{roleid} 35 | 36 | 37 | insert into sys_role_menu(rid,mid)values(#{rid},#{mid}); 38 | 39 | -------------------------------------------------------------------------------- /src/main/resources/mapper/SdrugdictionaryMapper.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 12 | 13 | insert into drugdictionary(drugName,unitId,sellingPrice,areaId,typeId)values(#{drugName},#{unitId},#{sellingPrice},#{areaId},#{typeId}) 14 | 15 | 16 | update drugdictionary set drugName=#{drugName},unitId=#{unitId},sellingPrice=#{sellingPrice},areaId=#{areaId},typeId=#{typeId} where drugId=#{drugId} 17 | 18 | 19 | delete from drugdictionary where drugId=#{drugId} 20 | 21 | 24 | 27 | 30 | 33 | -------------------------------------------------------------------------------- /src/main/resources/mapper/SkullMapper.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 14 | 15 | insert into Skull(skullName)values(#{skullName}) 16 | 17 | 18 | update Skull set skullName=#{skullName} where skullId=#{skullId} 19 | 20 | 21 | delete from Skull where skullId=#{skullId} 22 | 23 | -------------------------------------------------------------------------------- /src/main/resources/mapper/TypeMapper.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 14 | 15 | insert into type(typeName)values(#{typeName}) 16 | 17 | 18 | delete from type where typeId=#{typeId} 19 | 20 | 23 | -------------------------------------------------------------------------------- /src/main/resources/mapper/UnitMapper.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 14 | 15 | insert into Unit(unitName)values(#{unitName}) 16 | 17 | 18 | delete from Unit where unitId=#{unitId} 19 | 20 | 23 | -------------------------------------------------------------------------------- /src/main/resources/mapper/UpplierMapper.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 12 | 13 | insert into Upplier(supplierName,state)values(#{supplierName},0) 14 | 15 | 16 | update Upplier set state=1 where supplierId=#{supplierId} 17 | 18 | 21 | -------------------------------------------------------------------------------- /src/main/resources/mapper/WarehouseMapper.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 14 | 15 | insert into Warehuose(supplierName)values(#{supplierName}) 16 | 17 | 18 | delete from Warehuose where warehouseId=#{warehouseId} 19 | 20 | 24 | -------------------------------------------------------------------------------- /src/main/resources/mapper/registerTypeMapper.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | 15 | 16 | insert into Registeredtype(type,price)values(#{type},#{price}) 17 | 18 | 19 | delete from Registeredtype where registeredId=#{registeredId} 20 | 21 | 22 | update Registeredtype set price=#{price} where registeredId=#{registeredId} 23 | 24 | 28 | -------------------------------------------------------------------------------- /src/main/resources/static/css/c_beputinstorage.css: -------------------------------------------------------------------------------- 1 | #outer{ 2 | border: 1px solid #01AAED; 3 | height: 150px; 4 | width: 1200px; 5 | 6 | } 7 | #upplier_select{ 8 | width: 300px; 9 | height: 40px; 10 | border: 2px solid #01AAED; 11 | font-family: "新宋体"; 12 | font-size:1.2em; 13 | 14 | } 15 | #ghs{ 16 | margin-left: 90px; 17 | } 18 | #ck{ 19 | margin-top: 50px; 20 | margin-left: 90px; 21 | } 22 | 23 | #jbr{ 24 | margin-top: 50px; 25 | margin-left: 90px; 26 | } 27 | 28 | 29 | #skull_select{ 30 | width: 300px; 31 | height: 40px; 32 | border: 2px solid #01AAED; 33 | font-family: "新宋体"; 34 | font-size:1.2em; 35 | 36 | } 37 | #warhuose_select{ 38 | margin-left: 13px; 39 | width: 300px; 40 | height: 40px; 41 | border: 2px solid #01AAED; 42 | font-family: "新宋体"; 43 | font-size:1.2em; 44 | 45 | } 46 | #sure_button{ 47 | width: 304px; 48 | margin-top: 20px; 49 | margin-left: 143px; 50 | 51 | } 52 | .layui-input{ 53 | width: 250px; 54 | 55 | } 56 | #input_kuang{ 57 | 58 | font-family: "新宋体"; 59 | font-size: 1.3em; 60 | } 61 | .text_h{ 62 | width:160px; 63 | height:26px; 64 | border: 1px solid #4E5465; 65 | 66 | } 67 | #beginrk{ 68 | margin-left: 10px; 69 | width: 110px; 70 | 71 | } 72 | #table { 73 | margin-top: 20px; 74 | border: 1px solid #ccc; 75 | width: 100%; 76 | } 77 | #table td{ 78 | 79 | height: 40px; 80 | } -------------------------------------------------------------------------------- /src/main/resources/static/css/c_store.css: -------------------------------------------------------------------------------- 1 | #ruku{ 2 | position: absolute; 3 | width: 100px; 4 | height: 120px; 5 | border: 1px solid #fff; 6 | left:450px ; 7 | top:160px ; 8 | text-align: center; 9 | } 10 | #kucun{ 11 | position: absolute; 12 | width: 100px; 13 | height: 120px; 14 | border: 1px solid #fff; 15 | left:720px ; 16 | top:160px ; 17 | text-align: center; 18 | } 19 | #chuku{ 20 | position: absolute; 21 | width: 100px; 22 | height: 120px; 23 | border: 1px solid #fff; 24 | left:980px ; 25 | top:160px ; 26 | text-align: center; 27 | } 28 | #quehuo{ 29 | position: absolute; 30 | width: 100px; 31 | height: 100px; 32 | border: 1px solid #fff; 33 | left:720px ; 34 | top:300px ; 35 | text-align: center; 36 | 37 | } 38 | #jiya{ 39 | position: absolute; 40 | width: 100px; 41 | height: 110px; 42 | border: 1px solid #fff; 43 | left:720px ; 44 | top:420px ; 45 | text-align: center; 46 | } 47 | #guoqi{ 48 | 49 | position: absolute; 50 | width: 100px; 51 | height: 110px; 52 | border: 1px solid #fff; 53 | left:720px ; 54 | top:540px ; 55 | text-align: center; 56 | 57 | } 58 | 59 | .c{ 60 | 61 | margin-top:10px ; 62 | 63 | } 64 | .p_f{ 65 | font-weight: bold; 66 | 67 | } 68 | #ruku :hover,#kucun :hover,#chuku:hover{ 69 | border-radius:20px; 70 | transition:1s; 71 | border: 2px solid #01AAED; 72 | } 73 | 74 | #quehuo:hover,#jiya:hover,#guoqi:hover{ 75 | border-radius:20px; 76 | transition:1s; 77 | border: 2px solid #01AAED; 78 | 79 | 80 | } -------------------------------------------------------------------------------- /src/main/resources/static/css/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgs98/hospital/fa392263f49dc8ef71dab8f654bdde7206164623/src/main/resources/static/css/favicon.ico -------------------------------------------------------------------------------- /src/main/resources/static/images/back.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgs98/hospital/fa392263f49dc8ef71dab8f654bdde7206164623/src/main/resources/static/images/back.jpg -------------------------------------------------------------------------------- /src/main/resources/static/images/bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgs98/hospital/fa392263f49dc8ef71dab8f654bdde7206164623/src/main/resources/static/images/bg.jpg -------------------------------------------------------------------------------- /src/main/resources/static/images/login_bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgs98/hospital/fa392263f49dc8ef71dab8f654bdde7206164623/src/main/resources/static/images/login_bg.jpg -------------------------------------------------------------------------------- /src/main/resources/static/images/one.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgs98/hospital/fa392263f49dc8ef71dab8f654bdde7206164623/src/main/resources/static/images/one.jpg -------------------------------------------------------------------------------- /src/main/resources/static/images/timg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgs98/hospital/fa392263f49dc8ef71dab8f654bdde7206164623/src/main/resources/static/images/timg.jpg -------------------------------------------------------------------------------- /src/main/resources/static/images/two.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgs98/hospital/fa392263f49dc8ef71dab8f654bdde7206164623/src/main/resources/static/images/two.jpg -------------------------------------------------------------------------------- /src/main/resources/static/layui/css/modules/code.css: -------------------------------------------------------------------------------- 1 | /** layui-v2.5.4 MIT License By https://www.layui.com */ 2 | html #layuicss-skincodecss{display:none;position:absolute;width:1989px}.layui-code-h3,.layui-code-view{position:relative;font-size:12px}.layui-code-view{display:block;margin:10px 0;padding:0;border:1px solid #e2e2e2;border-left-width:6px;background-color:#F2F2F2;color:#333;font-family:Courier New}.layui-code-h3{padding:0 10px;height:32px;line-height:32px;border-bottom:1px solid #e2e2e2}.layui-code-h3 a{position:absolute;right:10px;top:0;color:#999}.layui-code-view .layui-code-ol{position:relative;overflow:auto}.layui-code-view .layui-code-ol li{position:relative;margin-left:45px;line-height:20px;padding:0 5px;border-left:1px solid #e2e2e2;list-style-type:decimal-leading-zero;*list-style-type:decimal;background-color:#fff}.layui-code-view pre{margin:0}.layui-code-notepad{border:1px solid #0C0C0C;border-left-color:#3F3F3F;background-color:#0C0C0C;color:#C2BE9E}.layui-code-notepad .layui-code-h3{border-bottom:none}.layui-code-notepad .layui-code-ol li{background-color:#3F3F3F;border-left:none} -------------------------------------------------------------------------------- /src/main/resources/static/layui/css/modules/layer/default/icon-ext.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgs98/hospital/fa392263f49dc8ef71dab8f654bdde7206164623/src/main/resources/static/layui/css/modules/layer/default/icon-ext.png -------------------------------------------------------------------------------- /src/main/resources/static/layui/css/modules/layer/default/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgs98/hospital/fa392263f49dc8ef71dab8f654bdde7206164623/src/main/resources/static/layui/css/modules/layer/default/icon.png -------------------------------------------------------------------------------- /src/main/resources/static/layui/css/modules/layer/default/loading-0.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgs98/hospital/fa392263f49dc8ef71dab8f654bdde7206164623/src/main/resources/static/layui/css/modules/layer/default/loading-0.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui/css/modules/layer/default/loading-1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgs98/hospital/fa392263f49dc8ef71dab8f654bdde7206164623/src/main/resources/static/layui/css/modules/layer/default/loading-1.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui/css/modules/layer/default/loading-2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgs98/hospital/fa392263f49dc8ef71dab8f654bdde7206164623/src/main/resources/static/layui/css/modules/layer/default/loading-2.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui/font/iconfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgs98/hospital/fa392263f49dc8ef71dab8f654bdde7206164623/src/main/resources/static/layui/font/iconfont.eot -------------------------------------------------------------------------------- /src/main/resources/static/layui/font/iconfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgs98/hospital/fa392263f49dc8ef71dab8f654bdde7206164623/src/main/resources/static/layui/font/iconfont.ttf -------------------------------------------------------------------------------- /src/main/resources/static/layui/font/iconfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgs98/hospital/fa392263f49dc8ef71dab8f654bdde7206164623/src/main/resources/static/layui/font/iconfont.woff -------------------------------------------------------------------------------- /src/main/resources/static/layui/font/iconfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgs98/hospital/fa392263f49dc8ef71dab8f654bdde7206164623/src/main/resources/static/layui/font/iconfont.woff2 -------------------------------------------------------------------------------- /src/main/resources/static/layui/images/face/0.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgs98/hospital/fa392263f49dc8ef71dab8f654bdde7206164623/src/main/resources/static/layui/images/face/0.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui/images/face/1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgs98/hospital/fa392263f49dc8ef71dab8f654bdde7206164623/src/main/resources/static/layui/images/face/1.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui/images/face/10.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgs98/hospital/fa392263f49dc8ef71dab8f654bdde7206164623/src/main/resources/static/layui/images/face/10.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui/images/face/11.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgs98/hospital/fa392263f49dc8ef71dab8f654bdde7206164623/src/main/resources/static/layui/images/face/11.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui/images/face/12.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgs98/hospital/fa392263f49dc8ef71dab8f654bdde7206164623/src/main/resources/static/layui/images/face/12.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui/images/face/13.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgs98/hospital/fa392263f49dc8ef71dab8f654bdde7206164623/src/main/resources/static/layui/images/face/13.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui/images/face/14.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgs98/hospital/fa392263f49dc8ef71dab8f654bdde7206164623/src/main/resources/static/layui/images/face/14.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui/images/face/15.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgs98/hospital/fa392263f49dc8ef71dab8f654bdde7206164623/src/main/resources/static/layui/images/face/15.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui/images/face/16.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgs98/hospital/fa392263f49dc8ef71dab8f654bdde7206164623/src/main/resources/static/layui/images/face/16.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui/images/face/17.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgs98/hospital/fa392263f49dc8ef71dab8f654bdde7206164623/src/main/resources/static/layui/images/face/17.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui/images/face/18.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgs98/hospital/fa392263f49dc8ef71dab8f654bdde7206164623/src/main/resources/static/layui/images/face/18.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui/images/face/19.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgs98/hospital/fa392263f49dc8ef71dab8f654bdde7206164623/src/main/resources/static/layui/images/face/19.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui/images/face/2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgs98/hospital/fa392263f49dc8ef71dab8f654bdde7206164623/src/main/resources/static/layui/images/face/2.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui/images/face/20.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgs98/hospital/fa392263f49dc8ef71dab8f654bdde7206164623/src/main/resources/static/layui/images/face/20.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui/images/face/21.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgs98/hospital/fa392263f49dc8ef71dab8f654bdde7206164623/src/main/resources/static/layui/images/face/21.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui/images/face/22.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgs98/hospital/fa392263f49dc8ef71dab8f654bdde7206164623/src/main/resources/static/layui/images/face/22.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui/images/face/23.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgs98/hospital/fa392263f49dc8ef71dab8f654bdde7206164623/src/main/resources/static/layui/images/face/23.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui/images/face/24.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgs98/hospital/fa392263f49dc8ef71dab8f654bdde7206164623/src/main/resources/static/layui/images/face/24.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui/images/face/25.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgs98/hospital/fa392263f49dc8ef71dab8f654bdde7206164623/src/main/resources/static/layui/images/face/25.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui/images/face/26.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgs98/hospital/fa392263f49dc8ef71dab8f654bdde7206164623/src/main/resources/static/layui/images/face/26.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui/images/face/27.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgs98/hospital/fa392263f49dc8ef71dab8f654bdde7206164623/src/main/resources/static/layui/images/face/27.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui/images/face/28.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgs98/hospital/fa392263f49dc8ef71dab8f654bdde7206164623/src/main/resources/static/layui/images/face/28.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui/images/face/29.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgs98/hospital/fa392263f49dc8ef71dab8f654bdde7206164623/src/main/resources/static/layui/images/face/29.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui/images/face/3.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgs98/hospital/fa392263f49dc8ef71dab8f654bdde7206164623/src/main/resources/static/layui/images/face/3.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui/images/face/30.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgs98/hospital/fa392263f49dc8ef71dab8f654bdde7206164623/src/main/resources/static/layui/images/face/30.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui/images/face/31.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgs98/hospital/fa392263f49dc8ef71dab8f654bdde7206164623/src/main/resources/static/layui/images/face/31.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui/images/face/32.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgs98/hospital/fa392263f49dc8ef71dab8f654bdde7206164623/src/main/resources/static/layui/images/face/32.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui/images/face/33.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgs98/hospital/fa392263f49dc8ef71dab8f654bdde7206164623/src/main/resources/static/layui/images/face/33.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui/images/face/34.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgs98/hospital/fa392263f49dc8ef71dab8f654bdde7206164623/src/main/resources/static/layui/images/face/34.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui/images/face/35.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgs98/hospital/fa392263f49dc8ef71dab8f654bdde7206164623/src/main/resources/static/layui/images/face/35.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui/images/face/36.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgs98/hospital/fa392263f49dc8ef71dab8f654bdde7206164623/src/main/resources/static/layui/images/face/36.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui/images/face/37.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgs98/hospital/fa392263f49dc8ef71dab8f654bdde7206164623/src/main/resources/static/layui/images/face/37.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui/images/face/38.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgs98/hospital/fa392263f49dc8ef71dab8f654bdde7206164623/src/main/resources/static/layui/images/face/38.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui/images/face/39.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgs98/hospital/fa392263f49dc8ef71dab8f654bdde7206164623/src/main/resources/static/layui/images/face/39.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui/images/face/4.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgs98/hospital/fa392263f49dc8ef71dab8f654bdde7206164623/src/main/resources/static/layui/images/face/4.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui/images/face/40.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgs98/hospital/fa392263f49dc8ef71dab8f654bdde7206164623/src/main/resources/static/layui/images/face/40.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui/images/face/41.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgs98/hospital/fa392263f49dc8ef71dab8f654bdde7206164623/src/main/resources/static/layui/images/face/41.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui/images/face/42.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgs98/hospital/fa392263f49dc8ef71dab8f654bdde7206164623/src/main/resources/static/layui/images/face/42.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui/images/face/43.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgs98/hospital/fa392263f49dc8ef71dab8f654bdde7206164623/src/main/resources/static/layui/images/face/43.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui/images/face/44.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgs98/hospital/fa392263f49dc8ef71dab8f654bdde7206164623/src/main/resources/static/layui/images/face/44.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui/images/face/45.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgs98/hospital/fa392263f49dc8ef71dab8f654bdde7206164623/src/main/resources/static/layui/images/face/45.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui/images/face/46.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgs98/hospital/fa392263f49dc8ef71dab8f654bdde7206164623/src/main/resources/static/layui/images/face/46.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui/images/face/47.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgs98/hospital/fa392263f49dc8ef71dab8f654bdde7206164623/src/main/resources/static/layui/images/face/47.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui/images/face/48.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgs98/hospital/fa392263f49dc8ef71dab8f654bdde7206164623/src/main/resources/static/layui/images/face/48.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui/images/face/49.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgs98/hospital/fa392263f49dc8ef71dab8f654bdde7206164623/src/main/resources/static/layui/images/face/49.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui/images/face/5.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgs98/hospital/fa392263f49dc8ef71dab8f654bdde7206164623/src/main/resources/static/layui/images/face/5.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui/images/face/50.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgs98/hospital/fa392263f49dc8ef71dab8f654bdde7206164623/src/main/resources/static/layui/images/face/50.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui/images/face/51.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgs98/hospital/fa392263f49dc8ef71dab8f654bdde7206164623/src/main/resources/static/layui/images/face/51.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui/images/face/52.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgs98/hospital/fa392263f49dc8ef71dab8f654bdde7206164623/src/main/resources/static/layui/images/face/52.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui/images/face/53.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgs98/hospital/fa392263f49dc8ef71dab8f654bdde7206164623/src/main/resources/static/layui/images/face/53.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui/images/face/54.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgs98/hospital/fa392263f49dc8ef71dab8f654bdde7206164623/src/main/resources/static/layui/images/face/54.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui/images/face/55.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgs98/hospital/fa392263f49dc8ef71dab8f654bdde7206164623/src/main/resources/static/layui/images/face/55.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui/images/face/56.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgs98/hospital/fa392263f49dc8ef71dab8f654bdde7206164623/src/main/resources/static/layui/images/face/56.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui/images/face/57.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgs98/hospital/fa392263f49dc8ef71dab8f654bdde7206164623/src/main/resources/static/layui/images/face/57.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui/images/face/58.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgs98/hospital/fa392263f49dc8ef71dab8f654bdde7206164623/src/main/resources/static/layui/images/face/58.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui/images/face/59.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgs98/hospital/fa392263f49dc8ef71dab8f654bdde7206164623/src/main/resources/static/layui/images/face/59.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui/images/face/6.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgs98/hospital/fa392263f49dc8ef71dab8f654bdde7206164623/src/main/resources/static/layui/images/face/6.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui/images/face/60.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgs98/hospital/fa392263f49dc8ef71dab8f654bdde7206164623/src/main/resources/static/layui/images/face/60.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui/images/face/61.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgs98/hospital/fa392263f49dc8ef71dab8f654bdde7206164623/src/main/resources/static/layui/images/face/61.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui/images/face/62.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgs98/hospital/fa392263f49dc8ef71dab8f654bdde7206164623/src/main/resources/static/layui/images/face/62.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui/images/face/63.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgs98/hospital/fa392263f49dc8ef71dab8f654bdde7206164623/src/main/resources/static/layui/images/face/63.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui/images/face/64.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgs98/hospital/fa392263f49dc8ef71dab8f654bdde7206164623/src/main/resources/static/layui/images/face/64.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui/images/face/65.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgs98/hospital/fa392263f49dc8ef71dab8f654bdde7206164623/src/main/resources/static/layui/images/face/65.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui/images/face/66.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgs98/hospital/fa392263f49dc8ef71dab8f654bdde7206164623/src/main/resources/static/layui/images/face/66.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui/images/face/67.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgs98/hospital/fa392263f49dc8ef71dab8f654bdde7206164623/src/main/resources/static/layui/images/face/67.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui/images/face/68.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgs98/hospital/fa392263f49dc8ef71dab8f654bdde7206164623/src/main/resources/static/layui/images/face/68.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui/images/face/69.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgs98/hospital/fa392263f49dc8ef71dab8f654bdde7206164623/src/main/resources/static/layui/images/face/69.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui/images/face/7.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgs98/hospital/fa392263f49dc8ef71dab8f654bdde7206164623/src/main/resources/static/layui/images/face/7.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui/images/face/70.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgs98/hospital/fa392263f49dc8ef71dab8f654bdde7206164623/src/main/resources/static/layui/images/face/70.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui/images/face/71.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgs98/hospital/fa392263f49dc8ef71dab8f654bdde7206164623/src/main/resources/static/layui/images/face/71.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui/images/face/8.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgs98/hospital/fa392263f49dc8ef71dab8f654bdde7206164623/src/main/resources/static/layui/images/face/8.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui/images/face/9.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgs98/hospital/fa392263f49dc8ef71dab8f654bdde7206164623/src/main/resources/static/layui/images/face/9.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui/lay/modules/code.js: -------------------------------------------------------------------------------- 1 | /** layui-v2.5.4 MIT License By https://www.layui.com */ 2 | ;layui.define("jquery",function(e){"use strict";var a=layui.$,l="http://www.layui.com/doc/modules/code.html";e("code",function(e){var t=[];e=e||{},e.elem=a(e.elem||".layui-code"),e.about=!("about"in e)||e.about,e.elem.each(function(){t.push(this)}),layui.each(t.reverse(),function(t,i){var c=a(i),o=c.html();(c.attr("lay-encode")||e.encode)&&(o=o.replace(/&(?!#?[a-zA-Z0-9]+;)/g,"&").replace(//g,">").replace(/'/g,"'").replace(/"/g,""")),c.html('
  1. '+o.replace(/[\r\t\n]+/g,"
  2. ")+"
"),c.find(">.layui-code-h3")[0]||c.prepend('

'+(c.attr("lay-title")||e.title||"code")+(e.about?'layui.code':"")+"

");var d=c.find(">.layui-code-ol");c.addClass("layui-box layui-code-view"),(c.attr("lay-skin")||e.skin)&&c.addClass("layui-code-"+(c.attr("lay-skin")||e.skin)),(d.find("li").length/100|0)>0&&d.css("margin-left",(d.find("li").length/100|0)+"px"),(c.attr("lay-height")||e.height)&&d.css("max-height",c.attr("lay-height")||e.height)})})}).addcss("modules/code.css","skincodecss"); -------------------------------------------------------------------------------- /src/main/resources/static/layui/lay/modules/flow.js: -------------------------------------------------------------------------------- 1 | /** layui-v2.5.4 MIT License By https://www.layui.com */ 2 | ;layui.define("jquery",function(e){"use strict";var l=layui.$,o=function(e){},t='';o.prototype.load=function(e){var o,i,n,r,a=this,c=0;e=e||{};var f=l(e.elem);if(f[0]){var m=l(e.scrollElem||document),u=e.mb||50,s=!("isAuto"in e)||e.isAuto,v=e.end||"没有更多了",y=e.scrollElem&&e.scrollElem!==document,d="加载更多",h=l('");f.find(".layui-flow-more")[0]||f.append(h);var p=function(e,t){e=l(e),h.before(e),t=0==t||null,t?h.html(v):h.find("a").html(d),i=t,o=null,n&&n()},g=function(){o=!0,h.find("a").html(t),"function"==typeof e.done&&e.done(++c,p)};if(g(),h.find("a").on("click",function(){l(this);i||o||g()}),e.isLazyimg)var n=a.lazyimg({elem:e.elem+" img",scrollElem:e.scrollElem});return s?(m.on("scroll",function(){var e=l(this),t=e.scrollTop();r&&clearTimeout(r),i||(r=setTimeout(function(){var i=y?e.height():l(window).height(),n=y?e.prop("scrollHeight"):document.documentElement.scrollHeight;n-t-i<=u&&(o||g())},100))}),a):a}},o.prototype.lazyimg=function(e){var o,t=this,i=0;e=e||{};var n=l(e.scrollElem||document),r=e.elem||"img",a=e.scrollElem&&e.scrollElem!==document,c=function(e,l){var o=n.scrollTop(),r=o+l,c=a?function(){return e.offset().top-n.offset().top+o}():e.offset().top;if(c>=o&&c<=r&&!e.attr("src")){var m=e.attr("lay-src");layui.img(m,function(){var l=t.lazyimg.elem.eq(i);e.attr("src",m).removeAttr("lay-src"),l[0]&&f(l),i++})}},f=function(e,o){var f=a?(o||n).height():l(window).height(),m=n.scrollTop(),u=m+f;if(t.lazyimg.elem=l(r),e)c(e,f);else for(var s=0;su)break}};if(f(),!o){var m;n.on("scroll",function(){var e=l(this);m&&clearTimeout(m),m=setTimeout(function(){f(null,e)},50)}),o=!0}return f},e("flow",new o)}); -------------------------------------------------------------------------------- /src/main/resources/static/layui/lay/modules/laytpl.js: -------------------------------------------------------------------------------- 1 | /** layui-v2.5.4 MIT License By https://www.layui.com */ 2 | ;layui.define(function(e){"use strict";var r={open:"{{",close:"}}"},c={exp:function(e){return new RegExp(e,"g")},query:function(e,c,t){var o=["#([\\s\\S])+?","([^{#}])*?"][e||0];return n((c||"")+r.open+o+r.close+(t||""))},escape:function(e){return String(e||"").replace(/&(?!#?[a-zA-Z0-9]+;)/g,"&").replace(//g,">").replace(/'/g,"'").replace(/"/g,""")},error:function(e,r){var c="Laytpl Error:";return"object"==typeof console&&console.error(c+e+"\n"+(r||"")),c+e}},n=c.exp,t=function(e){this.tpl=e};t.pt=t.prototype,window.errors=0,t.pt.parse=function(e,t){var o=this,p=e,a=n("^"+r.open+"#",""),l=n(r.close+"$","");e=e.replace(/\s+|\r|\t|\n/g," ").replace(n(r.open+"#"),r.open+"# ").replace(n(r.close+"}"),"} "+r.close).replace(/\\/g,"\\\\").replace(n(r.open+"!(.+?)!"+r.close),function(e){return e=e.replace(n("^"+r.open+"!"),"").replace(n("!"+r.close),"").replace(n(r.open+"|"+r.close),function(e){return e.replace(/(.)/g,"\\$1")})}).replace(/(?="|')/g,"\\").replace(c.query(),function(e){return e=e.replace(a,"").replace(l,""),'";'+e.replace(/\\/g,"")+';view+="'}).replace(c.query(1),function(e){var c='"+(';return e.replace(/\s/g,"")===r.open+r.close?"":(e=e.replace(n(r.open+"|"+r.close),""),/^=/.test(e)&&(e=e.replace(/^=/,""),c='"+_escape_('),c+e.replace(/\\/g,"")+')+"')}),e='"use strict";var view = "'+e+'";return view;';try{return o.cache=e=new Function("d, _escape_",e),e(t,c.escape)}catch(u){return delete o.cache,c.error(u,p)}},t.pt.render=function(e,r){var n,t=this;return e?(n=t.cache?t.cache(e,c.escape):t.parse(t.tpl,e),r?void r(n):n):c.error("no data")};var o=function(e){return"string"!=typeof e?c.error("Template not found"):new t(e)};o.config=function(e){e=e||{};for(var c in e)r[c]=e[c]},o.v="1.2.0",e("laytpl",o)}); -------------------------------------------------------------------------------- /src/main/resources/static/layui_ext/dtree/font/dtreefont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgs98/hospital/fa392263f49dc8ef71dab8f654bdde7206164623/src/main/resources/static/layui_ext/dtree/font/dtreefont.eot -------------------------------------------------------------------------------- /src/main/resources/static/layui_ext/dtree/font/dtreefont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgs98/hospital/fa392263f49dc8ef71dab8f654bdde7206164623/src/main/resources/static/layui_ext/dtree/font/dtreefont.ttf -------------------------------------------------------------------------------- /src/main/resources/static/layui_ext/dtree/font/dtreefont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgs98/hospital/fa392263f49dc8ef71dab8f654bdde7206164623/src/main/resources/static/layui_ext/dtree/font/dtreefont.woff -------------------------------------------------------------------------------- /src/main/resources/static/layui_ext/json/case/asyncTree1.json: -------------------------------------------------------------------------------- 1 | { 2 | "status": { 3 | "code": 200, 4 | "message": "操作成功" 5 | }, 6 | "data": [ 7 | { 8 | "id": "001", 9 | "title": "湖南省", 10 | "last": false, 11 | "parentId": "0", 12 | "children": [ 13 | { 14 | "id": "001001", 15 | "title": "长沙市", 16 | "last": true, 17 | "parentId": "001" 18 | }, 19 | { 20 | "id": "001002", 21 | "title": "株洲市", 22 | "last": true, 23 | "parentId": "001" 24 | }, 25 | { 26 | "id": "001003", 27 | "title": "湘潭市", 28 | "last": true, 29 | "parentId": "001" 30 | }, 31 | { 32 | "id": "001004", 33 | "title": "衡阳市", 34 | "last": true, 35 | "parentId": "001" 36 | }, 37 | { 38 | "id": "001005", 39 | "title": "郴州市", 40 | "last": true, 41 | "parentId": "001" 42 | } 43 | ] 44 | }, 45 | { 46 | "id": "002", 47 | "title": "湖北省", 48 | "last": false, 49 | "parentId": "0", 50 | "children": [ 51 | { 52 | "id": "002001", 53 | "title": "武汉市", 54 | "last": true 55 | }, 56 | { 57 | "id": "002002", 58 | "title": "黄冈市", 59 | "last": true, 60 | "parentId": "002" 61 | }, 62 | { 63 | "id": "002003", 64 | "title": "潜江市", 65 | "last": true, 66 | "parentId": "002" 67 | }, 68 | { 69 | "id": "002004", 70 | "title": "荆州市", 71 | "last": true, 72 | "parentId": "002" 73 | }, 74 | { 75 | "id": "002005", 76 | "title": "襄阳市", 77 | "last": true, 78 | "parentId": "002" 79 | } 80 | ] 81 | } 82 | ] 83 | } -------------------------------------------------------------------------------- /src/main/resources/static/layui_ext/json/case/asyncTree2.json: -------------------------------------------------------------------------------- 1 | { 2 | "code": 0, 3 | "msg": "操作成功", 4 | "data": [ 5 | { 6 | "id": "001", 7 | "title": "湖南省", 8 | "last": false, 9 | "parentId": "0", 10 | "children": [ 11 | { 12 | "id": "001001", 13 | "title": "长沙市", 14 | "last": true, 15 | "parentId": "001" 16 | }, 17 | { 18 | "id": "001002", 19 | "title": "株洲市", 20 | "last": true, 21 | "parentId": "001" 22 | }, 23 | { 24 | "id": "001003", 25 | "title": "湘潭市", 26 | "last": true, 27 | "parentId": "001" 28 | }, 29 | { 30 | "id": "001004", 31 | "title": "衡阳市", 32 | "last": true, 33 | "parentId": "001" 34 | }, 35 | { 36 | "id": "001005", 37 | "title": "郴州市", 38 | "last": true, 39 | "parentId": "001" 40 | } 41 | ] 42 | }, 43 | { 44 | "id": "002", 45 | "title": "湖北省", 46 | "last": false, 47 | "parentId": "0", 48 | "children": [ 49 | { 50 | "id": "002001", 51 | "title": "武汉市", 52 | "last": true 53 | }, 54 | { 55 | "id": "002002", 56 | "title": "黄冈市", 57 | "last": true, 58 | "parentId": "002" 59 | }, 60 | { 61 | "id": "002003", 62 | "title": "潜江市", 63 | "last": true, 64 | "parentId": "002" 65 | }, 66 | { 67 | "id": "002004", 68 | "title": "荆州市", 69 | "last": true, 70 | "parentId": "002" 71 | }, 72 | { 73 | "id": "002005", 74 | "title": "襄阳市", 75 | "last": true, 76 | "parentId": "002" 77 | } 78 | ] 79 | } 80 | ] 81 | } -------------------------------------------------------------------------------- /src/main/resources/static/layui_ext/json/case/asyncTree3.json: -------------------------------------------------------------------------------- 1 | { 2 | "status": { 3 | "code": 200, 4 | "message": "操作成功" 5 | }, 6 | "data": [ 7 | { 8 | "id": "001", 9 | "title": "湖南省", 10 | "last": false, 11 | "parentId": "0" 12 | }, 13 | { 14 | "id": "002", 15 | "title": "湖北省", 16 | "last": false, 17 | "parentId": "0" 18 | }, 19 | { 20 | "id": "001001", 21 | "title": "长沙市", 22 | "last": true, 23 | "parentId": "001" 24 | }, 25 | { 26 | "id": "001002", 27 | "title": "株洲市", 28 | "last": true, 29 | "parentId": "001" 30 | }, 31 | { 32 | "id": "001003", 33 | "title": "湘潭市", 34 | "last": true, 35 | "parentId": "001" 36 | }, 37 | { 38 | "id": "001004", 39 | "title": "衡阳市", 40 | "last": true, 41 | "parentId": "001" 42 | }, 43 | { 44 | "id": "001005", 45 | "title": "郴州市", 46 | "last": true, 47 | "parentId": "001" 48 | }, 49 | { 50 | "id": "002001", 51 | "title": "武汉市", 52 | "last": true, 53 | "parentId": "002" 54 | }, 55 | { 56 | "id": "002002", 57 | "title": "黄冈市", 58 | "last": true, 59 | "parentId": "002" 60 | }, 61 | { 62 | "id": "002003", 63 | "title": "荆州市", 64 | "last": true, 65 | "parentId": "002" 66 | }, 67 | { 68 | "id": "002004", 69 | "title": "天门市", 70 | "last": true, 71 | "parentId": "002" 72 | }, 73 | { 74 | "id": "002005", 75 | "title": "孝感市", 76 | "last": true, 77 | "parentId": "002" 78 | } 79 | ] 80 | } -------------------------------------------------------------------------------- /src/main/resources/static/layui_ext/json/case/asyncTree4.json: -------------------------------------------------------------------------------- 1 | { 2 | "code": 0, 3 | "msg": "操作成功", 4 | "data": [ 5 | { 6 | "id": "001", 7 | "title": "湖南省", 8 | "last": false, 9 | "parentId": "0" 10 | }, 11 | { 12 | "id": "002", 13 | "title": "湖北省", 14 | "last": false, 15 | "parentId": "0" 16 | }, 17 | { 18 | "id": "001001", 19 | "title": "长沙市", 20 | "last": true, 21 | "parentId": "001" 22 | }, 23 | { 24 | "id": "001002", 25 | "title": "株洲市", 26 | "last": true, 27 | "parentId": "001" 28 | }, 29 | { 30 | "id": "001003", 31 | "title": "湘潭市", 32 | "last": true, 33 | "parentId": "001" 34 | }, 35 | { 36 | "id": "001004", 37 | "title": "衡阳市", 38 | "last": true, 39 | "parentId": "001" 40 | }, 41 | { 42 | "id": "001005", 43 | "title": "郴州市", 44 | "last": true, 45 | "parentId": "001" 46 | }, 47 | { 48 | "id": "002001", 49 | "title": "武汉市", 50 | "last": true, 51 | "parentId": "002" 52 | }, 53 | { 54 | "id": "002002", 55 | "title": "黄冈市", 56 | "last": true, 57 | "parentId": "002" 58 | }, 59 | { 60 | "id": "002003", 61 | "title": "荆州市", 62 | "last": true, 63 | "parentId": "002" 64 | }, 65 | { 66 | "id": "002004", 67 | "title": "天门市", 68 | "last": true, 69 | "parentId": "002" 70 | }, 71 | { 72 | "id": "002005", 73 | "title": "孝感市", 74 | "last": true, 75 | "parentId": "002" 76 | } 77 | ] 78 | } -------------------------------------------------------------------------------- /src/main/resources/static/sql/说明: -------------------------------------------------------------------------------- 1 | 用户:admin 2 | 密码:123456 3 | 数据库端口:application.properties 自己定义 4 | 运行:localhost:8080 -------------------------------------------------------------------------------- /src/main/resources/templates/drugstore/c_store.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 库房管理导航 7 | 8 | 9 | 10 | 11 |

药房

12 |
入库
13 |
库存查询
14 |
出库
15 |
缺货提醒 16 |

缺货提醒

17 |
18 |
积压药品 19 |

积压药品

20 |
过期提醒 21 |

过期提醒

22 | 23 | -------------------------------------------------------------------------------- /src/main/resources/templates/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 医院 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 21 | -------------------------------------------------------------------------------- /src/main/resources/templates/view/finance/reportBing.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Title 6 | 7 | 8 |
9 | 10 | 11 | 56 | 57 | -------------------------------------------------------------------------------- /src/main/resources/templates/view/finance/zhuYuanBing.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Title 6 | 7 | 8 |
9 | 10 | 11 | 56 | 57 | -------------------------------------------------------------------------------- /src/main/resources/templates/view/menu/menuLeft.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 菜单管理 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 41 | 42 | -------------------------------------------------------------------------------- /src/main/resources/templates/view/menu/menuManager.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 菜单管理 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /src/test/java/com/aaa/HospitalApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.aaa; 2 | 3 | import org.junit.Test; 4 | import org.junit.runner.RunWith; 5 | import org.springframework.boot.test.context.SpringBootTest; 6 | import org.springframework.test.context.junit4.SpringRunner; 7 | 8 | @RunWith(SpringRunner.class) 9 | @SpringBootTest 10 | public class HospitalApplicationTests { 11 | 12 | @Test 13 | public void contextLoads() { 14 | } 15 | 16 | } 17 | --------------------------------------------------------------------------------