├── src └── main │ ├── resources │ ├── static │ │ ├── project │ │ │ └── css │ │ │ │ ├── evaluationTable │ │ │ │ └── evaluationTable.css │ │ │ │ ├── user │ │ │ │ └── usermsg.css │ │ │ │ └── mainPage.css │ │ ├── css │ │ │ ├── taskList.css │ │ │ └── dataNewsrotations.css │ │ ├── images │ │ │ ├── bg.jpg │ │ │ ├── li.PNG │ │ │ ├── logo.png │ │ │ ├── u11.png │ │ │ ├── u12.png │ │ │ ├── u13.png │ │ │ ├── new │ │ │ │ ├── out.png │ │ │ │ ├── top.png │ │ │ │ ├── bottom.png │ │ │ │ ├── head.png │ │ │ │ ├── hover.png │ │ │ │ ├── left.png │ │ │ │ ├── more.png │ │ │ │ ├── right.png │ │ │ │ ├── title.png │ │ │ │ ├── default.png │ │ │ │ ├── titleHover.png │ │ │ │ ├── tableDefault.png │ │ │ │ └── 标注_“智慧”国医堂惠民信息系统.png │ │ │ ├── return.png │ │ │ └── bg-border.png │ │ ├── fonts │ │ │ ├── icomoon.eot │ │ │ ├── icomoon.ttf │ │ │ ├── icomoon.woff │ │ │ ├── FontAwesome.otf │ │ │ ├── fontawesome-webfont.eot │ │ │ ├── fontawesome-webfont.ttf │ │ │ ├── fontawesome-webfont.woff │ │ │ ├── fontawesome-webfont.woff2 │ │ │ ├── glyphicons-halflings-regular.eot │ │ │ ├── glyphicons-halflings-regular.ttf │ │ │ ├── glyphicons-halflings-regular.woff │ │ │ └── glyphicons-halflings-regular.woff2 │ │ ├── component │ │ │ ├── bootstrap-table@1.15.3 │ │ │ │ ├── themes │ │ │ │ │ └── bootstrap-table │ │ │ │ │ │ └── fonts │ │ │ │ │ │ ├── bootstrap-table.eot │ │ │ │ │ │ ├── bootstrap-table.ttf │ │ │ │ │ │ └── bootstrap-table.woff │ │ │ │ └── extensions │ │ │ │ │ ├── group-by-v2 │ │ │ │ │ ├── bootstrap-table-group-by.css │ │ │ │ │ └── bootstrap-table-group-by.min.css │ │ │ │ │ ├── filter-control │ │ │ │ │ ├── bootstrap-table-filter-control.css │ │ │ │ │ └── bootstrap-table-filter-control.min.css │ │ │ │ │ ├── page-jump-to │ │ │ │ │ ├── bootstrap-table-page-jump-to.css │ │ │ │ │ └── bootstrap-table-page-jump-to.min.css │ │ │ │ │ ├── sticky-header │ │ │ │ │ ├── bootstrap-table-sticky-header.css │ │ │ │ │ └── bootstrap-table-sticky-header.min.css │ │ │ │ │ ├── fixed-columns │ │ │ │ │ ├── bootstrap-table-fixed-columns.css │ │ │ │ │ └── bootstrap-table-fixed-columns.min.css │ │ │ │ │ └── reorder-rows │ │ │ │ │ ├── bootstrap-table-reorder-rows.css │ │ │ │ │ └── bootstrap-table-reorder-rows.min.css │ │ │ └── bootstrap-datetimepicker@4.7.14 │ │ │ │ └── bootstrap-datetimepicker.zh-CN.js │ │ └── utils │ │ │ └── alertUtil.js │ ├── application.properties │ ├── templates │ │ ├── error │ │ │ ├── 500.html │ │ │ └── 404.html │ │ ├── document │ │ │ ├── sendMsgMan.html │ │ │ ├── receiveMsgMan.html │ │ │ └── report.html │ │ └── scientificProject │ │ │ ├── setTime.html │ │ │ ├── expertManagement.html │ │ │ └── projectManagement.html │ └── mapping │ │ └── DictMapper.xml │ └── java │ └── com │ └── zyyglxt │ ├── service │ ├── ILogService.java │ ├── HospService.java │ ├── IDictService.java │ ├── IIndustrialDevelopOffService.java │ ├── IAdviceService.java │ ├── IDictDOService.java │ ├── IGovernresAdviceService.java │ ├── IOrganizationService.java │ ├── ResourcesRoleRefService.java │ ├── IGovernresCountersignService.java │ ├── IIndustrialDevelopTalRecService.java │ ├── UserRoleRefService.java │ ├── IDictitemDOService.java │ ├── IFileService.java │ ├── IRequestReportDOService.java │ ├── IDataRulesService.java │ ├── IPostRefService.java │ ├── IIndustrialDevelopSciAchiService.java │ ├── IDataProcessService.java │ ├── IIndustrialDevelopCooService.java │ ├── ISpecialtyService.java │ ├── IndustrialDevelopSerProService.java │ ├── impl │ │ ├── LogServiceImpl.java │ │ └── DictServiceImpl.java │ ├── IUserService.java │ ├── IIndustrialDevelopExpertService.java │ ├── RoleService.java │ ├── IDataLeaderService.java │ ├── IndustrialDevelopBasestyleService.java │ ├── FamPreDOService.java │ ├── ResourcesService.java │ ├── IndustrialDevelopSchoolService.java │ ├── IDataRegulationService.java │ ├── IChineseMedicineService.java │ ├── IDataAnnouncementService.java │ ├── IDataNewsService.java │ ├── IMovieTVService.java │ ├── ICulturalRelicsService.java │ ├── IndustrialDevelopMedMatService.java │ ├── IComicGameService.java │ ├── HealthSciKnowDOService.java │ ├── ITravelService.java │ ├── ICulturalVenuesService.java │ ├── ICartoonAllusionsService.java │ ├── HealthCareFamPreDOService.java │ ├── IndustrialDevelopTecSerOrgService.java │ ├── UserService.java │ ├── IHospService.java │ ├── IndustrialDevelopSaleDrugService.java │ ├── IPostService.java │ ├── IndustrialDevelopChiMedService.java │ ├── IIntangibleCulturalHeritageService.java │ ├── IReceiptDOService.java │ ├── ITraditionalSchoolService.java │ ├── ITraditionalDoctorService.java │ ├── HealthCareChineseMedicineDOService.java │ ├── ITraditionalCulturalService.java │ ├── IAuditService.java │ ├── IExmaineService.java │ └── IIndustrialDevelopTopicService.java │ ├── dao │ ├── LogDOMapper.java │ ├── DictMapper.java │ ├── ApplicationDOMapper.java │ ├── CountersignDOMapper.java │ ├── DictitemDOMapper.java │ ├── DictDOMapper.java │ ├── GovernresAdviceMapper.java │ ├── ResourcesRoleRefDOMapper.java │ ├── GovernresCountersignMapper.java │ ├── adviceDOMapper.java │ ├── FileDOMapper.java │ ├── RoleDOMapper.java │ ├── PostRefDOMapper.java │ ├── UserRoleRefDOMapper.java │ ├── ResourcesDOMapper.java │ ├── HospSpecialtyRefDOMapper.java │ ├── HospDOMapper.java │ ├── IndustrialDevelopSerProMapper.java │ ├── IndustrialDevelopBasestyleMapper.java │ ├── SpecialtyDOMapper.java │ ├── IndustrialDevelopSchoolMapper.java │ ├── IndustrialDevelopMedMatMapper.java │ ├── IndustrialDevelopExpertDtoMapper.java │ ├── IndustrialDevelopSciAchiDOMapper.java │ ├── FamPreDOMapper.java │ ├── RequestReportDOMapper.java │ ├── CulturalResourcesDOMapper.java │ ├── ChineseMedicineDOMapper.java │ ├── OrganizationDOMapper.java │ ├── IndustrialDevelopChiMedMapper.java │ ├── HealthSciKnowDOMapper.java │ ├── HealthCareFamPreDOMapper.java │ ├── IndustrialDevelopTecSerOrgMapper.java │ ├── ChineseCulturalDOMapper.java │ ├── HealthCareChineseMedicineDOMapper.java │ ├── IndustrialDevelopSaleDrugMapper.java │ ├── PostDOMapper.java │ ├── IndustrialDevelopExpertRefDOMapper.java │ └── ReceiptDOMapper.java │ ├── controller │ ├── govres │ │ └── CountersignController.java │ ├── dict │ │ └── DictController.java │ └── industrialDevelop │ │ └── hospitalController.java │ ├── dataobject │ ├── PostFileDO.java │ ├── FileDOKey.java │ ├── HospDOKey.java │ ├── SpecialtyDOKey.java │ ├── ChineseMedicineDOKey.java │ ├── HospSpecialtyRefDOKey.java │ ├── DictItem.java │ ├── DictDOKey.java │ ├── PostDOKey.java │ ├── PostRefDOKey.java │ ├── ReceiptDOKey.java │ ├── adviceDOKey.java │ ├── FamPreDOKey.java │ ├── UserDOKey.java │ ├── CountersignDOKey.java │ ├── RequestReportDOKey.java │ ├── IndustrialDevelopOffDOKey.java │ ├── ChineseCulturalDOKey.java │ ├── HealthSciKnowDOKey.java │ ├── IndustrialDevelopTalRecDOKey.java │ ├── UserRoleRefDOKey.java │ ├── CulturalResourcesDOKey.java │ ├── HealthCareFamPreDOKey.java │ ├── IndustrialDevelopSciAchiDOKey.java │ ├── HealthCareChineseMedicineDOKey.java │ ├── FileDO.java │ ├── HospSpecialtyRefDO.java │ ├── IndustrialDevelopExpertRefDOKey.java │ ├── LogDO.java │ ├── validation │ │ └── ValidationGroups.java │ ├── IndustrialDevelopCooExcDOKey.java │ ├── IndustrialDevelopExpertDOKey.java │ ├── IndustrialDevelopTopicDOKey.java │ ├── IndustrialDevelopExpertDO.java │ ├── ResourcesDO.java │ ├── UserDO.java │ ├── ChineseMedicineDO.java │ ├── SpecialtyDO.java │ ├── IndustrialDevelopExpertRefDO.java │ ├── IndustrialDevelopOffDO.java │ └── HospDO.java │ ├── error │ ├── CommonError.java │ └── BusinessException.java │ ├── util │ ├── UUIDUtils.java │ ├── ResultTool.java │ ├── JsonXMLUtils.java │ ├── ContextUtil.java │ ├── ApplicationContextHolder.java │ ├── DateUtils.java │ └── DOKeyAndValidateUtil.java │ ├── dto │ ├── HospDto.java │ ├── industrialDevelop │ │ ├── OrgStatusDto.java │ │ ├── IndustrialDevelopTopicDODto.java │ │ ├── IndustrialDevelopExpertDto.java │ │ ├── IndustrialDevelopChiMedDto.java │ │ ├── IndustrialDevelopSchoolDto.java │ │ ├── IndustrialDevelopSaleDrugDto.java │ │ ├── IndustrialDevelopBasestyleDto.java │ │ ├── IndustrialDevelopTecSerOrgDto.java │ │ ├── IndustrialDevelopSciAchiDODto.java │ │ ├── IndustrialDevelopMedMatDto.java │ │ └── AuditDto.java │ ├── ReceiptDto.java │ ├── DataDto.java │ ├── ChineseCulturalDto.java │ ├── CulturalResourcesDto.java │ ├── RequestReportDto.java │ ├── FileDto.java │ ├── MainPageDto.java │ ├── PostMainPageDto.java │ ├── ReceiptMainDto.java │ ├── HealthCareChineseMedicineDto.java │ ├── ChineseMedicineDto.java │ ├── SpecialtyDto.java │ ├── StatusDto.java │ ├── UpdatePwdDto.java │ ├── HealthCareFamPreDto.java │ ├── UserSessionDto.java │ ├── CountersignDto.java │ ├── PostDto.java │ ├── UserDto.java │ └── ExmaineDto.java │ ├── framework │ └── system │ │ └── SystemController.java │ ├── annotation │ └── LogAnnotation.java │ ├── validator │ ├── ValidatorResult.java │ └── ValidatorImpl.java │ ├── config │ ├── CorsConfig.java │ ├── webAppConfig │ │ └── WebAppConfig.java │ ├── handler │ │ ├── CustomizeAuthenticationEntryPoint.java │ │ ├── CustomizeLogoutSuccessHandler.java │ │ ├── CustomizeAccessDeniedHandler.java │ │ └── CustomizeSessionInformationExpiredStrategy.java │ ├── EhCacheConfig.java │ └── Swagger2Config.java │ └── ZyyglxtApplication.java ├── .mvn └── wrapper │ ├── maven-wrapper.jar │ └── maven-wrapper.properties └── .gitignore /src/main/resources/static/project/css/evaluationTable/evaluationTable.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/programmingwang/zzyglxt/HEAD/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /src/main/resources/static/css/taskList.css: -------------------------------------------------------------------------------- 1 | .reC{ 2 | background-color: white; 3 | } 4 | .addC{ 5 | background-color: red; 6 | } -------------------------------------------------------------------------------- /src/main/resources/static/images/bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/programmingwang/zzyglxt/HEAD/src/main/resources/static/images/bg.jpg -------------------------------------------------------------------------------- /src/main/resources/static/images/li.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/programmingwang/zzyglxt/HEAD/src/main/resources/static/images/li.PNG -------------------------------------------------------------------------------- /src/main/resources/application.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/programmingwang/zzyglxt/HEAD/src/main/resources/application.properties -------------------------------------------------------------------------------- /src/main/resources/static/images/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/programmingwang/zzyglxt/HEAD/src/main/resources/static/images/logo.png -------------------------------------------------------------------------------- /src/main/resources/static/images/u11.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/programmingwang/zzyglxt/HEAD/src/main/resources/static/images/u11.png -------------------------------------------------------------------------------- /src/main/resources/static/images/u12.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/programmingwang/zzyglxt/HEAD/src/main/resources/static/images/u12.png -------------------------------------------------------------------------------- /src/main/resources/static/images/u13.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/programmingwang/zzyglxt/HEAD/src/main/resources/static/images/u13.png -------------------------------------------------------------------------------- /src/main/resources/static/fonts/icomoon.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/programmingwang/zzyglxt/HEAD/src/main/resources/static/fonts/icomoon.eot -------------------------------------------------------------------------------- /src/main/resources/static/fonts/icomoon.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/programmingwang/zzyglxt/HEAD/src/main/resources/static/fonts/icomoon.ttf -------------------------------------------------------------------------------- /src/main/resources/static/fonts/icomoon.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/programmingwang/zzyglxt/HEAD/src/main/resources/static/fonts/icomoon.woff -------------------------------------------------------------------------------- /src/main/resources/static/images/new/out.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/programmingwang/zzyglxt/HEAD/src/main/resources/static/images/new/out.png -------------------------------------------------------------------------------- /src/main/resources/static/images/new/top.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/programmingwang/zzyglxt/HEAD/src/main/resources/static/images/new/top.png -------------------------------------------------------------------------------- /src/main/resources/static/images/return.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/programmingwang/zzyglxt/HEAD/src/main/resources/static/images/return.png -------------------------------------------------------------------------------- /src/main/resources/static/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/programmingwang/zzyglxt/HEAD/src/main/resources/static/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /src/main/resources/static/images/bg-border.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/programmingwang/zzyglxt/HEAD/src/main/resources/static/images/bg-border.png -------------------------------------------------------------------------------- /src/main/resources/static/images/new/bottom.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/programmingwang/zzyglxt/HEAD/src/main/resources/static/images/new/bottom.png -------------------------------------------------------------------------------- /src/main/resources/static/images/new/head.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/programmingwang/zzyglxt/HEAD/src/main/resources/static/images/new/head.png -------------------------------------------------------------------------------- /src/main/resources/static/images/new/hover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/programmingwang/zzyglxt/HEAD/src/main/resources/static/images/new/hover.png -------------------------------------------------------------------------------- /src/main/resources/static/images/new/left.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/programmingwang/zzyglxt/HEAD/src/main/resources/static/images/new/left.png -------------------------------------------------------------------------------- /src/main/resources/static/images/new/more.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/programmingwang/zzyglxt/HEAD/src/main/resources/static/images/new/more.png -------------------------------------------------------------------------------- /src/main/resources/static/images/new/right.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/programmingwang/zzyglxt/HEAD/src/main/resources/static/images/new/right.png -------------------------------------------------------------------------------- /src/main/resources/static/images/new/title.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/programmingwang/zzyglxt/HEAD/src/main/resources/static/images/new/title.png -------------------------------------------------------------------------------- /src/main/resources/static/images/new/default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/programmingwang/zzyglxt/HEAD/src/main/resources/static/images/new/default.png -------------------------------------------------------------------------------- /src/main/resources/static/images/new/titleHover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/programmingwang/zzyglxt/HEAD/src/main/resources/static/images/new/titleHover.png -------------------------------------------------------------------------------- /src/main/resources/static/images/new/tableDefault.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/programmingwang/zzyglxt/HEAD/src/main/resources/static/images/new/tableDefault.png -------------------------------------------------------------------------------- /src/main/resources/static/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/programmingwang/zzyglxt/HEAD/src/main/resources/static/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /src/main/resources/static/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/programmingwang/zzyglxt/HEAD/src/main/resources/static/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /src/main/resources/static/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/programmingwang/zzyglxt/HEAD/src/main/resources/static/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /src/main/resources/static/fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/programmingwang/zzyglxt/HEAD/src/main/resources/static/fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /src/main/resources/static/images/new/标注_“智慧”国医堂惠民信息系统.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/programmingwang/zzyglxt/HEAD/src/main/resources/static/images/new/标注_“智慧”国医堂惠民信息系统.png -------------------------------------------------------------------------------- /src/main/resources/static/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/programmingwang/zzyglxt/HEAD/src/main/resources/static/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /src/main/resources/static/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/programmingwang/zzyglxt/HEAD/src/main/resources/static/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /src/main/resources/static/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/programmingwang/zzyglxt/HEAD/src/main/resources/static/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /src/main/resources/static/fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/programmingwang/zzyglxt/HEAD/src/main/resources/static/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/service/ILogService.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.service; 2 | 3 | 4 | import com.zyyglxt.dataobject.LogDO; 5 | 6 | public interface ILogService { 7 | void saveLogDO(LogDO logDO); 8 | } 9 | -------------------------------------------------------------------------------- /src/main/resources/templates/error/500.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Title 6 | 7 | 8 | 500 9 | 10 | -------------------------------------------------------------------------------- /src/main/resources/templates/error/404.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Title 6 | 7 | 8 | 页面丢失了。。。。。 9 | 10 | -------------------------------------------------------------------------------- /src/main/resources/templates/document/sendMsgMan.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Title 6 | 7 | 8 | 发文管理 9 | 10 | -------------------------------------------------------------------------------- /src/main/resources/templates/document/receiveMsgMan.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Title 6 | 7 | 8 | 收文管理 9 | 10 | -------------------------------------------------------------------------------- /src/main/resources/templates/scientificProject/setTime.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | $Title$ 6 | 7 | 8 | $END$ 9 | 10 | -------------------------------------------------------------------------------- /src/main/resources/templates/scientificProject/expertManagement.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | $Title$ 6 | 7 | 8 | $END$ 9 | 10 | -------------------------------------------------------------------------------- /src/main/resources/templates/scientificProject/projectManagement.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | $Title$ 6 | 7 | 8 | $END$ 9 | 10 | -------------------------------------------------------------------------------- /.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.3/apache-maven-3.6.3-bin.zip 2 | wrapperUrl=https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar 3 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dao/LogDOMapper.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dao; 2 | 3 | import com.zyyglxt.dataobject.LogDO; 4 | import org.springframework.stereotype.Repository; 5 | 6 | @Repository 7 | public interface LogDOMapper { 8 | void saveLogDO(LogDO logDO); 9 | } -------------------------------------------------------------------------------- /src/main/resources/static/component/bootstrap-table@1.15.3/themes/bootstrap-table/fonts/bootstrap-table.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/programmingwang/zzyglxt/HEAD/src/main/resources/static/component/bootstrap-table@1.15.3/themes/bootstrap-table/fonts/bootstrap-table.eot -------------------------------------------------------------------------------- /src/main/resources/static/component/bootstrap-table@1.15.3/themes/bootstrap-table/fonts/bootstrap-table.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/programmingwang/zzyglxt/HEAD/src/main/resources/static/component/bootstrap-table@1.15.3/themes/bootstrap-table/fonts/bootstrap-table.ttf -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/controller/govres/CountersignController.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.controller.govres; 2 | 3 | /** 4 | * Author:wangzh 5 | * Date: 2020/12/19 22:38 6 | * Version: 1.0 7 | * 内部会签 8 | */ 9 | public class CountersignController { 10 | } 11 | -------------------------------------------------------------------------------- /src/main/resources/static/component/bootstrap-table@1.15.3/themes/bootstrap-table/fonts/bootstrap-table.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/programmingwang/zzyglxt/HEAD/src/main/resources/static/component/bootstrap-table@1.15.3/themes/bootstrap-table/fonts/bootstrap-table.woff -------------------------------------------------------------------------------- /src/main/resources/static/component/bootstrap-table@1.15.3/extensions/group-by-v2/bootstrap-table-group-by.css: -------------------------------------------------------------------------------- 1 | .bootstrap-table .table > tbody > tr.groupBy { 2 | cursor: pointer; 3 | } 4 | 5 | .bootstrap-table .table > tbody > tr.hidden + tr.detail-view { 6 | display: none; 7 | } 8 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dataobject/PostFileDO.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dataobject; 2 | 3 | import lombok.Data; 4 | 5 | /** 6 | * @author wzh 7 | * @version 1.0 8 | * @date 2021/2/6 3:29 下午 9 | */ 10 | @Data 11 | public class PostFileDO { 12 | private String fileName; 13 | private String filePath; 14 | } 15 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dataobject/FileDOKey.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dataobject; 2 | 3 | import lombok.Data; 4 | 5 | import javax.validation.constraints.NotBlank; 6 | 7 | @Data 8 | public class FileDOKey { 9 | 10 | private Integer itemid; 11 | @NotBlank(message = "itemcode不能为空") 12 | private String itemcode; 13 | 14 | } -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dataobject/HospDOKey.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dataobject; 2 | 3 | import lombok.Data; 4 | 5 | import javax.validation.constraints.NotBlank; 6 | 7 | @Data 8 | public class HospDOKey { 9 | 10 | private Integer itemid; 11 | 12 | @NotBlank(message = "itemcode不能为空") 13 | private String itemcode; 14 | } -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/error/CommonError.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.error; 2 | 3 | 4 | /** 5 | * Author:wangzh 6 | * Date: 2020/11/1 14:54 7 | * Version: 1.0 8 | */ 9 | public interface CommonError { 10 | public int getErrCode(); 11 | public String getErrMsg(); 12 | public CommonError setErrMsg(String errMsg); 13 | } 14 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/util/UUIDUtils.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.util; 2 | 3 | import java.util.UUID; 4 | 5 | /** 6 | * @Author wanglx 7 | * @Date 2020/10/29 0029 17:17 8 | * @Version 1.0 9 | */ 10 | public class UUIDUtils { 11 | public static String getUUID(){ 12 | return UUID.randomUUID().toString(); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dao/DictMapper.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dao; 2 | 3 | import com.zyyglxt.dataobject.DictItem; 4 | 5 | import java.util.List; 6 | 7 | /** 8 | * @Author lrt 9 | * @Date 2020/11/2 17:09 10 | * @Version 1.0 11 | **/ 12 | public interface DictMapper { 13 | List selectDictItemByCode(String dictCode); 14 | } 15 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dataobject/SpecialtyDOKey.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dataobject; 2 | 3 | import lombok.Data; 4 | 5 | import javax.validation.constraints.NotBlank; 6 | 7 | @Data 8 | public class SpecialtyDOKey { 9 | 10 | private Integer itemid; 11 | 12 | @NotBlank(message = "itemcode不能为空") 13 | private String itemcode; 14 | } -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/service/HospService.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.service; 2 | 3 | import com.zyyglxt.dataobject.HospDO; 4 | 5 | /** 6 | * @Author nongcn 7 | * @Date 2020/11/22 18:40 8 | * @Version 1.0 9 | */ 10 | public interface HospService { 11 | int addHosp(HospDO hospDO); 12 | 13 | int updateHosp(HospDO hospDO); 14 | } 15 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dataobject/ChineseMedicineDOKey.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dataobject; 2 | 3 | import lombok.Data; 4 | 5 | import javax.validation.constraints.NotBlank; 6 | 7 | @Data 8 | public class ChineseMedicineDOKey { 9 | 10 | private Integer itemid; 11 | @NotBlank(message = "itemcode不能为空") 12 | private String itemcode; 13 | 14 | } -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dataobject/HospSpecialtyRefDOKey.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dataobject; 2 | 3 | import lombok.Data; 4 | 5 | import javax.validation.constraints.NotBlank; 6 | 7 | @Data 8 | public class HospSpecialtyRefDOKey { 9 | 10 | private Integer itemid; 11 | 12 | @NotBlank(message = "itemcode不能为空") 13 | private String itemcode; 14 | } -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dataobject/DictItem.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dataobject; 2 | 3 | import lombok.Data; 4 | 5 | import java.io.Serializable; 6 | 7 | /** 8 | * @Author lrt 9 | * @Date 2020/11/2 17:12 10 | * @Version 1.0 11 | **/ 12 | @Data 13 | public class DictItem implements Serializable { 14 | private String code; 15 | private String value; 16 | } 17 | -------------------------------------------------------------------------------- /src/main/resources/static/component/bootstrap-table@1.15.3/extensions/filter-control/bootstrap-table-filter-control.css: -------------------------------------------------------------------------------- 1 | @charset "UTF-8"; 2 | /** 3 | * @author: Dennis Hernández 4 | * @webSite: http://djhvscf.github.io/Blog 5 | * @version: v2.1.1 6 | */ 7 | .no-filter-control { 8 | height: 34px; 9 | } 10 | 11 | .filter-control { 12 | margin: 0 2px 2px 2px; 13 | } 14 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dto/HospDto.java: -------------------------------------------------------------------------------- 1 | 2 | package com.zyyglxt.dto; 3 | 4 | import com.zyyglxt.dataobject.HospDO; 5 | import lombok.Data; 6 | 7 | import javax.validation.constraints.NotBlank; 8 | 9 | /** 10 | * @author qjc 11 | * @version 1.0 12 | * @date 2020/11/9 20:05 13 | */ 14 | @Data 15 | public class HospDto extends HospDO { 16 | private String filePath; 17 | } -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dto/industrialDevelop/OrgStatusDto.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dto.industrialDevelop; 2 | 3 | import lombok.Data; 4 | 5 | /** 6 | * @Author nongcn 7 | * @Date 2020/11/15 22:22 8 | * @Version 1.0 9 | */ 10 | @Data 11 | public class OrgStatusDto { 12 | private String orgName; 13 | private String orgIdentify; 14 | private String orgCode; 15 | } 16 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/service/IDictService.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.service; 2 | 3 | import com.zyyglxt.dataobject.DictItem; 4 | 5 | import java.util.List; 6 | import java.util.Map; 7 | 8 | /** 9 | * @Author lrt 10 | * @Date 2020/11/2 16:46 11 | * @Version 1.0 12 | **/ 13 | public interface IDictService { 14 | 15 | List getDictListByCode(String dictCode); 16 | 17 | Map getDictMapByCode(String dictCode); 18 | } 19 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dto/ReceiptDto.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dto; 2 | 3 | import com.zyyglxt.dataobject.ReceiptDO; 4 | import lombok.Data; 5 | 6 | import javax.validation.constraints.NotNull; 7 | 8 | /** 9 | * @version 1.0 10 | * @Author huangwj 11 | * @time 2020/12/26 15:30 12 | */ 13 | @Data 14 | public class ReceiptDto extends ReceiptDO { 15 | @NotNull(message="文件不能为空") 16 | private String fileName; 17 | private String filePath; 18 | } 19 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dto/DataDto.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dto; 2 | 3 | import com.zyyglxt.dataobject.DataDO; 4 | import lombok.Data; 5 | import lombok.ToString; 6 | import lombok.experimental.Accessors; 7 | 8 | import java.util.Date; 9 | 10 | /** 11 | * @Author huangtao 12 | * @Date 2020/11/6 20:48 13 | * @Version 1.0 14 | */ 15 | @Data 16 | @ToString 17 | public class DataDto extends DataDO { 18 | private String filePath; 19 | private String fileName; 20 | } 21 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dto/ChineseCulturalDto.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dto; 2 | 3 | import com.zyyglxt.dataobject.ChineseCulturalDO; 4 | import lombok.Data; 5 | import lombok.ToString; 6 | import lombok.experimental.Accessors; 7 | 8 | import java.util.Date; 9 | 10 | /** 11 | * Author:wangzh 12 | * Date: 2020/11/6 9:54 13 | * Version: 1.0 14 | */ 15 | @Data 16 | @ToString 17 | public class ChineseCulturalDto extends ChineseCulturalDO { 18 | private String filePath; 19 | } 20 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dto/CulturalResourcesDto.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dto; 2 | 3 | import com.zyyglxt.dataobject.CulturalResourcesDO; 4 | import lombok.Data; 5 | import lombok.ToString; 6 | 7 | import java.util.Date; 8 | 9 | /** 10 | * Author:wangzh 11 | * Date: 2020/11/6 15:36 12 | * Version: 1.0 13 | */ 14 | @Data 15 | @ToString 16 | public class CulturalResourcesDto extends CulturalResourcesDO { 17 | private String filePath; 18 | private String fileName; 19 | } 20 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dto/RequestReportDto.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dto; 2 | 3 | import com.zyyglxt.dataobject.RequestReportDO; 4 | import lombok.Data; 5 | 6 | import javax.validation.constraints.NotNull; 7 | 8 | /** 9 | * @version 1.0 10 | * @Author huangwj 11 | * @time 2020/12/27 13:20 12 | */ 13 | @Data 14 | public class RequestReportDto extends RequestReportDO { 15 | @NotNull(message="文件不能为空") 16 | private String fileName; 17 | private String filePath; 18 | } 19 | -------------------------------------------------------------------------------- /src/main/resources/static/component/bootstrap-table@1.15.3/extensions/page-jump-to/bootstrap-table-page-jump-to.css: -------------------------------------------------------------------------------- 1 | .bootstrap-table.bootstrap3 .fixed-table-pagination > .pagination ul.pagination, 2 | .bootstrap-table.bootstrap3 .fixed-table-pagination > .pagination .page-jump-to { 3 | display: inline; 4 | } 5 | 6 | .bootstrap-table .fixed-table-pagination > .pagination .page-jump-to input { 7 | width: 70px; 8 | margin-left: 5px; 9 | text-align: center; 10 | float: left; 11 | } 12 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dto/FileDto.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dto; 2 | 3 | import com.zyyglxt.dataobject.FileDO; 4 | import lombok.Data; 5 | import org.springframework.web.multipart.MultipartFile; 6 | 7 | import javax.validation.constraints.NotNull; 8 | 9 | /** 10 | * @author qjc 11 | * @version 1.0 12 | * @date 2020/11/5 10:32 13 | */ 14 | @Data 15 | public class FileDto extends FileDO { 16 | @NotNull(message = "文件不能为空") 17 | private MultipartFile file; 18 | } 19 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dto/MainPageDto.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dto; 2 | 3 | import com.zyyglxt.dataobject.DataDOKey; 4 | import lombok.AllArgsConstructor; 5 | import lombok.Data; 6 | import lombok.EqualsAndHashCode; 7 | import lombok.NoArgsConstructor; 8 | 9 | /** 10 | * @author wzh 11 | * @version 1.0 12 | * @date 2021/2/19 5:09 下午 13 | */ 14 | @EqualsAndHashCode(callSuper = true) 15 | @Data 16 | @NoArgsConstructor 17 | @AllArgsConstructor 18 | public class MainPageDto extends DataDOKey { 19 | private String dataTitle; 20 | } 21 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dto/PostMainPageDto.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dto; 2 | 3 | import com.zyyglxt.dataobject.PostDOKey; 4 | import lombok.AllArgsConstructor; 5 | import lombok.Data; 6 | import lombok.EqualsAndHashCode; 7 | import lombok.NoArgsConstructor; 8 | 9 | /** 10 | * @author wzh 11 | * @version 1.0 12 | * @date 2021/2/19 5:32 下午 13 | */ 14 | @EqualsAndHashCode(callSuper = true) 15 | @Data 16 | @AllArgsConstructor 17 | @NoArgsConstructor 18 | public class PostMainPageDto extends PostDOKey { 19 | private String dataTitle; 20 | } 21 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/**/target/ 5 | !**/src/test/**/target/ 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 | !**/src/main/**/build/ 30 | !**/src/test/**/build/ 31 | 32 | ### VS Code ### 33 | .vscode/ 34 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dto/ReceiptMainDto.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dto; 2 | 3 | import com.zyyglxt.dataobject.ReceiptDOKey; 4 | import lombok.AllArgsConstructor; 5 | import lombok.Data; 6 | import lombok.EqualsAndHashCode; 7 | import lombok.NoArgsConstructor; 8 | 9 | /** 10 | * @author wzh 11 | * @version 1.0 12 | * @date 2021/2/20 5:35 下午 13 | */ 14 | @EqualsAndHashCode(callSuper = true) 15 | @Data 16 | @NoArgsConstructor 17 | @AllArgsConstructor 18 | public class ReceiptMainDto extends ReceiptDOKey { 19 | private String dataTitle; 20 | } 21 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dataobject/DictDOKey.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dataobject; 2 | 3 | public class DictDOKey { 4 | private Integer itemid; 5 | private String itemcode; 6 | public Integer getItemid() { 7 | return itemid; 8 | } 9 | public void setItemid(Integer itemid) { 10 | this.itemid = itemid; 11 | } 12 | public String getItemcode() { 13 | return itemcode; 14 | } 15 | public void setItemcode(String itemcode) { 16 | this.itemcode = itemcode == null ? null : itemcode.trim(); 17 | } 18 | } -------------------------------------------------------------------------------- /src/main/resources/static/component/bootstrap-table@1.15.3/extensions/sticky-header/bootstrap-table-sticky-header.css: -------------------------------------------------------------------------------- 1 | /** 2 | * @author vincent loh 3 | * @update zhixin wen 4 | */ 5 | .fix-sticky { 6 | position: fixed !important; 7 | overflow: hidden; 8 | z-index: 100; 9 | } 10 | 11 | .fix-sticky table thead { 12 | background: #fff; 13 | } 14 | 15 | .fix-sticky table thead.thead-light { 16 | background: #e9ecef; 17 | } 18 | 19 | .fix-sticky table thead.thead-dark { 20 | background: #212529; 21 | } 22 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/framework/system/SystemController.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.framework.system; 2 | 3 | 4 | import org.springframework.stereotype.Controller; 5 | import org.springframework.web.bind.annotation.RequestMapping; 6 | 7 | @Controller 8 | @RequestMapping(value = "system") 9 | public class SystemController { 10 | 11 | @RequestMapping(value = "/getPage.service") 12 | public String getPage(String path) { 13 | if(null != path && path.indexOf("../") >= 0){ 14 | return ""; 15 | }else{ 16 | return path; 17 | } 18 | } 19 | 20 | } 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /src/main/resources/static/component/bootstrap-table@1.15.3/extensions/filter-control/bootstrap-table-filter-control.min.css: -------------------------------------------------------------------------------- 1 | /** 2 | * bootstrap-table - An extended table to integration with some of the most widely used CSS frameworks. (Supports Bootstrap, Semantic UI, Bulma, Material Design, Foundation) 3 | * 4 | * @version v1.17.1 5 | * @homepage https://bootstrap-table.com 6 | * @author wenzhixin (http://wenzhixin.net.cn/) 7 | * @license MIT 8 | */ 9 | 10 | @charset "UTF-8";.no-filter-control{height:34px}.filter-control{margin:0 2px 2px 2px} -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dao/ApplicationDOMapper.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dao; 2 | 3 | import com.zyyglxt.dataobject.ApplicationDO; 4 | import com.zyyglxt.dataobject.ApplicationDOKey; 5 | 6 | public interface ApplicationDOMapper { 7 | int deleteByPrimaryKey(ApplicationDOKey key); 8 | 9 | int insert(ApplicationDO record); 10 | 11 | int insertSelective(ApplicationDO record); 12 | 13 | ApplicationDO selectByPrimaryKey(ApplicationDOKey key); 14 | 15 | int updateByPrimaryKeySelective(ApplicationDO record); 16 | 17 | int updateByPrimaryKey(ApplicationDO record); 18 | } -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dao/CountersignDOMapper.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dao; 2 | 3 | import com.zyyglxt.dataobject.CountersignDO; 4 | import com.zyyglxt.dataobject.CountersignDOKey; 5 | 6 | public interface CountersignDOMapper { 7 | int deleteByPrimaryKey(CountersignDOKey key); 8 | 9 | int insert(CountersignDO record); 10 | 11 | int insertSelective(CountersignDO record); 12 | 13 | CountersignDO selectByPrimaryKey(CountersignDOKey key); 14 | 15 | int updateByPrimaryKeySelective(CountersignDO record); 16 | 17 | int updateByPrimaryKey(CountersignDO record); 18 | } -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dataobject/PostDOKey.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dataobject; 2 | 3 | public class PostDOKey { 4 | private Integer itemid; 5 | 6 | private String itemcode; 7 | 8 | public Integer getItemid() { 9 | return itemid; 10 | } 11 | 12 | public void setItemid(Integer itemid) { 13 | this.itemid = itemid; 14 | } 15 | 16 | public String getItemcode() { 17 | return itemcode; 18 | } 19 | 20 | public void setItemcode(String itemcode) { 21 | this.itemcode = itemcode == null ? null : itemcode.trim(); 22 | } 23 | } -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dto/HealthCareChineseMedicineDto.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dto; 2 | 3 | import com.zyyglxt.dataobject.HealthCareChineseMedicineDO; 4 | import lombok.Data; 5 | import lombok.ToString; 6 | import lombok.experimental.Accessors; 7 | 8 | import java.util.Date; 9 | 10 | /** 11 | * @version 1.0 12 | * @Author huangwj 13 | * @time 2020/11/6 10:49 14 | */ 15 | @Data 16 | @ToString 17 | @Accessors(chain = true) 18 | public class HealthCareChineseMedicineDto extends HealthCareChineseMedicineDO { 19 | private String fileName; 20 | private String filePath; 21 | } 22 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dto/industrialDevelop/IndustrialDevelopTopicDODto.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dto.industrialDevelop; 2 | 3 | import com.zyyglxt.dataobject.IndustrialDevelopTopicDO; 4 | import lombok.AllArgsConstructor; 5 | import lombok.Data; 6 | import lombok.NoArgsConstructor; 7 | 8 | import java.util.List; 9 | 10 | @Data 11 | @AllArgsConstructor 12 | @NoArgsConstructor 13 | public class IndustrialDevelopTopicDODto extends IndustrialDevelopTopicDO { 14 | private String filePath; 15 | private String fileName; 16 | private List expertList; 17 | } -------------------------------------------------------------------------------- /src/main/resources/static/component/bootstrap-table@1.15.3/extensions/fixed-columns/bootstrap-table-fixed-columns.css: -------------------------------------------------------------------------------- 1 | .fixed-columns, 2 | .fixed-columns-right { 3 | position: absolute; 4 | top: 0; 5 | height: 100%; 6 | background-color: #fff; 7 | box-sizing: border-box; 8 | z-index: 1; 9 | } 10 | 11 | .fixed-columns { 12 | left: 0; 13 | } 14 | 15 | .fixed-columns .fixed-table-body { 16 | overflow: hidden !important; 17 | } 18 | 19 | .fixed-columns-right { 20 | right: 0; 21 | } 22 | 23 | .fixed-columns-right .fixed-table-body { 24 | overflow-x: hidden !important; 25 | } 26 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dataobject/PostRefDOKey.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dataobject; 2 | 3 | public class PostRefDOKey { 4 | private Integer itemid; 5 | 6 | private String itemcode; 7 | 8 | public Integer getItemid() { 9 | return itemid; 10 | } 11 | 12 | public void setItemid(Integer itemid) { 13 | this.itemid = itemid; 14 | } 15 | 16 | public String getItemcode() { 17 | return itemcode; 18 | } 19 | 20 | public void setItemcode(String itemcode) { 21 | this.itemcode = itemcode == null ? null : itemcode.trim(); 22 | } 23 | } -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dataobject/ReceiptDOKey.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dataobject; 2 | 3 | public class ReceiptDOKey { 4 | private Integer itemid; 5 | 6 | private String itemcode; 7 | 8 | public Integer getItemid() { 9 | return itemid; 10 | } 11 | 12 | public void setItemid(Integer itemid) { 13 | this.itemid = itemid; 14 | } 15 | 16 | public String getItemcode() { 17 | return itemcode; 18 | } 19 | 20 | public void setItemcode(String itemcode) { 21 | this.itemcode = itemcode == null ? null : itemcode.trim(); 22 | } 23 | } -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dataobject/adviceDOKey.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dataobject; 2 | 3 | public class adviceDOKey { 4 | private Integer itemid; 5 | 6 | private String itemcode; 7 | 8 | public Integer getItemid() { 9 | return itemid; 10 | } 11 | 12 | public void setItemid(Integer itemid) { 13 | this.itemid = itemid; 14 | } 15 | 16 | public String getItemcode() { 17 | return itemcode; 18 | } 19 | 20 | public void setItemcode(String itemcode) { 21 | this.itemcode = itemcode == null ? null : itemcode.trim(); 22 | } 23 | } -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dto/ChineseMedicineDto.java: -------------------------------------------------------------------------------- 1 | 2 | package com.zyyglxt.dto; 3 | 4 | import com.zyyglxt.dataobject.ChineseMedicineDO; 5 | import lombok.Data; 6 | 7 | import javax.validation.constraints.NotBlank; 8 | 9 | /** 10 | * @author qjc 11 | * @version 1.0 12 | * @date 2020/11/9 19:08 13 | */ 14 | @Data 15 | public class ChineseMedicineDto extends ChineseMedicineDO { 16 | 17 | @NotBlank(message = "医院名称不能为空") 18 | private String hospitalName; 19 | 20 | @NotBlank(message = "专科名称不能为空") 21 | private String specialtyName; 22 | 23 | private String filePath; 24 | } -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dataobject/FamPreDOKey.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dataobject; 2 | 3 | public class FamPreDOKey { 4 | 5 | private Integer itemid; 6 | 7 | private String itemcode; 8 | 9 | public Integer getItemid() { 10 | return itemid; 11 | } 12 | 13 | public void setItemid(Integer itemid) { 14 | this.itemid = itemid; 15 | } 16 | 17 | public String getItemcode() { 18 | return itemcode; 19 | } 20 | 21 | public void setItemcode(String itemcode) { 22 | this.itemcode = itemcode == null ? null : itemcode.trim(); 23 | } 24 | } -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dataobject/UserDOKey.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dataobject; 2 | 3 | public class UserDOKey { 4 | 5 | private Integer itemid; 6 | 7 | private String itemcode; 8 | 9 | public Integer getItemid() { 10 | return itemid; 11 | } 12 | 13 | public void setItemid(Integer itemid) { 14 | this.itemid = itemid; 15 | } 16 | 17 | public String getItemcode() { 18 | return itemcode; 19 | } 20 | 21 | public void setItemcode(String itemcode) { 22 | this.itemcode = itemcode == null ? null : itemcode.trim(); 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dataobject/CountersignDOKey.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dataobject; 2 | 3 | public class CountersignDOKey { 4 | private Integer itemid; 5 | 6 | private String itemcode; 7 | 8 | public Integer getItemid() { 9 | return itemid; 10 | } 11 | 12 | public void setItemid(Integer itemid) { 13 | this.itemid = itemid; 14 | } 15 | 16 | public String getItemcode() { 17 | return itemcode; 18 | } 19 | 20 | public void setItemcode(String itemcode) { 21 | this.itemcode = itemcode == null ? null : itemcode.trim(); 22 | } 23 | } -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dataobject/RequestReportDOKey.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dataobject; 2 | 3 | public class RequestReportDOKey { 4 | private Integer itemid; 5 | 6 | private String itemcode; 7 | 8 | public Integer getItemid() { 9 | return itemid; 10 | } 11 | 12 | public void setItemid(Integer itemid) { 13 | this.itemid = itemid; 14 | } 15 | 16 | public String getItemcode() { 17 | return itemcode; 18 | } 19 | 20 | public void setItemcode(String itemcode) { 21 | this.itemcode = itemcode == null ? null : itemcode.trim(); 22 | } 23 | } -------------------------------------------------------------------------------- /src/main/resources/static/component/bootstrap-table@1.15.3/extensions/group-by-v2/bootstrap-table-group-by.min.css: -------------------------------------------------------------------------------- 1 | /** 2 | * bootstrap-table - An extended table to integration with some of the most widely used CSS frameworks. (Supports Bootstrap, Semantic UI, Bulma, Material Design, Foundation) 3 | * 4 | * @version v1.17.1 5 | * @homepage https://bootstrap-table.com 6 | * @author wenzhixin (http://wenzhixin.net.cn/) 7 | * @license MIT 8 | */ 9 | 10 | .bootstrap-table .table>tbody>tr.groupBy{cursor:pointer}.bootstrap-table .table>tbody>tr.hidden+tr.detail-view{display:none} -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dataobject/IndustrialDevelopOffDOKey.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dataobject; 2 | 3 | import com.zyyglxt.dataobject.validation.ValidationGroups; 4 | import lombok.AllArgsConstructor; 5 | import lombok.Data; 6 | import lombok.NoArgsConstructor; 7 | 8 | import javax.validation.constraints.NotBlank; 9 | 10 | @Data 11 | @NoArgsConstructor 12 | @AllArgsConstructor 13 | public class IndustrialDevelopOffDOKey { 14 | 15 | private Integer itemid; 16 | 17 | 18 | @NotBlank(message = "主键不能为空",groups = ValidationGroups.UpdateOrDelete.class) 19 | private String itemcode; 20 | 21 | } -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dataobject/ChineseCulturalDOKey.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dataobject; 2 | 3 | public class ChineseCulturalDOKey { 4 | 5 | private Integer itemid; 6 | 7 | private String itemcode; 8 | 9 | public Integer getItemid() { 10 | return itemid; 11 | } 12 | 13 | public void setItemid(Integer itemid) { 14 | this.itemid = itemid; 15 | } 16 | 17 | public String getItemcode() { 18 | return itemcode; 19 | } 20 | 21 | public void setItemcode(String itemcode) { 22 | this.itemcode = itemcode == null ? null : itemcode.trim(); 23 | } 24 | } -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dataobject/HealthSciKnowDOKey.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dataobject; 2 | 3 | public class HealthSciKnowDOKey { 4 | 5 | private Integer itemid; 6 | 7 | private String itemcode; 8 | 9 | public Integer getItemid() { 10 | return itemid; 11 | } 12 | 13 | public void setItemid(Integer itemid) { 14 | this.itemid = itemid; 15 | } 16 | 17 | public String getItemcode() { 18 | return itemcode; 19 | } 20 | 21 | public void setItemcode(String itemcode) { 22 | this.itemcode = itemcode == null ? null : itemcode.trim(); 23 | } 24 | } -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dataobject/IndustrialDevelopTalRecDOKey.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dataobject; 2 | 3 | import com.zyyglxt.dataobject.validation.ValidationGroups; 4 | import lombok.AllArgsConstructor; 5 | import lombok.Data; 6 | import lombok.NoArgsConstructor; 7 | 8 | import javax.validation.constraints.NotBlank; 9 | 10 | @Data 11 | @NoArgsConstructor 12 | @AllArgsConstructor 13 | public class IndustrialDevelopTalRecDOKey { 14 | 15 | private Integer itemid; 16 | 17 | 18 | @NotBlank(message = "主键不能为空",groups = ValidationGroups.UpdateOrDelete.class) 19 | private String itemcode; 20 | 21 | } -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dataobject/UserRoleRefDOKey.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dataobject; 2 | 3 | public class UserRoleRefDOKey { 4 | 5 | private Integer itemid; 6 | 7 | private String itemcode; 8 | 9 | public Integer getItemid() { 10 | return itemid; 11 | } 12 | 13 | public void setItemid(Integer itemid) { 14 | this.itemid = itemid; 15 | } 16 | 17 | public String getItemcode() { 18 | return itemcode; 19 | } 20 | 21 | public void setItemcode(String itemcode) { 22 | this.itemcode = itemcode == null ? null : itemcode.trim(); 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dto/SpecialtyDto.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dto; 2 | 3 | import com.zyyglxt.dataobject.SpecialtyDO; 4 | import lombok.Data; 5 | 6 | import javax.validation.constraints.NotBlank; 7 | import java.util.Date; 8 | 9 | /** 10 | * @author qjc 11 | * @version 1.0 12 | * @date 2020/11/1 9:47 13 | */ 14 | @Data 15 | public class SpecialtyDto extends SpecialtyDO { 16 | @NotBlank(message = "医院code不能为空") 17 | private String hospitalCode; 18 | 19 | @NotBlank(message = "医院名称不能为空") 20 | private String hospitalName; 21 | 22 | private String filePath; 23 | } 24 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dto/StatusDto.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dto; 2 | 3 | import lombok.Data; 4 | 5 | import javax.validation.constraints.NotBlank; 6 | import javax.validation.constraints.NotNull; 7 | 8 | /** 9 | * @author qjc 10 | * @version 1.0 11 | * @date 2020/11/14 21:57 12 | */ 13 | @Data 14 | public class StatusDto { 15 | @NotNull(message = "id不能为空") 16 | private Integer itemid; 17 | @NotBlank(message = "code不能为空") 18 | private String itemcode; 19 | @NotBlank(message = "状态不能为空") 20 | private String status; 21 | 22 | private String updater; 23 | } 24 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dataobject/CulturalResourcesDOKey.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dataobject; 2 | 3 | public class CulturalResourcesDOKey { 4 | 5 | private Integer itemid; 6 | 7 | private String itemcode; 8 | 9 | public Integer getItemid() { 10 | return itemid; 11 | } 12 | 13 | public void setItemid(Integer itemid) { 14 | this.itemid = itemid; 15 | } 16 | 17 | public String getItemcode() { 18 | return itemcode; 19 | } 20 | 21 | public void setItemcode(String itemcode) { 22 | this.itemcode = itemcode == null ? null : itemcode.trim(); 23 | } 24 | } -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dataobject/HealthCareFamPreDOKey.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dataobject; 2 | 3 | public class HealthCareFamPreDOKey { 4 | 5 | private Integer itemid; 6 | 7 | private String itemcode; 8 | 9 | public Integer getItemid() { 10 | return itemid; 11 | } 12 | 13 | public void setItemid(Integer itemid) { 14 | this.itemid = itemid; 15 | } 16 | 17 | public String getItemcode() { 18 | return itemcode; 19 | } 20 | 21 | public void setItemcode(String itemcode) { 22 | this.itemcode = itemcode == null ? null : itemcode.trim(); 23 | } 24 | } -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dataobject/IndustrialDevelopSciAchiDOKey.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dataobject; 2 | 3 | import com.zyyglxt.dataobject.validation.ValidationGroups; 4 | import lombok.AllArgsConstructor; 5 | import lombok.Data; 6 | import lombok.NoArgsConstructor; 7 | 8 | import javax.validation.constraints.NotBlank; 9 | 10 | @Data 11 | @NoArgsConstructor 12 | @AllArgsConstructor 13 | public class IndustrialDevelopSciAchiDOKey { 14 | 15 | private Integer itemid; 16 | 17 | 18 | @NotBlank(message = "主键不能为空",groups = ValidationGroups.UpdateOrDelete.class) 19 | private String itemcode; 20 | 21 | } -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dto/UpdatePwdDto.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dto; 2 | 3 | import lombok.Data; 4 | 5 | import javax.validation.constraints.NotBlank; 6 | 7 | /** 8 | * @Author nongcn 9 | * @Date 2020/11/2 19:58 10 | * @Version 1.0 11 | */ 12 | @Data 13 | public class UpdatePwdDto { 14 | @NotBlank(message = "密码不能为空") 15 | private String password; 16 | 17 | @NotBlank(message = "手机号不能为空") 18 | private String mobilePhone; 19 | 20 | @NotBlank(message = "密码不能为空") 21 | private String newPassword; 22 | 23 | @NotBlank(message = "密码不能为空") 24 | private String checkNewPassword; 25 | } 26 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/util/ResultTool.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.util; 2 | 3 | import com.zyyglxt.error.EmBusinessError; 4 | 5 | public class ResultTool { 6 | public static JsonResult success() { 7 | return new JsonResult(true); 8 | } 9 | 10 | public static JsonResult success(T data) { 11 | return new JsonResult(true, data); 12 | } 13 | 14 | public static JsonResult fail() { 15 | return new JsonResult(false); 16 | } 17 | 18 | public static JsonResult fail(EmBusinessError resultEnum) { 19 | return new JsonResult(false, resultEnum); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dto/HealthCareFamPreDto.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dto; 2 | 3 | 4 | 5 | import com.zyyglxt.dataobject.HealthCareFamPreDO; 6 | import lombok.Data; 7 | import lombok.ToString; 8 | import lombok.experimental.Accessors; 9 | 10 | import javax.validation.constraints.NotNull; 11 | 12 | /** 13 | * @version 1.0 14 | * @Author huangwj 15 | * @time 2020/11/11 22:04 16 | */ 17 | @Data 18 | @ToString 19 | @Accessors(chain = true) 20 | public class HealthCareFamPreDto extends HealthCareFamPreDO { 21 | @NotNull(message="文件不能为空") 22 | private String fileName; 23 | private String filePath; 24 | } 25 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dto/UserSessionDto.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dto; 2 | 3 | import lombok.Data; 4 | import lombok.ToString; 5 | /** 6 | * @Author nongcn 7 | * @Date 2020/11/10 12:52 8 | * @Version 1.0 9 | */ 10 | @Data 11 | @ToString 12 | public class UserSessionDto { 13 | private String username; 14 | 15 | private String name; 16 | 17 | private int itemid; 18 | 19 | private String itemcode; 20 | 21 | private String rolename; 22 | 23 | private String orgCode; 24 | 25 | private String orgItemCode; 26 | 27 | private String orgName; 28 | 29 | private String cityId; 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/service/IIndustrialDevelopOffService.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.service; 2 | 3 | import com.zyyglxt.dataobject.IndustrialDevelopOffDO; 4 | import com.zyyglxt.dataobject.IndustrialDevelopOffDOKey; 5 | 6 | import java.util.List; 7 | 8 | /** 9 | * @Author lrt 10 | * @Date 2020/10/29 17:26 11 | * @Version 1.0 12 | **/ 13 | public interface IIndustrialDevelopOffService { 14 | 15 | void addOff(IndustrialDevelopOffDO record); 16 | 17 | void updOff(IndustrialDevelopOffDO record); 18 | 19 | void delOff(IndustrialDevelopOffDOKey key); 20 | 21 | List getOff(); 22 | } 23 | -------------------------------------------------------------------------------- /src/main/resources/mapping/DictMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 11 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dataobject/HealthCareChineseMedicineDOKey.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dataobject; 2 | 3 | public class HealthCareChineseMedicineDOKey { 4 | 5 | private Integer itemid; 6 | 7 | private String itemcode; 8 | 9 | public Integer getItemid() { 10 | return itemid; 11 | } 12 | 13 | public void setItemid(Integer itemid) { 14 | this.itemid = itemid; 15 | } 16 | 17 | public String getItemcode() { 18 | return itemcode; 19 | } 20 | 21 | public void setItemcode(String itemcode) { 22 | this.itemcode = itemcode == null ? null : itemcode.trim(); 23 | } 24 | } -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/service/IAdviceService.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.service; 2 | 3 | import com.zyyglxt.dataobject.adviceDO; 4 | import com.zyyglxt.dataobject.adviceDOKey; 5 | 6 | /** 7 | * @Author huangtao 8 | * @Date 2021/1/3 10:46 9 | * @Version 1.0 10 | */ 11 | public interface IAdviceService { 12 | int deleteByPrimaryKey(adviceDOKey key); 13 | 14 | int insertSelective(adviceDO record); 15 | 16 | adviceDO selectByPrimaryKey(adviceDOKey key); 17 | 18 | void updAdvice(adviceDO advice); 19 | 20 | void delByDataCode(String dataCode); 21 | 22 | adviceDO getByDataCode(String dataCode); 23 | 24 | } 25 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/annotation/LogAnnotation.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.annotation; 2 | 3 | import java.lang.annotation.ElementType; 4 | import java.lang.annotation.Retention; 5 | import java.lang.annotation.RetentionPolicy; 6 | import java.lang.annotation.Target; 7 | 8 | 9 | @Target({ElementType.PARAMETER, ElementType.METHOD}) 10 | @Retention(RetentionPolicy.RUNTIME) 11 | public @interface LogAnnotation { 12 | 13 | String appCode() default ""; 14 | String logTitle() default ""; 15 | /*查找1级,修改2级,添加3级,删除4级*/ 16 | String logLevel() default ""; 17 | String creater() default ""; 18 | String updater() default ""; 19 | } -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dto/CountersignDto.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dto; 2 | 3 | import com.zyyglxt.dataobject.GovernresCountersign; 4 | import lombok.AllArgsConstructor; 5 | import lombok.Data; 6 | import lombok.NoArgsConstructor; 7 | import lombok.experimental.Accessors; 8 | 9 | import java.util.List; 10 | 11 | /** 12 | * @Author ZS 13 | * @Date 2021/1/31 14:36 14 | * @Version 1.0 15 | */ 16 | @Data 17 | @NoArgsConstructor 18 | @AllArgsConstructor 19 | @Accessors(chain = true) 20 | public class CountersignDto extends GovernresCountersign { 21 | private List fileName; 22 | private List filePath; 23 | 24 | } 25 | -------------------------------------------------------------------------------- /src/main/resources/static/project/css/user/usermsg.css: -------------------------------------------------------------------------------- 1 | #portrait { 2 | width: auto; 3 | } 4 | 5 | #userMessage { 6 | margin-top: 50px; 7 | } 8 | 9 | div { 10 | margin-bottom: 10px; 11 | justify-content: center; 12 | } 13 | 14 | #returnToMain{ 15 | margin-right: 100px; 16 | } 17 | 18 | label { 19 | padding-top: 0px; 20 | text-align: right; 21 | text: 20px 22 | } 23 | 24 | p { 25 | text-align: center; 26 | transform: scale3d(1.5, 1.5, 1.5); 27 | } 28 | 29 | a{ 30 | text-decoration:none; 31 | color: black; 32 | } 33 | 34 | a,a:hover,a:active{ 35 | color:black; 36 | text-decoration: none; 37 | } 38 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dao/DictitemDOMapper.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dao; 2 | 3 | import com.zyyglxt.dataobject.DictitemDO; 4 | import com.zyyglxt.dataobject.DictitemDOKey; 5 | 6 | public interface DictitemDOMapper { 7 | /*删除数据字典项*/ 8 | int deleteByPrimaryKey(DictitemDOKey key); 9 | /*新增数据字典项*/ 10 | int insert(DictitemDO record); 11 | /*新增数据字典项跳NULL*/ 12 | int insertSelective(DictitemDO record); 13 | /*查找数据字典项*/ 14 | DictitemDO selectByPrimaryKey(DictitemDOKey key); 15 | /*修改数据字典项跳NULL*/ 16 | int updateByPrimaryKeySelective(DictitemDO record); 17 | /*修改数据字典项*/ 18 | int updateByPrimaryKey(DictitemDO record); 19 | } -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dataobject/FileDO.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dataobject; 2 | 3 | import lombok.Data; 4 | 5 | import javax.validation.constraints.NotBlank; 6 | import java.util.Date; 7 | 8 | @Data 9 | public class FileDO extends FileDOKey { 10 | 11 | @NotBlank(message = "数据源code不能为空") 12 | private String dataCode; 13 | @NotBlank(message = "上传人不能为空") 14 | private String uploader; 15 | @NotBlank(message = "上传人id不能为空") 16 | private String uploaderCode; 17 | private String fileName; 18 | private String fileType; 19 | private Double fileSize; 20 | private String filePath; 21 | 22 | private Date itemcreateat; 23 | 24 | } -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/service/IDictDOService.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.service; 2 | 3 | import com.zyyglxt.dataobject.DictDO; 4 | import com.zyyglxt.dataobject.DictDOKey; 5 | 6 | public interface IDictDOService { 7 | 8 | /*删除数据字典*/ 9 | int deleteByPrimaryKey(DictDOKey key); 10 | 11 | /*新增数据字典*/ 12 | int insert(DictDO record); 13 | 14 | /*新增数据字典跳过NULL*/ 15 | int insertSelective(DictDO record); 16 | 17 | /*查找数据字典*/ 18 | DictDO selectByPrimaryKey(DictDOKey key); 19 | 20 | /*修改数据字典跳NULL*/ 21 | int updateByPrimaryKeySelective(DictDO record); 22 | 23 | /*修改数据字典*/ 24 | int updateByPrimaryKey(DictDO record); 25 | } 26 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dataobject/HospSpecialtyRefDO.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dataobject; 2 | 3 | import lombok.Data; 4 | import org.springframework.stereotype.Repository; 5 | 6 | import javax.validation.constraints.NotBlank; 7 | import java.util.Date; 8 | 9 | @Data 10 | public class HospSpecialtyRefDO extends HospSpecialtyRefDOKey { 11 | 12 | @NotBlank(message = "医院code不能为空") 13 | private String hospitalCode; 14 | @NotBlank(message = "专科code不能为空") 15 | private String specialtyCode; 16 | 17 | private String creater; 18 | 19 | private Date itemcreateat; 20 | 21 | private String updater; 22 | 23 | private Date itemupdateat; 24 | 25 | } -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dto/PostDto.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dto; 2 | 3 | import com.zyyglxt.dataobject.PostDO; 4 | import lombok.AllArgsConstructor; 5 | import lombok.Data; 6 | import lombok.EqualsAndHashCode; 7 | import lombok.NoArgsConstructor; 8 | import lombok.experimental.Accessors; 9 | 10 | import java.util.List; 11 | 12 | /** 13 | * @Author huangtao 14 | * @Date 2021/1/1 22:12 15 | * @Version 1.0 16 | */ 17 | @EqualsAndHashCode(callSuper = true) 18 | @Data 19 | @NoArgsConstructor 20 | @AllArgsConstructor 21 | @Accessors(chain = true) 22 | public class PostDto extends PostDO { 23 | private List fileName; 24 | private List filePath; 25 | 26 | } 27 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dataobject/IndustrialDevelopExpertRefDOKey.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dataobject; 2 | 3 | import com.zyyglxt.dataobject.validation.ValidationGroups; 4 | import lombok.AllArgsConstructor; 5 | import lombok.Data; 6 | import lombok.NoArgsConstructor; 7 | import org.springframework.beans.factory.annotation.Autowired; 8 | 9 | import javax.validation.constraints.NotBlank; 10 | 11 | @AllArgsConstructor 12 | @Data 13 | @NoArgsConstructor 14 | public class IndustrialDevelopExpertRefDOKey { 15 | 16 | private Integer itemid; 17 | 18 | 19 | @NotBlank(message = "主键不能为空",groups = ValidationGroups.UpdateOrDelete.class) 20 | private String itemcode; 21 | 22 | } -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/service/IGovernresAdviceService.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.service; 2 | 3 | import com.zyyglxt.dataobject.GovernresAdvice; 4 | import org.apache.ibatis.annotations.Param; 5 | 6 | import java.util.List; 7 | 8 | public interface IGovernresAdviceService { 9 | 10 | int deleteByPrimaryKey(@Param("itemid") Integer itemid, @Param("itemcode") String itemcode); 11 | 12 | int insertSelective(GovernresAdvice record); 13 | 14 | GovernresAdvice selectByPrimaryKey(@Param("itemid") Integer itemid, @Param("itemcode") String itemcode); 15 | 16 | int updateByPrimaryKeySelective(GovernresAdvice record); 17 | 18 | List selectAll(); 19 | } 20 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dto/industrialDevelop/IndustrialDevelopExpertDto.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dto.industrialDevelop; 2 | 3 | import com.zyyglxt.dataobject.UserDO; 4 | import io.swagger.annotations.ApiModel; 5 | import lombok.AllArgsConstructor; 6 | import lombok.Data; 7 | import lombok.NoArgsConstructor; 8 | 9 | /** 10 | *@Author zs 11 | *@Date 2020/11/15 16:22 12 | *@Version 1.0 13 | **/ 14 | @ApiModel(value = "com-zyyglxt-dataobject-IndustrialDevelopExpert") 15 | @Data 16 | @AllArgsConstructor 17 | @NoArgsConstructor 18 | public class IndustrialDevelopExpertDto extends UserDO { 19 | private String filed; 20 | private String userCode; 21 | private String score; 22 | } 23 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/service/IOrganizationService.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.service; 2 | 3 | import com.zyyglxt.dataobject.OrganizationDO; 4 | import com.zyyglxt.response.ResponseData; 5 | 6 | import java.util.List; 7 | 8 | /** 9 | * @Author nongcn 10 | * @Date 2020/11/14 14:57 11 | * @Version 1.0 12 | */ 13 | public interface IOrganizationService { 14 | 15 | public List selectAllOrgByAuditStatus(); 16 | 17 | // public List selectAllOrgByAuditStatus2(); 18 | 19 | public ResponseData orgAudit(OrganizationDO organizationDO); 20 | 21 | public void insertChiMedMsg(); 22 | 23 | public OrganizationDO selectByItemCode(String itemCode); 24 | } 25 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/service/ResourcesRoleRefService.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.service; 2 | 3 | import com.zyyglxt.dataobject.ResourcesRoleRefDO; 4 | import com.zyyglxt.dataobject.ResourcesRoleRefDOKey; 5 | 6 | /** 7 | * @Author wanglx 8 | * @Date 2020/10/29 0029 14:58 9 | * @Version 1.0 10 | */ 11 | public interface ResourcesRoleRefService { 12 | 13 | int deleteByPrimaryKey(ResourcesRoleRefDOKey key); 14 | 15 | int insertSelective(ResourcesRoleRefDO record); 16 | 17 | ResourcesRoleRefDO selectByPrimaryKey(ResourcesRoleRefDOKey key); 18 | 19 | int updateByPrimaryKeySelective(ResourcesRoleRefDO record); 20 | 21 | ResourcesRoleRefDO selectByResCode(String itemcode); 22 | } 23 | -------------------------------------------------------------------------------- /src/main/resources/static/component/bootstrap-table@1.15.3/extensions/sticky-header/bootstrap-table-sticky-header.min.css: -------------------------------------------------------------------------------- 1 | /** 2 | * bootstrap-table - An extended table to integration with some of the most widely used CSS frameworks. (Supports Bootstrap, Semantic UI, Bulma, Material Design, Foundation) 3 | * 4 | * @version v1.17.1 5 | * @homepage https://bootstrap-table.com 6 | * @author wenzhixin (http://wenzhixin.net.cn/) 7 | * @license MIT 8 | */ 9 | 10 | .fix-sticky{position:fixed!important;overflow:hidden;z-index:100}.fix-sticky table thead{background:#fff}.fix-sticky table thead.thead-light{background:#e9ecef}.fix-sticky table thead.thead-dark{background:#212529} -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/service/IGovernresCountersignService.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.service; 2 | 3 | import com.zyyglxt.dataobject.GovernresCountersign; 4 | import org.apache.ibatis.annotations.Param; 5 | import org.springframework.stereotype.Service; 6 | 7 | import java.util.List; 8 | 9 | public interface IGovernresCountersignService { 10 | int deleteByPrimaryKey(@Param("itemcode") String itemcode); 11 | 12 | int insertSelective(GovernresCountersign record); 13 | 14 | GovernresCountersign selectByPrimaryKey(@Param("itemcode") String itemcode); 15 | 16 | int updateByPrimaryKeySelective(GovernresCountersign record); 17 | 18 | List selectAll(String status); 19 | } 20 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/service/IIndustrialDevelopTalRecService.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.service; 2 | 3 | import com.zyyglxt.dataobject.IndustrialDevelopTalRecDO; 4 | import com.zyyglxt.dataobject.IndustrialDevelopTalRecDOKey; 5 | 6 | import java.util.List; 7 | 8 | /** 9 | * @Author lrt 10 | * @Date 2020/10/29 16:45 11 | * @Version 1.0 12 | * 人才招募业务 13 | **/ 14 | public interface IIndustrialDevelopTalRecService { 15 | 16 | void addTalRec(IndustrialDevelopTalRecDO developTalRecDO); 17 | 18 | void delTalRec(IndustrialDevelopTalRecDOKey key); 19 | 20 | void updTalRec(IndustrialDevelopTalRecDO developTalRecDO); 21 | 22 | List getTalRecs(String orgCode); 23 | } 24 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/service/UserRoleRefService.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.service; 2 | 3 | import com.zyyglxt.dataobject.UserRoleRefDO; 4 | import com.zyyglxt.dataobject.UserRoleRefDOKey; 5 | 6 | /** 7 | * @Author wanglx 8 | * @Date 2020/10/29 0029 14:51 9 | * @Version 1.0 10 | */ 11 | public interface UserRoleRefService { 12 | 13 | int deleteByPrimaryKey(UserRoleRefDOKey key); 14 | 15 | int insertSelective(UserRoleRefDO record); 16 | 17 | UserRoleRefDO selectByPrimaryKey(UserRoleRefDOKey key); 18 | 19 | int updateByPrimaryKeySelective(UserRoleRefDO record); 20 | 21 | int updateByKeySelective(UserRoleRefDO record); 22 | 23 | UserRoleRefDO selectByUserCode(String itemcode); 24 | } 25 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dataobject/LogDO.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dataobject; 2 | 3 | import lombok.Data; 4 | import lombok.experimental.Accessors; 5 | 6 | import java.util.Date; 7 | 8 | @Data 9 | @Accessors(chain = true) 10 | public class LogDO { 11 | /*itemid*/ 12 | private Integer itemid; 13 | /*itemcode*/ 14 | private String itemcode; 15 | /*应用代码*/ 16 | private String appCode; 17 | /*日志标题*/ 18 | private String logTitle; 19 | /*日志等级*/ 20 | private String logLevel; 21 | /*创建人*/ 22 | private String creater; 23 | /*项目创建时间*/ 24 | private Date itemcreateat; 25 | /*修改人*/ 26 | private String updater; 27 | /*项目修改时间*/ 28 | private Date itemupdateat; 29 | 30 | } -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/validator/ValidatorResult.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.validator; 2 | 3 | import lombok.Data; 4 | import org.apache.commons.lang3.StringUtils; 5 | 6 | import java.util.HashMap; 7 | import java.util.Map; 8 | 9 | @Data 10 | public class ValidatorResult { 11 | //校验结果是否有错误 12 | private boolean hasErrors = false; 13 | 14 | //存放错误信息的MAP 15 | private Map errorMsgMap = new HashMap<>(); 16 | 17 | //true说明有error,false说明没有error 18 | public boolean isHasErrors(){ 19 | return hasErrors; 20 | } 21 | 22 | //实现通用的通过格式化字符串信息获取错误结果的msg方法 23 | public String getErrMsg(){ 24 | return StringUtils.join(errorMsgMap.values().toArray(),","); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dto/industrialDevelop/IndustrialDevelopChiMedDto.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dto.industrialDevelop; 2 | 3 | import com.zyyglxt.dataobject.IndustrialDevelopChiMed; 4 | import io.swagger.annotations.ApiModel; 5 | import io.swagger.annotations.ApiModelProperty; 6 | import lombok.AllArgsConstructor; 7 | import lombok.Data; 8 | import lombok.NoArgsConstructor; 9 | 10 | import java.util.Date; 11 | 12 | /** 13 | *@Author lrt 14 | *@Date 2020/11/6 20:00 15 | *@Version 1.0 16 | **/ 17 | @ApiModel(value="com-zyyglxt-dataobject-IndustrialDevelopChiMed") 18 | @Data 19 | @AllArgsConstructor 20 | @NoArgsConstructor 21 | public class IndustrialDevelopChiMedDto extends IndustrialDevelopChiMed { 22 | private String filePath; 23 | } -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dto/industrialDevelop/IndustrialDevelopSchoolDto.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dto.industrialDevelop; 2 | 3 | import com.zyyglxt.dataobject.IndustrialDevelopSchool; 4 | import io.swagger.annotations.ApiModel; 5 | import io.swagger.annotations.ApiModelProperty; 6 | import lombok.AllArgsConstructor; 7 | import lombok.Data; 8 | import lombok.NoArgsConstructor; 9 | 10 | import java.util.Date; 11 | 12 | /** 13 | *@Author lrt 14 | *@Date 2020/11/6 20:00 15 | *@Version 1.0 16 | **/ 17 | @ApiModel(value="com-zyyglxt-dataobject-IndustrialDevelopSchool") 18 | @Data 19 | @AllArgsConstructor 20 | @NoArgsConstructor 21 | public class IndustrialDevelopSchoolDto extends IndustrialDevelopSchool { 22 | private String filePath; 23 | } -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dao/DictDOMapper.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dao; 2 | 3 | import com.zyyglxt.dataobject.DictDO; 4 | import com.zyyglxt.dataobject.DictDOKey; 5 | 6 | public interface DictDOMapper { 7 | /** 8 | * @version 1.0 9 | * @Author zs 10 | * @time 2020/11/05 15:05 11 | */ 12 | 13 | /*删除数据字典*/ 14 | int deleteByPrimaryKey(DictDOKey key); 15 | 16 | /*新增数据字典*/ 17 | int insert(DictDO record); 18 | 19 | /*新增数据字典跳NULL*/ 20 | int insertSelective(DictDO record); 21 | 22 | /*查找数据字典*/ 23 | DictDO selectByPrimaryKey(DictDOKey key); 24 | 25 | /*修改数据字典跳NULL*/ 26 | int updateByPrimaryKeySelective(DictDO record); 27 | 28 | /*修改数据字典*/ 29 | int updateByPrimaryKey(DictDO record); 30 | } -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dto/industrialDevelop/IndustrialDevelopSaleDrugDto.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dto.industrialDevelop; 2 | 3 | import com.zyyglxt.dataobject.IndustrialDevelopSaleDrug; 4 | import io.swagger.annotations.ApiModel; 5 | import io.swagger.annotations.ApiModelProperty; 6 | import lombok.AllArgsConstructor; 7 | import lombok.Data; 8 | import lombok.NoArgsConstructor; 9 | 10 | import java.util.Date; 11 | 12 | /** 13 | *@Author lrt 14 | *@Date 2020/11/6 20:00 15 | *@Version 1.0 16 | **/ 17 | @ApiModel(value="com-zyyglxt-dataobject-IndustrialDevelopSaleDrug") 18 | @Data 19 | @AllArgsConstructor 20 | @NoArgsConstructor 21 | public class IndustrialDevelopSaleDrugDto extends IndustrialDevelopSaleDrug { 22 | private String filePath; 23 | } -------------------------------------------------------------------------------- /src/main/resources/static/component/bootstrap-datetimepicker@4.7.14/bootstrap-datetimepicker.zh-CN.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Simplified Chinese translation for bootstrap-datetimepicker 3 | * Yuan Cheung 4 | */ 5 | ;(function($){ 6 | $.fn.datetimepicker.dates['zh-CN'] = { 7 | days: ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六", "星期日"], 8 | daysShort: ["周日", "周一", "周二", "周三", "周四", "周五", "周六", "周日"], 9 | daysMin: ["日", "一", "二", "三", "四", "五", "六", "日"], 10 | months: ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"], 11 | monthsShort: ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"], 12 | today: "今天", 13 | suffix: [], 14 | meridiem: ["上午", "下午"] 15 | }; 16 | }(jQuery)); 17 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dto/industrialDevelop/IndustrialDevelopBasestyleDto.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dto.industrialDevelop; 2 | 3 | import com.zyyglxt.dataobject.IndustrialDevelopBasestyle; 4 | import io.swagger.annotations.ApiModel; 5 | import io.swagger.annotations.ApiModelProperty; 6 | import lombok.AllArgsConstructor; 7 | import lombok.Data; 8 | import lombok.NoArgsConstructor; 9 | 10 | import java.util.Date; 11 | 12 | /** 13 | * @Author lrt 14 | * @Date 2020/11/6 20:00 15 | * @Version 1.0 16 | **/ 17 | @ApiModel(value = "com-zyyglxt-dataobject-IndustrialDevelopBasestyle") 18 | @Data 19 | @AllArgsConstructor 20 | @NoArgsConstructor 21 | public class IndustrialDevelopBasestyleDto extends IndustrialDevelopBasestyle { 22 | private String filePath; 23 | } -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dto/industrialDevelop/IndustrialDevelopTecSerOrgDto.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dto.industrialDevelop; 2 | 3 | import com.zyyglxt.dataobject.IndustrialDevelopTecSerOrg; 4 | import io.swagger.annotations.ApiModel; 5 | import io.swagger.annotations.ApiModelProperty; 6 | import lombok.AllArgsConstructor; 7 | import lombok.Data; 8 | import lombok.NoArgsConstructor; 9 | 10 | import java.util.Date; 11 | 12 | /** 13 | *@Author lrt 14 | *@Date 2020/11/6 20:00 15 | *@Version 1.0 16 | **/ 17 | @ApiModel(value="com-zyyglxt-dataobject-IndustrialDevelopTecSerOrg") 18 | @Data 19 | @AllArgsConstructor 20 | @NoArgsConstructor 21 | public class IndustrialDevelopTecSerOrgDto extends IndustrialDevelopTecSerOrg { 22 | private String filePath; 23 | } -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dto/UserDto.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dto; 2 | 3 | import lombok.Data; 4 | 5 | import javax.validation.constraints.NotBlank; 6 | 7 | /** 8 | * @Author nongcn 9 | * @Date 2020/10/29 18:02 10 | * @Version 1.0 11 | */ 12 | @Data 13 | public class UserDto { 14 | @NotBlank(message = "企业名称不能为空") 15 | private String orgName; 16 | 17 | @NotBlank(message = "机构类型不能为空") 18 | private String orgIdentify; 19 | 20 | @NotBlank(message = "组织机构代码不能为空") 21 | private String orgCode; 22 | 23 | @NotBlank(message = "登录账号不能为空") 24 | private String username; 25 | 26 | @NotBlank(message = "密码不能为空") 27 | private String password; 28 | 29 | @NotBlank(message = "手机号不能为空") 30 | private String mobilePhone; 31 | } 32 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dto/industrialDevelop/IndustrialDevelopSciAchiDODto.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dto.industrialDevelop; 2 | 3 | import com.fasterxml.jackson.annotation.JsonFormat; 4 | import com.zyyglxt.dataobject.IndustrialDevelopSciAchiDO; 5 | import com.zyyglxt.dataobject.IndustrialDevelopSciAchiDOKey; 6 | import com.zyyglxt.dataobject.validation.ValidationGroups; 7 | import lombok.AllArgsConstructor; 8 | import lombok.Data; 9 | import lombok.NoArgsConstructor; 10 | 11 | import javax.validation.constraints.NotBlank; 12 | import java.util.Date; 13 | 14 | @Data 15 | @AllArgsConstructor 16 | @NoArgsConstructor 17 | public class IndustrialDevelopSciAchiDODto extends IndustrialDevelopSciAchiDO { 18 | private String filePath; 19 | private String fileName; 20 | 21 | } -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dao/GovernresAdviceMapper.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dao; 2 | 3 | import com.zyyglxt.dataobject.GovernresAdvice; 4 | import com.zyyglxt.dataobject.GovernresCountersign; 5 | import org.apache.ibatis.annotations.Mapper; 6 | import org.apache.ibatis.annotations.Param; 7 | 8 | import java.util.List; 9 | 10 | @Mapper 11 | public interface GovernresAdviceMapper { 12 | int deleteByPrimaryKey(@Param("itemid") Integer itemid, @Param("itemcode") String itemcode); 13 | 14 | int insertSelective(GovernresAdvice record); 15 | 16 | GovernresAdvice selectByPrimaryKey(@Param("itemid") Integer itemid, @Param("itemcode") String itemcode); 17 | 18 | int updateByPrimaryKeySelective(GovernresAdvice record); 19 | 20 | List selectAll(); 21 | } -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dto/industrialDevelop/IndustrialDevelopMedMatDto.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dto.industrialDevelop; 2 | 3 | import com.zyyglxt.dataobject.IndustrialDevelopMedMat; 4 | import io.swagger.annotations.ApiModel; 5 | import io.swagger.annotations.ApiModelProperty; 6 | import lombok.AllArgsConstructor; 7 | import lombok.Data; 8 | import lombok.NoArgsConstructor; 9 | 10 | import java.util.Date; 11 | import java.util.List; 12 | 13 | /** 14 | * @Author lrt 15 | * @Date 2020/11/8 22:46 16 | * @Version 1.0 17 | **/ 18 | @ApiModel(value = "com-zyyglxt-dataobject-IndustrialDevelopMedMat") 19 | @Data 20 | @AllArgsConstructor 21 | @NoArgsConstructor 22 | public class IndustrialDevelopMedMatDto extends IndustrialDevelopMedMat { 23 | private List filePath; 24 | } -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dao/ResourcesRoleRefDOMapper.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dao; 2 | 3 | import com.zyyglxt.dataobject.ResourcesRoleRefDO; 4 | import com.zyyglxt.dataobject.ResourcesRoleRefDOKey; 5 | import org.springframework.stereotype.Repository; 6 | 7 | @Repository 8 | public interface ResourcesRoleRefDOMapper { 9 | 10 | int deleteByPrimaryKey(ResourcesRoleRefDOKey key); 11 | 12 | int insert(ResourcesRoleRefDO record); 13 | 14 | int insertSelective(ResourcesRoleRefDO record); 15 | 16 | ResourcesRoleRefDO selectByPrimaryKey(ResourcesRoleRefDOKey key); 17 | 18 | int updateByPrimaryKeySelective(ResourcesRoleRefDO record); 19 | 20 | int updateByPrimaryKey(ResourcesRoleRefDO record); 21 | 22 | ResourcesRoleRefDO selectByResCode(String itemcode); 23 | } -------------------------------------------------------------------------------- /src/main/resources/static/component/bootstrap-table@1.15.3/extensions/page-jump-to/bootstrap-table-page-jump-to.min.css: -------------------------------------------------------------------------------- 1 | /** 2 | * bootstrap-table - An extended table to integration with some of the most widely used CSS frameworks. (Supports Bootstrap, Semantic UI, Bulma, Material Design, Foundation) 3 | * 4 | * @version v1.17.1 5 | * @homepage https://bootstrap-table.com 6 | * @author wenzhixin (http://wenzhixin.net.cn/) 7 | * @license MIT 8 | */ 9 | 10 | .bootstrap-table.bootstrap3 .fixed-table-pagination>.pagination .page-jump-to,.bootstrap-table.bootstrap3 .fixed-table-pagination>.pagination ul.pagination{display:inline}.bootstrap-table .fixed-table-pagination>.pagination .page-jump-to input{width:70px;margin-left:5px;text-align:center;float:left} -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/service/IDictitemDOService.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.service; 2 | 3 | import com.zyyglxt.dataobject.DictitemDO; 4 | import com.zyyglxt.dataobject.DictitemDOKey; 5 | 6 | public interface IDictitemDOService { 7 | /** 8 | * @version 1.0 9 | * @Author zs 10 | * @time 2020/11/05 15:07 11 | */ 12 | 13 | /*删除数据字典项*/ 14 | int deleteByPrimaryKey(DictitemDOKey key); 15 | /*新增数据字典项*/ 16 | int insert(DictitemDO record); 17 | /*新增数据字典项跳NULL*/ 18 | int insertSelective(DictitemDO record); 19 | /*查找数据字典项*/ 20 | DictitemDO selectByPrimaryKey(DictitemDOKey key); 21 | /*修改数据字典项跳NULL*/ 22 | int updateByPrimaryKeySelective(DictitemDO record); 23 | /*修改数据字典项*/ 24 | int updateByPrimaryKey(DictitemDO record); 25 | } 26 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/service/IFileService.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.service; 2 | 3 | import com.zyyglxt.dataobject.FileDO; 4 | import com.zyyglxt.dataobject.FileDOKey; 5 | import java.util.List; 6 | 7 | /** 8 | * @author qjc 9 | * @version 1.0 10 | * @date 2020/11/1 17:51 11 | */ 12 | public interface IFileService { 13 | int addFile(FileDO fileDO); 14 | int updateFile(FileDO fileDO); 15 | int deleteFileByKey(FileDOKey fileDOKey); 16 | FileDO selectFileByDataCode(String dataCode); 17 | int deleteFileByDataCode(String dataCode); 18 | int deleteFileByItemCode(String itemcode); 19 | FileDO getByItemCode(String itemCode); 20 | void uploadFile(FileDO fileDO); 21 | List selectMultipleFileByDataCode(String dataCode); 22 | } 23 | -------------------------------------------------------------------------------- /src/main/resources/static/component/bootstrap-table@1.15.3/extensions/fixed-columns/bootstrap-table-fixed-columns.min.css: -------------------------------------------------------------------------------- 1 | /** 2 | * bootstrap-table - An extended table to integration with some of the most widely used CSS frameworks. (Supports Bootstrap, Semantic UI, Bulma, Material Design, Foundation) 3 | * 4 | * @version v1.17.1 5 | * @homepage https://bootstrap-table.com 6 | * @author wenzhixin (http://wenzhixin.net.cn/) 7 | * @license MIT 8 | */ 9 | 10 | .fixed-columns,.fixed-columns-right{position:absolute;top:0;height:100%;background-color:#fff;box-sizing:border-box;z-index:1}.fixed-columns{left:0}.fixed-columns .fixed-table-body{overflow:hidden!important}.fixed-columns-right{right:0}.fixed-columns-right .fixed-table-body{overflow-x:hidden!important} -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dao/GovernresCountersignMapper.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dao; 2 | 3 | import com.zyyglxt.dataobject.GovernresCountersign; 4 | import com.zyyglxt.dto.industrialDevelop.IndustrialDevelopExpertDto; 5 | import org.apache.ibatis.annotations.Mapper; 6 | import org.apache.ibatis.annotations.Param; 7 | 8 | import java.util.List; 9 | 10 | @Mapper 11 | public interface GovernresCountersignMapper { 12 | int deleteByPrimaryKey(@Param("itemcode") String itemcode); 13 | 14 | int insertSelective(GovernresCountersign record); 15 | 16 | GovernresCountersign selectByPrimaryKey(@Param("itemcode") String itemcode); 17 | 18 | int updateByPrimaryKeySelective(GovernresCountersign record); 19 | 20 | List selectAll(@Param("status") String status); 21 | } -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dao/adviceDOMapper.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dao; 2 | 3 | import com.zyyglxt.dataobject.adviceDO; 4 | import com.zyyglxt.dataobject.adviceDOKey; 5 | import org.apache.ibatis.annotations.Param; 6 | 7 | import java.util.List; 8 | 9 | public interface adviceDOMapper { 10 | int deleteByPrimaryKey(adviceDOKey key); 11 | 12 | int insert(adviceDO record); 13 | 14 | int insertSelective(adviceDO record); 15 | 16 | adviceDO selectByPrimaryKey(adviceDOKey key); 17 | 18 | int updateByPrimaryKeySelective(adviceDO record); 19 | 20 | int updateByPrimaryKey(adviceDO record); 21 | 22 | int delByDataCode(@Param("dataCode") String dataCode); 23 | 24 | adviceDO getByDataCode(@Param("dataCode") String dataCode); 25 | 26 | int updAdvice(adviceDO record); 27 | } -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/service/IRequestReportDOService.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.service; 2 | 3 | import com.zyyglxt.dataobject.RequestReportDO; 4 | import com.zyyglxt.dataobject.RequestReportDOKey; 5 | import com.zyyglxt.dto.RequestReportDto; 6 | 7 | import java.util.List; 8 | 9 | /** 10 | * @version 1.0 11 | * @Author huangwj 12 | * @time 2020/12/27 12:46 13 | */ 14 | public interface IRequestReportDOService { 15 | int insertSelective(RequestReportDO record); 16 | 17 | int deleteByPrimaryKey(RequestReportDOKey key); 18 | 19 | int updateByPrimaryKeySelective(RequestReportDO record); 20 | 21 | List selectAllReport(String reportDataStatus);//查询所有请示报告数据 22 | 23 | int changeStatusToReport( RequestReportDOKey key , String reportDataStatus);//请示报告数据状态 24 | } 25 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dto/industrialDevelop/AuditDto.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dto.industrialDevelop; 2 | 3 | import lombok.AllArgsConstructor; 4 | import lombok.Data; 5 | import lombok.NoArgsConstructor; 6 | 7 | import java.util.Date; 8 | 9 | /** 10 | * @Author lrt 11 | * @Date 2020/11/16 9:25 12 | * @Version 1.0 13 | **/ 14 | @Data 15 | @AllArgsConstructor 16 | @NoArgsConstructor 17 | public class AuditDto { 18 | 19 | private Integer itemid; 20 | 21 | private String itemcode; 22 | 23 | private String name; 24 | 25 | private String status; 26 | 27 | private String addressCity; 28 | 29 | private String reason; 30 | 31 | private String type; 32 | 33 | private String updater; 34 | 35 | private Date itemcreateat; 36 | 37 | private String orgCode; 38 | } 39 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/util/JsonXMLUtils.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.util; 2 | 3 | import com.alibaba.fastjson.JSON; 4 | 5 | import java.util.Map; 6 | 7 | /** 8 | * Author:wangzh 9 | * Date: 2020/11/3 22:26 10 | * Version: 1.0 11 | */ 12 | public class JsonXMLUtils { 13 | public static String obj2json(Object obj) { 14 | return JSON.toJSONString(obj); 15 | } 16 | 17 | public static T json2obj(String jsonStr, Class clazz) { 18 | return JSON.parseObject(jsonStr, clazz); 19 | } 20 | 21 | public static Map json2map(String jsonStr) { 22 | return JSON.parseObject(jsonStr, Map.class); 23 | } 24 | 25 | public static T map2obj(Map map, Class clazz) { 26 | return JSON.parseObject(JSON.toJSONString(map), clazz); 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/service/IDataRulesService.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.service; 2 | 3 | import com.zyyglxt.dataobject.DataDO; 4 | import com.zyyglxt.dataobject.DataDOKey; 5 | import com.zyyglxt.dto.DataDto; 6 | import com.zyyglxt.dto.MainPageDto; 7 | 8 | import java.util.List; 9 | 10 | /** 11 | * @author qjc 12 | * @version 1.0 13 | * @date 2021/2/4 14:02 14 | */ 15 | public interface IDataRulesService { 16 | //增加一个规章制度 17 | int insert(DataDO record); 18 | //删除规章制度信息 19 | int delete(DataDOKey dataDOKey); 20 | //更新规章制度信息 21 | int update(DataDO record); 22 | //查询一个规章制度 23 | DataDto getOne(DataDOKey dataDOKey); 24 | //查询规章制度根据身份状态 25 | List selectRules(String dataStatus); 26 | //获取首页数据 27 | List selectForMainPage(); 28 | 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/util/ContextUtil.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.util; 2 | 3 | import com.zyyglxt.dto.UserSessionDto; 4 | import com.zyyglxt.error.EmBusinessError; 5 | import com.zyyglxt.response.ResponseData; 6 | 7 | import javax.servlet.http.HttpServletRequest; 8 | import javax.servlet.http.HttpSession; 9 | 10 | /** 11 | * @Author nongcn 12 | * @Date 2020/11/10 14:17 13 | * @Version 1.0 14 | */ 15 | public class ContextUtil { 16 | 17 | public static UserSessionDto getAppContext(HttpServletRequest request){ 18 | HttpSession session = request.getSession(); 19 | UserSessionDto userSessionDto = (UserSessionDto) session.getAttribute("user"); 20 | if (ObjectUtil.isNull(userSessionDto)){ 21 | return null; 22 | }else { 23 | return userSessionDto; 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/service/IPostRefService.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.service; 2 | 3 | import com.zyyglxt.dataobject.PostRefDO; 4 | import com.zyyglxt.dataobject.PostRefDOKey; 5 | 6 | import java.util.List; 7 | 8 | /** 9 | * @Author huangtao 10 | * @Date 2021/1/2 14:39 11 | * @Version 1.0 12 | */ 13 | public interface IPostRefService { 14 | int deleteByPrimaryKey(PostRefDOKey key); 15 | 16 | int insertSelective(PostRefDO record); 17 | 18 | PostRefDO selectByPrimaryKey(PostRefDOKey key); 19 | 20 | int updateByPrimaryKeySelective(PostRefDO record); 21 | 22 | void delByDateCode(String dateCode,Integer receiverType); 23 | 24 | void updPostRef(PostRefDO postRefDO); 25 | 26 | List getMasterSend(List dateCode); 27 | 28 | List getCopySend(List dateCode); 29 | 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dataobject/validation/ValidationGroups.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dataobject.validation; 2 | 3 | /** 4 | * @Author lrt 5 | * @Date 2020/11/5 9:06 6 | * @Version 1.0 7 | **/ 8 | public class ValidationGroups { 9 | public interface Insert{ 10 | 11 | } 12 | 13 | public interface UpdateOrDelete{ 14 | 15 | } 16 | 17 | public interface Process{ 18 | 19 | } 20 | 21 | public interface Produce{ 22 | 23 | } 24 | 25 | public interface Plantation{ 26 | 27 | } 28 | 29 | public interface Tour{ 30 | 31 | } 32 | 33 | public interface TecOrg{ 34 | 35 | } 36 | 37 | public interface Lab{ 38 | 39 | } 40 | 41 | public interface School{ 42 | 43 | } 44 | 45 | public interface Hospital{ 46 | 47 | } 48 | 49 | public interface Sale { 50 | 51 | } 52 | } 53 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/service/IIndustrialDevelopSciAchiService.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.service; 2 | 3 | import com.zyyglxt.dataobject.IndustrialDevelopSciAchiDO; 4 | import com.zyyglxt.dataobject.IndustrialDevelopSciAchiDOKey; 5 | import com.zyyglxt.dto.industrialDevelop.IndustrialDevelopSciAchiDODto; 6 | 7 | import java.util.List; 8 | 9 | /** 10 | * @Author lrt 11 | * @Date 2020/10/29 9:11 12 | * @Version 1.0 13 | **/ 14 | public interface IIndustrialDevelopSciAchiService { 15 | 16 | void addAchievement(IndustrialDevelopSciAchiDO achiDO); 17 | 18 | void delAchievement(IndustrialDevelopSciAchiDOKey key); 19 | 20 | void updAchievement(IndustrialDevelopSciAchiDO achiDO); 21 | 22 | void increaseVisitNum(IndustrialDevelopSciAchiDOKey key); 23 | 24 | List getAchievement(String orgCode); 25 | 26 | } 27 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/service/IDataProcessService.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.service; 2 | 3 | import com.zyyglxt.dataobject.DataDO; 4 | import com.zyyglxt.dataobject.DataDOKey; 5 | import com.zyyglxt.dto.DataDto; 6 | 7 | import java.sql.Date; 8 | import java.util.List; 9 | 10 | /** 11 | * @Author huangtao 12 | * @Date 2020/10/29 10:17 13 | * @Version 1.0 14 | */ 15 | public interface IDataProcessService { 16 | //查询一个办事流程 17 | DataDO selectProcess(DataDOKey key); 18 | 19 | //查询所有办事流程 20 | List selectProcessList(String dataStatus); 21 | 22 | //增加一个办事流程 23 | int insertProcess(DataDO record); 24 | 25 | //删除一个办事流程 26 | int deleteProcess(DataDOKey key); 27 | 28 | //修改办事流程 29 | int updateProcess(DataDO record); 30 | 31 | int changeStatus(DataDOKey key, String dataDelayedRelease, String dataStatus); 32 | 33 | } 34 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/service/IIndustrialDevelopCooService.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.service; 2 | 3 | import com.zyyglxt.dataobject.IndustrialDevelopCooExcDO; 4 | import com.zyyglxt.dataobject.IndustrialDevelopCooExcDOKey; 5 | 6 | import java.util.List; 7 | 8 | /** 9 | * @Author lrt 10 | * @Date 2020/10/29 14:24 11 | * @Version 1.0 12 | **/ 13 | public interface IIndustrialDevelopCooService { 14 | 15 | void addCooRecord(IndustrialDevelopCooExcDO developCooExcDO); 16 | 17 | void delCooRecord(IndustrialDevelopCooExcDOKey key); 18 | 19 | void updCooRecord(IndustrialDevelopCooExcDO developCooExcDO); 20 | 21 | void increaseVisitNum(IndustrialDevelopCooExcDOKey key); 22 | 23 | List getCooRecord(int page, int page_size); 24 | 25 | List getCooRecord(String orgCode); 26 | 27 | 28 | } 29 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/service/ISpecialtyService.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.service; 2 | 3 | import com.zyyglxt.dataobject.SpecialtyDO; 4 | import com.zyyglxt.dataobject.SpecialtyDOKey; 5 | import com.zyyglxt.dto.StatusDto; 6 | import com.zyyglxt.dto.SpecialtyDto; 7 | 8 | import java.util.List; 9 | 10 | /** 11 | * @author qjc 12 | * @version 1.0 13 | * @date 2020/10/29 17:32 14 | */ 15 | public interface ISpecialtyService { 16 | void addSpecialty(SpecialtyDto specialtyDto); 17 | void updateSpecialty(SpecialtyDto specialtyDto); 18 | void deleteSpecialty(SpecialtyDOKey specialtyDOKey); 19 | List selectAllSpecialty(List specialtyStatus); 20 | List searchSpecialty(String keyWord); 21 | List selectByHospCode(String hospCode); 22 | int updateStatus(StatusDto statusDto); 23 | } 24 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dataobject/IndustrialDevelopCooExcDOKey.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dataobject; 2 | 3 | import com.zyyglxt.dataobject.validation.ValidationGroups; 4 | 5 | import javax.validation.constraints.NotBlank; 6 | 7 | public class IndustrialDevelopCooExcDOKey { 8 | 9 | private Integer itemid; 10 | 11 | 12 | @NotBlank(message = "主键不能为空",groups = ValidationGroups.UpdateOrDelete.class) 13 | private String itemcode; 14 | 15 | 16 | public Integer getItemid() { 17 | return itemid; 18 | } 19 | 20 | 21 | public void setItemid(Integer itemid) { 22 | this.itemid = itemid; 23 | } 24 | 25 | 26 | public String getItemcode() { 27 | return itemcode; 28 | } 29 | 30 | 31 | public void setItemcode(String itemcode) { 32 | this.itemcode = itemcode == null ? null : itemcode.trim(); 33 | } 34 | } -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dataobject/IndustrialDevelopExpertDOKey.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dataobject; 2 | 3 | import com.zyyglxt.dataobject.validation.ValidationGroups; 4 | 5 | import javax.validation.constraints.NotBlank; 6 | 7 | public class IndustrialDevelopExpertDOKey { 8 | 9 | private Integer itemid; 10 | 11 | 12 | @NotBlank(message = "主键不能为空",groups = ValidationGroups.UpdateOrDelete.class) 13 | private String itemcode; 14 | 15 | 16 | public Integer getItemid() { 17 | return itemid; 18 | } 19 | 20 | 21 | public void setItemid(Integer itemid) { 22 | this.itemid = itemid; 23 | } 24 | 25 | 26 | public String getItemcode() { 27 | return itemcode; 28 | } 29 | 30 | 31 | public void setItemcode(String itemcode) { 32 | this.itemcode = itemcode == null ? null : itemcode.trim(); 33 | } 34 | } -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dataobject/IndustrialDevelopTopicDOKey.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dataobject; 2 | 3 | import com.zyyglxt.dataobject.validation.ValidationGroups; 4 | 5 | import javax.validation.constraints.NotBlank; 6 | 7 | public class IndustrialDevelopTopicDOKey { 8 | 9 | private Integer itemid; 10 | 11 | 12 | @NotBlank(message = "主键不能为空",groups = ValidationGroups.UpdateOrDelete.class) 13 | private String itemcode; 14 | 15 | 16 | public Integer getItemid() { 17 | return itemid; 18 | } 19 | 20 | 21 | public void setItemid(Integer itemid) { 22 | this.itemid = itemid; 23 | } 24 | 25 | 26 | public String getItemcode() { 27 | return itemcode; 28 | } 29 | 30 | 31 | public void setItemcode(String itemcode) { 32 | this.itemcode = itemcode == null ? null : itemcode.trim(); 33 | } 34 | } -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/service/IndustrialDevelopSerProService.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.service; 2 | 3 | import com.zyyglxt.dataobject.IndustrialDevelopSerPro; 4 | 5 | import java.util.List; 6 | 7 | /** 8 | *@Author lrt 9 | *@Date 2020/11/6 20:00 10 | *@Version 1.0 11 | **/ 12 | public interface IndustrialDevelopSerProService{ 13 | 14 | 15 | int deleteByPrimaryKey(Integer itemid,String itemcode); 16 | 17 | int insert(IndustrialDevelopSerPro record); 18 | 19 | int insertSelective(IndustrialDevelopSerPro record); 20 | 21 | IndustrialDevelopSerPro selectByPrimaryKey(Integer itemid,String itemcode); 22 | 23 | int updateByPrimaryKeySelective(IndustrialDevelopSerPro record); 24 | 25 | int updateByPrimaryKey(IndustrialDevelopSerPro record); 26 | 27 | List selectAll(); 28 | 29 | List selectByorgcode(); 30 | 31 | } 32 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dao/FileDOMapper.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dao; 2 | 3 | import com.zyyglxt.dataobject.FileDO; 4 | import com.zyyglxt.dataobject.FileDOKey; 5 | import org.apache.ibatis.annotations.Param; 6 | 7 | import java.util.List; 8 | 9 | public interface FileDOMapper { 10 | 11 | int deleteByPrimaryKey(FileDOKey key); 12 | 13 | int insert(FileDO record); 14 | 15 | int insertSelective(FileDO record); 16 | 17 | FileDO selectByPrimaryKey(FileDOKey key); 18 | 19 | int updateByPrimaryKeySelective(FileDO record); 20 | 21 | int updateByPrimaryKey(FileDO record); 22 | 23 | FileDO selectFileByDataCode(String dataCode); 24 | 25 | int deleteByDataCode(String dataCode); 26 | 27 | int deleteByItemCode(String itemcode); 28 | 29 | FileDO getByItemCode(@Param("itemcode") String itemCode); 30 | 31 | 32 | List selectMultipleFileByDataCode(String dataCode); 33 | } -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/service/impl/LogServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.service.impl; 2 | 3 | 4 | import com.zyyglxt.dao.LogDOMapper; 5 | import com.zyyglxt.dataobject.LogDO; 6 | import com.zyyglxt.service.ILogService; 7 | import com.zyyglxt.util.DateUtils; 8 | import com.zyyglxt.util.UUIDUtils; 9 | import org.springframework.beans.factory.annotation.Autowired; 10 | import org.springframework.stereotype.Service; 11 | import org.springframework.transaction.annotation.Transactional; 12 | 13 | import java.util.UUID; 14 | 15 | @Service 16 | public class LogServiceImpl implements ILogService { 17 | 18 | 19 | @Autowired 20 | LogDOMapper logDOMapper; 21 | @Override 22 | @Transactional 23 | public void saveLogDO(LogDO logDO) { 24 | logDO.setItemcode(UUIDUtils.getUUID()); 25 | logDO.setItemcreateat(DateUtils.getDate()); 26 | logDOMapper.saveLogDO(logDO); 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/service/IUserService.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.service; 2 | 3 | import com.zyyglxt.dataobject.OrganizationDO; 4 | import com.zyyglxt.dataobject.UserDO; 5 | import com.zyyglxt.dto.UpdatePwdDto; 6 | import com.zyyglxt.dto.UserDto; 7 | import com.zyyglxt.error.BusinessException; 8 | import com.zyyglxt.response.ResponseData; 9 | 10 | /** 11 | * @Author nongcn 12 | * @Date 2020/10/29 10:37 13 | * @Version 1.0 14 | */ 15 | public interface IUserService { 16 | 17 | ResponseData Register(UserDto userDto) ; 18 | 19 | // int Login(String username, String password) ; 20 | 21 | ResponseData UpdatePassword(UpdatePwdDto updatePwdDto); 22 | 23 | OrganizationDO selectByOrgNameAndCode(String orgName, String orgCode); 24 | 25 | UserDO selectOne(); 26 | 27 | // void Logout(); 28 | 29 | void UpdateUserMsg(UserDO userDO); 30 | 31 | void UpdateUserPortrait(UserDO userDO); 32 | } 33 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/service/IIndustrialDevelopExpertService.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.service; 2 | 3 | 4 | import com.zyyglxt.dataobject.UserDO; 5 | import com.zyyglxt.dataobject.UserRoleRefDO; 6 | import com.zyyglxt.dto.industrialDevelop.IndustrialDevelopExpertDto; 7 | import org.apache.ibatis.annotations.Param; 8 | 9 | import java.util.List; 10 | 11 | /** 12 | * @Author zs 13 | * @Date 2020/11/15 17:15 14 | * @Version 1.0 15 | **/ 16 | public interface IIndustrialDevelopExpertService { 17 | 18 | //新增专家信息 19 | String addExpert(IndustrialDevelopExpertDto record); 20 | //删除专家信息 21 | int delExpert(String userCode); 22 | //重置密码 23 | int resetPassword( @Param("userCode") String userCode); 24 | //查看所有专家信息 25 | List getExperts(); 26 | //查看专家个人信息 27 | UserDO selectByPrimaryKey(String userCode); 28 | String selectByUserCode(String userCode); 29 | 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/service/RoleService.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.service; 2 | 3 | import com.zyyglxt.dataobject.ResourcesDO; 4 | import com.zyyglxt.dataobject.RoleDO; 5 | import com.zyyglxt.dataobject.RoleDOKey; 6 | import org.springframework.stereotype.Service; 7 | 8 | import java.util.List; 9 | 10 | /** 11 | * @Author wanglx 12 | * @Date 2020/10/29 0029 11:24 13 | * @Version 1.0 14 | */ 15 | @Service 16 | public interface RoleService { 17 | 18 | int deleteByPrimaryKey(RoleDOKey key); 19 | 20 | int insert(RoleDO record); 21 | 22 | void insertSelective(RoleDO roleDO); 23 | 24 | RoleDO selectByPrimaryKey(RoleDOKey key); 25 | 26 | int updateByPrimaryKeySelective(RoleDO record); 27 | 28 | int updateByPrimaryKey(RoleDO record); 29 | 30 | List selectAllRole(); 31 | 32 | RoleDO selectByRoleType(Integer type); 33 | 34 | RoleDO selectRoleByUserid(String itemcode); 35 | } 36 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/config/CorsConfig.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.config; 2 | 3 | /** 4 | * @Author wzh 5 | * @Date 2021/2/27 12:07 上午 6 | * @Description 7 | */ 8 | 9 | import org.springframework.context.annotation.Configuration; 10 | import org.springframework.web.servlet.config.annotation.CorsRegistry; 11 | import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; 12 | 13 | /** 14 | * 解决异步访问跨域 15 | */ 16 | @Configuration 17 | public class CorsConfig implements WebMvcConfigurer { 18 | @Override 19 | public void addCorsMappings(CorsRegistry registry) { 20 | //本应用的所有方法都会去处理跨域请求 21 | registry.addMapping("/**") 22 | //允许远端访问的域名 23 | .allowedOrigins("*") 24 | //允许请求的方法("POST", "GET", "PUT", "OPTIONS", "DELETE") 25 | .allowedMethods("*") 26 | //允许请求头 27 | .allowedHeaders("*"); 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dao/RoleDOMapper.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dao; 2 | 3 | import com.zyyglxt.dataobject.RoleDO; 4 | import com.zyyglxt.dataobject.RoleDOKey; 5 | import org.springframework.stereotype.Repository; 6 | 7 | import java.util.List; 8 | 9 | @Repository 10 | public interface RoleDOMapper { 11 | 12 | int deleteByPrimaryKey(RoleDOKey key); 13 | 14 | int insert(RoleDO record); 15 | 16 | int insertSelective(RoleDO record); 17 | 18 | RoleDO selectByPrimaryKey(RoleDOKey key); 19 | 20 | RoleDO selectByRoleName(String roleName); 21 | 22 | List selectRoleType(); 23 | 24 | List selectRoleType2(); 25 | 26 | int updateByPrimaryKeySelective(RoleDO record); 27 | 28 | int updateByPrimaryKey(RoleDO record); 29 | 30 | List selectAllRole(); 31 | 32 | RoleDO selectByRoleType(Integer type); 33 | 34 | RoleDO selectByUserid(String itemcode); 35 | } 36 | 37 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/service/IDataLeaderService.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.service; 2 | 3 | import com.zyyglxt.dataobject.DataDO; 4 | import com.zyyglxt.dataobject.DataDOKey; 5 | import com.zyyglxt.dto.DataDto; 6 | import com.zyyglxt.dto.MainPageDto; 7 | 8 | import java.util.List; 9 | 10 | /** 11 | * @Author huangtao 12 | * @Date 2020/10/29 10:17 13 | * @Version 1.0 14 | */ 15 | public interface IDataLeaderService { 16 | //查询一个领导讲话 17 | DataDto selectLeader(DataDOKey key); 18 | 19 | //查询所有领导讲话 20 | List selectLeaderList(String dataStatus); 21 | 22 | //增加一个领导讲话 23 | int insertLeader(DataDO record); 24 | 25 | //删除一个领导讲话 26 | int deleteLeader(DataDOKey key); 27 | 28 | //修改领导讲话 29 | int updateLeader(DataDO record); 30 | 31 | int changeStatus(DataDOKey key, String dataDelayedRelease, String dataStatus); 32 | //获取首页数据 33 | List selectForMainPage(); 34 | } 35 | -------------------------------------------------------------------------------- /src/main/resources/static/project/css/mainPage.css: -------------------------------------------------------------------------------- 1 | .home-header{ 2 | height: 3rem; 3 | border-bottom: 3px solid #775637; 4 | margin-top: 1rem; 5 | } 6 | .home-contain{ 7 | margin-top: 1rem; 8 | } 9 | .more-c{ 10 | color: #CC0001; 11 | margin-top: 1rem; 12 | float: right; 13 | z-index: 2; 14 | } 15 | .head-name{ 16 | float: left; 17 | background-color: #775637; 18 | color: white; 19 | width: 100px; 20 | text-align: center; 21 | margin-top: 0.5rem; 22 | height: 2.5rem; 23 | padding-top: 0.5rem; 24 | } 25 | .mainLi{ 26 | text-indent: 30px; 27 | list-style: none; 28 | margin: 1rem 0; 29 | background:url(../../images/li.PNG) no-repeat; 30 | } 31 | ul{ 32 | padding: 0; 33 | } 34 | .myOf{ 35 | background:url(../../images/new/default.png) no-repeat; 36 | float: left; 37 | text-align: center; 38 | width: 4rem; 39 | margin: 0 8px 0 17px; 40 | 41 | } -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dao/PostRefDOMapper.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dao; 2 | 3 | import com.zyyglxt.dataobject.PostRefDO; 4 | import com.zyyglxt.dataobject.PostRefDOKey; 5 | import org.apache.ibatis.annotations.Param; 6 | 7 | import java.util.List; 8 | 9 | public interface PostRefDOMapper { 10 | int deleteByPrimaryKey(PostRefDOKey key); 11 | 12 | int insert(PostRefDO record); 13 | 14 | int insertSelective(PostRefDO record); 15 | 16 | PostRefDO selectByPrimaryKey(PostRefDOKey key); 17 | 18 | int updateByPrimaryKeySelective(PostRefDO record); 19 | 20 | int updateByPrimaryKey(PostRefDO record); 21 | 22 | int delByDateCode(@Param("dateCode") String dateCode, @Param("receiverType") Integer receiverType); 23 | 24 | int updPostRef(PostRefDO postRefDO); 25 | 26 | List getMasterSend(@Param("dateCode") String dateCode); 27 | 28 | List getCopySend(@Param("dateCode") String dateCode); 29 | } -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/service/IndustrialDevelopBasestyleService.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.service; 2 | 3 | import com.zyyglxt.dataobject.IndustrialDevelopBasestyle; 4 | import com.zyyglxt.dto.industrialDevelop.IndustrialDevelopBasestyleDto; 5 | 6 | import java.util.List; 7 | 8 | /** 9 | * @Author lrt 10 | * @Date 2020/11/6 20:00 11 | * @Version 1.0 12 | **/ 13 | public interface IndustrialDevelopBasestyleService { 14 | 15 | 16 | int deleteByPrimaryKey(Integer itemid, String itemcode); 17 | 18 | int insert(IndustrialDevelopBasestyle record); 19 | 20 | int insertSelective(IndustrialDevelopBasestyle record); 21 | 22 | IndustrialDevelopBasestyle selectByPrimaryKey(Integer itemid, String itemcode); 23 | 24 | int updateByPrimaryKeySelective(IndustrialDevelopBasestyle record); 25 | 26 | int updateByPrimaryKey(IndustrialDevelopBasestyle record); 27 | 28 | List selectAll(); 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dao/UserRoleRefDOMapper.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dao; 2 | import org.apache.ibatis.annotations.Param; 3 | 4 | import com.zyyglxt.dataobject.UserRoleRefDO; 5 | import com.zyyglxt.dataobject.UserRoleRefDOKey; 6 | import org.springframework.stereotype.Repository; 7 | 8 | import java.util.List; 9 | 10 | @Repository 11 | public interface UserRoleRefDOMapper { 12 | 13 | int deleteByPrimaryKey(UserRoleRefDOKey key); 14 | 15 | int insert(UserRoleRefDO record); 16 | 17 | int insertSelective(UserRoleRefDO record); 18 | 19 | UserRoleRefDO selectByPrimaryKey(UserRoleRefDOKey key); 20 | 21 | int updateByPrimaryKeySelective(UserRoleRefDO record); 22 | 23 | int updateByKeySelective(UserRoleRefDO record); 24 | 25 | int updateByPrimaryKey(UserRoleRefDO record); 26 | 27 | UserRoleRefDO selectByUserCode(String itemcode); 28 | 29 | int deleteByUserCode(@Param("userCode")String userCode); 30 | 31 | } 32 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/service/FamPreDOService.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.service; 2 | 3 | import com.zyyglxt.dataobject.FamPreDO; 4 | import com.zyyglxt.dataobject.FamPreDOKey; 5 | import com.zyyglxt.error.BusinessException; 6 | import org.apache.ibatis.annotations.Param; 7 | 8 | import java.util.List; 9 | 10 | /** 11 | * @version 1.0 12 | * @Author huangwj 13 | * @time 2020/10/31 12:10 14 | */ 15 | public interface FamPreDOService { 16 | /* 17 | 历史名方添加、删除、修改、查询实现接口 18 | */ 19 | int insertSelective(FamPreDO record) ; 20 | int deleteByPrimaryKey(FamPreDOKey key); 21 | int updateByPrimaryKeySelective(FamPreDO record) ; 22 | FamPreDO selectByPrimaryKey(FamPreDOKey key); 23 | List selectAllFamPre( String status);//查询所有历史名方 24 | int changeStatusToFamPre( FamPreDOKey key , String status);//历史名方数据状态 25 | int increaseVisitNumFamPre(FamPreDOKey key);//增加浏览次数 26 | List searchFamPre(String keyWord);//关键字查询 27 | } 28 | -------------------------------------------------------------------------------- /src/main/resources/static/component/bootstrap-table@1.15.3/extensions/reorder-rows/bootstrap-table-reorder-rows.css: -------------------------------------------------------------------------------- 1 | .reorder_rows_onDragClass td { 2 | background-color: #eee; 3 | -webkit-box-shadow: 11px 5px 12px 2px #333, 0 1px 0 #ccc inset, 0 -1px 0 #ccc inset; 4 | -webkit-box-shadow: 6px 3px 5px #555, 0 1px 0 #ccc inset, 0 -1px 0 #ccc inset; 5 | -moz-box-shadow: 6px 4px 5px 1px #555, 0 1px 0 #ccc inset, 0 -1px 0 #ccc inset; 6 | -box-shadow: 6px 4px 5px 1px #555, 0 1px 0 #ccc inset, 0 -1px 0 #ccc inset; 7 | } 8 | 9 | .reorder_rows_onDragClass td:last-child { 10 | -webkit-box-shadow: 8px 7px 12px 0 #333, 0 1px 0 #ccc inset, 0 -1px 0 #ccc inset; 11 | -webkit-box-shadow: 1px 8px 6px -4px #555, 0 1px 0 #ccc inset, 0 -1px 0 #ccc inset; 12 | -moz-box-shadow: 0 9px 4px -4px #555, 0 1px 0 #ccc inset, 0 -1px 0 #ccc inset, -1px 0 0 #ccc inset; 13 | -box-shadow: 0 9px 4px -4px #555, 0 1px 0 #ccc inset, 0 -1px 0 #ccc inset, -1px 0 0 #ccc inset; 14 | } 15 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/service/ResourcesService.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.service; 2 | 3 | import com.zyyglxt.dataobject.ResourcesDO; 4 | import com.zyyglxt.dataobject.ResourcesDOKey; 5 | import com.zyyglxt.dataobject.UserDO; 6 | 7 | import java.util.List; 8 | 9 | /** 10 | * @Author wanglx 11 | * @Date 2020/10/29 0029 11:58 12 | * @Version 1.0 13 | */ 14 | public interface ResourcesService { 15 | 16 | void deleteByPrimaryKey(ResourcesDO resourcesDO); 17 | 18 | void insertSelective(ResourcesDO record); 19 | 20 | ResourcesDO selectByPrimaryKey(ResourcesDOKey key); 21 | 22 | int updateByPrimaryKeySelective(ResourcesDO record); 23 | 24 | List selectAllResources(); 25 | 26 | List SelectMenuByRoleCode(UserDO userDO); 27 | 28 | List selectListByPath(String requestUrl); 29 | 30 | List SelectPermissionByRoleCode(UserDO userDO); 31 | 32 | List selectPres(); 33 | } 34 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/service/IndustrialDevelopSchoolService.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.service; 2 | 3 | import com.zyyglxt.dataobject.IndustrialDevelopSchool; 4 | import com.zyyglxt.dto.industrialDevelop.IndustrialDevelopSchoolDto; 5 | 6 | import java.util.List; 7 | 8 | /** 9 | *@Author lrt 10 | *@Date 2020/11/6 20:00 11 | *@Version 1.0 12 | **/ 13 | public interface IndustrialDevelopSchoolService{ 14 | 15 | 16 | int deleteByPrimaryKey(Integer itemid,String itemcode); 17 | 18 | int insert(IndustrialDevelopSchool record); 19 | 20 | int insertSelective(IndustrialDevelopSchool record); 21 | 22 | IndustrialDevelopSchool selectByPrimaryKey(Integer itemid,String itemcode); 23 | 24 | int updateByPrimaryKeySelective(IndustrialDevelopSchool record); 25 | 26 | int updateByPrimaryKey(IndustrialDevelopSchool record); 27 | 28 | List selectAll(); 29 | 30 | IndustrialDevelopSchoolDto selectByorgcode(); 31 | } 32 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/service/IDataRegulationService.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.service; 2 | 3 | import com.zyyglxt.dataobject.DataDO; 4 | import com.zyyglxt.dataobject.DataDOKey; 5 | import com.zyyglxt.dto.DataDto; 6 | import com.zyyglxt.dto.MainPageDto; 7 | 8 | import java.sql.Date; 9 | import java.util.List; 10 | 11 | /** 12 | * @Author huangtao 13 | * @Date 2020/10/29 10:17 14 | * @Version 1.0 15 | */ 16 | public interface IDataRegulationService { 17 | //查询一个政策法规 18 | DataDto selectRegulation(DataDOKey key); 19 | 20 | //查询所有政策法规 21 | List selectRegulationList(String dataStatus); 22 | 23 | //增加一个政策法规 24 | int insertRegulation(DataDO record); 25 | 26 | //删除一个政策法规 27 | int deleteRegulation(DataDOKey key); 28 | 29 | //修改政策法规 30 | int updateRegulation(DataDO record); 31 | 32 | int changeStatus(DataDOKey key, String dataDelayedRelease, String dataStatus); 33 | 34 | List selectForMainPage(); 35 | 36 | } 37 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dao/ResourcesDOMapper.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dao; 2 | 3 | import com.zyyglxt.dataobject.ResourcesDO; 4 | import com.zyyglxt.dataobject.ResourcesDOKey; 5 | import org.springframework.stereotype.Repository; 6 | 7 | import java.util.List; 8 | 9 | @Repository 10 | public interface ResourcesDOMapper { 11 | 12 | int deleteByPrimaryKey(ResourcesDOKey key); 13 | 14 | int insert(ResourcesDO record); 15 | 16 | int insertSelective(ResourcesDO record); 17 | 18 | ResourcesDO selectByPrimaryKey(ResourcesDOKey key); 19 | 20 | int updateByPrimaryKeySelective(ResourcesDO record); 21 | 22 | int updateByPrimaryKey(ResourcesDO record); 23 | 24 | List selectAllResources(); 25 | 26 | List SelectMenuByRoleCode(String itemcode); 27 | 28 | List selectListByPath(String requestUrl); 29 | 30 | List SelectPermissionByRoleCode(String itemcode); 31 | 32 | List selectPres(); 33 | } -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dao/HospSpecialtyRefDOMapper.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dao; 2 | 3 | import com.zyyglxt.dataobject.HospSpecialtyRefDO; 4 | import com.zyyglxt.dataobject.HospSpecialtyRefDOKey; 5 | 6 | import java.util.List; 7 | 8 | public interface HospSpecialtyRefDOMapper { 9 | 10 | int deleteByPrimaryKey(HospSpecialtyRefDOKey key); 11 | 12 | int insert(HospSpecialtyRefDO record); 13 | 14 | int insertSelective(HospSpecialtyRefDO record); 15 | 16 | HospSpecialtyRefDO selectByPrimaryKey(HospSpecialtyRefDOKey key); 17 | 18 | int updateByPrimaryKeySelective(HospSpecialtyRefDO record); 19 | 20 | int updateByPrimaryKey(HospSpecialtyRefDO record); 21 | 22 | HospSpecialtyRefDO selectHospBySpecialtyCode(String specialtyCode); 23 | 24 | int deleteBySpecialtyCode(String specialtyCode); 25 | 26 | List selectSpecialtyByHospCode(String hospCode); 27 | 28 | int updateBySpecialtyCodeSelective(HospSpecialtyRefDO hospSpecialtyRefDO); 29 | } -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/service/IChineseMedicineService.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.service; 2 | 3 | import com.zyyglxt.dataobject.ChineseMedicineDO; 4 | import com.zyyglxt.dataobject.ChineseMedicineDOKey; 5 | import com.zyyglxt.dto.ChineseMedicineDto; 6 | import com.zyyglxt.dto.StatusDto; 7 | 8 | import java.util.List; 9 | 10 | /** 11 | * @author qjc 12 | * @version 1.0 13 | * @date 2020/10/30 11:44 14 | */ 15 | public interface IChineseMedicineService { 16 | int addChineseMedicine(ChineseMedicineDO chineseMedicineDO); 17 | int updateChineseMedicine(ChineseMedicineDO chineseMedicineDO); 18 | int deleteChineseMedicine(ChineseMedicineDOKey chineseMedicineDOKey); 19 | List selectAllChineseMedicine(List chineseMedicineStatus); 20 | List searchChineseMedicine(String keyWord); 21 | List selectBySpecialtyCode(String specialtyCode); 22 | int updateStatus(StatusDto statusDto); 23 | } 24 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/service/IDataAnnouncementService.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.service; 2 | 3 | import com.zyyglxt.dataobject.DataDO; 4 | import com.zyyglxt.dataobject.DataDOKey; 5 | import com.zyyglxt.dto.DataDto; 6 | import com.zyyglxt.dto.MainPageDto; 7 | 8 | import java.sql.Date; 9 | import java.util.List; 10 | 11 | /** 12 | * @Author huangtao 13 | * @Date 2020/10/29 10:17 14 | * @Version 1.0 15 | */ 16 | public interface IDataAnnouncementService { 17 | //查询一个通知公告 18 | DataDto selectAnnouncement(DataDOKey key); 19 | 20 | //查询所有通知公告 21 | List selectAnnouncementList(String dataStatus); 22 | 23 | //增加一个通知公告 24 | int insertAnnouncement(DataDO record); 25 | 26 | //删除一个通知公告 27 | int deleteAnnouncement(DataDOKey key); 28 | 29 | //修改通知公告 30 | int updateAnnouncement(DataDO record); 31 | 32 | int changeStatus(DataDOKey key, String dataDelayedRelease, String dataStatus); 33 | 34 | List selectForMainPage(); 35 | 36 | } 37 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/service/IDataNewsService.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.service; 2 | 3 | import com.zyyglxt.dataobject.DataDO; 4 | import com.zyyglxt.dataobject.DataDOKey; 5 | import com.zyyglxt.dto.DataDto; 6 | import com.zyyglxt.error.BusinessException; 7 | 8 | import java.sql.Date; 9 | import java.util.List; 10 | 11 | /** 12 | * @Author huangtao 13 | * @Date 2020/10/29 10:17 14 | * @Version 1.0 15 | */ 16 | public interface IDataNewsService { 17 | //查询一个新闻信息 18 | DataDO selectNewsInf(DataDOKey key); 19 | 20 | //查询所有新闻信息 21 | List selectNewsInfList(String dataStatus); 22 | 23 | //查询所有新闻轮播图 24 | List selectNewsRotList(String dataStatus); 25 | 26 | //增加一个信息 27 | int insertNewsInf(DataDO record); 28 | 29 | //删除一个新闻信息 30 | int deleteNewsInf(DataDOKey key); 31 | 32 | //修改新闻信息 33 | int updateNewsInf(DataDO record); 34 | 35 | int changeStatus(DataDOKey key, String dataDelayedRelease, String dataStatus); 36 | 37 | } 38 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/service/IMovieTVService.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.service; 2 | 3 | import com.zyyglxt.dataobject.ChineseCulturalDO; 4 | import com.zyyglxt.dataobject.ChineseCulturalDOKey; 5 | import com.zyyglxt.dto.ChineseCulturalDto; 6 | import com.zyyglxt.error.BusinessException; 7 | 8 | import java.util.List; 9 | 10 | /** 11 | * Author:wangzh 12 | * Date: 2020/10/29 19:25 13 | * Version: 1.0 14 | * 电视电影业务 15 | */ 16 | public interface IMovieTVService { 17 | //查询一个电视电影 18 | ChineseCulturalDO getMovieTV(ChineseCulturalDOKey key); 19 | 20 | //查询所有电视电影 21 | List getMovieTVList(String chineseCulturalStatus); 22 | 23 | //增加一个电视电影 24 | int addMovieTV(ChineseCulturalDO record); 25 | 26 | //删除一个电视电影 27 | int removeMovieTV(ChineseCulturalDOKey key); 28 | 29 | //修改一个电视电影 30 | int updateMovieTV(ChineseCulturalDO record); 31 | 32 | //修改一个电视电影状态 33 | int changeMovieStatus(ChineseCulturalDOKey key, String chineseCulturalStatus); 34 | } 35 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/service/ICulturalRelicsService.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.service; 2 | 3 | import com.zyyglxt.dataobject.ChineseCulturalDO; 4 | import com.zyyglxt.dataobject.ChineseCulturalDOKey; 5 | import com.zyyglxt.dto.ChineseCulturalDto; 6 | 7 | import java.util.List; 8 | 9 | /** 10 | * Author:wangzh 11 | * Date: 2020/10/29 10:45 12 | * Version: 1.0 13 | * 文化古迹业务 14 | */ 15 | public interface ICulturalRelicsService { 16 | //查询一个文化古迹 17 | ChineseCulturalDO getCulturalRelics(ChineseCulturalDOKey key); 18 | 19 | //查询所有文化古迹 20 | List getCulturalRelicsList(String chineseCulturalStatus); 21 | 22 | //增加一个文化古迹 23 | int addCulturalRelics(ChineseCulturalDO record); 24 | 25 | //删除一个文化古迹 26 | int removeCulturalRelics(ChineseCulturalDOKey key); 27 | 28 | //修改一个文化古迹 29 | int updateCulturalRelics(ChineseCulturalDO record); 30 | 31 | //修改一个文化古迹状态 32 | int changeCulturalRelics(ChineseCulturalDOKey key, String chineseCulturalStatus); 33 | } 34 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/service/IndustrialDevelopMedMatService.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.service; 2 | 3 | import com.zyyglxt.dataobject.IndustrialDevelopMedMat; 4 | import com.zyyglxt.dto.StatusDto; 5 | import com.zyyglxt.dto.industrialDevelop.IndustrialDevelopMedMatDto; 6 | 7 | import java.util.List; 8 | 9 | /** 10 | *@Author lrt 11 | *@Date 2020/11/6 20:00 12 | *@Version 1.0 13 | **/ 14 | public interface IndustrialDevelopMedMatService{ 15 | 16 | 17 | int deleteByPrimaryKey(Integer itemid,String itemcode); 18 | 19 | int insert(IndustrialDevelopMedMat record); 20 | 21 | int insertSelective(IndustrialDevelopMedMat record); 22 | 23 | IndustrialDevelopMedMat selectByPrimaryKey(Integer itemid,String itemcode); 24 | 25 | int updateByPrimaryKeySelective(IndustrialDevelopMedMat record); 26 | 27 | int updateByPrimaryKey(IndustrialDevelopMedMat record); 28 | 29 | List selectMedMatByORGCode(); 30 | 31 | int updateStatus(StatusDto statusDto); 32 | } 33 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/service/IComicGameService.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.service; 2 | 3 | import com.zyyglxt.dataobject.ChineseCulturalDO; 4 | import com.zyyglxt.dataobject.ChineseCulturalDOKey; 5 | import com.zyyglxt.dto.ChineseCulturalDto; 6 | import com.zyyglxt.error.BusinessException; 7 | 8 | import java.util.List; 9 | 10 | /** 11 | * Author:wangzh 12 | * Date: 2020/10/29 19:27 13 | * Version: 1.0 14 | * 动漫游戏业务 15 | */ 16 | public interface IComicGameService { 17 | //查询一个动漫游戏 18 | ChineseCulturalDO getComicGame(ChineseCulturalDOKey key); 19 | 20 | //查询所有动漫游戏 21 | List getComicGameList(String chineseCulturalStatus); 22 | 23 | //增加一个动漫游戏 24 | int addComicGame(ChineseCulturalDO record); 25 | 26 | //删除一个动漫游戏 27 | int removeComicGame(ChineseCulturalDOKey key); 28 | 29 | //修改一个动漫游戏 30 | int updateComicGame(ChineseCulturalDO record); 31 | 32 | //修改一个动漫游戏状态 33 | int changeComicGameStatus(ChineseCulturalDOKey key, String chineseCulturalStatus); 34 | } 35 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dao/HospDOMapper.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dao; 2 | 3 | import com.zyyglxt.dataobject.HospDO; 4 | import com.zyyglxt.dataobject.HospDOKey; 5 | import com.zyyglxt.dto.HospDto; 6 | import com.zyyglxt.dto.StatusDto; 7 | 8 | import java.util.List; 9 | 10 | public interface HospDOMapper { 11 | 12 | int deleteByPrimaryKey(HospDOKey key); 13 | 14 | int insert(HospDO record); 15 | 16 | int insertSelective(HospDO record); 17 | 18 | HospDO selectByPrimaryKey(HospDOKey key); 19 | 20 | int updateByPrimaryKeySelective(HospDO record); 21 | 22 | int updateByPrimaryKeyWithBLOBs(HospDO record); 23 | 24 | int updateByPrimaryKey(HospDO record); 25 | 26 | List selectAllHosp(); 27 | 28 | List searchHosp(String keyWord); 29 | 30 | HospDto selectHospByItemCode(String itemCode); 31 | 32 | List selectByStatus(String status); 33 | 34 | int updateStatusByPrimaryKey(StatusDto statusDto); 35 | 36 | HospDto selectByOrgCode(String orgCode); 37 | 38 | } -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/service/HealthSciKnowDOService.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.service; 2 | 3 | import com.zyyglxt.dataobject.HealthSciKnowDO; 4 | import com.zyyglxt.dataobject.HealthSciKnowDOKey; 5 | import com.zyyglxt.error.BusinessException; 6 | import org.apache.ibatis.annotations.Param; 7 | 8 | import java.util.List; 9 | 10 | /** 11 | * @version 1.0 12 | * @Author huangwj 13 | * @time 2020/10/29 14:27 14 | */ 15 | public interface HealthSciKnowDOService { 16 | 17 | int insertSelective(HealthSciKnowDO record) ;//科普知识数据的添加 18 | int deleteByPrimaryKey(HealthSciKnowDOKey key);//科普知识数据的删除 19 | int updateByPrimaryKeySelective(HealthSciKnowDO record) ;//科普知识数据的修改 20 | HealthSciKnowDO selectByPrimaryKey(HealthSciKnowDOKey key);//通过id以及code查询某一条科普知识数据 21 | List selectAllHealthSciKnow(String scienceKnowledgeStatus);//查询所有科普知识所有数据 22 | int updateVisitNumHealthSciKnow(HealthSciKnowDOKey key); 23 | int changeStatusToSciKnow(HealthSciKnowDOKey key, String scienceKnowledgeStatus);//科普知识数据状态 24 | 25 | } 26 | 27 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/service/ITravelService.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.service; 2 | 3 | import com.zyyglxt.dataobject.ChineseCulturalDO; 4 | import com.zyyglxt.dataobject.ChineseCulturalDOKey; 5 | import com.zyyglxt.dataobject.FileDO; 6 | import com.zyyglxt.dto.ChineseCulturalDto; 7 | import com.zyyglxt.error.BusinessException; 8 | 9 | import java.util.List; 10 | 11 | /** 12 | * Author:wangzh 13 | * Date: 2020/10/29 19:41 14 | * Version: 1.0 15 | * 健康旅游信息业务 16 | */ 17 | public interface ITravelService { 18 | //查询一个健康旅游信息 19 | ChineseCulturalDO getTravel(ChineseCulturalDOKey key); 20 | 21 | //查询所有健康旅游信息 22 | List getTravelList(List chineseCulturalStatus); 23 | 24 | //增加一个健康旅游信息 25 | int addTravel(ChineseCulturalDO record); 26 | 27 | //删除一个健康旅游信息 28 | int removeTravel(ChineseCulturalDOKey key); 29 | 30 | //修改一个健康旅游信息 31 | int updateTravel(ChineseCulturalDO record); 32 | 33 | //修改一个健康旅游信息状态 34 | int changeTravelStatus(ChineseCulturalDOKey key, String chineseCulturalStatus); 35 | } 36 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dao/IndustrialDevelopSerProMapper.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dao; 2 | 3 | import com.zyyglxt.dataobject.IndustrialDevelopSerPro; 4 | import org.apache.ibatis.annotations.Mapper; 5 | import org.apache.ibatis.annotations.Param; 6 | 7 | import java.util.List; 8 | 9 | /** 10 | * @Author lrt 11 | * @Date 2020/11/10 11:20 12 | * @Version 1.0 13 | **/ 14 | @Mapper 15 | public interface IndustrialDevelopSerProMapper { 16 | int deleteByPrimaryKey(@Param("itemid") Integer itemid, @Param("itemcode") String itemcode); 17 | 18 | int insert(IndustrialDevelopSerPro record); 19 | 20 | int insertSelective(IndustrialDevelopSerPro record); 21 | 22 | IndustrialDevelopSerPro selectByPrimaryKey(@Param("itemid") Integer itemid, @Param("itemcode") String itemcode); 23 | 24 | int updateByPrimaryKeySelective(IndustrialDevelopSerPro record); 25 | 26 | int updateByPrimaryKey(IndustrialDevelopSerPro record); 27 | 28 | List selectAll(); 29 | 30 | List selectByorgcode(String orgCode); 31 | } -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/service/ICulturalVenuesService.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.service; 2 | 3 | import com.zyyglxt.dataobject.ChineseCulturalDO; 4 | import com.zyyglxt.dataobject.ChineseCulturalDOKey; 5 | import com.zyyglxt.dto.ChineseCulturalDto; 6 | import com.zyyglxt.error.BusinessException; 7 | 8 | import java.util.List; 9 | 10 | /** 11 | * Author:wangzh 12 | * Date: 2020/10/29 10:45 13 | * Version: 1.0 14 | * 文化场馆业务 15 | */ 16 | public interface ICulturalVenuesService { 17 | //查询一个文化场馆 18 | ChineseCulturalDO getCulturalVenues(ChineseCulturalDOKey key); 19 | 20 | //查询所有文化场馆 21 | List getCulturalVenuesList(String chineseCulturalStatus); 22 | 23 | //增加一个文化场馆 24 | int addCulturalVenues(ChineseCulturalDO record) ; 25 | 26 | //删除一个文化场馆 27 | int removeCulturalVenues(ChineseCulturalDOKey key); 28 | 29 | //修改一个文化场馆 30 | int updateCulturalVenues(ChineseCulturalDO record) ; 31 | 32 | //修改一个文化场馆状态 33 | int changeCulturalVenuesStatus(ChineseCulturalDOKey key, String chineseCulturalStatus); 34 | } 35 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dataobject/IndustrialDevelopExpertDO.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dataobject; 2 | 3 | import com.fasterxml.jackson.annotation.JsonFormat; 4 | import com.zyyglxt.dataobject.validation.ValidationGroups; 5 | import lombok.AllArgsConstructor; 6 | import lombok.Data; 7 | import lombok.NoArgsConstructor; 8 | 9 | import javax.validation.constraints.NotBlank; 10 | import java.util.Date; 11 | 12 | @Data 13 | @AllArgsConstructor 14 | @NoArgsConstructor 15 | public class IndustrialDevelopExpertDO extends IndustrialDevelopExpertDOKey { 16 | 17 | @NotBlank(message = "用户代码不能为空",groups = ValidationGroups.Insert.class) 18 | private String userCode; 19 | 20 | 21 | @NotBlank(message = "擅长领域不能为空",groups = ValidationGroups.Insert.class) 22 | private String filed; 23 | 24 | 25 | private String creater; 26 | 27 | 28 | @JsonFormat(timezone = "GMT+8") 29 | private Date itemcreateat; 30 | 31 | 32 | private String updater; 33 | 34 | 35 | @JsonFormat(timezone = "GMT+8") 36 | private Date itemupdateat; 37 | 38 | } -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/util/ApplicationContextHolder.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.util; 2 | 3 | 4 | 5 | import org.springframework.beans.BeansException; 6 | import org.springframework.context.ApplicationContext; 7 | import org.springframework.context.ApplicationContextAware; 8 | import org.springframework.stereotype.Component; 9 | 10 | @Component 11 | public class ApplicationContextHolder implements ApplicationContextAware { 12 | private static ApplicationContext applicationContext; 13 | 14 | @Override 15 | public void setApplicationContext(ApplicationContext ctx) throws BeansException { 16 | applicationContext = ctx; 17 | } 18 | 19 | 20 | public static ApplicationContext getApplicationContext() { 21 | return applicationContext; 22 | } 23 | 24 | 25 | public static T getBean(Class clazz) { 26 | return applicationContext.getBean(clazz); 27 | } 28 | 29 | 30 | @SuppressWarnings("unchecked") 31 | public static T getBean(String name) { 32 | return (T) applicationContext.getBean(name); 33 | } 34 | } -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/service/ICartoonAllusionsService.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.service; 2 | 3 | import com.zyyglxt.dataobject.ChineseCulturalDO; 4 | import com.zyyglxt.dataobject.ChineseCulturalDOKey; 5 | import com.zyyglxt.dto.ChineseCulturalDto; 6 | import com.zyyglxt.error.BusinessException; 7 | 8 | import java.util.List; 9 | 10 | /** 11 | * Author:wangzh 12 | * Date: 2020/10/29 19:27 13 | * Version: 1.0 14 | * 漫画典故业务 15 | */ 16 | public interface ICartoonAllusionsService { 17 | //查询一个漫画典故 18 | ChineseCulturalDO getCartoonAllusions(ChineseCulturalDOKey key); 19 | 20 | //查询所有漫画典故 21 | List getCartoonAllusionsList(String chineseCulturalStatus); 22 | 23 | //增加一个漫画典故 24 | int addCartoonAllusions(ChineseCulturalDO record); 25 | 26 | //删除一个漫画典故 27 | int removeCartoonAllusions(ChineseCulturalDOKey key); 28 | 29 | //修改一个漫画典故 30 | int updateCartoonAllusions(ChineseCulturalDO record); 31 | 32 | //修改一个漫画典故状态 33 | int changeCartoonAllusionsStatus(ChineseCulturalDOKey key, String chineseCulturalStatus); 34 | } 35 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/service/HealthCareFamPreDOService.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.service; 2 | 3 | import com.zyyglxt.dataobject.HealthCareFamPreDO; 4 | import com.zyyglxt.dataobject.HealthCareFamPreDOKey; 5 | import com.zyyglxt.dto.HealthCareFamPreDto; 6 | import com.zyyglxt.error.BusinessException; 7 | import org.apache.ibatis.annotations.Param; 8 | 9 | import java.util.List; 10 | 11 | /** 12 | * @version 1.0 13 | * @Author huangwj 14 | * @time 2020/10/29 14:24 15 | */ 16 | public interface HealthCareFamPreDOService { 17 | /* 18 | 中医药名称添加、删除、修改、查询实现接口 19 | **/ 20 | int insertSelective(HealthCareFamPreDO record) ; 21 | int deleteByPrimaryKey(HealthCareFamPreDOKey key); 22 | int updateByPrimaryKeySelective(HealthCareFamPreDO record) ; 23 | HealthCareFamPreDO selectByPrimaryKey(HealthCareFamPreDOKey key); 24 | List selectAllHealthCareFamPre(String status);//查询所有国医话健康所有数据 25 | int changeStatusToCareFam( HealthCareFamPreDOKey key, String status);//国医话健康数据状态 26 | int updateVisitNumHealthCareFamPre(HealthCareFamPreDOKey key); 27 | } 28 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dao/IndustrialDevelopBasestyleMapper.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dao; 2 | 3 | import com.zyyglxt.dataobject.IndustrialDevelopBasestyle; 4 | import com.zyyglxt.dto.industrialDevelop.IndustrialDevelopBasestyleDto; 5 | import org.apache.ibatis.annotations.Mapper; 6 | import org.apache.ibatis.annotations.Param; 7 | 8 | import java.util.List; 9 | 10 | /** 11 | *@Author lrt 12 | *@Date 2020/11/6 20:00 13 | *@Version 1.0 14 | **/ 15 | @Mapper 16 | public interface IndustrialDevelopBasestyleMapper { 17 | int deleteByPrimaryKey(@Param("itemid") Integer itemid, @Param("itemcode") String itemcode); 18 | 19 | int insert(IndustrialDevelopBasestyle record); 20 | 21 | int insertSelective(IndustrialDevelopBasestyle record); 22 | 23 | IndustrialDevelopBasestyle selectByPrimaryKey(@Param("itemid") Integer itemid, @Param("itemcode") String itemcode); 24 | 25 | int updateByPrimaryKeySelective(IndustrialDevelopBasestyle record); 26 | 27 | int updateByPrimaryKey(IndustrialDevelopBasestyle record); 28 | 29 | List selectAll(String orgCode); 30 | } -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/service/IndustrialDevelopTecSerOrgService.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.service; 2 | 3 | import com.zyyglxt.dataobject.IndustrialDevelopTecSerOrg; 4 | import com.zyyglxt.dto.industrialDevelop.IndustrialDevelopTecSerOrgDto; 5 | 6 | import java.util.List; 7 | 8 | /** 9 | *@Author lrt 10 | *@Date 2020/11/6 20:00 11 | *@Version 1.0 12 | **/ 13 | public interface IndustrialDevelopTecSerOrgService{ 14 | 15 | 16 | int deleteByPrimaryKey(Integer itemid,String itemcode); 17 | 18 | int insert(IndustrialDevelopTecSerOrg record); 19 | 20 | int insertSelective(IndustrialDevelopTecSerOrg record); 21 | 22 | IndustrialDevelopTecSerOrg selectByPrimaryKey(Integer itemid,String itemcode); 23 | 24 | IndustrialDevelopTecSerOrgDto selectByOrgcode(); 25 | 26 | int updateByPrimaryKeySelective(IndustrialDevelopTecSerOrg record); 27 | 28 | int updateByPrimaryKey(IndustrialDevelopTecSerOrg record); 29 | 30 | List selectAll(String type); 31 | 32 | IndustrialDevelopTecSerOrg selectByOrgNameAndCode(String orgName, String orgCode); 33 | } 34 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dao/SpecialtyDOMapper.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dao; 2 | 3 | import com.zyyglxt.dataobject.SpecialtyDO; 4 | import com.zyyglxt.dataobject.SpecialtyDOKey; 5 | import com.zyyglxt.dto.SpecialtyDto; 6 | import com.zyyglxt.dto.StatusDto; 7 | 8 | import java.util.List; 9 | 10 | public interface SpecialtyDOMapper { 11 | 12 | int deleteByPrimaryKey(SpecialtyDOKey key); 13 | 14 | int insert(SpecialtyDO record); 15 | 16 | int insertSelective(SpecialtyDO record); 17 | 18 | SpecialtyDO selectByPrimaryKey(SpecialtyDOKey key); 19 | 20 | int updateByPrimaryKeySelective(SpecialtyDO record); 21 | 22 | int updateByPrimaryKeyWithBLOBs(SpecialtyDO record); 23 | 24 | int updateByPrimaryKey(SpecialtyDO record); 25 | 26 | List selectAllSpecialty(); 27 | 28 | List searchSpecialty(String keyWord); 29 | 30 | SpecialtyDO selectSpecialtyByItemCode(String itemCode); 31 | 32 | List selectByHospCode(String hospCode); 33 | 34 | List selectByStatus(String status); 35 | 36 | int updateStatusByPrimaryKey(StatusDto statusDto); 37 | } -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/service/UserService.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.service; 2 | 3 | import com.zyyglxt.dataobject.UserDO; 4 | import com.zyyglxt.dataobject.UserDOKey; 5 | import com.zyyglxt.dto.UserDto; 6 | import com.zyyglxt.error.BusinessException; 7 | 8 | import java.util.List; 9 | 10 | /** 11 | * @Author wanglx 12 | * @Date 2020/10/28 0028 21:21 13 | * @Version 1.0 14 | */ 15 | 16 | public interface UserService { 17 | 18 | void deleteUserByUsername(UserDto userDtO); 19 | 20 | int insert(UserDO record); 21 | 22 | void insertUserSelective(UserDO record) ; 23 | 24 | UserDO selectByPrimaryKey(UserDOKey key); 25 | 26 | void updateByPrimaryKeySelective(UserDO userDO); 27 | 28 | void resetPassword(UserDO userDO); 29 | 30 | int updateByPrimaryKeyWithBLOBs(UserDO record); 31 | 32 | int updateByPrimaryKey(UserDO record); 33 | 34 | List selectAllUser(String itemcode, String username); 35 | 36 | List selectAllUser3(String itemcode, String username, String type); 37 | 38 | int deleteByUsername(String username); 39 | 40 | UserDO selectByName(String username); 41 | 42 | } 43 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/service/IHospService.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.service; 2 | 3 | import com.zyyglxt.dataobject.HospDO; 4 | import com.zyyglxt.dataobject.HospDOKey; 5 | import com.zyyglxt.dto.HospDto; 6 | import com.zyyglxt.dto.StatusDto; 7 | 8 | import java.util.List; 9 | 10 | /** 11 | * @author qjc 12 | * @version 1.0 13 | * @date 2020/10/29 10:21 14 | */ 15 | public interface IHospService { 16 | //增加医院记录 17 | int addHosp(HospDO hospDO); 18 | //更新医院记录 19 | int updateHosp(HospDO hospDO); 20 | //删除医院记录 21 | int deleteHosp(HospDOKey hospDOKey); 22 | //查询医院记录根据前端传来多个状态 23 | List selectAllHosp(List hospitalStatus); 24 | //查询医院记录通过关键字,即搜索 25 | List searchHosp(String keyWord); 26 | //查询医院记录通过itemCode 27 | HospDto selectHospByItemCode(String itemCode); 28 | //查询医院记录通过一个状态 29 | List selectByStatus(String status); 30 | //更新医院记录状态 31 | int updateStatus(StatusDto statusDto); 32 | //查询全部医院记录 33 | List selectAllNoStatus(); 34 | //查询医院记录通过OrgCode 35 | HospDto selectByOrgCode(String orgCode); 36 | } 37 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/error/BusinessException.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.error; 2 | 3 | /** 4 | * Author:wangzh 5 | * Date: 2020/11/1 14:54 6 | * Version: 1.0 7 | */ 8 | //包装器业务异常类实现 9 | public class BusinessException extends RuntimeException implements CommonError { 10 | 11 | private CommonError commonError; 12 | 13 | //直接接收EmBusinessError的传参用于构造业务异常 14 | public BusinessException(CommonError commonError) { 15 | super();//必要的 16 | this.commonError = commonError; 17 | } 18 | 19 | //接收自定义errMsg的方式构造业务异常 20 | public BusinessException(String errMsg, CommonError commonError) { 21 | super(); 22 | this.commonError = commonError; 23 | this.commonError.setErrMsg(errMsg); 24 | } 25 | 26 | @Override 27 | public int getErrCode() { 28 | return this.commonError.getErrCode(); 29 | } 30 | 31 | @Override 32 | public String getErrMsg() { 33 | return this.commonError.getErrMsg(); 34 | } 35 | 36 | @Override 37 | public CommonError setErrMsg(String errMsg) { 38 | this.commonError.setErrMsg(errMsg); 39 | return this; 40 | } 41 | 42 | } 43 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/config/webAppConfig/WebAppConfig.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.config.webAppConfig; 2 | 3 | 4 | import com.zyyglxt.interceptor.LogInterceptor; 5 | import org.springframework.context.annotation.Bean; 6 | import org.springframework.context.annotation.Configuration; 7 | import org.springframework.web.servlet.config.annotation.InterceptorRegistry; 8 | import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry; 9 | import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; 10 | 11 | 12 | //注册拦截器 13 | @Configuration 14 | public class WebAppConfig implements WebMvcConfigurer { 15 | @Override 16 | public void addInterceptors(InterceptorRegistry registry) { 17 | // 拦截所有请求 18 | registry.addInterceptor(LogInterceptor()).addPathPatterns("/**"); 19 | } 20 | 21 | @Bean 22 | public LogInterceptor LogInterceptor() { 23 | return new LogInterceptor(); 24 | } 25 | 26 | // @Override 27 | // public void addResourceHandlers(ResourceHandlerRegistry registry) { 28 | // registry.addResourceHandler("/uploads/**").addResourceLocations("file:D:/uploads/"); 29 | // } 30 | } -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/service/IndustrialDevelopSaleDrugService.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.service; 2 | 3 | import com.zyyglxt.dataobject.IndustrialDevelopSaleDrug; 4 | import com.zyyglxt.dto.industrialDevelop.IndustrialDevelopSaleDrugDto; 5 | import com.zyyglxt.error.BusinessException; 6 | import org.apache.ibatis.annotations.Param; 7 | 8 | import java.util.List; 9 | 10 | /** 11 | *@Author lrt 12 | *@Date 2020/11/6 20:00 13 | *@Version 1.0 14 | **/ 15 | public interface IndustrialDevelopSaleDrugService{ 16 | 17 | 18 | int deleteByPrimaryKey(Integer itemid,String itemcode); 19 | 20 | int insert(IndustrialDevelopSaleDrug record) ;; 21 | 22 | int insertSelective(IndustrialDevelopSaleDrug record); 23 | 24 | IndustrialDevelopSaleDrug selectByPrimaryKey(Integer itemid,String itemcode); 25 | 26 | int updateByPrimaryKeySelective(IndustrialDevelopSaleDrug record) ;; 27 | 28 | int updateByPrimaryKey(IndustrialDevelopSaleDrug record); 29 | 30 | List selectAllSaleDrug(String status);//查询所有售药记录信息 31 | 32 | int changeStatusToSaleDrug(IndustrialDevelopSaleDrug key, String status); 33 | 34 | } 35 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dataobject/ResourcesDO.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dataobject; 2 | 3 | import lombok.Data; 4 | 5 | import javax.validation.constraints.NotBlank; 6 | import javax.validation.constraints.NotEmpty; 7 | import java.util.ArrayList; 8 | import java.util.Date; 9 | import java.util.List; 10 | @Data 11 | public class ResourcesDO extends ResourcesDOKey { 12 | @NotBlank(message = "resourceName不能为空") 13 | private String resourceName; 14 | @NotBlank(message = "resourceType不能为空:权限:p,菜单:m") 15 | private String resourceType; 16 | 17 | private String resourcePcode; 18 | 19 | private String resourceLevel; 20 | @NotBlank(message = "resourceUrl不能为空") 21 | private String resourceUrl; 22 | 23 | private String resourceDescription; 24 | 25 | private Integer sort; 26 | 27 | private String creater; 28 | 29 | private Date itemcreateat; 30 | 31 | private String updater; 32 | 33 | private Date itemupdateat; 34 | 35 | /** 36 | * 存储子菜单集合 37 | */ 38 | private List resourcesDOList = new ArrayList<>(); 39 | //@NotBlank(message = "roleNmae不能为空") 40 | private String roleNmae; 41 | } -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dao/IndustrialDevelopSchoolMapper.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dao; 2 | 3 | import com.zyyglxt.dataobject.IndustrialDevelopSchool; 4 | import com.zyyglxt.dto.industrialDevelop.IndustrialDevelopSchoolDto; 5 | import org.apache.ibatis.annotations.Mapper; 6 | import org.apache.ibatis.annotations.Param; 7 | 8 | import java.util.List; 9 | 10 | /** 11 | *@Author lrt 12 | *@Date 2020/11/6 20:00 13 | *@Version 1.0 14 | **/ 15 | @Mapper 16 | public interface IndustrialDevelopSchoolMapper { 17 | int deleteByPrimaryKey(@Param("itemid") Integer itemid, @Param("itemcode") String itemcode); 18 | 19 | int insert(IndustrialDevelopSchool record); 20 | 21 | int insertSelective(IndustrialDevelopSchool industrialDevelopSchool); 22 | 23 | 24 | 25 | IndustrialDevelopSchool selectByPrimaryKey(@Param("itemid") Integer itemid, @Param("itemcode") String itemcode); 26 | 27 | int updateByPrimaryKeySelective(IndustrialDevelopSchool record); 28 | 29 | int updateByPrimaryKey(IndustrialDevelopSchool record); 30 | 31 | List selectAll(); 32 | 33 | IndustrialDevelopSchoolDto selectByorgcode(String orgcode); 34 | } 35 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/service/IPostService.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.service; 2 | 3 | import com.zyyglxt.dataobject.FileDO; 4 | import com.zyyglxt.dataobject.PostDO; 5 | import com.zyyglxt.dataobject.PostDOKey; 6 | import com.zyyglxt.dataobject.PostFileDO; 7 | import com.zyyglxt.dto.PostDto; 8 | import com.zyyglxt.dto.PostMainPageDto; 9 | 10 | import java.util.List; 11 | 12 | /** 13 | * @Author huangtao 14 | * @Date 2021/1/1 22:16 15 | * @Version 1.0 16 | */ 17 | public interface IPostService { 18 | void delPost(PostDOKey key); 19 | 20 | void createPost(PostDO record); 21 | 22 | void updatePost(PostDO record); 23 | 24 | List getPost(String postDataStatus); 25 | 26 | List selectClerk(String postDepartment); 27 | 28 | List selectDirector(String postDepartment); 29 | 30 | List getSend(String receiverId); 31 | 32 | List getDeputyDirector(String postOpinion1); 33 | 34 | PostDO maxNum(); 35 | 36 | List getPostFileForMain(); 37 | 38 | List getPostForMainPage(String status); 39 | 40 | PostDto selOneWithFile(Integer itemid, String itemcode); 41 | } 42 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/service/IndustrialDevelopChiMedService.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.service; 2 | 3 | import com.zyyglxt.dataobject.IndustrialDevelopChiMed; 4 | import com.zyyglxt.dataobject.OrganizationDO; 5 | import com.zyyglxt.dto.industrialDevelop.IndustrialDevelopChiMedDto; 6 | import org.apache.ibatis.annotations.Param; 7 | 8 | import java.util.List; 9 | 10 | /** 11 | * @Author lrt 12 | * @Date 2020/11/6 20:00 13 | * @Version 1.0 14 | **/ 15 | public interface IndustrialDevelopChiMedService { 16 | 17 | 18 | int deleteByPrimaryKey(Integer itemid, String itemcode); 19 | 20 | int insert(IndustrialDevelopChiMed record); 21 | 22 | int insertSelective(IndustrialDevelopChiMed record); 23 | 24 | IndustrialDevelopChiMed selectByPrimaryKey(Integer itemid, String itemcode); 25 | 26 | int updateByPrimaryKeySelective(IndustrialDevelopChiMed record); 27 | 28 | int updateByPrimaryKey(IndustrialDevelopChiMed record); 29 | 30 | List selectAll( String type); 31 | 32 | IndustrialDevelopChiMedDto selectByOrgCode(); 33 | 34 | IndustrialDevelopChiMed selectByOrgNameAndCode(String orgName, String orgCode); 35 | } 36 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/service/impl/DictServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.service.impl; 2 | 3 | import com.zyyglxt.dao.DictMapper; 4 | import com.zyyglxt.dataobject.DictItem; 5 | import com.zyyglxt.service.IDictService; 6 | import org.springframework.stereotype.Service; 7 | 8 | import javax.annotation.Resource; 9 | import java.util.HashMap; 10 | import java.util.List; 11 | import java.util.Map; 12 | 13 | /** 14 | * @Author lrt 15 | * @Date 2020/11/2 16:47 16 | * @Version 1.0 17 | **/ 18 | @Service 19 | public class DictServiceImpl implements IDictService { 20 | @Resource 21 | DictMapper dictMapper; 22 | 23 | @Override 24 | public List getDictListByCode(String dictCode) { 25 | 26 | return dictMapper.selectDictItemByCode(dictCode); 27 | } 28 | 29 | @Override 30 | public Map getDictMapByCode(String dictCode) { 31 | Map map = new HashMap<>(); 32 | List list = dictMapper.selectDictItemByCode(dictCode); 33 | for (DictItem item: list) 34 | { 35 | map.put(item.getCode(),item.getValue()); 36 | } 37 | return map; 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/service/IIntangibleCulturalHeritageService.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.service; 2 | 3 | import com.zyyglxt.dataobject.ChineseCulturalDO; 4 | import com.zyyglxt.dataobject.ChineseCulturalDOKey; 5 | import com.zyyglxt.dto.ChineseCulturalDto; 6 | import com.zyyglxt.error.BusinessException; 7 | 8 | import java.util.List; 9 | 10 | /** 11 | * Author:wangzh 12 | * Date: 2020/10/29 10:45 13 | * Version: 1.0 14 | * 非物质文化遗产业务 15 | */ 16 | public interface IIntangibleCulturalHeritageService { 17 | //查询一个非物质文化遗产 18 | ChineseCulturalDO getIntangibleCulturalHeritage(ChineseCulturalDOKey key); 19 | 20 | //查询所有非物质文化遗产 21 | List getIntangibleCulturalHeritageList(String chineseCulturalStatus); 22 | 23 | //增加一个非物质文化遗产 24 | int addIntangibleCulturalHeritage(ChineseCulturalDO record); 25 | 26 | //删除一个非物质文化遗产 27 | int removeIntangibleCulturalHeritage(ChineseCulturalDOKey key); 28 | 29 | //修改一个非物质文化遗产 30 | int updateIntangibleCulturalHeritage(ChineseCulturalDO record) ; 31 | 32 | //修改一个非物质文化遗产状态 33 | int changeIntangibleCulturalHeritageStatus(ChineseCulturalDOKey key, String chineseCulturalStatus); 34 | } 35 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/service/IReceiptDOService.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.service; 2 | 3 | import com.zyyglxt.dataobject.PostFileDO; 4 | import com.zyyglxt.dataobject.ReceiptDO; 5 | import com.zyyglxt.dataobject.ReceiptDOKey; 6 | import com.zyyglxt.dto.PostDto; 7 | import com.zyyglxt.dto.ReceiptDto; 8 | import com.zyyglxt.dto.ReceiptMainDto; 9 | 10 | import java.util.List; 11 | 12 | /** 13 | * @version 1.0 14 | * @Author huangwj 15 | * @time 2020/12/26 14:23 16 | */ 17 | public interface IReceiptDOService { 18 | int insertSelective(ReceiptDO record); 19 | int deleteByPrimaryKey(ReceiptDOKey key); 20 | int updateByPrimaryKeySelective(ReceiptDO record); 21 | ReceiptDO selectByPrimaryKey(ReceiptDOKey key); 22 | List getDeputyDirector(String receiptReasonl); 23 | List selectAllReceipt(String receivingDataStatus);//查询所有收文管理数据 24 | int changeStatusToReceipt( ReceiptDOKey key ,String receivingDataStatus);//收文管理数据状态 25 | //查询为首页定制的五条数据 26 | List selectForMain(); 27 | //查询一个带文件的 28 | ReceiptDto selectOneWithFile(Integer itemid, String itemcode); 29 | List getReceiptFileForMain(); 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dao/IndustrialDevelopMedMatMapper.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dao; 2 | 3 | import com.zyyglxt.dataobject.IndustrialDevelopMedMat; 4 | import com.zyyglxt.dto.StatusDto; 5 | import com.zyyglxt.dto.industrialDevelop.IndustrialDevelopMedMatDto; 6 | import org.apache.ibatis.annotations.Mapper; 7 | import org.apache.ibatis.annotations.Param; 8 | 9 | import java.util.List; 10 | 11 | /** 12 | * @Author lrt 13 | * @Date 2020/11/8 22:46 14 | * @Version 1.0 15 | **/ 16 | @Mapper 17 | public interface IndustrialDevelopMedMatMapper { 18 | int deleteByPrimaryKey(@Param("itemid") Integer itemid, @Param("itemcode") String itemcode); 19 | 20 | int insert(IndustrialDevelopMedMat record); 21 | 22 | int insertSelective(IndustrialDevelopMedMat record); 23 | 24 | IndustrialDevelopMedMat selectByPrimaryKey(@Param("itemid") Integer itemid, @Param("itemcode") String itemcode); 25 | 26 | int updateByPrimaryKeySelective(IndustrialDevelopMedMat record); 27 | 28 | int updateByPrimaryKey(IndustrialDevelopMedMat record); 29 | 30 | List selectMedMatByORGCode(String ORGCode); 31 | 32 | int updateStatusByPrimaryKey(StatusDto statusDto); 33 | } -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dao/IndustrialDevelopExpertDtoMapper.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dao; 2 | 3 | import com.zyyglxt.dataobject.UserDO; 4 | import com.zyyglxt.dataobject.UserRoleRefDO; 5 | import com.zyyglxt.dto.industrialDevelop.IndustrialDevelopExpertDto; 6 | import org.apache.ibatis.annotations.Mapper; 7 | import org.apache.ibatis.annotations.Param; 8 | 9 | import java.util.List; 10 | /** 11 | * @Author zs 12 | * @Date 2020/11/15 17:15 13 | * @Version 1.0 14 | **/ 15 | @Mapper 16 | public interface IndustrialDevelopExpertDtoMapper { 17 | //删除专家信息 18 | int deleteByPrimaryKey(@Param("itemcode") String itemcode); 19 | //新增专家信息 20 | int insertSelective(IndustrialDevelopExpertDto record); 21 | int insertUserRoleRefSelective(UserRoleRefDO record); 22 | //查看专家个人信息 23 | UserDO selectByPrimaryKey(@Param("itemcode") String itemcode); 24 | 25 | String selectByUserCode(@Param("userCode") String userCode); 26 | //重置密码 27 | int resetPassword(@Param("userCode") String userCode,@Param("password") String password); 28 | //查看所有专家信息 29 | List selectAll(); 30 | 31 | int deleteByUserCode(@Param("userCode") String userCode); 32 | } 33 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dao/IndustrialDevelopSciAchiDOMapper.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dao; 2 | 3 | import com.zyyglxt.dataobject.IndustrialDevelopSciAchiDO; 4 | import com.zyyglxt.dataobject.IndustrialDevelopSciAchiDOKey; 5 | import com.zyyglxt.dto.industrialDevelop.IndustrialDevelopSciAchiDODto; 6 | import org.apache.ibatis.annotations.Param; 7 | 8 | import java.util.List; 9 | 10 | public interface IndustrialDevelopSciAchiDOMapper { 11 | int deleteByPrimaryKey(IndustrialDevelopSciAchiDOKey key); 12 | 13 | int insert(IndustrialDevelopSciAchiDO record); 14 | 15 | int insertSelective(IndustrialDevelopSciAchiDO record); 16 | 17 | IndustrialDevelopSciAchiDO selectByPrimaryKey(IndustrialDevelopSciAchiDOKey key); 18 | 19 | int updateByPrimaryKeySelective(IndustrialDevelopSciAchiDO record); 20 | 21 | int updateByPrimaryKey(IndustrialDevelopSciAchiDO record); 22 | 23 | int updateVisitNumByItemidAndItemcode(IndustrialDevelopSciAchiDOKey record); 24 | 25 | List selectByPage(@Param("start") int start,@Param("end") int end); 26 | 27 | List selectAll(@Param("orgCode") String orgCode); 28 | } 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dataobject/UserDO.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dataobject; 2 | 3 | import lombok.AllArgsConstructor; 4 | import lombok.Data; 5 | import lombok.NoArgsConstructor; 6 | 7 | import javax.validation.constraints.Email; 8 | import java.util.Date; 9 | 10 | @Data 11 | @NoArgsConstructor 12 | @AllArgsConstructor 13 | public class UserDO extends UserDOKey { 14 | 15 | private String orgCode; 16 | 17 | private String username; 18 | 19 | private String password; 20 | 21 | private String salt; 22 | 23 | private String name; 24 | 25 | private String gender; 26 | 27 | private String idcardType; 28 | 29 | private String idcardNo; 30 | 31 | @Email(message = "邮箱格式不正确") 32 | private String email; 33 | 34 | private String state; 35 | 36 | private String contacts; 37 | 38 | private String mobilephone; 39 | 40 | private String creater; 41 | 42 | private Date itemcreateat; 43 | 44 | private String updater; 45 | 46 | private Date itemupdateat; 47 | 48 | private String cityid; 49 | 50 | private Integer type; 51 | 52 | private String portrait; 53 | 54 | private String roleName; 55 | 56 | 57 | 58 | } 59 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/controller/dict/DictController.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.controller.dict; 2 | 3 | import com.zyyglxt.error.EmBusinessError; 4 | import com.zyyglxt.response.ResponseData; 5 | import com.zyyglxt.service.IDictService; 6 | import io.swagger.annotations.Api; 7 | import io.swagger.annotations.ApiParam; 8 | import org.springframework.web.bind.annotation.*; 9 | 10 | import javax.annotation.Resource; 11 | 12 | /** 13 | * @Author lrt 14 | * @Date 2020/11/2 16:25 15 | * @Version 1.0 16 | **/ 17 | @Api(tags = "获取字典值") 18 | @RestController 19 | @RequestMapping(value = "dict") 20 | public class DictController { 21 | @Resource 22 | IDictService dictService; 23 | 24 | @RequestMapping(value = "/getDictByCode",method = RequestMethod.POST) 25 | public ResponseData getDictByCode(@ApiParam(value = "字典代码,对应dict表中的dict.DICT_CODE") @RequestParam String code){ 26 | ResponseData responseData = new ResponseData(); 27 | responseData.setCode(EmBusinessError.success.getErrCode()); 28 | responseData.setMsg(EmBusinessError.success.getErrMsg()); 29 | responseData.setData(dictService.getDictListByCode(code)); 30 | return responseData; 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dao/FamPreDOMapper.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dao; 2 | 3 | import com.zyyglxt.dataobject.ChineseCulturalDOKey; 4 | import com.zyyglxt.dataobject.FamPreDO; 5 | import com.zyyglxt.dataobject.FamPreDOKey; 6 | import org.apache.ibatis.annotations.Mapper; 7 | import org.apache.ibatis.annotations.Param; 8 | import org.springframework.stereotype.Repository; 9 | 10 | import java.util.List; 11 | 12 | 13 | @Mapper 14 | @Repository 15 | public interface FamPreDOMapper { 16 | 17 | int deleteByPrimaryKey(@Param("key") FamPreDOKey key); 18 | 19 | int insert(FamPreDO record); 20 | 21 | int insertSelective(FamPreDO record); 22 | 23 | FamPreDO selectByPrimaryKey(FamPreDOKey key); 24 | 25 | int updateByPrimaryKeySelective(FamPreDO record); 26 | 27 | int updateByPrimaryKeyWithBLOBs(FamPreDO record); 28 | 29 | int updateByPrimaryKey(FamPreDO record); 30 | 31 | List selectAllFamPre(@Param("status") String status);//查询所有历史名方 32 | 33 | int changeStatusToFamPre(@Param("key") FamPreDOKey key , @Param("status") String status);//历史名方数据状态 34 | 35 | int updateVisitNumFamPre(FamPreDOKey key); 36 | 37 | List searchFamPre(String keyWord); 38 | } -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dao/RequestReportDOMapper.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dao; 2 | 3 | import com.zyyglxt.dataobject.RequestReportDO; 4 | import com.zyyglxt.dataobject.RequestReportDOKey; 5 | import com.zyyglxt.dto.RequestReportDto; 6 | import org.apache.ibatis.annotations.Mapper; 7 | import org.apache.ibatis.annotations.Param; 8 | import org.springframework.stereotype.Repository; 9 | 10 | import java.util.List; 11 | 12 | @Mapper 13 | @Repository 14 | public interface RequestReportDOMapper { 15 | int deleteByPrimaryKey(RequestReportDOKey key); 16 | 17 | int insert(RequestReportDO record); 18 | 19 | int insertSelective(RequestReportDO record); 20 | 21 | RequestReportDO selectByPrimaryKey(RequestReportDOKey key); 22 | 23 | int updateByPrimaryKeySelective(RequestReportDO record); 24 | 25 | int updateByPrimaryKeyWithBLOBs(RequestReportDO record); 26 | 27 | int updateByPrimaryKey(RequestReportDO record); 28 | 29 | 30 | List selectAllReport(@Param("reportDataStatus") String reportDataStatus);//查询所有请示报告数据 31 | 32 | int changeStatusToReport(@Param("key") RequestReportDOKey key , @Param("reportDataStatus") String reportDataStatus);//请示报告数据状态 33 | 34 | } -------------------------------------------------------------------------------- /src/main/resources/static/component/bootstrap-table@1.15.3/extensions/reorder-rows/bootstrap-table-reorder-rows.min.css: -------------------------------------------------------------------------------- 1 | /** 2 | * bootstrap-table - An extended table to integration with some of the most widely used CSS frameworks. (Supports Bootstrap, Semantic UI, Bulma, Material Design, Foundation) 3 | * 4 | * @version v1.17.1 5 | * @homepage https://bootstrap-table.com 6 | * @author wenzhixin (http://wenzhixin.net.cn/) 7 | * @license MIT 8 | */ 9 | 10 | .reorder_rows_onDragClass td{background-color:#eee;-webkit-box-shadow:11px 5px 12px 2px #333,0 1px 0 #ccc inset,0 -1px 0 #ccc inset;-webkit-box-shadow:6px 3px 5px #555,0 1px 0 #ccc inset,0 -1px 0 #ccc inset;-moz-box-shadow:6px 4px 5px 1px #555,0 1px 0 #ccc inset,0 -1px 0 #ccc inset;-box-shadow:6px 4px 5px 1px #555,0 1px 0 #ccc inset,0 -1px 0 #ccc inset}.reorder_rows_onDragClass td:last-child{-webkit-box-shadow:8px 7px 12px 0 #333,0 1px 0 #ccc inset,0 -1px 0 #ccc inset;-webkit-box-shadow:1px 8px 6px -4px #555,0 1px 0 #ccc inset,0 -1px 0 #ccc inset;-moz-box-shadow:0 9px 4px -4px #555,0 1px 0 #ccc inset,0 -1px 0 #ccc inset,-1px 0 0 #ccc inset;-box-shadow:0 9px 4px -4px #555,0 1px 0 #ccc inset,0 -1px 0 #ccc inset,-1px 0 0 #ccc inset} -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dataobject/ChineseMedicineDO.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dataobject; 2 | 3 | import lombok.Data; 4 | 5 | import javax.validation.constraints.NotBlank; 6 | import java.util.Date; 7 | 8 | @Data 9 | public class ChineseMedicineDO extends ChineseMedicineDOKey { 10 | 11 | @NotBlank(message = "专家名字不能为空") 12 | private String chineseMedicineName; 13 | 14 | private String chineseMedicineType; 15 | 16 | private String chineseMedicineTitle; 17 | 18 | @NotBlank(message = "所在科室不能为空") 19 | private String deptCode; 20 | 21 | @NotBlank(message = "所在地点不能为空") 22 | private String hospCode; 23 | 24 | private String visitTime; 25 | 26 | private String phone; 27 | 28 | @NotBlank(message = "专家简介不能为空") 29 | private String expertBriefIntroduce; 30 | 31 | @NotBlank(message = "专家介绍不能为空") 32 | private String expertIntroduce; 33 | 34 | @NotBlank(message = "主要就诊不能为空") 35 | private String mainVisit; 36 | 37 | private String medicineRecords; 38 | 39 | private String chineseMedicineStatus; 40 | 41 | private String creater; 42 | 43 | private Date itemcreateat; 44 | 45 | private String updater; 46 | 47 | private Date itemupdateat; 48 | } -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/service/ITraditionalSchoolService.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.service; 2 | 3 | import com.zyyglxt.dataobject.ChineseCulturalDO; 4 | import com.zyyglxt.dataobject.ChineseCulturalDOKey; 5 | import com.zyyglxt.dataobject.CulturalResourcesDO; 6 | import com.zyyglxt.dataobject.CulturalResourcesDOKey; 7 | import com.zyyglxt.dto.CulturalResourcesDto; 8 | import com.zyyglxt.error.BusinessException; 9 | 10 | import java.util.List; 11 | 12 | /** 13 | * Author:wangzh 14 | * Date: 2020/10/29 10:45 15 | * Version: 1.0 16 | * 中医流派业务 17 | */ 18 | public interface ITraditionalSchoolService { 19 | //查询一个中医流派 20 | CulturalResourcesDO getTraditionalSchool(CulturalResourcesDOKey key); 21 | 22 | //查询所有中医流派 23 | List getTraditionalSchoolList(String chineseCulturalStatus); 24 | 25 | //增加一个中医流派 26 | int addTraditionalSchool(CulturalResourcesDO record); 27 | 28 | //删除一个中医流派 29 | int removeTraditionalSchool(CulturalResourcesDOKey key); 30 | 31 | //修改一个中医流派 32 | int updateTraditionalSchool(CulturalResourcesDO record); 33 | 34 | //修改一个中医流派状态 35 | int changeTraditionalSchoolStatus(CulturalResourcesDOKey key, String chineseCulturalStatus); 36 | } 37 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/service/ITraditionalDoctorService.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.service; 2 | 3 | import com.zyyglxt.dataobject.ChineseCulturalDO; 4 | import com.zyyglxt.dataobject.ChineseCulturalDOKey; 5 | import com.zyyglxt.dataobject.CulturalResourcesDO; 6 | import com.zyyglxt.dataobject.CulturalResourcesDOKey; 7 | import com.zyyglxt.dto.CulturalResourcesDto; 8 | import com.zyyglxt.error.BusinessException; 9 | 10 | import java.util.List; 11 | 12 | /** 13 | * Author:wangzh 14 | * Date: 2020/10/29 10:45 15 | * Version: 1.0 16 | * 历代名家业务 17 | */ 18 | public interface ITraditionalDoctorService { 19 | //查询一个历代名家 20 | CulturalResourcesDO getTraditionalDoctor(CulturalResourcesDOKey key); 21 | 22 | //查询所有历代名家 23 | List getTraditionalDoctorList(String chineseCulturalStatus); 24 | 25 | //增加一个历代名家 26 | int addTraditionalDoctor(CulturalResourcesDO record); 27 | 28 | //删除一个历代名家 29 | int removeTraditionalDoctor(CulturalResourcesDOKey key); 30 | 31 | //修改一个历代名家 32 | int updateTraditionalDoctor(CulturalResourcesDO record); 33 | 34 | //修改一个历代名家状态 35 | int changeTraditionalDoctorStatus(CulturalResourcesDOKey key, String chineseCulturalStatus); 36 | 37 | } 38 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dao/CulturalResourcesDOMapper.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dao; 2 | 3 | import com.zyyglxt.dataobject.CulturalResourcesDO; 4 | import com.zyyglxt.dataobject.CulturalResourcesDOKey; 5 | import com.zyyglxt.dto.CulturalResourcesDto; 6 | import org.apache.ibatis.annotations.Param; 7 | 8 | import java.util.List; 9 | 10 | public interface CulturalResourcesDOMapper { 11 | 12 | int deleteByPrimaryKey(CulturalResourcesDOKey key); 13 | 14 | int insert(CulturalResourcesDO record); 15 | 16 | int insertSelective(CulturalResourcesDO record); 17 | 18 | CulturalResourcesDO selectByPrimaryKey(@Param("key")CulturalResourcesDOKey key, @Param("chineseCulturalType") String chineseCulturalType); 19 | 20 | List selectCulturalResourcesList(@Param("type") String chineseCulturalType, @Param("status") String chineseCulturalStatus); 21 | 22 | int updateByPrimaryKeySelective(CulturalResourcesDO record); 23 | 24 | int changeStatusByPrimaryKeySelective(@Param("key") CulturalResourcesDOKey key, @Param("status") String chineseCulturalStatus); 25 | 26 | int updateByPrimaryKeyWithBLOBs(CulturalResourcesDO record); 27 | 28 | int updateByPrimaryKey(CulturalResourcesDO record); 29 | } -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dataobject/SpecialtyDO.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dataobject; 2 | 3 | import lombok.Data; 4 | import org.springframework.stereotype.Repository; 5 | 6 | import javax.validation.constraints.NotBlank; 7 | import javax.validation.constraints.Size; 8 | import java.util.Date; 9 | 10 | @Data 11 | public class SpecialtyDO extends SpecialtyDOKey { 12 | @NotBlank(message = "科室名称不能为空") 13 | private String specialtyName; 14 | 15 | @NotBlank(message = "科室级别不能为空") 16 | private String specialtyLevel; 17 | 18 | private String specialtyDisease; 19 | 20 | @Size(max = 60) 21 | @NotBlank(message = "科室简介不能为空") 22 | private String specialtyBriefIntroduce; 23 | 24 | private String specialtyIntroduce; 25 | 26 | private String specialtyPhone; 27 | 28 | private String specialtyAddressPro; 29 | 30 | private String specialtyAddressCity; 31 | 32 | private String specialtyAddressCounty; 33 | 34 | private String specialtyAddress; 35 | 36 | private String specialtyLink; 37 | 38 | private String specialtyStatus; 39 | 40 | private String creater; 41 | 42 | private Date itemcreateat; 43 | 44 | private String updater; 45 | 46 | private Date itemupdateat; 47 | } -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/service/HealthCareChineseMedicineDOService.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.service; 2 | 3 | import com.zyyglxt.dataobject.FileDO; 4 | import com.zyyglxt.dataobject.HealthCareChineseMedicineDO; 5 | import com.zyyglxt.dataobject.HealthCareChineseMedicineDOKey; 6 | import com.zyyglxt.dto.HealthCareChineseMedicineDto; 7 | import com.zyyglxt.error.BusinessException; 8 | import org.apache.ibatis.annotations.Param; 9 | 10 | import java.util.List; 11 | 12 | /** 13 | * @version 1.0 14 | * @Author huangwj 15 | * @time 2020/10/29 12:22 16 | */ 17 | public interface HealthCareChineseMedicineDOService { 18 | /* 19 | 中医药科普知识添加、删除、修改、查询实现接口 20 | **/ 21 | int insert(HealthCareChineseMedicineDO record) ; 22 | 23 | int deleteByPrimaryKey(HealthCareChineseMedicineDOKey key); 24 | 25 | int updateByPrimaryKeySelective(HealthCareChineseMedicineDO record) ; 26 | 27 | HealthCareChineseMedicineDO selectByPrimaryKey(HealthCareChineseMedicineDOKey key); 28 | 29 | List selectAllHealthCareChineseMedicine(String chineseMedicineStatus);//查询所有中医药常识数据 30 | 31 | int changeStatusToMedicine( HealthCareChineseMedicineDOKey key , String chineseMedicineStatus);//中医药数据状态 32 | 33 | } 34 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/service/ITraditionalCulturalService.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.service; 2 | 3 | import com.zyyglxt.dataobject.ChineseCulturalDO; 4 | import com.zyyglxt.dataobject.ChineseCulturalDOKey; 5 | import com.zyyglxt.dataobject.CulturalResourcesDO; 6 | import com.zyyglxt.dataobject.CulturalResourcesDOKey; 7 | import com.zyyglxt.dto.CulturalResourcesDto; 8 | import com.zyyglxt.error.BusinessException; 9 | 10 | import java.util.List; 11 | 12 | /** 13 | * Author:wangzh 14 | * Date: 2020/10/29 10:45 15 | * Version: 1.0 16 | * 中医医史业务 17 | */ 18 | public interface ITraditionalCulturalService { 19 | //查询一个中医医史 20 | CulturalResourcesDO getTraditionalCultural(CulturalResourcesDOKey key); 21 | 22 | //查询所有中医医史 23 | List getTraditionalCulturalList(String chineseCulturalStatus); 24 | 25 | //增加一个中医医史 26 | int addTraditionalCultural(CulturalResourcesDO record); 27 | 28 | //删除一个中医医史 29 | int removeTraditionalCultural(CulturalResourcesDOKey key); 30 | 31 | //修改一个中医医史 32 | int updateTraditionalCultural(CulturalResourcesDO record); 33 | 34 | //修改一个中医医史状态 35 | int changeTraditionalCulturalStatus(CulturalResourcesDOKey key, String chineseCulturalStatus); 36 | } 37 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/service/IAuditService.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.service; 2 | 3 | import com.zyyglxt.dto.HospDto; 4 | import com.zyyglxt.dto.industrialDevelop.AuditDto; 5 | import com.zyyglxt.dto.industrialDevelop.IndustrialDevelopChiMedDto; 6 | import com.zyyglxt.dto.industrialDevelop.IndustrialDevelopSchoolDto; 7 | import com.zyyglxt.dto.industrialDevelop.IndustrialDevelopTecSerOrgDto; 8 | 9 | import java.util.List; 10 | 11 | /** 12 | * @Author lrt 13 | * @Date 2020/11/16 9:20 14 | * @Version 1.0 15 | **/ 16 | public interface IAuditService { 17 | 18 | List getAll(); 19 | 20 | List getAllByType(String type); 21 | 22 | IndustrialDevelopChiMedDto getDetailChiMed(Integer itemid, String itemcode); 23 | 24 | IndustrialDevelopTecSerOrgDto getDetailTecSerOrg(Integer itemid, String itemcode); 25 | 26 | IndustrialDevelopSchoolDto getDetailSchool(Integer itemid, String itemcode); 27 | 28 | HospDto getDetailHospital(Integer itemid, String itemcode); 29 | 30 | int changeChiMedStatus(AuditDto record); 31 | 32 | int changeTecSerOrgStatus(AuditDto record); 33 | 34 | int changeSchoolStatus(AuditDto record); 35 | 36 | int changeHospitalStatus(AuditDto record); 37 | 38 | 39 | } 40 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dao/ChineseMedicineDOMapper.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dao; 2 | 3 | import com.zyyglxt.dataobject.ChineseMedicineDO; 4 | import com.zyyglxt.dataobject.ChineseMedicineDOKey; 5 | import com.zyyglxt.dataobject.ChineseMedicineDOWithBLOBs; 6 | import com.zyyglxt.dto.ChineseMedicineDto; 7 | import com.zyyglxt.dto.StatusDto; 8 | 9 | import java.util.List; 10 | 11 | public interface ChineseMedicineDOMapper { 12 | int deleteByPrimaryKey(ChineseMedicineDOKey key); 13 | 14 | int insert(ChineseMedicineDO record); 15 | 16 | int insertSelective(ChineseMedicineDO record); 17 | 18 | ChineseMedicineDO selectByPrimaryKey(ChineseMedicineDOKey key); 19 | 20 | int updateByPrimaryKeySelective(ChineseMedicineDO record); 21 | 22 | int updateByPrimaryKeyWithBLOBs(ChineseMedicineDOWithBLOBs record); 23 | 24 | int updateByPrimaryKey(ChineseMedicineDO record); 25 | 26 | List selectAllChineseMedicine(); 27 | 28 | List searchChineseMedicine(String keyWord); 29 | 30 | List selectBySpecialtyCode(String specialtyCode); 31 | 32 | List selectByStatus(String status); 33 | 34 | int updateStatusByPrimaryKey(StatusDto statusDto); 35 | } -------------------------------------------------------------------------------- /src/main/resources/static/css/dataNewsrotations.css: -------------------------------------------------------------------------------- 1 | .input-group-text { 2 | background-color: #D60000; 3 | font-family: 'Microsoft YaHei ', 'Microsoft YaHei', sans-serif; 4 | font-weight: 400; 5 | font-style: normal; 6 | font-size: 12px; 7 | color: #FFFFFF; 8 | border: none; 9 | border-radius: 4px; 10 | border-top-left-radius: 0px; 11 | border-bottom-left-radius: 0px; 12 | /* width: 64px; */ 13 | /* height: 37px; */ 14 | /* background: inherit; */ 15 | } 16 | .input-text { 17 | margin-top: 6px; 18 | } 19 | 20 | .atext { 21 | margin-top: 5px; 22 | margin-left: 11px; 23 | padding-right: 20px; 24 | align-self: center; 25 | padding-left: 20px; 26 | z-index: 1; 27 | } 28 | 29 | a{ 30 | color: black; 31 | text-decoration: none; 32 | } 33 | a:link{ 34 | color: black; 35 | text-decoration: none; 36 | } 37 | a:visited{ 38 | color: black; 39 | text-decoration: none; 40 | } 41 | a:hover{ 42 | color: black; 43 | text-decoration: none; 44 | /*background-color: #fafafa;*/ 45 | } 46 | a:active{ 47 | color: black; 48 | text-decoration: none; 49 | } 50 | .reC{ 51 | background-color: white; 52 | } 53 | .addC{ 54 | background-color: red; 55 | } -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/config/handler/CustomizeAuthenticationEntryPoint.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.config.handler; 2 | 3 | import com.alibaba.fastjson.JSON; 4 | import com.zyyglxt.error.EmBusinessError; 5 | import com.zyyglxt.util.JsonResult; 6 | import com.zyyglxt.util.ResultTool; 7 | import org.springframework.security.core.AuthenticationException; 8 | import org.springframework.security.web.AuthenticationEntryPoint; 9 | import org.springframework.stereotype.Component; 10 | 11 | import javax.servlet.http.HttpServletRequest; 12 | import javax.servlet.http.HttpServletResponse; 13 | import java.io.IOException; 14 | 15 | /** 16 | * @Description: 匿名用户访问无权限资源时的异常 17 | */ 18 | @Component 19 | public class CustomizeAuthenticationEntryPoint implements AuthenticationEntryPoint { 20 | @Override 21 | public void commence(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, AuthenticationException e) throws IOException { 22 | JsonResult result = ResultTool.fail(EmBusinessError.USER_NOT_LOGIN); 23 | httpServletResponse.setContentType("text/json;charset=utf-8"); 24 | httpServletResponse.getWriter().write(JSON.toJSONString(result)); 25 | httpServletResponse.sendRedirect("/userLogin"); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/config/EhCacheConfig.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.config; 2 | 3 | import org.ehcache.CacheManager; 4 | import org.ehcache.config.builders.CacheConfigurationBuilder; 5 | import org.ehcache.config.builders.CacheManagerBuilder; 6 | import org.ehcache.config.builders.ExpiryPolicyBuilder; 7 | import org.ehcache.config.builders.ResourcePoolsBuilder; 8 | import org.springframework.context.annotation.Bean; 9 | import org.springframework.context.annotation.Configuration; 10 | 11 | import java.time.Duration; 12 | 13 | /** 14 | * @author wzh 15 | * @version 1.0 16 | * @date 2021/2/7 3:53 下午 17 | */ 18 | @Configuration 19 | public class EhCacheConfig { 20 | @Bean 21 | public CacheManager cacheManager() { 22 | CacheManager cacheManager = CacheManagerBuilder.newCacheManagerBuilder() 23 | .withCache("mainPageData", 24 | CacheConfigurationBuilder.newCacheConfigurationBuilder(Object.class, Object.class, 25 | ResourcePoolsBuilder.heap(1000L)) 26 | .withExpiry(ExpiryPolicyBuilder.timeToLiveExpiration(Duration.ofMinutes(20)))) 27 | .build(); 28 | cacheManager.init(); 29 | return cacheManager; 30 | } 31 | 32 | } 33 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dao/OrganizationDOMapper.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dao; 2 | import org.apache.ibatis.annotations.Param; 3 | 4 | import com.zyyglxt.dataobject.OrganizationDO; 5 | import org.springframework.stereotype.Component; 6 | 7 | import java.util.List; 8 | 9 | @Component 10 | public interface OrganizationDOMapper { 11 | 12 | int deleteByPrimaryKey(Integer itemid); 13 | 14 | int deleteByNameAndCode(@Param("orgName") String orgName, @Param("orgCode") String orgCode); 15 | 16 | int insert(OrganizationDO record); 17 | 18 | int insertSelective(OrganizationDO record); 19 | 20 | OrganizationDO selectByPrimaryKey(String orgCode); 21 | 22 | List selectAllOrgByAuditStatus(); 23 | 24 | List queryAllOrgByAuditStatus(); 25 | 26 | OrganizationDO selectByOrgNameAndCode(@Param("orgName") String orgName, @Param("orgCode")String orgCode); 27 | 28 | OrganizationDO selectByOrgName(String orgName); 29 | 30 | int updateByPrimaryKeySelective(OrganizationDO record); 31 | 32 | int updateByOrgCode(@Param("updated")OrganizationDO updated,@Param("orgCode")String orgCode); 33 | 34 | int updateByPrimaryKey(OrganizationDO record); 35 | 36 | OrganizationDO selectByItemCode(String itemCode); 37 | } 38 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dataobject/IndustrialDevelopExpertRefDO.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dataobject; 2 | 3 | import com.fasterxml.jackson.annotation.JsonFormat; 4 | import com.zyyglxt.dataobject.validation.ValidationGroups; 5 | import lombok.AllArgsConstructor; 6 | import lombok.Data; 7 | import lombok.NoArgsConstructor; 8 | import lombok.ToString; 9 | 10 | import javax.validation.constraints.NotBlank; 11 | import java.util.Date; 12 | 13 | @Data 14 | @NoArgsConstructor 15 | @AllArgsConstructor 16 | @ToString 17 | public class IndustrialDevelopExpertRefDO extends IndustrialDevelopExpertRefDOKey { 18 | 19 | @NotBlank(message = "专家代码不能为空", groups = ValidationGroups.Insert.class) 20 | private String expertCode; 21 | 22 | 23 | @NotBlank(message = "课题代码不能为空", groups = ValidationGroups.Insert.class) 24 | private String topicCode; 25 | 26 | private String exmaineStatus; 27 | 28 | private String submitStatus; 29 | 30 | private String score; 31 | 32 | private String opinion; 33 | 34 | 35 | private String creater; 36 | 37 | 38 | @JsonFormat(timezone = "GMT+8") 39 | private Date itemcreateat; 40 | 41 | 42 | private String updater; 43 | 44 | 45 | @JsonFormat(timezone = "GMT+8") 46 | private Date itemupdateat; 47 | 48 | } -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dto/ExmaineDto.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dto; 2 | 3 | import com.fasterxml.jackson.annotation.JsonFormat; 4 | import com.zyyglxt.dataobject.IndustrialDevelopExpertRefDO; 5 | import com.zyyglxt.dataobject.validation.ValidationGroups; 6 | import lombok.AllArgsConstructor; 7 | import lombok.Data; 8 | import lombok.NoArgsConstructor; 9 | import lombok.ToString; 10 | import lombok.experimental.Accessors; 11 | 12 | import javax.validation.constraints.NotBlank; 13 | import javax.validation.constraints.NotNull; 14 | import java.util.Date; 15 | 16 | /** 17 | * Author:wangzh 18 | * Date: 2020/11/21 12:57 19 | * Version: 1.0 20 | */ 21 | @Data 22 | @NoArgsConstructor 23 | @AllArgsConstructor 24 | @Accessors(chain = true) 25 | @ToString 26 | public class ExmaineDto extends IndustrialDevelopExpertRefDO { 27 | private String projectNo; 28 | private String projectName; 29 | private String disciplineCode; 30 | private String disciplineName; 31 | private String applicant; 32 | private String company; 33 | private String postalAddress; 34 | private String postalCode; 35 | private String contactCode; 36 | private String email; 37 | private Date applicationDate; 38 | private String filePath; 39 | private String fileName; 40 | } 41 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/config/handler/CustomizeLogoutSuccessHandler.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.config.handler; 2 | 3 | import com.alibaba.fastjson.JSON; 4 | import com.zyyglxt.dao.UserDOMapper; 5 | import com.zyyglxt.util.JsonResult; 6 | import com.zyyglxt.util.ResultTool; 7 | import org.springframework.beans.factory.annotation.Autowired; 8 | import org.springframework.security.core.Authentication; 9 | import org.springframework.security.web.authentication.logout.LogoutSuccessHandler; 10 | import org.springframework.stereotype.Component; 11 | 12 | import javax.servlet.http.HttpServletRequest; 13 | import javax.servlet.http.HttpServletResponse; 14 | import java.io.IOException; 15 | 16 | /** 17 | * @Description: 登出成功处理逻辑 18 | */ 19 | @Component 20 | public class CustomizeLogoutSuccessHandler implements LogoutSuccessHandler { 21 | @Autowired 22 | UserDOMapper userDOMapper; 23 | 24 | @Override 25 | public void onLogoutSuccess(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, Authentication authentication) throws IOException { 26 | JsonResult result = ResultTool.success(); 27 | httpServletResponse.setContentType("text/json;charset=utf-8"); 28 | httpServletResponse.getWriter().write(JSON.toJSONString(result)); 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/config/Swagger2Config.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.config; 2 | 3 | import org.springframework.context.annotation.Bean; 4 | import org.springframework.context.annotation.Configuration; 5 | import springfox.documentation.service.ApiInfo; 6 | import springfox.documentation.service.Contact; 7 | import springfox.documentation.spi.DocumentationType; 8 | import springfox.documentation.spring.web.plugins.Docket; 9 | import springfox.documentation.swagger2.annotations.EnableSwagger2; 10 | 11 | import java.util.ArrayList; 12 | 13 | /** 14 | * Author:wangzh 15 | * Date: 2020/11/4 10:17 16 | * Version: 1.0 17 | */ 18 | @EnableSwagger2 19 | @Configuration 20 | public class Swagger2Config { 21 | @Bean 22 | public Docket myDocket(){ 23 | return new Docket(DocumentationType.SWAGGER_2).apiInfo(apiInfo()); 24 | } 25 | 26 | private ApiInfo apiInfo(){ 27 | Contact contact = new Contact("admin","admin","admin"); 28 | return new ApiInfo( 29 | "中医药管理系统接口", 30 | "接口描述", 31 | "v0.1", 32 | "null", 33 | contact, 34 | "Apache 2.0", 35 | "http://www.apache.org/license/LICENSE-2.0", 36 | new ArrayList<>() 37 | ); 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dao/IndustrialDevelopChiMedMapper.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dao; 2 | 3 | import com.zyyglxt.dataobject.IndustrialDevelopChiMed; 4 | import com.zyyglxt.dto.industrialDevelop.IndustrialDevelopChiMedDto; 5 | import org.apache.ibatis.annotations.Mapper; 6 | import org.apache.ibatis.annotations.Param; 7 | 8 | import java.util.List; 9 | 10 | /** 11 | *@Author lrt 12 | *@Date 2020/11/6 20:00 13 | *@Version 1.0 14 | **/ 15 | @Mapper 16 | public interface IndustrialDevelopChiMedMapper { 17 | int deleteByPrimaryKey(@Param("itemid") Integer itemid, @Param("itemcode") String itemcode); 18 | 19 | int insert(IndustrialDevelopChiMed record); 20 | 21 | int insertSelective(IndustrialDevelopChiMed record); 22 | 23 | IndustrialDevelopChiMed selectByPrimaryKey(@Param("itemid") Integer itemid, @Param("itemcode") String itemcode); 24 | 25 | int updateByPrimaryKeySelective(IndustrialDevelopChiMed record); 26 | 27 | int updateByPrimaryKey(IndustrialDevelopChiMed record); 28 | 29 | List selectAll(String type); 30 | 31 | IndustrialDevelopChiMedDto selectByOrgCode(@Param("orgCode") String orgCode); 32 | 33 | IndustrialDevelopChiMed selectByOrgNameAndCode( @Param("name") String name, @Param("orgCode") String orgCode); 34 | } 35 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/service/IExmaineService.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.service; 2 | 3 | import com.zyyglxt.dataobject.IndustrialDevelopExpertRefDO; 4 | import com.zyyglxt.dto.ExmaineDto; 5 | import com.zyyglxt.dto.industrialDevelop.IndustrialDevelopTopicDODto; 6 | 7 | import java.util.List; 8 | 9 | /** 10 | * Author:wangzh 11 | * Date: 2020/11/21 13:17 12 | * Version: 1.0 13 | */ 14 | public interface IExmaineService { 15 | int deleteByPrimaryKey(Integer itemid, String itemcode); 16 | 17 | int insert(IndustrialDevelopExpertRefDO record); 18 | 19 | int insertSelective(IndustrialDevelopExpertRefDO record); 20 | 21 | IndustrialDevelopExpertRefDO selectByPrimaryKey(Integer itemid, String itemcode); 22 | 23 | int updateByPrimaryKeySelective(IndustrialDevelopExpertRefDO record); 24 | 25 | int updateByPrimaryKey(IndustrialDevelopExpertRefDO record); 26 | 27 | List selectAll(); 28 | 29 | List selectByExpertCode(String expertCode); 30 | 31 | List selectByTopicCode(String topicCode); 32 | 33 | int deleteByTopicCode(String topicCode); 34 | 35 | //查询课题和分配专家状态--分配专家 36 | List topicAndExpertStatus(); 37 | 38 | int delExpertTopic(IndustrialDevelopExpertRefDO expertRefDO); 39 | } 40 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/config/handler/CustomizeAccessDeniedHandler.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.config.handler; 2 | 3 | import com.alibaba.fastjson.JSON; 4 | import com.zyyglxt.error.EmBusinessError; 5 | import com.zyyglxt.util.JsonResult; 6 | import com.zyyglxt.util.ResultTool; 7 | import org.springframework.security.access.AccessDeniedException; 8 | import org.springframework.security.web.access.AccessDeniedHandler; 9 | import org.springframework.stereotype.Component; 10 | 11 | import javax.servlet.ServletException; 12 | import javax.servlet.http.HttpServletRequest; 13 | import javax.servlet.http.HttpServletResponse; 14 | import java.io.IOException; 15 | 16 | /** 17 | * @Description: 权限拒绝处理逻辑 18 | */ 19 | @Component 20 | public class CustomizeAccessDeniedHandler implements AccessDeniedHandler { 21 | 22 | @Override 23 | public void handle(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, AccessDeniedException e) throws IOException, ServletException { 24 | httpServletResponse.setStatus(HttpServletResponse.SC_FORBIDDEN); 25 | JsonResult result = ResultTool.fail(EmBusinessError.NO_PERMISSION); 26 | httpServletResponse.setContentType("text/json;charset=utf-8"); 27 | httpServletResponse.getWriter().write(JSON.toJSONString(result)); 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dao/HealthSciKnowDOMapper.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dao; 2 | 3 | import com.zyyglxt.dataobject.HealthCareFamPreDOKey; 4 | import com.zyyglxt.dataobject.HealthSciKnowDO; 5 | import com.zyyglxt.dataobject.HealthSciKnowDOKey; 6 | import org.apache.ibatis.annotations.Mapper; 7 | import org.apache.ibatis.annotations.Param; 8 | import org.springframework.stereotype.Repository; 9 | 10 | import java.util.List; 11 | 12 | @Mapper 13 | @Repository 14 | public interface HealthSciKnowDOMapper { 15 | 16 | int deleteByPrimaryKey(@Param("key") HealthSciKnowDOKey key); 17 | 18 | int insert(HealthSciKnowDO record); 19 | 20 | int insertSelective(HealthSciKnowDO record); 21 | 22 | HealthSciKnowDO selectByPrimaryKey(HealthSciKnowDOKey key); 23 | 24 | int updateByPrimaryKeySelective(HealthSciKnowDO record); 25 | 26 | int updateByPrimaryKeyWithBLOBs(HealthSciKnowDO record); 27 | 28 | int updateByPrimaryKey(HealthSciKnowDO record); 29 | 30 | List selectAllHealthSciKnow(@Param("scienceKnowledgeStatus") String scienceKnowledgeStatus);//查询所有科普知识所有数据 31 | 32 | int updateVisitNumHealthSciKnow(HealthSciKnowDOKey key); 33 | 34 | int changeStatusToSciKnow(@Param("key") HealthSciKnowDOKey key,@Param("scienceKnowledgeStatus") String scienceKnowledgeStatus);//科普知识数据状态 35 | 36 | } -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/config/handler/CustomizeSessionInformationExpiredStrategy.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.config.handler; 2 | 3 | import com.alibaba.fastjson.JSON; 4 | import com.zyyglxt.error.EmBusinessError; 5 | import com.zyyglxt.util.JsonResult; 6 | import com.zyyglxt.util.ResultTool; 7 | import org.springframework.security.web.session.SessionInformationExpiredEvent; 8 | import org.springframework.security.web.session.SessionInformationExpiredStrategy; 9 | import org.springframework.stereotype.Component; 10 | 11 | import javax.servlet.ServletException; 12 | import javax.servlet.http.HttpServletResponse; 13 | import java.io.IOException; 14 | 15 | /** 16 | * @Description: 会话信息过期策略 17 | */ 18 | @Component 19 | public class CustomizeSessionInformationExpiredStrategy implements SessionInformationExpiredStrategy { 20 | @Override 21 | public void onExpiredSessionDetected(SessionInformationExpiredEvent sessionInformationExpiredEvent) throws IOException, ServletException { 22 | JsonResult result = ResultTool.fail(EmBusinessError.USER_ACCOUNT_USE_BY_OTHERS); 23 | HttpServletResponse httpServletResponse = sessionInformationExpiredEvent.getResponse(); 24 | httpServletResponse.setContentType("text/json;charset=utf-8"); 25 | httpServletResponse.getWriter().write(JSON.toJSONString(result)); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dao/HealthCareFamPreDOMapper.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dao; 2 | 3 | import com.zyyglxt.dataobject.FamPreDOKey; 4 | import com.zyyglxt.dataobject.HealthCareFamPreDO; 5 | import com.zyyglxt.dataobject.HealthCareFamPreDOKey; 6 | import com.zyyglxt.dto.HealthCareFamPreDto; 7 | import org.apache.ibatis.annotations.Mapper; 8 | import org.apache.ibatis.annotations.Param; 9 | import org.springframework.stereotype.Repository; 10 | 11 | import java.util.List; 12 | 13 | @Mapper 14 | @Repository 15 | public interface HealthCareFamPreDOMapper { 16 | 17 | int deleteByPrimaryKey(@Param("key")HealthCareFamPreDOKey key); 18 | 19 | int insert(HealthCareFamPreDO record); 20 | 21 | int insertSelective(HealthCareFamPreDO record); 22 | 23 | HealthCareFamPreDO selectByPrimaryKey(HealthCareFamPreDOKey key); 24 | 25 | int updateByPrimaryKeySelective(HealthCareFamPreDO record); 26 | 27 | int updateByPrimaryKeyWithBLOBs(HealthCareFamPreDO record); 28 | 29 | int updateByPrimaryKey(HealthCareFamPreDO record); 30 | 31 | List selectAllHealthCareFamPre(@Param("status") String status);//查询所有国医话健康所有数据 32 | 33 | int updateVisitNumHealthCareFamPre(HealthCareFamPreDOKey key); 34 | 35 | int changeStatusToCareFam(@Param("key") HealthCareFamPreDOKey key,@Param("status") String status);//国医话健康数据状态 36 | } -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dao/IndustrialDevelopTecSerOrgMapper.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dao; 2 | 3 | import com.zyyglxt.dataobject.IndustrialDevelopTecSerOrg; 4 | import com.zyyglxt.dto.industrialDevelop.IndustrialDevelopTecSerOrgDto; 5 | import org.apache.ibatis.annotations.Mapper; 6 | import org.apache.ibatis.annotations.Param; 7 | 8 | import java.util.List; 9 | 10 | /** 11 | *@Author lrt 12 | *@Date 2020/11/6 20:00 13 | *@Version 1.0 14 | **/ 15 | @Mapper 16 | public interface IndustrialDevelopTecSerOrgMapper { 17 | int deleteByPrimaryKey(@Param("itemid") Integer itemid, @Param("itemcode") String itemcode); 18 | 19 | int insert(IndustrialDevelopTecSerOrg record); 20 | 21 | int insertSelective(IndustrialDevelopTecSerOrg record); 22 | 23 | IndustrialDevelopTecSerOrg selectByPrimaryKey(@Param("itemid") Integer itemid, @Param("itemcode") String itemcode); 24 | 25 | IndustrialDevelopTecSerOrgDto selectByOrgcode(@Param("orgCode") String orgCode); 26 | 27 | int updateByPrimaryKeySelective(IndustrialDevelopTecSerOrg record); 28 | 29 | int updateByPrimaryKey(IndustrialDevelopTecSerOrg record); 30 | 31 | List selectAll(@Param("type") String type); 32 | 33 | IndustrialDevelopTecSerOrg selectByOrgNameAndCode(@Param("orgName") String orgName, @Param("orgCode")String orgCode); 34 | } 35 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dao/ChineseCulturalDOMapper.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dao; 2 | 3 | import com.zyyglxt.dataobject.ChineseCulturalDO; 4 | import com.zyyglxt.dataobject.ChineseCulturalDOKey; 5 | import com.zyyglxt.dto.ChineseCulturalDto; 6 | import org.apache.ibatis.annotations.Param; 7 | 8 | import java.util.List; 9 | 10 | public interface ChineseCulturalDOMapper { 11 | 12 | int deleteByPrimaryKey(@Param("key") ChineseCulturalDOKey key); 13 | 14 | 15 | int insert(ChineseCulturalDO record); 16 | 17 | int insertSelective(ChineseCulturalDO record); 18 | 19 | ChineseCulturalDO selectByPrimaryKey(@Param("key") ChineseCulturalDOKey key , @Param("chineseCulturalType") String chineseCulturalType); 20 | 21 | List selectChineseCulturalList(@Param("type") String chineseCulturalType, @Param("status") String chineseCulturalStatus); 22 | 23 | int updateByPrimaryKeySelective(@Param("key")ChineseCulturalDOKey key ,@Param("chineseCulturalDO") ChineseCulturalDO record); 24 | 25 | //做逻辑删除,科员和综合处处长删除的时候,实际是将这个资源的状态改为已下架, 26 | // 处长的审核也可以使用这个方法。 27 | int changeStatusByPrimaryKeySelective(@Param("key")ChineseCulturalDOKey key ,@Param("status") String chineseCulturalStatus); 28 | 29 | int updateByPrimaryKeyWithBLOBs(ChineseCulturalDO record); 30 | 31 | int updateByPrimaryKey(ChineseCulturalDO record); 32 | } -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/ZyyglxtApplication.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt; 2 | 3 | import com.github.tobato.fastdfs.FdfsClientConfig; 4 | import org.mybatis.spring.annotation.MapperScan; 5 | import org.springframework.boot.SpringApplication; 6 | import org.springframework.boot.autoconfigure.SpringBootApplication; 7 | import org.springframework.boot.web.servlet.MultipartConfigFactory; 8 | import org.springframework.context.annotation.Bean; 9 | import org.springframework.context.annotation.EnableMBeanExport; 10 | import org.springframework.context.annotation.Import; 11 | import org.springframework.jmx.support.RegistrationPolicy; 12 | import org.springframework.util.unit.DataSize; 13 | 14 | import javax.servlet.MultipartConfigElement; 15 | 16 | @Import(FdfsClientConfig.class) 17 | @EnableMBeanExport(registration = RegistrationPolicy.IGNORE_EXISTING) 18 | @SpringBootApplication 19 | @MapperScan("com.zyyglxt.dao") 20 | public class ZyyglxtApplication { 21 | 22 | public static void main(String[] args) { 23 | SpringApplication.run(ZyyglxtApplication.class, args); 24 | } 25 | 26 | @Bean 27 | public MultipartConfigElement multipartConfigElement(){ 28 | MultipartConfigFactory factory = new MultipartConfigFactory(); 29 | factory.setMaxFileSize(DataSize.parse("5120KB")); 30 | return factory.createMultipartConfig(); 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dao/HealthCareChineseMedicineDOMapper.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dao; 2 | 3 | import com.zyyglxt.dataobject.FamPreDOKey; 4 | import com.zyyglxt.dataobject.HealthCareChineseMedicineDO; 5 | import com.zyyglxt.dataobject.HealthCareChineseMedicineDOKey; 6 | import com.zyyglxt.dto.HealthCareChineseMedicineDto; 7 | import org.apache.ibatis.annotations.Mapper; 8 | import org.apache.ibatis.annotations.Param; 9 | import org.springframework.stereotype.Repository; 10 | 11 | import java.util.List; 12 | 13 | @Mapper 14 | @Repository 15 | public interface HealthCareChineseMedicineDOMapper { 16 | 17 | int deleteByPrimaryKey(@Param("key") HealthCareChineseMedicineDOKey key); 18 | 19 | int insert(HealthCareChineseMedicineDO record); 20 | 21 | int insertSelective(HealthCareChineseMedicineDO record); 22 | 23 | HealthCareChineseMedicineDO selectByPrimaryKey(HealthCareChineseMedicineDOKey key); 24 | 25 | int updateByPrimaryKeySelective(HealthCareChineseMedicineDO record); 26 | 27 | int updateByPrimaryKey(HealthCareChineseMedicineDO record); 28 | 29 | int changeStatusToMedicine(@Param("key") HealthCareChineseMedicineDOKey key , @Param("status") String chineseMedicineStatus);//中医药数据状态 30 | 31 | List selectAllHealthCareChineseMedicine(@Param("chineseMedicineStatus") String chineseMedicineStatus); 32 | } -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dao/IndustrialDevelopSaleDrugMapper.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dao; 2 | 3 | import com.zyyglxt.dataobject.HealthCareChineseMedicineDO; 4 | import com.zyyglxt.dataobject.IndustrialDevelopSaleDrug; 5 | import com.zyyglxt.dto.industrialDevelop.IndustrialDevelopSaleDrugDto; 6 | import org.apache.ibatis.annotations.Mapper; 7 | import org.apache.ibatis.annotations.Param; 8 | 9 | import java.util.List; 10 | 11 | /** 12 | *@Author lrt 13 | *@Date 2020/11/6 20:00 14 | *@Version 1.0 15 | **/ 16 | @Mapper 17 | public interface IndustrialDevelopSaleDrugMapper { 18 | int deleteByPrimaryKey(@Param("itemid") Integer itemid, @Param("itemcode") String itemcode); 19 | 20 | int insert(IndustrialDevelopSaleDrug record); 21 | 22 | int insertSelective(IndustrialDevelopSaleDrug record); 23 | 24 | IndustrialDevelopSaleDrugDto selectByPrimaryKey(@Param("itemid") Integer itemid, @Param("itemcode") String itemcode); 25 | 26 | int updateByPrimaryKeySelective(IndustrialDevelopSaleDrug record); 27 | 28 | int updateByPrimaryKey(IndustrialDevelopSaleDrug record); 29 | /*通过orgCode查询所有售药记录*/ 30 | List selectAllSaleDrug( @Param("status") String status, @Param("orgCode") String orgCode); 31 | 32 | int changeStatusToSaleDrug(@Param("key")IndustrialDevelopSaleDrug key,@Param("status") String status); 33 | 34 | } -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dataobject/IndustrialDevelopOffDO.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dataobject; 2 | 3 | import com.fasterxml.jackson.annotation.JsonFormat; 4 | import com.zyyglxt.dataobject.validation.ValidationGroups; 5 | import lombok.AllArgsConstructor; 6 | import lombok.Data; 7 | import lombok.NoArgsConstructor; 8 | 9 | import javax.validation.constraints.NotBlank; 10 | import javax.validation.constraints.NotNull; 11 | import java.util.Date; 12 | 13 | @Data 14 | @NoArgsConstructor 15 | @AllArgsConstructor 16 | public class IndustrialDevelopOffDO extends IndustrialDevelopOffDOKey { 17 | 18 | @NotNull(message = "年份不能为空",groups = ValidationGroups.Insert.class) 19 | @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy", timezone = "GMT+8") 20 | private String year; 21 | 22 | 23 | @NotNull(message = "开始时间不能为空",groups = ValidationGroups.Insert.class) 24 | @JsonFormat(timezone = "GMT+8") 25 | private Date startTime; 26 | 27 | 28 | @JsonFormat(timezone = "GMT+8") 29 | private Date endTime; 30 | 31 | 32 | private String isimp; 33 | 34 | 35 | private String creater; 36 | 37 | 38 | @JsonFormat(timezone = "GMT+8") 39 | private Date itemcreateat; 40 | 41 | 42 | private String updater; 43 | 44 | 45 | @JsonFormat(timezone = "GMT+8") 46 | private Date itemupdateat; 47 | 48 | } -------------------------------------------------------------------------------- /src/main/resources/static/utils/alertUtil.js: -------------------------------------------------------------------------------- 1 | (function() { 2 | define('alertUtil', ['jquery','bootstrapNotify'], function(jquery,bootstrapNotify) { 3 | 4 | function myalert(str) { 5 | alert(str) 6 | } 7 | 8 | function success(str) { 9 | myNotify("成功信息:"+ str,'success') 10 | } 11 | function warning(str) { 12 | myNotify("警告信息:"+ str,'warning') 13 | } 14 | function info(str) { 15 | myNotify("提示信息:"+ str,'info') 16 | } 17 | function error(str) { 18 | myNotify("错误信息:"+ str,'danger') 19 | } 20 | 21 | 22 | 23 | function myNotify(message,type) { 24 | $.notify({ 25 | icon: 'glyphicon glyphicon-star', 26 | message: message 27 | }, 28 | { 29 | type:type, 30 | placement: { 31 | from: "top", 32 | align: "center" 33 | }, 34 | z_index: 9999, 35 | 36 | offset:50, 37 | 38 | }); 39 | } 40 | 41 | 42 | 43 | return { 44 | alert:myalert, 45 | success:success, 46 | info:info, 47 | warning:warning, 48 | error:error, 49 | } 50 | }) 51 | })(); 52 | 53 | 54 | 55 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dao/PostDOMapper.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dao; 2 | 3 | import com.zyyglxt.dataobject.PostDO; 4 | import com.zyyglxt.dataobject.PostDOKey; 5 | import com.zyyglxt.dataobject.PostFileDO; 6 | import com.zyyglxt.dto.PostDto; 7 | import com.zyyglxt.dto.PostMainPageDto; 8 | import org.apache.ibatis.annotations.Param; 9 | 10 | import java.util.List; 11 | 12 | public interface PostDOMapper { 13 | int deleteByPrimaryKey(PostDOKey key); 14 | 15 | int insert(PostDO record); 16 | 17 | int insertSelective(PostDO record); 18 | 19 | PostDO selectByPrimaryKey(PostDOKey key); 20 | 21 | PostDto selectOneWithFile(@Param("key") PostDOKey key); 22 | 23 | int updateByPrimaryKeySelective(PostDO record); 24 | 25 | int updateByPrimaryKey(PostDO record); 26 | 27 | List selectAll(@Param("postDataStatus") String postDataStatus); 28 | 29 | List selectClerk(@Param("postDepartment") String postDepartment); 30 | 31 | List selectDirector(@Param("postDepartment") String postDepartment); 32 | 33 | List getSend(@Param("receiverId") String receiverId); 34 | 35 | List getDeputyDirector(@Param("postOpinion1") String postOpinion1); 36 | 37 | PostDO maxNum(); 38 | 39 | List selectPostFileForMain(); 40 | 41 | List selectForMainPage(String status); 42 | 43 | } -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/controller/industrialDevelop/hospitalController.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.controller.industrialDevelop; 2 | 3 | import com.zyyglxt.annotation.LogAnnotation; 4 | import com.zyyglxt.dataobject.HospDO; 5 | import com.zyyglxt.error.EmBusinessError; 6 | import com.zyyglxt.response.ResponseData; 7 | import com.zyyglxt.service.HospService; 8 | import org.springframework.web.bind.annotation.*; 9 | 10 | import javax.annotation.Resource; 11 | 12 | /** 13 | * @Author nongcn 14 | * @Date 2020/11/22 18:33 15 | * @Version 1.0 16 | */ 17 | @RestController 18 | @RequestMapping(value = "/industrialDevelop") 19 | public class hospitalController { 20 | @Resource 21 | private HospService hospService; 22 | 23 | @PostMapping(value = "/hosp_add") 24 | @ResponseBody 25 | @LogAnnotation(appCode ="",logTitle ="添加医院数据",logLevel ="3",creater ="",updater = "") 26 | public ResponseData addHosp(@RequestBody HospDO hospDO){ 27 | hospService.addHosp(hospDO); 28 | return new ResponseData(EmBusinessError.success); 29 | } 30 | 31 | @PostMapping(value = "/hosp_update") 32 | @ResponseBody 33 | @LogAnnotation(appCode ="",logTitle ="更新医院数据",logLevel ="2",creater ="",updater = "") 34 | public ResponseData updateHosp(@RequestBody HospDO hospDO){ 35 | hospService.updateHosp(hospDO); 36 | return new ResponseData(EmBusinessError.success); 37 | } 38 | } 39 | 40 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/validator/ValidatorImpl.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.validator; 2 | 3 | 4 | import org.springframework.beans.factory.InitializingBean; 5 | import org.springframework.stereotype.Component; 6 | 7 | import javax.validation.ConstraintViolation; 8 | import javax.validation.Validation; 9 | import javax.validation.Validator; 10 | import java.util.Set; 11 | 12 | 13 | @Component 14 | public class ValidatorImpl implements InitializingBean { 15 | 16 | private Validator validator; 17 | 18 | @Override 19 | public void afterPropertiesSet() throws Exception{ 20 | //将hibernate validator通过工厂的初始化方式使其初始化 21 | this.validator = Validation.buildDefaultValidatorFactory().getValidator(); 22 | 23 | } 24 | 25 | 26 | //实现校验方法并返回校验结果 27 | public ValidatorResult validate(Object bean,Class... group){ 28 | ValidatorResult result = new ValidatorResult(); 29 | Set> validateSet = validator.validate(bean,group); 30 | if(validateSet.size()> 0){ 31 | result.setHasErrors(true); 32 | validateSet.forEach(validate -> { 33 | String errMsg = validate.getMessage(); 34 | String propertyName = validate.getPropertyPath().toString(); 35 | result.getErrorMsgMap().put(propertyName,errMsg); 36 | }); 37 | } 38 | return result; 39 | } 40 | 41 | } 42 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/util/DateUtils.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.util; 2 | 3 | import java.text.DateFormat; 4 | import java.text.ParseException; 5 | import java.text.SimpleDateFormat; 6 | import java.util.*; 7 | /** 8 | * @Author wanglx 9 | * @Date 2020/10/29 0029 16:51 10 | * @Version 1.0 11 | */ 12 | public class DateUtils { 13 | /** 14 | * 获取当前日期 yy-MM-dd HH:mm:ss 15 | * @return 16 | */ 17 | public static Date getDate() { 18 | Date date = new Date(); 19 | SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); 20 | try { 21 | return sdf.parse(sdf.format(date)); 22 | } catch (ParseException e) { 23 | e.printStackTrace(); 24 | } 25 | return null; 26 | } 27 | 28 | // public static Date getCurrentTimeZoneTime() { 29 | // SimpleDateFormat bjSdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); // 北京 30 | // bjSdf.setTimeZone(TimeZone.getTimeZone("Asia/Shanghai")); // 设置北京时区 31 | // return bjSdf.parse(bjSdf.format(new Date())); 32 | // } 33 | 34 | public static Date getYMD() { 35 | Date date = new Date(); 36 | SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd"); 37 | try { 38 | return sdf.parse(sdf.format(date)); 39 | } catch (ParseException e) { 40 | e.printStackTrace(); 41 | } 42 | return null; 43 | } 44 | 45 | } 46 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dataobject/HospDO.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dataobject; 2 | 3 | import lombok.Data; 4 | 5 | import javax.validation.constraints.NotBlank; 6 | import javax.validation.constraints.Size; 7 | import java.util.Date; 8 | 9 | @Data 10 | public class HospDO extends HospDOKey { 11 | @NotBlank(message = "医院名称不能为空") 12 | private String hospitalName; 13 | 14 | @NotBlank(message = "医院级别不能为空") 15 | private String hospitalLevel; 16 | 17 | @Size(max = 60) 18 | @NotBlank(message = "医院简介不能为空") 19 | private String hospitalBriefIntroduce; 20 | 21 | private String hospitalKeySpecialty; 22 | 23 | @NotBlank(message = "联系电话不能为空") 24 | private String hospitalTelephone; 25 | 26 | private String hospitalAddressPro; 27 | 28 | @NotBlank(message = "医院所在市不能为空") 29 | private String hospitalAddressCity; 30 | 31 | @NotBlank(message = "医院所在县区不能为空") 32 | private String hospitalAddressCountry; 33 | 34 | @NotBlank(message = "医院地址不能为空") 35 | private String hospitalAddress; 36 | 37 | private String hospitalLink; 38 | 39 | private String hospitalStatus; 40 | 41 | private String reason; 42 | 43 | private String creater; 44 | 45 | private Date itemcreateat; 46 | 47 | private String updater; 48 | 49 | private Date itemupdateat; 50 | 51 | private String hospitalIntroduce; 52 | 53 | private String orgCode; 54 | 55 | private String username; 56 | } 57 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/service/IIndustrialDevelopTopicService.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.service; 2 | 3 | import com.zyyglxt.dataobject.IndustrialDevelopTopicDO; 4 | import com.zyyglxt.dataobject.IndustrialDevelopTopicDOKey; 5 | import com.zyyglxt.dataobject.UserRoleRefDO; 6 | import com.zyyglxt.dto.industrialDevelop.IndustrialDevelopTopicDODto; 7 | 8 | import java.util.List; 9 | 10 | /** 11 | * @Author lrt 12 | * @Date 2020/10/29 15:47 13 | * @Version 1.0 14 | **/ 15 | public interface IIndustrialDevelopTopicService { 16 | 17 | void addTopic(IndustrialDevelopTopicDO developTopicDO); 18 | 19 | void delTopic(IndustrialDevelopTopicDOKey key); 20 | 21 | void updTopic(IndustrialDevelopTopicDO developTopicDO); 22 | 23 | List getTopics(List examineStatus); 24 | 25 | List getStatus(String code); 26 | 27 | IndustrialDevelopTopicDO getTopic(String topicCode); 28 | 29 | //修改项目状态 30 | int changeStatus(IndustrialDevelopTopicDOKey key, String status); 31 | 32 | //修改审核状态 33 | int changeExamineStatus(IndustrialDevelopTopicDOKey key, String examineStatus); 34 | 35 | List selectByUserCode(String userCode); 36 | 37 | List selectByCompany(String company); 38 | 39 | IndustrialDevelopTopicDO maxProjectNO(); 40 | 41 | List getAll(List examineStatus); 42 | 43 | } 44 | -------------------------------------------------------------------------------- /src/main/resources/templates/document/report.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 请示报告 6 | 7 | 8 | 9 |
10 | 11 |
12 |
13 |
14 | 15 |
16 | 搜索 17 |
18 | 19 |
20 |
21 |
22 |
23 | 24 |
25 |
26 | 27 |
28 |
29 |
30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 |
38 | 39 | 40 | 41 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/util/DOKeyAndValidateUtil.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.util; 2 | 3 | 4 | import com.zyyglxt.dao.ChineseCulturalDOMapper; 5 | import com.zyyglxt.dataobject.ChineseCulturalDO; 6 | import com.zyyglxt.dataobject.ChineseCulturalDOKey; 7 | import com.zyyglxt.error.BusinessException; 8 | import com.zyyglxt.error.EmBusinessError; 9 | import com.zyyglxt.validator.ValidatorImpl; 10 | import com.zyyglxt.validator.ValidatorResult; 11 | import org.springframework.beans.factory.annotation.Autowired; 12 | import org.springframework.stereotype.Component; 13 | 14 | import java.util.Date; 15 | 16 | /** 17 | * Author:wangzh 18 | * Date: 2020/11/2 11:00 19 | * Version: 1.0 20 | */ 21 | 22 | @Component 23 | public class DOKeyAndValidateUtil{ 24 | 25 | public static int updateUtil(ChineseCulturalDO record, ValidatorImpl validator, ChineseCulturalDOMapper chineseCulturalDOMapper, UsernameUtil usernameUtil) { 26 | ValidatorResult result = validator.validate(record); 27 | if(result.isHasErrors()){ 28 | throw new BusinessException(result.getErrMsg(), EmBusinessError.PARAMETER_VALIDATION_ERROR); 29 | } 30 | ChineseCulturalDOKey key = new ChineseCulturalDOKey(); 31 | key.setItemid(record.getItemid()); 32 | key.setItemcode(record.getItemcode()); 33 | record.setUpdater(usernameUtil.getOperateUser()); 34 | return chineseCulturalDOMapper.updateByPrimaryKeySelective(key,record); 35 | } 36 | 37 | } 38 | -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dao/IndustrialDevelopExpertRefDOMapper.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dao; 2 | 3 | import com.zyyglxt.dataobject.IndustrialDevelopExpertRefDO; 4 | import com.zyyglxt.dataobject.IndustrialDevelopExpertRefDOKey; 5 | import com.zyyglxt.dto.ExmaineDto; 6 | import com.zyyglxt.dto.industrialDevelop.IndustrialDevelopTopicDODto; 7 | import org.apache.ibatis.annotations.Param; 8 | 9 | import java.util.List; 10 | 11 | public interface IndustrialDevelopExpertRefDOMapper { 12 | 13 | int deleteByPrimaryKey(IndustrialDevelopExpertRefDOKey key); 14 | 15 | int insert(IndustrialDevelopExpertRefDO record); 16 | 17 | int insertSelective(IndustrialDevelopExpertRefDO record); 18 | 19 | IndustrialDevelopExpertRefDO selectByPrimaryKey(IndustrialDevelopExpertRefDOKey key); 20 | 21 | //查询 22 | List selectAllTopicCode(); 23 | 24 | List selectByExpertCode(String expertCode); 25 | List selectAllByTopicCode(String topicCode); 26 | 27 | int updateByPrimaryKeySelective(IndustrialDevelopExpertRefDO record); 28 | 29 | int updateByPrimaryKey(IndustrialDevelopExpertRefDO record); 30 | 31 | List selectByTopicCode(String topicCode); 32 | 33 | int deleteByTopicCode(String topicCode); 34 | 35 | List topicAndExpertStatus(); 36 | 37 | Integer selectZjktsl(String topicCode); 38 | 39 | int delExpertTopic(@Param("expertCode")String expertCode, @Param("topicCode")String topicCode); 40 | } -------------------------------------------------------------------------------- /src/main/java/com/zyyglxt/dao/ReceiptDOMapper.java: -------------------------------------------------------------------------------- 1 | package com.zyyglxt.dao; 2 | 3 | import com.zyyglxt.dataobject.PostFileDO; 4 | import com.zyyglxt.dataobject.ReceiptDO; 5 | import com.zyyglxt.dataobject.ReceiptDOKey; 6 | import com.zyyglxt.dto.PostDto; 7 | import com.zyyglxt.dto.ReceiptDto; 8 | import com.zyyglxt.dto.ReceiptMainDto; 9 | import org.apache.ibatis.annotations.Mapper; 10 | import org.apache.ibatis.annotations.Param; 11 | import org.springframework.stereotype.Repository; 12 | 13 | import java.util.List; 14 | 15 | @Mapper 16 | @Repository 17 | public interface ReceiptDOMapper { 18 | int deleteByPrimaryKey(ReceiptDOKey key); 19 | 20 | int insert(ReceiptDO record); 21 | 22 | int insertSelective(ReceiptDO record); 23 | 24 | List getDeputyDirector(@Param("receiptReasonl") String receiptReasonl); 25 | 26 | ReceiptDO selectByPrimaryKey(ReceiptDOKey key); 27 | 28 | ReceiptDto selectOneForMainPage(@Param("key") ReceiptDOKey key); 29 | 30 | int updateByPrimaryKeySelective(ReceiptDO record); 31 | 32 | int updateByPrimaryKey(ReceiptDO record); 33 | 34 | List selectAllReceipt(@Param("receivingDataStatus") String receivingDataStatus);//查询所有收文管理数据 35 | 36 | int changeStatusToReceipt(@Param("key") ReceiptDOKey key ,@Param("receivingDataStatus") String receivingDataStatus);//收文管理数据状态 37 | 38 | List selectForMainPage(); 39 | 40 | //PostFileDO只是存储了filename和filepath,这里就不另建一个receiptFileDO来区分了 41 | List selectReceiptFileForMain(); 42 | } --------------------------------------------------------------------------------