Przeglądaj źródła

项目初始化

DESKTOP-6LTVLN7\Liumouren 3 lat temu
commit
cffbb3740c
100 zmienionych plików z 10783 dodań i 0 usunięć
  1. 233 0
      .gitignore
  2. 469 0
      pom.xml
  3. 234 0
      yuxin-schoolfront-api/.gitignore
  4. 66 0
      yuxin-schoolfront-api/pom.xml
  5. 22 0
      yuxin-schoolfront-api/src/main/java/com/yuxin/custom/api/aiquanti/IStudyTrainService.java
  6. 15 0
      yuxin-schoolfront-api/src/main/java/com/yuxin/custom/api/indexVideo/ICompanyIndexModelVideoService.java
  7. 99 0
      yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/auth/IAuthPrivilegeCategoryService.java
  8. 99 0
      yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/auth/IAuthPrivilegeService.java
  9. 99 0
      yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/auth/IAuthRolePrivilegeService.java
  10. 99 0
      yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/auth/IAuthRoleService.java
  11. 99 0
      yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/auth/IAuthUserRoleService.java
  12. 5 0
      yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/base/IBaseService.java
  13. 103 0
      yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/certificate/ICertificateConfigService.java
  14. 101 0
      yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/certificate/ICertificateCourseRelationService.java
  15. 161 0
      yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/certificate/ICertificateUserRelationService.java
  16. 9 0
      yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/certificate/UsersCourseReportService.java
  17. 102 0
      yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/classes/IBjyAccountService.java
  18. 111 0
      yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/classes/IClassFavService.java
  19. 30 0
      yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/classes/IClassInUserRelationService.java
  20. 317 0
      yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/classes/IClassModuleLessonService.java
  21. 113 0
      yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/classes/IClassModuleNoOnsaleService.java
  22. 105 0
      yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/classes/IClassModuleNoService.java
  23. 178 0
      yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/classes/IClassModuleService.java
  24. 109 0
      yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/classes/IClassModuleVideoRelationService.java
  25. 120 0
      yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/classes/IClassPackageCategoryService.java
  26. 21 0
      yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/classes/IClassPackageDetailsTeathersService.java
  27. 107 0
      yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/classes/IClassPackageMemberService.java
  28. 111 0
      yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/classes/IClassPackageRelationService.java
  29. 323 0
      yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/classes/IClassPackageService.java
  30. 130 0
      yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/classes/IClassPackageStageService.java
  31. 37 0
      yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/classes/IClassRecomService.java
  32. 18 0
      yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/classes/IClassTypeClassInRelationService.java
  33. 19 0
      yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/classes/IClassTypeDetailService.java
  34. 166 0
      yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/classes/IClassTypeMemberDiscountService.java
  35. 134 0
      yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/classes/IClassTypeModuleRelationService.java
  36. 99 0
      yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/classes/IClassTypeRemoteRelationService.java
  37. 199 0
      yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/classes/IClassTypeResourceService.java
  38. 110 0
      yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/classes/IClassTypeResourceTypeService.java
  39. 253 0
      yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/classes/IClassTypeService.java
  40. 105 0
      yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/classes/IClassTypeTagService.java
  41. 22 0
      yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/classes/ILiveDurationStatisticsLessonService.java
  42. 67 0
      yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/classes/ILiveRoomService.java
  43. 34 0
      yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/classes/faq/IClassMeetFaqService.java
  44. 15 0
      yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/classes/faq/ICommodityFaqPriceSerivce.java
  45. 13 0
      yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/classes/faq/ICommodityFaqWalletService.java
  46. 19 0
      yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/classes/faq/IStudentAppraisalLabelService.java
  47. 23 0
      yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/classes/faq/ISysConfigIndexModelTeacherService.java
  48. 24 0
      yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/classes/faq/ISysConfigTeacherFaqTimeSerivce.java
  49. 15 0
      yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/classes/faq/ITeacherAppraisalLabelService.java
  50. 16 0
      yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/classes/faq/IUserFaqMinuteChageService.java
  51. 501 0
      yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/commodity/ICommodityService.java
  52. 142 0
      yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/commodityProductRealtion/ICommodityProductRealtionService.java
  53. 7 0
      yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/company/CompanyPushConfigService.java
  54. 26 0
      yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/company/CurriculumFairSpService.java
  55. 111 0
      yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/company/ICompanyAppAuthService.java
  56. 111 0
      yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/company/ICompanyAppConfigService.java
  57. 9 0
      yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/company/ICompanyAppPayConfigService.java
  58. 99 0
      yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/company/ICompanyCashFlowService.java
  59. 127 0
      yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/company/ICompanyConfigCustompageGroupService.java
  60. 143 0
      yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/company/ICompanyConfigCustompageService.java
  61. 114 0
      yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/company/ICompanyConfigCustompageTemplateService.java
  62. 104 0
      yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/company/ICompanyConfigProxyOrgService.java
  63. 104 0
      yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/company/ICompanyConfigQuestionExpertService.java
  64. 112 0
      yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/company/ICompanyCouponsConfigService.java
  65. 166 0
      yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/company/ICompanyCouponsLibService.java
  66. 114 0
      yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/company/ICompanyCouponsPatchService.java
  67. 25 0
      yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/company/ICompanyDistributionCardService.java
  68. 17 0
      yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/company/ICompanyDistributionConfigService.java
  69. 110 0
      yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/company/ICompanyEmailHistoryService.java
  70. 112 0
      yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/company/ICompanyFootInfoService.java
  71. 181 0
      yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/company/ICompanyFunctionSetService.java
  72. 63 0
      yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/company/ICompanyGroupJoinService.java
  73. 102 0
      yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/company/ICompanyGroupMemberService.java
  74. 98 0
      yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/company/ICompanyGroupNoticeService.java
  75. 101 0
      yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/company/ICompanyGroupPrivilegeService.java
  76. 143 0
      yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/company/ICompanyGroupReplyService.java
  77. 95 0
      yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/company/ICompanyGroupService.java
  78. 104 0
      yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/company/ICompanyGroupTopicApprovalService.java
  79. 120 0
      yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/company/ICompanyGroupTopicService.java
  80. 100 0
      yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/company/ICompanyHardbindConfigService.java
  81. 100 0
      yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/company/ICompanyHardbindDataService.java
  82. 150 0
      yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/company/ICompanyHeadFootConfigService.java
  83. 155 0
      yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/company/ICompanyIndexTemplateService.java
  84. 120 0
      yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/company/ICompanyIntegralConfigService.java
  85. 101 0
      yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/company/ICompanyInvitConfigDefineService.java
  86. 102 0
      yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/company/ICompanyInvitConfigOrgService.java
  87. 113 0
      yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/company/ICompanyInvitConfigService.java
  88. 103 0
      yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/company/ICompanyInvitConfigTeacherService.java
  89. 99 0
      yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/company/ICompanyInviteRelationService.java
  90. 112 0
      yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/company/ICompanyLiveConcurrentService.java
  91. 113 0
      yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/company/ICompanyLiveConfigService.java
  92. 102 0
      yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/company/ICompanyLiveConfigSpService.java
  93. 99 0
      yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/company/ICompanyLiveCoursewareZsService.java
  94. 102 0
      yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/company/ICompanyLiveRecordSpService.java
  95. 99 0
      yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/company/ICompanyLiveStaticDayDetailService.java
  96. 104 0
      yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/company/ICompanyLiveStaticDetailService.java
  97. 125 0
      yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/company/ICompanyLiveStaticRecordService.java
  98. 122 0
      yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/company/ICompanyLoginConfigService.java
  99. 111 0
      yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/company/ICompanyMarketImageService.java
  100. 112 0
      yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/company/ICompanyMarketNumService.java

+ 233 - 0
.gitignore

@@ -0,0 +1,233 @@
+
+#################
+## Eclipse
+#################
+*.pydevproject
+.project
+.metadata
+/bin
+/tmp
+*/target/*
+*.class
+/.idea
+*.tmp
+*.bak
+*.swp
+*~.nib
+local.properties
+.classpath
+/.settings
+.loadpath
+# External tool builders
+/.externalToolBuilders
+
+# Locally stored "Eclipse launch configurations"
+*.launch
+
+# CDT-specific
+.cproject
+
+# PDT-specific
+.buildpath
+.DS_Store
+MANIFEST.MF
+#################
+## Visual Studio
+#################
+
+## Ignore Visual Studio temporary files, build results, and
+## files generated by popular Visual Studio add-ons.
+
+# User-specific files
+*.suo
+*.user
+*.sln.docstates
+
+# Build results
+
+[Dd]ebug/
+[Rr]elease/
+x64/
+build/
+[Bb]in/
+[Oo]bj/
+
+# MSTest test Results
+[Tt]est[Rr]esult*/
+[Bb]uild[Ll]og.*
+
+*_i.c
+*_p.c
+*.ilk
+*.meta
+*.obj
+*.pch
+*.pdb
+*.pgc
+*.pgd
+*.rsp
+*.sbr
+*.tlb
+*.tli
+*.tlh
+*.tmp
+*.tmp_proj
+*.log
+*.vspscc
+*.vssscc
+.builds
+*.pidb
+*.log
+*.scc
+
+# Visual C++ cache files
+/ipch
+*.aps
+*.ncb
+*.opensdf
+*.sdf
+*.cachefile
+
+# Visual Studio profiler
+*.psess
+*.vsp
+*.vspx
+
+# Guidance Automation Toolkit
+*.gpState
+
+# ReSharper is a .NET coding add-in
+/_ReSharper*
+*.[Rr]e[Ss]harper
+
+# TeamCity is a build add-in
+_TeamCity*
+
+# DotCover is a Code Coverage Tool
+*.dotCover
+
+# NCrunch
+*.ncrunch*
+.*crunch*.local.xml
+
+# Installshield output folder
+/[Ee]xpress
+
+# DocProject is a documentation generator add-in
+DocProject/buildhelp/
+DocProject/Help/*.HxT
+DocProject/Help/*.HxC
+DocProject/Help/*.hhc
+DocProject/Help/*.hhk
+DocProject/Help/*.hhp
+DocProject/Help/Html2
+DocProject/Help/html
+
+# Click-Once directory
+publish/
+
+# Publish Web Output
+*.Publish.xml
+*.pubxml
+*.publishproj
+
+# NuGet Packages Directory
+## TODO: If you have NuGet Package Restore enabled, uncomment the next line
+#packages/
+
+# Windows Azure Build Output
+csx
+*.build.csdef
+
+# Windows Store app package directory
+/AppPackages
+
+# Others
+/sql
+*.Cache
+/ClientBin
+[Ss]tyle[Cc]op.*
+~$*
+*~
+*.dbmdl
+*.[Pp]ublish.xml
+*.pfx
+*.publishsettings
+
+# RIA/Silverlight projects
+Generated_Code/
+
+# Backup & report files from converting an old project file to a newer
+# Visual Studio version. Backup files are not needed, because we have git ;-)
+_UpgradeReport_Files/
+Backup*/
+UpgradeLog*.XML
+UpgradeLog*.htm
+
+# SQL Server files
+App_Data/*.mdf
+App_Data/*.ldf
+
+#############
+## Windows detritus
+#############
+
+# Windows image file caches
+Thumbs.db
+ehthumbs.db
+
+# Folder config file
+Desktop.ini
+
+# Recycle Bin used on file shares
+$RECYCLE.BIN/
+
+# Mac crap
+.DS_Store
+
+
+#############
+## Python
+#############
+
+*.py[cod]
+
+# Packages
+*.egg
+*.egg-info
+/dist
+/build
+/eggs
+/parts
+/var
+/sdist
+/develop-eggs
+.installed.cfg
+
+# Installer logs
+pip-log.txt
+
+# Unit test / coverage reports
+.coverage
+.tox
+
+#Translations
+*.mo
+
+#Mr Developer
+.mr.developer.cfg
+
+#jekyll
+_site/
+.sass-cache/
+
+
+#############
+## selef
+#############
+
+/*/.settings
+/*/target/*
+rebel.xml
+*.iml
+/yuxin-schoolfront-core/yuxin-schoolfront-core.iml

+ 469 - 0
pom.xml

@@ -0,0 +1,469 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+	<modelVersion>4.0.0</modelVersion>
+	<groupId>com.yuxin</groupId>
+	<artifactId>yuxin-school-front</artifactId>
+	<version>private-6.8.4</version>
+	<packaging>pom</packaging>
+	<name>yuxin-school-front</name>
+	<modules>
+		<module>yuxin-schoolfront-api</module>
+		<module>yuxin-schoolfront-core</module>
+		<module>yuxin-schoolfront-web</module>
+	</modules>
+
+	<properties>
+		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+		<spring.framework.version>4.3.20.RELEASE</spring.framework.version>
+		<lombok.version>1.16.18</lombok.version>
+		<guava.version>20.0</guava.version>
+		<dispatching-center-client.version>private-1.0.0</dispatching-center-client.version>
+		<common-utils.version>private-1.0.12</common-utils.version>
+		<feign.version>9.7.0</feign.version>
+		<slf4j.version>1.7.25</slf4j.version>
+		<log4j.version>2.11.1</log4j.version>
+		<skywalking-log4j2.version>6.4.0</skywalking-log4j2.version>
+		<alipay.version>4.8.10.ALL</alipay.version>
+	</properties>
+
+	<dependencyManagement>
+		<dependencies>
+			<!-- Spring framework -->
+			<dependency>
+				<groupId>org.springframework</groupId>
+				<artifactId>spring-core</artifactId>
+				<version>${spring.framework.version}</version>
+			</dependency>
+			<dependency>
+				<groupId>org.springframework</groupId>
+				<artifactId>spring-beans</artifactId>
+				<version>${spring.framework.version}</version>
+			</dependency>
+			<dependency>
+				<groupId>org.springframework</groupId>
+				<artifactId>spring-tx</artifactId>
+				<version>${spring.framework.version}</version>
+			</dependency>
+
+			<dependency>
+				<groupId>org.springframework</groupId>
+				<artifactId>spring-context</artifactId>
+				<version>${spring.framework.version}</version>
+			</dependency>
+			<dependency>
+				<groupId>org.springframework</groupId>
+				<artifactId>spring-context-support</artifactId>
+				<version>${spring.framework.version}</version>
+			</dependency>
+			<dependency>
+				<groupId>org.springframework</groupId>
+				<artifactId>spring-web</artifactId>
+				<version>${spring.framework.version}</version>
+			</dependency>
+			<dependency>
+				<groupId>org.springframework</groupId>
+				<artifactId>spring-webmvc</artifactId>
+				<version>${spring.framework.version}</version>
+			</dependency>
+			<dependency>
+				<groupId>org.springframework</groupId>
+				<artifactId>spring-aspects</artifactId>
+				<version>${spring.framework.version}</version>
+			</dependency>
+			<dependency>
+				<groupId>org.springframework</groupId>
+				<artifactId>spring-jdbc</artifactId>
+				<version>${spring.framework.version}</version>
+			</dependency>
+
+			<dependency>
+				<groupId>javassist</groupId>
+				<artifactId>javassist</artifactId>
+				<version>3.12.1.GA</version>
+			</dependency>
+			<dependency>
+				<groupId>cglib</groupId>
+				<artifactId>cglib-nodep</artifactId>
+				<version>2.2.2</version>
+			</dependency>
+
+			<!-- apache & commons -->
+			<dependency>
+				<groupId>commons-beanutils</groupId>
+				<artifactId>commons-beanutils-core</artifactId>
+				<version>1.8.3</version>
+				<exclusions>
+					<exclusion>
+						<artifactId>commons-logging</artifactId>
+						<groupId>commons-logging</groupId>
+					</exclusion>
+				</exclusions>
+			</dependency>
+			<dependency>
+				<groupId>commons-lang</groupId>
+				<artifactId>commons-lang</artifactId>
+				<version>2.5</version>
+			</dependency>
+			<dependency>
+				<groupId>org.apache.poi</groupId>
+				<artifactId>poi</artifactId>
+				<version>3.7</version>
+			</dependency>
+			<dependency>
+				<groupId>org.apache.commons</groupId>
+				<artifactId>commons-email</artifactId>
+				<version>1.2</version>
+			</dependency>
+			<dependency>
+				<groupId>commons-net</groupId>
+				<artifactId>commons-net</artifactId>
+				<version>2.2</version>
+			</dependency>
+			<dependency>
+				<groupId>commons-codec</groupId>
+				<artifactId>commons-codec</artifactId>
+				<version>1.11</version>
+			</dependency>
+			<dependency>
+				<groupId>commons-io</groupId>
+				<artifactId>commons-io</artifactId>
+				<version>2.0</version>
+			</dependency>
+			<dependency>
+				<groupId>commons-collections</groupId>
+				<artifactId>commons-collections</artifactId>
+				<version>3.2.1</version>
+			</dependency>
+			<dependency>
+				<groupId>commons-discovery</groupId>
+				<artifactId>commons-discovery</artifactId>
+				<version>0.5</version>
+			</dependency>
+
+			<!-- web -->
+			<dependency>
+				<groupId>javax.servlet</groupId>
+				<artifactId>servlet-api</artifactId>
+				<version>2.5</version>
+				<scope>provided</scope>
+			</dependency>
+			<dependency>
+				<groupId>javax.servlet.jsp</groupId>
+				<artifactId>jsp-api</artifactId>
+				<version>2.1</version>
+				<scope>provided</scope>
+			</dependency>
+			<dependency>
+				<groupId>org.freemarker</groupId>
+				<artifactId>freemarker</artifactId>
+				<version>2.3.16</version>
+			</dependency>
+			<dependency>
+				<groupId>net.sf.json-lib</groupId>
+				<artifactId>json-lib</artifactId>
+				<version>2.1</version>
+			</dependency>
+			<dependency>
+				<groupId>net.sf.ezmorph</groupId>
+				<artifactId>ezmorph</artifactId>
+				<version>1.0.6</version>
+			</dependency>
+			<dependency>
+				<groupId>org.htmlparser</groupId>
+				<artifactId>htmlparser</artifactId>
+				<version>1.6</version>
+				<exclusions>
+					<exclusion>
+						<groupId>sun.jdk</groupId>
+						<artifactId>tools</artifactId>
+					</exclusion>
+				</exclusions>
+			</dependency>
+			<dependency>
+				<groupId>org.tuckey</groupId>
+				<artifactId>urlrewrite</artifactId>
+				<version>3.2.0</version>
+			</dependency>
+			<dependency>
+				<groupId>jstl</groupId>
+				<artifactId>jstl</artifactId>
+				<version>1.1.2</version>
+			</dependency>
+			<dependency>
+				<groupId>taglibs</groupId>
+				<artifactId>standard</artifactId>
+				<version>1.1.2</version>
+			</dependency>
+			<dependency>
+				<groupId>javax.validation</groupId>
+				<artifactId>validation-api</artifactId>
+				<version>1.0.0.GA</version>
+			</dependency>
+			<dependency>
+				<groupId>xfire</groupId>
+				<artifactId>xfire-jsr181-api</artifactId>
+				<version>1.0-M1</version>
+			</dependency>
+			<dependency>
+				<groupId>org.codehaus.xfire</groupId>
+				<artifactId>xfire-java5</artifactId>
+				<version>1.2.6</version>
+			</dependency>
+			<dependency>
+				<groupId>org.apache.axis</groupId>
+				<artifactId>axis</artifactId>
+				<version>1.4</version>
+			</dependency>
+			<!-- database 5.1.34 -> 8.0.27 or 5.1.47 -->
+			<dependency>
+				<groupId>mysql</groupId>
+				<artifactId>mysql-connector-java</artifactId>
+				<version>5.1.47</version>
+			</dependency>
+			<dependency>
+				<groupId>c3p0</groupId>
+				<artifactId>c3p0</artifactId>
+				<version>0.9.1.2</version>
+			</dependency>
+			<!-- other -->
+			<dependency>
+				<groupId>dom4j</groupId>
+				<artifactId>dom4j</artifactId>
+				<version>1.6.1</version>
+			</dependency>
+			<dependency>
+				<groupId>jaxen</groupId>
+				<artifactId>jaxen</artifactId>
+				<version>1.1.1</version>
+			</dependency>
+			<dependency>
+				<groupId>org.ostermiller</groupId>
+				<artifactId>utils</artifactId>
+				<version>1.07.00</version>
+			</dependency>
+			<dependency>
+				<groupId>ant</groupId>
+				<artifactId>ant</artifactId>
+				<version>1.7.0</version>
+			</dependency>
+			<dependency>
+				<groupId>jexcelapi</groupId>
+				<artifactId>jxl</artifactId>
+				<version>2.6</version>
+			</dependency>
+			<dependency>
+				<groupId>com.thoughtworks.xstream</groupId>
+				<artifactId>xstream</artifactId>
+				<version>1.4.2</version>
+			</dependency>
+			<dependency>
+				<groupId>org.quartz-scheduler</groupId>
+				<artifactId>quartz</artifactId>
+				<version>2.1.6</version>
+				<exclusions>
+					<exclusion>
+						<artifactId>slf4j-api</artifactId>
+						<groupId>org.slf4j</groupId>
+					</exclusion>
+					<exclusion>
+						<artifactId>jta</artifactId>
+						<groupId>javax.transaction</groupId>
+					</exclusion>
+				</exclusions>
+			</dependency>
+			<dependency>
+				<groupId>org.aspectj</groupId>
+				<artifactId>aspectjweaver</artifactId>
+				<version>1.7.1</version>
+			</dependency>
+			<!-- solr -->
+			<dependency>
+				<groupId>org.apache.solr</groupId>
+				<artifactId>solr-core</artifactId>
+				<version>1.4.1</version>
+				<exclusions>
+					<exclusion>
+						<artifactId>slf4j-api</artifactId>
+						<groupId>org.slf4j</groupId>
+					</exclusion>
+					<exclusion>
+						<groupId>org.apache.solr</groupId>
+						<artifactId>solr-solrj</artifactId>
+					</exclusion>
+					<exclusion>
+						<artifactId>wstx-asl</artifactId>
+						<groupId>woodstox</groupId>
+					</exclusion>
+				</exclusions>
+			</dependency>
+			<dependency>
+				<groupId>org.apache.solr</groupId>
+				<artifactId>solr-solrj</artifactId>
+				<version>1.4.1</version>
+			</dependency>
+
+
+			<!-- json -->
+			<dependency>
+				<groupId>org.codehaus.jackson</groupId>
+				<artifactId>jackson-mapper-asl</artifactId>
+				<version>1.9.9</version>
+			</dependency>
+			<dependency>
+				<groupId>org.codehaus.jackson</groupId>
+				<artifactId>jackson-core-asl</artifactId>
+				<version>1.9.9</version>
+			</dependency>
+			<dependency>
+				<groupId>org.codehaus.jackson</groupId>
+				<artifactId>jackson-jaxrs</artifactId>
+				<version>1.9.9</version>
+			</dependency>
+			<dependency>
+				<groupId>com.alibaba</groupId>
+				<artifactId>fastjson</artifactId>
+				<version>1.2.0</version>
+			</dependency>
+			<!-- JMS -->
+			<dependency>
+				<groupId>stax</groupId>
+				<artifactId>stax-api</artifactId>
+				<version>1.0.1</version>
+			</dependency>
+
+			<dependency>
+				<artifactId>mybatis</artifactId>
+				<groupId>org.mybatis</groupId>
+				<version>3.1.1</version>
+			</dependency>
+			<dependency>
+				<groupId>org.mybatis</groupId>
+				<artifactId>mybatis-spring</artifactId>
+				<version>1.2.0</version>
+			</dependency>
+
+			<dependency>
+				<groupId>junit</groupId>
+				<artifactId>junit</artifactId>
+				<version>4.8.2</version>
+				<scope>test</scope>
+			</dependency>
+			<dependency>
+				<groupId>org.springframework</groupId>
+				<artifactId>spring-test</artifactId>
+				<version>${spring.framework.version}</version>
+				<scope>test</scope>
+			</dependency>
+			<!-- logging -->
+			<dependency>
+				<groupId>log4j</groupId>
+				<artifactId>log4j</artifactId>
+				<version>1.2.16</version>
+			</dependency>
+			<dependency>
+				<groupId>org.slf4j</groupId>
+				<artifactId>slf4j-log4j12</artifactId>
+				<version>1.7.25</version>
+			</dependency>
+			<dependency>
+			    <groupId>org.slf4j</groupId>
+			    <artifactId>slf4j-api</artifactId>
+			    <version>1.7.25</version>
+			</dependency>
+
+			<!-- shiro -->
+			<dependency>
+				<groupId>org.apache.shiro</groupId>
+				<artifactId>shiro-spring</artifactId>
+				<version>1.2.3</version>
+			</dependency>
+			<dependency>
+				<groupId>org.apache.shiro</groupId>
+				<artifactId>shiro-spring</artifactId>
+				<version>1.2.3</version>
+			</dependency>
+			<dependency>
+			    <groupId>org.apache.shiro</groupId>
+			    <artifactId>shiro-core</artifactId>
+			    <version>1.2.3</version>
+			</dependency>
+
+			<dependency>
+				<groupId>org.projectlombok</groupId>
+				<artifactId>lombok</artifactId>
+				<version>${lombok.version}</version>
+			</dependency>
+
+			<dependency>
+				<groupId>com.google.guava</groupId>
+				<artifactId>guava</artifactId>
+				<version>${guava.version}</version>
+			</dependency>
+
+			<dependency>
+				<groupId>io.github.openfeign</groupId>
+				<artifactId>feign-core</artifactId>
+				<version>${feign.version}</version>
+			</dependency>
+
+			<dependency>
+				<groupId>io.github.openfeign</groupId>
+				<artifactId>feign-gson</artifactId>
+				<version>${feign.version}</version>
+			</dependency>
+
+			<!--内部api引用 start-->
+
+			<dependency>
+				<groupId>com.yunduo</groupId>
+				<artifactId>dispatching-center-client</artifactId>
+				<version>${dispatching-center-client.version}</version>
+			</dependency>
+
+			<dependency>
+				<groupId>com.yunduo</groupId>
+				<artifactId>common-utils</artifactId>
+				<version>${common-utils.version}</version>
+			</dependency>
+
+			<!--内部api引用 end-->
+
+			<dependency>
+				<groupId>org.apache.skywalking</groupId>
+				<artifactId>apm-toolkit-log4j-2.x</artifactId>
+				<version>${skywalking-log4j2.version}</version>
+			</dependency>
+
+			<dependency>
+				<groupId>com.alipay.sdk</groupId>
+				<artifactId>alipay-sdk-java</artifactId>
+				<version>${alipay.version}</version>
+			</dependency>
+
+		</dependencies>
+	</dependencyManagement>
+
+	<build>
+		<plugins>
+			<plugin>
+				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>maven-compiler-plugin</artifactId>
+				<version>3.6.1</version>
+				<configuration>
+					<source>1.8</source>
+					<target>1.8</target>
+					<encoding>UTF-8</encoding>
+				</configuration>
+			</plugin>
+		</plugins>
+	</build>
+	
+	<distributionManagement>
+		<repository>
+			<id>alimaven</id>
+			<name>Nexus aliyun</name>
+			<url>http://maven.aliyun.com/nexus/content/groups/public</url>
+		</repository>
+	</distributionManagement>
+</project>

+ 234 - 0
yuxin-schoolfront-api/.gitignore

@@ -0,0 +1,234 @@
+
+#################
+## Eclipse
+#################
+
+*.pydevproject
+.project
+.metadata
+/bin
+/tmp
+*/target/*
+*.class
+/.idea
+*.tmp
+*.bak
+*.swp
+*~.nib
+local.properties
+.classpath
+/.settings
+.loadpath
+# External tool builders
+/.externalToolBuilders
+
+# Locally stored "Eclipse launch configurations"
+*.launch
+
+# CDT-specific
+.cproject
+
+# PDT-specific
+.buildpath
+.DS_Store
+MANIFEST.MF
+#################
+## Visual Studio
+#################
+
+## Ignore Visual Studio temporary files, build results, and
+## files generated by popular Visual Studio add-ons.
+
+# User-specific files
+*.suo
+*.user
+*.sln.docstates
+
+# Build results
+
+[Dd]ebug/
+[Rr]elease/
+x64/
+build/
+[Bb]in/
+[Oo]bj/
+
+# MSTest test Results
+[Tt]est[Rr]esult*/
+[Bb]uild[Ll]og.*
+
+*_i.c
+*_p.c
+*.ilk
+*.meta
+*.obj
+*.pch
+*.pdb
+*.pgc
+*.pgd
+*.rsp
+*.sbr
+*.tlb
+*.tli
+*.tlh
+*.tmp
+*.tmp_proj
+*.log
+*.vspscc
+*.vssscc
+.builds
+*.pidb
+*.log
+*.scc
+
+# Visual C++ cache files
+/ipch
+*.aps
+*.ncb
+*.opensdf
+*.sdf
+*.cachefile
+
+# Visual Studio profiler
+*.psess
+*.vsp
+*.vspx
+
+# Guidance Automation Toolkit
+*.gpState
+
+# ReSharper is a .NET coding add-in
+/_ReSharper*
+*.[Rr]e[Ss]harper
+
+# TeamCity is a build add-in
+_TeamCity*
+
+# DotCover is a Code Coverage Tool
+*.dotCover
+
+# NCrunch
+*.ncrunch*
+.*crunch*.local.xml
+
+# Installshield output folder
+/[Ee]xpress
+
+# DocProject is a documentation generator add-in
+DocProject/buildhelp/
+DocProject/Help/*.HxT
+DocProject/Help/*.HxC
+DocProject/Help/*.hhc
+DocProject/Help/*.hhk
+DocProject/Help/*.hhp
+DocProject/Help/Html2
+DocProject/Help/html
+
+# Click-Once directory
+publish/
+
+# Publish Web Output
+*.Publish.xml
+*.pubxml
+*.publishproj
+
+# NuGet Packages Directory
+## TODO: If you have NuGet Package Restore enabled, uncomment the next line
+#packages/
+
+# Windows Azure Build Output
+csx
+*.build.csdef
+
+# Windows Store app package directory
+/AppPackages
+
+# Others
+/sql
+*.Cache
+/ClientBin
+[Ss]tyle[Cc]op.*
+~$*
+*~
+*.dbmdl
+*.[Pp]ublish.xml
+*.pfx
+*.publishsettings
+
+# RIA/Silverlight projects
+Generated_Code/
+
+# Backup & report files from converting an old project file to a newer
+# Visual Studio version. Backup files are not needed, because we have git ;-)
+_UpgradeReport_Files/
+Backup*/
+UpgradeLog*.XML
+UpgradeLog*.htm
+
+# SQL Server files
+App_Data/*.mdf
+App_Data/*.ldf
+
+#############
+## Windows detritus
+#############
+
+# Windows image file caches
+Thumbs.db
+ehthumbs.db
+
+# Folder config file
+Desktop.ini
+
+# Recycle Bin used on file shares
+$RECYCLE.BIN/
+
+# Mac crap
+.DS_Store
+
+
+#############
+## Python
+#############
+
+*.py[cod]
+
+# Packages
+*.egg
+*.egg-info
+/dist
+/build
+/eggs
+/parts
+/var
+/sdist
+/develop-eggs
+.installed.cfg
+
+# Installer logs
+pip-log.txt
+
+# Unit test / coverage reports
+.coverage
+.tox
+
+#Translations
+*.mo
+
+#Mr Developer
+.mr.developer.cfg
+
+#jekyll
+_site/
+.sass-cache/
+
+
+#############
+## selef
+#############
+
+/*/.settings
+/*/target/*
+rebel.xml
+/yuxin-school-manage.iml
+/yuxin-school-common/yuxin-school-common.iml

+ 66 - 0
yuxin-schoolfront-api/pom.xml

@@ -0,0 +1,66 @@
+<?xml version="1.0"?>
+<project
+	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
+	xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+	<modelVersion>4.0.0</modelVersion>
+	<parent>
+		<groupId>com.yuxin</groupId>
+		<artifactId>yuxin-school-front</artifactId>
+		<version>private-6.8.4</version>
+	</parent>
+	<artifactId>yuxin-schoolfront-api</artifactId>
+	<name>yuxin-schoolfront-api</name>
+	<url>http://maven.apache.org</url>
+	<properties>
+		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+		<school.model.version>${project.version}</school.model.version>
+	</properties>
+	<dependencies>
+		<dependency>
+			<groupId>commons-lang</groupId>
+			<artifactId>commons-lang</artifactId>
+		</dependency>
+		<dependency>
+			<groupId>com.yuxin</groupId>
+			<artifactId>yuxin-school-model</artifactId>
+			<version>private-6.8.4</version>
+		</dependency>
+
+		<dependency>
+			<groupId>com.yuxin</groupId>
+			<artifactId>yuxin-school-common</artifactId>
+			<version>private-6.8.4</version>
+		</dependency>
+
+		<dependency>
+			<groupId>org.projectlombok</groupId>
+			<artifactId>lombok</artifactId>
+		</dependency>
+        <dependency>
+            <groupId>com.yunduo</groupId>
+            <artifactId>common-utils</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>com.yunduo</groupId>
+            <artifactId>dispatching-center-client</artifactId>
+        </dependency>
+    </dependencies>
+
+	<build>
+		<plugins>
+			<plugin>
+				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>maven-source-plugin</artifactId>
+				<version>2.2.1</version>
+				<executions>
+					<execution>
+						<id>attach-sources</id>
+						<goals>
+							<goal>jar</goal>
+						</goals>
+					</execution>
+				</executions>
+			</plugin>
+		</plugins>
+	</build>
+</project>

+ 22 - 0
yuxin-schoolfront-api/src/main/java/com/yuxin/custom/api/aiquanti/IStudyTrainService.java

@@ -0,0 +1,22 @@
+package com.yuxin.custom.api.aiquanti;
+
+import com.yuxin.custom.model.aiquanti.StudyTrainCourse;
+import com.yuxin.custom.model.aiquanti.StudyTrainStage;
+import com.yuxin.wx.model.system.SysCyclePic;
+
+import java.util.List;
+
+/**
+ * @description: 后台-系统-网校设置-学习直通车(百知教育定制)
+ * @author: luogang
+ * @createDate: 2019/04/23 11:08
+ */
+public interface IStudyTrainService {
+    List<StudyTrainCourse> findStudyTrainCourse(Integer itemOneId);
+
+    List<SysCyclePic> findSlideshow(SysCyclePic sysCyclePic);
+
+    List<StudyTrainStage> fidnTrainStage(StudyTrainStage stage);
+
+    StudyTrainCourse fidnTrainCourseByItemId(Integer companyId, Integer parentId);
+}

+ 15 - 0
yuxin-schoolfront-api/src/main/java/com/yuxin/custom/api/indexVideo/ICompanyIndexModelVideoService.java

@@ -0,0 +1,15 @@
+package com.yuxin.custom.api.indexVideo;
+
+import com.yuxin.custom.model.indexVideo.CompanyIndexModelVideo;
+
+public interface ICompanyIndexModelVideoService {
+
+    // 添加
+    void insert(CompanyIndexModelVideo cimv);
+    // 更新
+    void update(CompanyIndexModelVideo video);
+    // 删除
+    void deleteCompanyIndexModelVideoById(Integer id);
+    // 根据id查询
+    CompanyIndexModelVideo findCompanyIndexModelVideoById(Integer id);
+}

+ 99 - 0
yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/auth/IAuthPrivilegeCategoryService.java

@@ -0,0 +1,99 @@
+package com.yuxin.wx.api.auth;
+
+import java.util.List;
+
+import com.yuxin.wx.model.auth.AuthPrivilegeCategory;
+/**
+ * Service Interface:AuthPrivilegeCategory
+ * @author chopin
+ * @date 2015-3-12
+ */
+public interface IAuthPrivilegeCategoryService  {
+	/**
+	 * 
+	* @Title: saveAuthPrivilegeCategory
+	* @Description: 新增AuthPrivilegeCategory
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-3-12
+	* @user by wangzx
+	 */
+	void insert(AuthPrivilegeCategory entity);
+	
+	/**
+	 * 
+	* @Title: batchSaveAuthPrivilegeCategory 
+	* @Description: 批量新增AuthPrivilegeCategory
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-3-12
+	* @user by wangzx
+	 */
+	void batchInsert(List<AuthPrivilegeCategory> list);
+	
+	/**
+	 * 
+	* @Title: updateAuthPrivilegeCategory 
+	* @Description: 编辑AuthPrivilegeCategory
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-3-12
+	* @user by wangzx
+	 */
+	void update(AuthPrivilegeCategory entity);
+	
+	/**
+	 * 
+	* @Title: deleteAuthPrivilegeCategoryById 
+	* @Description: 根据id删除AuthPrivilegeCategory
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-3-12
+	* @user by wangzx
+	 */
+	void deleteAuthPrivilegeCategoryById(Integer id);
+	
+	/**
+	 * 
+	* @Title: deleteAuthPrivilegeCategoryByIds 
+	* @Description: 根据id批量删除AuthPrivilegeCategory
+	* @param ids
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-3-12
+	* @user by wangzx
+	 */
+	void deleteAuthPrivilegeCategoryByIds(Integer[] ids);
+	
+	/**
+	 * 
+	* @Title: findAuthPrivilegeCategoryById 
+	* @Description: 根据id查询
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-3-12
+	* @user by wangzx
+	 */
+	AuthPrivilegeCategory findAuthPrivilegeCategoryById(Integer id);
+	
+	/**
+	 * 
+	* @Title: findAuthPrivilegeCategoryByPage 
+	* @Description: 分页查询
+	* @return
+	* @return List<AuthPrivilegeCategory>    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-3-12
+	* @user by wangzx
+	 */
+	List<AuthPrivilegeCategory> findAuthPrivilegeCategoryByPage(AuthPrivilegeCategory search);
+}

+ 99 - 0
yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/auth/IAuthPrivilegeService.java

@@ -0,0 +1,99 @@
+package com.yuxin.wx.api.auth;
+
+import java.util.List;
+
+import com.yuxin.wx.model.auth.AuthPrivilege;
+/**
+ * Service Interface:AuthPrivilege
+ * @author chopin
+ * @date 2015-3-12
+ */
+public interface IAuthPrivilegeService  {
+	/**
+	 * 
+	* @Title: saveAuthPrivilege
+	* @Description: 新增AuthPrivilege
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-3-12
+	* @user by wangzx
+	 */
+	void insert(AuthPrivilege entity);
+	
+	/**
+	 * 
+	* @Title: batchSaveAuthPrivilege 
+	* @Description: 批量新增AuthPrivilege
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-3-12
+	* @user by wangzx
+	 */
+	void batchInsert(List<AuthPrivilege> list);
+	
+	/**
+	 * 
+	* @Title: updateAuthPrivilege 
+	* @Description: 编辑AuthPrivilege
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-3-12
+	* @user by wangzx
+	 */
+	void update(AuthPrivilege entity);
+	
+	/**
+	 * 
+	* @Title: deleteAuthPrivilegeById 
+	* @Description: 根据id删除AuthPrivilege
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-3-12
+	* @user by wangzx
+	 */
+	void deleteAuthPrivilegeById(Integer id);
+	
+	/**
+	 * 
+	* @Title: deleteAuthPrivilegeByIds 
+	* @Description: 根据id批量删除AuthPrivilege
+	* @param ids
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-3-12
+	* @user by wangzx
+	 */
+	void deleteAuthPrivilegeByIds(Integer[] ids);
+	
+	/**
+	 * 
+	* @Title: findAuthPrivilegeById 
+	* @Description: 根据id查询
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-3-12
+	* @user by wangzx
+	 */
+	AuthPrivilege findAuthPrivilegeById(Integer id);
+	
+	/**
+	 * 
+	* @Title: findAuthPrivilegeByPage 
+	* @Description: 分页查询
+	* @return
+	* @return List<AuthPrivilege>    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-3-12
+	* @user by wangzx
+	 */
+	List<AuthPrivilege> findAuthPrivilegeByPage(AuthPrivilege search);
+}

+ 99 - 0
yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/auth/IAuthRolePrivilegeService.java

@@ -0,0 +1,99 @@
+package com.yuxin.wx.api.auth;
+
+import java.util.List;
+
+import com.yuxin.wx.model.auth.AuthRolePrivilege;
+/**
+ * Service Interface:AuthRolePrivilege
+ * @author chopin
+ * @date 2015-3-12
+ */
+public interface IAuthRolePrivilegeService  {
+	/**
+	 * 
+	* @Title: saveAuthRolePrivilege
+	* @Description: 新增AuthRolePrivilege
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-3-12
+	* @user by wangzx
+	 */
+	void insert(AuthRolePrivilege entity);
+	
+	/**
+	 * 
+	* @Title: batchSaveAuthRolePrivilege 
+	* @Description: 批量新增AuthRolePrivilege
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-3-12
+	* @user by wangzx
+	 */
+	void batchInsert(List<AuthRolePrivilege> list);
+	
+	/**
+	 * 
+	* @Title: updateAuthRolePrivilege 
+	* @Description: 编辑AuthRolePrivilege
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-3-12
+	* @user by wangzx
+	 */
+	void update(AuthRolePrivilege entity);
+	
+	/**
+	 * 
+	* @Title: deleteAuthRolePrivilegeById 
+	* @Description: 根据id删除AuthRolePrivilege
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-3-12
+	* @user by wangzx
+	 */
+	void deleteAuthRolePrivilegeById(Integer id);
+	
+	/**
+	 * 
+	* @Title: deleteAuthRolePrivilegeByIds 
+	* @Description: 根据id批量删除AuthRolePrivilege
+	* @param ids
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-3-12
+	* @user by wangzx
+	 */
+	void deleteAuthRolePrivilegeByIds(Integer[] ids);
+	
+	/**
+	 * 
+	* @Title: findAuthRolePrivilegeById 
+	* @Description: 根据id查询
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-3-12
+	* @user by wangzx
+	 */
+	AuthRolePrivilege findAuthRolePrivilegeById(Integer id);
+	
+	/**
+	 * 
+	* @Title: findAuthRolePrivilegeByPage 
+	* @Description: 分页查询
+	* @return
+	* @return List<AuthRolePrivilege>    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-3-12
+	* @user by wangzx
+	 */
+	List<AuthRolePrivilege> findAuthRolePrivilegeByPage(AuthRolePrivilege search);
+}

+ 99 - 0
yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/auth/IAuthRoleService.java

@@ -0,0 +1,99 @@
+package com.yuxin.wx.api.auth;
+
+import java.util.List;
+
+import com.yuxin.wx.model.auth.AuthRole;
+/**
+ * Service Interface:AuthRole
+ * @author chopin
+ * @date 2015-3-12
+ */
+public interface IAuthRoleService  {
+	/**
+	 * 
+	* @Title: saveAuthRole
+	* @Description: 新增AuthRole
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-3-12
+	* @user by wangzx
+	 */
+	void insert(AuthRole entity);
+	
+	/**
+	 * 
+	* @Title: batchSaveAuthRole 
+	* @Description: 批量新增AuthRole
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-3-12
+	* @user by wangzx
+	 */
+	void batchInsert(List<AuthRole> list);
+	
+	/**
+	 * 
+	* @Title: updateAuthRole 
+	* @Description: 编辑AuthRole
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-3-12
+	* @user by wangzx
+	 */
+	void update(AuthRole entity);
+	
+	/**
+	 * 
+	* @Title: deleteAuthRoleById 
+	* @Description: 根据id删除AuthRole
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-3-12
+	* @user by wangzx
+	 */
+	void deleteAuthRoleById(Integer id);
+	
+	/**
+	 * 
+	* @Title: deleteAuthRoleByIds 
+	* @Description: 根据id批量删除AuthRole
+	* @param ids
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-3-12
+	* @user by wangzx
+	 */
+	void deleteAuthRoleByIds(Integer[] ids);
+	
+	/**
+	 * 
+	* @Title: findAuthRoleById 
+	* @Description: 根据id查询
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-3-12
+	* @user by wangzx
+	 */
+	AuthRole findAuthRoleById(Integer id);
+	
+	/**
+	 * 
+	* @Title: findAuthRoleByPage 
+	* @Description: 分页查询
+	* @return
+	* @return List<AuthRole>    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-3-12
+	* @user by wangzx
+	 */
+	List<AuthRole> findAuthRoleByPage(AuthRole search);
+}

+ 99 - 0
yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/auth/IAuthUserRoleService.java

@@ -0,0 +1,99 @@
+package com.yuxin.wx.api.auth;
+
+import java.util.List;
+
+import com.yuxin.wx.model.auth.AuthUserRole;
+/**
+ * Service Interface:AuthUserRole
+ * @author chopin
+ * @date 2015-3-12
+ */
+public interface IAuthUserRoleService  {
+	/**
+	 * 
+	* @Title: saveAuthUserRole
+	* @Description: 新增AuthUserRole
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-3-12
+	* @user by wangzx
+	 */
+	void insert(AuthUserRole entity);
+	
+	/**
+	 * 
+	* @Title: batchSaveAuthUserRole 
+	* @Description: 批量新增AuthUserRole
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-3-12
+	* @user by wangzx
+	 */
+	void batchInsert(List<AuthUserRole> list);
+	
+	/**
+	 * 
+	* @Title: updateAuthUserRole 
+	* @Description: 编辑AuthUserRole
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-3-12
+	* @user by wangzx
+	 */
+	void update(AuthUserRole entity);
+	
+	/**
+	 * 
+	* @Title: deleteAuthUserRoleById 
+	* @Description: 根据id删除AuthUserRole
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-3-12
+	* @user by wangzx
+	 */
+	void deleteAuthUserRoleById(Integer id);
+	
+	/**
+	 * 
+	* @Title: deleteAuthUserRoleByIds 
+	* @Description: 根据id批量删除AuthUserRole
+	* @param ids
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-3-12
+	* @user by wangzx
+	 */
+	void deleteAuthUserRoleByIds(Integer[] ids);
+	
+	/**
+	 * 
+	* @Title: findAuthUserRoleById 
+	* @Description: 根据id查询
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-3-12
+	* @user by wangzx
+	 */
+	AuthUserRole findAuthUserRoleById(Integer id);
+	
+	/**
+	 * 
+	* @Title: findAuthUserRoleByPage 
+	* @Description: 分页查询
+	* @return
+	* @return List<AuthUserRole>    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-3-12
+	* @user by wangzx
+	 */
+	List<AuthUserRole> findAuthUserRoleByPage(AuthUserRole search);
+}

+ 5 - 0
yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/base/IBaseService.java

@@ -0,0 +1,5 @@
+package com.yuxin.wx.api.base;
+
+public interface IBaseService {
+	
+}

+ 103 - 0
yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/certificate/ICertificateConfigService.java

@@ -0,0 +1,103 @@
+package com.yuxin.wx.api.certificate;
+
+import java.util.List;
+import java.util.Map;
+
+import com.yuxin.wx.model.certificate.CertificateConfig;
+import com.yuxin.wx.model.student.Student;
+
+/**
+ * Service Interface:CertificateConfig
+ * @author chopin
+ * @date 2016-9-22
+ */
+public interface ICertificateConfigService  {
+	/**
+	 * 
+	* @Title: saveCertificateConfig
+	* @Description: 新增CertificateConfig
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-9-22
+	* @user by wangzx
+	 */
+	void insert(CertificateConfig entity);
+	
+	/**
+	 * 
+	* @Title: batchSaveCertificateConfig 
+	* @Description: 批量新增CertificateConfig
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-9-22
+	* @user by wangzx
+	 */
+	void batchInsert(List<CertificateConfig> list);
+	
+	/**
+	 * 
+	* @Title: updateCertificateConfig 
+	* @Description: 编辑CertificateConfig
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-9-22
+	* @user by wangzx
+	 */
+	void update(CertificateConfig entity);
+	
+	/**
+	 * 
+	* @Title: deleteCertificateConfigById 
+	* @Description: 根据id删除CertificateConfig
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-9-22
+	* @user by wangzx
+	 */
+	void deleteCertificateConfigById(Integer id);
+	
+	/**
+	 * 
+	* @Title: deleteCertificateConfigByIds 
+	* @Description: 根据id批量删除CertificateConfig
+	* @param ids
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-9-22
+	* @user by wangzx
+	 */
+	void deleteCertificateConfigByIds(Integer[] ids);
+	
+	/**
+	 * 
+	* @Title: findCertificateConfigById 
+	* @Description: 根据id查询
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-9-22
+	* @user by wangzx
+	 */
+	CertificateConfig findCertificateConfigById(Integer id);
+	
+	/**
+	 * 
+	* @Title: findCertificateConfigByPage 
+	* @Description: 分页查询
+	* @return
+	* @return List<CertificateConfig>    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-9-22
+	* @user by wangzx
+	 */
+	List<CertificateConfig> findCertificateConfigByPage(CertificateConfig search);
+
+}

+ 101 - 0
yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/certificate/ICertificateCourseRelationService.java

@@ -0,0 +1,101 @@
+package com.yuxin.wx.api.certificate;
+
+import java.util.List;
+
+import com.yuxin.wx.model.certificate.CertificateCourseRelation;
+/**
+ * Service Interface:CertificateCourseRelation
+ * @author chopin
+ * @date 2016-9-22
+ */
+public interface ICertificateCourseRelationService  {
+	/**
+	 * 
+	* @Title: saveCertificateCourseRelation
+	* @Description: 新增CertificateCourseRelation
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-9-22
+	* @user by wangzx
+	 */
+	void insert(CertificateCourseRelation entity);
+	
+	/**
+	 * 
+	* @Title: batchSaveCertificateCourseRelation 
+	* @Description: 批量新增CertificateCourseRelation
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-9-22
+	* @user by wangzx
+	 */
+	void batchInsert(List<CertificateCourseRelation> list);
+	
+	/**
+	 * 
+	* @Title: updateCertificateCourseRelation 
+	* @Description: 编辑CertificateCourseRelation
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-9-22
+	* @user by wangzx
+	 */
+	void update(CertificateCourseRelation entity);
+	
+	/**
+	 * 
+	* @Title: deleteCertificateCourseRelationById 
+	* @Description: 根据id删除CertificateCourseRelation
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-9-22
+	* @user by wangzx
+	 */
+	void deleteCertificateCourseRelationById(Integer id);
+	
+	/**
+	 * 
+	* @Title: deleteCertificateCourseRelationByIds 
+	* @Description: 根据id批量删除CertificateCourseRelation
+	* @param ids
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-9-22
+	* @user by wangzx
+	 */
+	void deleteCertificateCourseRelationByIds(Integer[] ids);
+	
+	/**
+	 * 
+	* @Title: findCertificateCourseRelationById 
+	* @Description: 根据id查询
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-9-22
+	* @user by wangzx
+	 */
+	CertificateCourseRelation findCertificateCourseRelationById(Integer id);
+	
+	/**
+	 * 
+	* @Title: findCertificateCourseRelationByPage 
+	* @Description: 分页查询
+	* @return
+	* @return List<CertificateCourseRelation>    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-9-22
+	* @user by wangzx
+	 */
+	List<CertificateCourseRelation> findCertificateCourseRelationByPage(CertificateCourseRelation search);
+
+	List<CertificateCourseRelation> queryRelationByCerId(Integer id);
+}

+ 161 - 0
yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/certificate/ICertificateUserRelationService.java

@@ -0,0 +1,161 @@
+package com.yuxin.wx.api.certificate;
+
+import java.util.List;
+import java.util.Map;
+
+import com.yuxin.wx.common.PageFinder;
+import com.yuxin.wx.model.certificate.CertificateUserRelation;
+import com.yuxin.wx.model.company.CompanyFunctionSet;
+import com.yuxin.wx.model.student.Student;
+import com.yuxin.wx.model.student.StudentOrganizationType;
+import com.yuxin.wx.model.system.SysConfigDict;
+import com.yuxin.wx.model.tiku.exam.TikuExamUserRelation;
+import com.yuxin.wx.vo.certificate.CertificateUserRelationVo;
+/**
+ * Service Interface:CertificateUserRelation
+ * @author chopin
+ * @date 2016-9-22
+ */
+public interface ICertificateUserRelationService  {
+	/**
+	 * 
+	* @Title: saveCertificateUserRelation
+	* @Description: 新增CertificateUserRelation
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-9-22
+	* @user by wangzx
+	 */
+	void insert(CertificateUserRelation entity);
+	
+	/**
+	 * 
+	* @Title: batchSaveCertificateUserRelation 
+	* @Description: 批量新增CertificateUserRelation
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-9-22
+	* @user by wangzx
+	 */
+	void batchInsert(List<CertificateUserRelation> list);
+	
+	/**
+	 * 
+	* @Title: updateCertificateUserRelation 
+	* @Description: 编辑CertificateUserRelation
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-9-22
+	* @user by wangzx
+	 */
+	void update(CertificateUserRelation entity);
+	
+	/**
+	 * 
+	* @Title: deleteCertificateUserRelationById 
+	* @Description: 根据id删除CertificateUserRelation
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-9-22
+	* @user by wangzx
+	 */
+	void deleteCertificateUserRelationById(Integer id);
+	
+	/**
+	 * 
+	* @Title: deleteCertificateUserRelationByIds 
+	* @Description: 根据id批量删除CertificateUserRelation
+	* @param ids
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-9-22
+	* @user by wangzx
+	 */
+	void deleteCertificateUserRelationByIds(Integer[] ids);
+	
+	/**
+	 * 
+	* @Title: findCertificateUserRelationById 
+	* @Description: 根据id查询
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-9-22
+	* @user by wangzx
+	 */
+	CertificateUserRelation findCertificateUserRelationById(Integer id);
+	
+	/**
+	 * 
+	* @Title: findCertificateUserRelationByPage 
+	* @Description: 分页查询
+	* @return
+	* @return List<CertificateUserRelation>    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-9-22
+	* @user by wangzx
+	 */
+	List<CertificateUserRelation> findCertificateUserRelationByPage(CertificateUserRelation search);
+	
+	/**
+	 * 
+	 * Class Name: ICertificateConfigService.java
+	 * @Description: 个人证书列表
+	 * @author dongshuai
+	 * @date 2016年9月22日 下午8:23:33
+	 * @modifier
+	 * @modify-date 2016年9月22日 下午8:23:33
+	 * @version 1.0
+	 * @param cur
+	 * @return
+	 */
+	PageFinder<CertificateUserRelationVo> certificateUserRelationList(CertificateUserRelation cur);
+	
+	/**
+	 * 
+	 * Class Name: ICertificateUserRelationService.java
+	 * @Description: 根据id查询证书信息
+	 * @author dongshuai
+	 * @date 2016年9月23日 上午11:21:45
+	 * @modifier
+	 * @modify-date 2016年9月23日 上午11:21:45
+	 * @version 1.0
+	 * @param map
+	 * @return
+	 */
+	CertificateUserRelationVo queryCertificateUserRelationById(Map<String, Integer> map);
+
+    PageFinder<CertificateUserRelationVo> certificateUserRelationListNew(CertificateUserRelation cur, CompanyFunctionSet certificateImg, Student student);
+
+    Map<String, Object> queryVariableInfo(Student student, CertificateUserRelation cur, Map<String, Object> map, CompanyFunctionSet img, CompanyFunctionSet identityType);
+
+    void longitudinalTableSaveOrUpdate(String student, String stu_id, String s, Integer companyId, Object o, Map<String, String> insertOrUpdateMap);
+
+    List<StudentOrganizationType> queryOrganizationList(CompanyFunctionSet certificateImg, CompanyFunctionSet identityType, Integer companyId);
+
+	List<SysConfigDict> querydictList(CompanyFunctionSet certificateImg, CompanyFunctionSet identityType);
+
+    List<Integer> queryGenerateList(CertificateUserRelation cur);
+
+	void updateCertificateStatus(CertificateUserRelation cur, CompanyFunctionSet certificateImg, Student result);
+
+	void createPoster(CertificateUserRelation cur, CompanyFunctionSet certificateImg, String companyName, Student student, String companyDomain);
+
+    boolean signCertificate(Integer userId);
+
+    List<CertificateUserRelationVo> queryCertificateUserRelationByUserId(Map<String, Integer> map);
+
+	TikuExamUserRelation getExamScore(Integer id, Integer userId);
+
+	Integer getCoursePackageCount(Integer classPackageId);
+
+	List<String> getCourseInfo(Integer courseId);
+}

+ 9 - 0
yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/certificate/UsersCourseReportService.java

@@ -0,0 +1,9 @@
+package com.yuxin.wx.api.certificate;
+
+import com.yuxin.wx.vo.certificate.UsersCourseReport;
+
+public interface UsersCourseReportService {
+    UsersCourseReport findReport(UsersCourseReport usersCourseReport);
+
+    void insert(UsersCourseReport usersCourseReport);
+}

+ 102 - 0
yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/classes/IBjyAccountService.java

@@ -0,0 +1,102 @@
+package com.yuxin.wx.api.classes;
+
+import com.yuxin.wx.model.classes.liveroom.BjyAccount;
+
+import java.util.List;
+
+/**
+ * Service Interface:BjyAccount
+ * @author chopin
+ * @date 2017-7-27
+ */
+public interface IBjyAccountService {
+	/**
+	 * 
+	* @Title: saveBjyAccount
+	* @Description: 新增BjyAccount
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2017-7-27
+	* @user by wangzx
+	 */
+	void insert(BjyAccount entity);
+	
+	/**
+	 * 
+	* @Title: batchSaveBjyAccount 
+	* @Description: 批量新增BjyAccount
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2017-7-27
+	* @user by wangzx
+	 */
+	void batchInsert(List<BjyAccount> list);
+	
+	/**
+	 * 
+	* @Title: updateBjyAccount 
+	* @Description: 编辑BjyAccount
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2017-7-27
+	* @user by wangzx
+	 */
+	void update(BjyAccount entity);
+	
+	/**
+	 * 
+	* @Title: deleteBjyAccountById 
+	* @Description: 根据id删除BjyAccount
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2017-7-27
+	* @user by wangzx
+	 */
+	void deleteBjyAccountById(Integer id);
+	
+	/**
+	 * 
+	* @Title: deleteBjyAccountByIds 
+	* @Description: 根据id批量删除BjyAccount
+	* @param ids
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2017-7-27
+	* @user by wangzx
+	 */
+	void deleteBjyAccountByIds(Integer[] ids);
+	
+	/**
+	 * 
+	* @Title: findBjyAccountById 
+	* @Description: 根据id查询
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2017-7-27
+	* @user by wangzx
+	 */
+	BjyAccount findBjyAccountById(Integer id);
+	
+	/**
+	 * 
+	* @Title: findBjyAccountByPage 
+	* @Description: 分页查询
+	* @return
+	* @return List<BjyAccount>    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2017-7-27
+	* @user by wangzx
+	 */
+	List<BjyAccount> findBjyAccountByPage(BjyAccount search);
+
+	BjyAccount findByCompanyId(Integer companyId);
+}

+ 111 - 0
yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/classes/IClassFavService.java

@@ -0,0 +1,111 @@
+package com.yuxin.wx.api.classes;
+
+import com.yuxin.wx.common.PageFinder;
+import com.yuxin.wx.vo.classes.ClassFavVo;
+import com.yuxin.wx.vo.commodity.CommodityVo;
+
+import java.util.List;
+
+public interface IClassFavService {
+	/**
+	 * 
+	 * Class Name: IClassFavService.java
+	 * 
+	 * @Description: TODO(商品收藏集合)
+	 * @author ycl
+	 * @date 2015-4-8
+	 * @modifier
+	 * @modify-date 2015-4-8
+	 * @version 1.0
+	 * @return
+	 */
+	PageFinder<CommodityVo> findCommodityList(ClassFavVo classFavVo);
+
+
+	/**
+	 * 
+	 * Class Name: IClassFavService.java
+	 * @Description: TODO(根据ID删除收藏的商品)
+	 * @author ycl
+	 * @date 2015-4-10 下午3:13:29
+	 * @modifier
+	 * @modify-date 2015-4-10 下午3:13:29
+	 * @version 1.0
+	 * @param ucId
+	 */
+	void deleteUserCollectById(Integer ucId);
+	
+	/**
+	 * @Description: 根据商品Id查询对应的被收藏的次数
+	 * @author ycl
+	 * @date 2015-4-13 下午6:21:42
+	 * @modifier
+	 * @modify-date 2015-4-13 下午6:21:42
+	 * @version 1.0
+	 * @param commodityId
+	 * @return
+	 */
+	List<CommodityVo> findCommodityWithCount(List<Integer> commodityId);
+	/**
+	 * 
+	 * Class Name: IClassFavService.java
+	 * @Description: 查询直播数量
+	 * @author ycl
+	 * @date 2015-4-17 下午1:55:57
+	 * @modifier
+	 * @modify-date 2015-4-17 下午1:55:57
+	 * @version 1.0
+	 * @return
+	 */
+	Integer findCountByLive(ClassFavVo classFavVo);
+	/**
+	 * 
+	 * Class Name: IClassFavService.java
+	 * @Description: 查询视频数量
+	 * @author ycl
+	 * @date 2015-4-17 下午1:56:55
+	 * @modifier
+	 * @modify-date 2015-4-17 下午1:56:55
+	 * @version 1.0
+	 * @return
+	 */
+	Integer findCountByVideo(ClassFavVo classFavVo);
+	/**
+	 * 
+	 * Class Name: IClassFavService.java
+	 * @Description: 查询面授数量
+	 * @author ycl
+	 * @date 2015-4-17 下午1:57:13
+	 * @modifier
+	 * @modify-date 2015-4-17 下午1:57:13
+	 * @version 1.0
+	 * @return
+	 */
+	Integer findCountByFace(ClassFavVo classFavVo);
+	/**
+	 * 
+	 * Class Name: IClassFavService.java
+	 * @Description: 查询其他数量
+	 * @author yuchanglong
+	 * @date 2016年6月15日 下午9:21:34
+	 * @version 1.0
+	 * @param classFavVo
+	 * @return
+	 */
+	Integer findCountByOther(ClassFavVo classFavVo);
+	Integer findCountByMeet(ClassFavVo classFavVo);
+
+	/**
+	 * 
+	 * Class Name: IClassFavService.java
+	 * @Description: 查询学员收藏课程数量
+	 * @author ycl
+	 * @date 2015-4-17 下午1:57:13
+	 * @modifier
+	 * @modify-date 2015-4-17 下午1:57:13
+	 * @version 1.0
+	 * @return
+	 */
+	Integer findCountByStudent(ClassFavVo classFavVo);
+
+}

+ 30 - 0
yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/classes/IClassInUserRelationService.java

@@ -0,0 +1,30 @@
+package com.yuxin.wx.api.classes;
+
+import java.util.List;
+
+import com.yuxin.wx.model.classin.ClassInUserRelation;
+
+public interface IClassInUserRelationService {
+	/** 不需要操作 */
+	public static int DONT_NEED = 0;
+	/** 需要新增 */
+	public static int NEED_INSERT = 1;
+	
+	/** 更新手机号 */
+	public static int UPDATE_MOBILE = 2;
+	/** 更新昵称 */
+	public static int UPDATE_NICK_NAME = 3;
+	/** 更新密码 */
+	public static int UPDATE_PASSWORD = 4;
+
+	ClassInUserRelation getTeacherById(Integer companyId, Integer userId);
+	
+	ClassInUserRelation getStudentById(Integer companyId, Integer userId);
+
+	List<Integer> checkUserStatus(ClassInUserRelation classInUserRelation);
+
+	void insert(ClassInUserRelation classInUserRelation);
+
+	void update(ClassInUserRelation classInUserRelation);
+
+}

+ 317 - 0
yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/classes/IClassModuleLessonService.java

@@ -0,0 +1,317 @@
+package com.yuxin.wx.api.classes;
+
+import com.yuxin.wx.model.classes.ClassModuleLesson;
+import com.yuxin.wx.vo.classes.AllLiveCountModuleLessonVo;
+import com.yuxin.wx.vo.classes.ClassTableVo;
+import com.yuxin.wx.vo.classes.LessonQueryVo;
+import com.yuxin.wx.vo.student.StudentLessTimeVo;
+
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+
+/**
+ * Service Interface:ClassModuleLesson
+ * @author chopin
+ * @date 2015-3-12
+ */
+public interface IClassModuleLessonService  {
+	/**
+	 * 
+	* @Title: saveClassModuleLesson
+	* @Description: 新增ClassModuleLesson
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-3-12
+	* @user by wangzx
+	 */
+	void insert(ClassModuleLesson entity);
+	
+	/**
+	 * 
+	* @Title: batchSaveClassModuleLesson 
+	* @Description: 批量新增ClassModuleLesson
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-3-12
+	* @user by wangzx
+	 */
+	void batchInsert(List<ClassModuleLesson> list);
+	
+	/**
+	 * 
+	* @Title: updateClassModuleLesson 
+	* @Description: 编辑ClassModuleLesson
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-3-12
+	* @user by wangzx
+	 */
+	void update(ClassModuleLesson entity);
+	
+	/**
+	 * 
+	* @Title: deleteClassModuleLessonById 
+	* @Description: 根据id删除ClassModuleLesson
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-3-12
+	* @user by wangzx
+	 */
+	void deleteClassModuleLessonById(Integer id);
+	
+	/**
+	 * 
+	* @Title: deleteClassModuleLessonByIds 
+	* @Description: 根据id批量删除ClassModuleLesson
+	* @param ids
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-3-12
+	* @user by wangzx
+	 */
+	void deleteClassModuleLessonByIds(Integer[] ids);
+	
+	/**
+	 * 
+	* @Title: findClassModuleLessonById 
+	* @Description: 根据id查询
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-3-12
+	* @user by wangzx
+	 */
+	ClassModuleLesson findClassModuleLessonById(Integer id);
+	
+	/**
+	 * 
+	* @Title: findClassModuleLessonByPage 
+	* @Description: 分页查询
+	* @return
+	* @return List<ClassModuleLesson>    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-3-12
+	* @user by wangzx
+	 */
+	List<ClassModuleLesson> findClassModuleLessonByPage(ClassModuleLesson search);
+	/**
+	 * 
+	 * Class Name: IClassModuleLessonService.java
+	 * @Description: TODO(根据子订单查询出的resouce_id查询相应的课次信息)
+	 * @author ycl
+	 * @date 2015-4-11 下午1:08:01
+	 * @modifier
+	 * @modify-date 2015-4-11 下午1:08:01
+	 * @version 1.0
+	 * @param faceAndLiveIds
+	 * @return
+	 */
+	List<ClassModuleLesson> findClassInfoByResourceIdsYh(HashMap map);
+	/**
+	 * 
+	 * Class Name: IClassModuleLessonService.java
+	 * @Description: 查询指定日期有指定类型(面授或直播)课程的数量
+	 * @author yuchanglong
+	 * @date 2015年6月8日 下午4:03:15
+	 * @version 1.0
+	 * @param stuId
+	 * @param teachMethod
+	 * @param date
+	 * @return
+	 */
+	Integer countBydate(Map<String, Object> map);
+
+	/**
+	 * 
+	 * Class Name: IClassModuleLessonService.java
+	 * @Description: 查询直播id
+	 * @author 周文斌
+	 * @date 2015-6-8 下午6:06:49
+	 * @version 1.0
+	 * @param param
+	 * @return
+	 */
+	List<ClassModuleLesson> findLiveByTime(Map<String,Object> param);
+	/**
+	 * 
+	 * Class Name: IClassModuleLessonService.java
+	 * @Description: 查询今天有课的订单表主键
+	 * @author yuchanglong
+	 * @date 2015年6月9日 下午6:01:12
+	 * @version 1.0
+	 * @param today
+	 * @return
+	 */
+	Integer findTodayId(Map<String,Object> param);
+	
+	/**
+	 * @Description: 根据当前的key查找对应的count
+	 * @author zx.wang
+	 * @date 2015-11-6 下午2:14:56
+	 * @version 2.0
+	 * @param authKey
+	 * @return
+	 */
+	Integer findLiveAuthCount(String authKey);
+	
+	/**
+	 * @Description: 根据当前
+	 * @author zx.wang
+	 * @date 2015-11-6 下午5:31:10
+	 * @version 2.0
+	 * @param authKey
+	 */
+	void updateAuthCount(String authKey);
+	
+	/**
+	 * 
+	 * Class Name: IClassModuleLessonService.java
+	 * @Description: 根据班号查询课次
+	 * @author zhang.zx
+	 * @date 2015年12月15日 上午11:29:07
+	 * @modifier
+	 * @modify-date 2015年12月15日 上午11:29:07
+	 * @version 1.0
+	 * @param moduleNoId
+	 * @return
+	 */
+	List<ClassModuleLesson> findLessonsByModuleNoId(Map<String,Object> param);
+	/**
+	 * 
+	 * Class Name: IClassModuleLessonService.java
+	 * @Description: 查询直播课次
+	 * @author yuchanglong
+	 * @date 2016年3月3日 下午5:03:58
+	*/
+	List<ClassModuleLesson> findLiveLessonsByModuleNoId(Map<String,Object> param);
+	/**
+	 * 
+	 * Class Name: IClassModuleLessonService.java
+	 * @Description: 查询全部正在直播课程
+	 * @author 周文斌
+	 * @date 2016-3-1 下午12:13:36
+	 * @version 1.0
+	 * @param param
+	 * @return
+	 */
+	List<AllLiveCountModuleLessonVo> findAllLiveByTime(Map<String,Object> param);
+	
+	/**
+	 * 
+	 * Class Name: IClassModuleLessonService.java
+	 * @Description: 查询最后结束日期
+	 * @author 周文斌
+	 * @date 2016-3-11 下午2:51:11
+	 * @version 1.0
+	 * @param moduleId
+	 * @return
+	 */
+	ClassModuleLesson findMaxTimeByModuleId(Integer moduleId);
+	
+	/**
+	 * 
+	 * Class Name: IClassModuleLessonService.java
+	 * @Description: 当月课程数据
+	 * @author 周文斌
+	 * @date 2016-5-17 下午6:39:34
+	 * @version 1.0
+	 * @param param
+	 * @return
+	 */
+	List<ClassTableVo> findLessonByCont(Map<String, Object> param);
+	
+	/**
+	 * 
+	 * Class Name: ClassModuleLessonMapper.java
+	 * @Description: 查询今日以后直播课程课表
+	 * @author zhang.zx
+	 * @date 2016年7月6日 上午11:20:55
+	 * @modifier
+	 * @modify-date 2016年7月6日 上午11:20:55
+	 * @version 1.0
+	 * @param map
+	 * @return
+	 */
+	List<ClassModuleLesson> queryTodayOrTommorowCourse(Map<String, Object> map);
+
+    List<Map<Integer,String>> findteacherByMeeted(Integer stuId, Integer commondityId);
+
+	String queryLessonStatusByCommodityId(Integer id);
+
+	ClassModuleLesson queryLessonNearOrAlreadyStart(LessonQueryVo search);
+
+    List<ClassTableVo> findMyClassModuleLesson(Map<String,Object> map);
+
+	String queryNextStartTime(LessonQueryVo search);
+
+    List<ClassModuleLesson> findMeetLessons(Map<String, Object> param);
+
+	List<ClassModuleLesson> findMuchCodeLessonInClassType(Map<String, Object> param);
+
+	List<ClassModuleLesson> findSimpleCodeLessonInClassType(Map<String, Object> param);
+
+	List<ClassModuleLesson> findFreeLessons(Map<String, Object> param);
+
+	List<ClassTableVo> findPcMuchCodeLessons(Map<String, Object> param);
+
+	List<ClassTableVo> findPcSimpleCodeLessons(Map<String, Object> param);
+
+	/**
+	 * PC端 多班号 代理课程 课表查询(课次信息)
+	 * @param param
+	 * @return
+	 */
+	List<ClassTableVo> findPcAgentMuchCodeLessons(Map<String, Object> param);
+
+	/**
+	 * PC端 单班号 代理课程 课表查询(课次信息)
+	 * @param param
+	 * @return
+	 */
+	List<ClassTableVo> findPcAgentSimpleCodeLessons(Map<String, Object> param);
+
+	/**
+	 * WAP端 多班号 代理课程 课表查询(课次信息)
+	 * @param param
+	 * @return
+	 */
+	List<ClassTableVo> findWapAgentMuchCodeLessons(Map<String, Object> param);
+
+	/**
+	 * WAP端 单班号 代理课程 课表查询(课次信息)
+	 * @param param
+	 * @return
+	 */
+	List<ClassTableVo> findWapAgentSimpleCodeLessons(Map<String, Object> param);
+
+	List<ClassTableVo> findWapMuchCodeLessons(Map<String, Object> param);
+
+	List<ClassTableVo> findWapSimpleCodeLessons(Map<String, Object> param);
+
+    List<StudentLessTimeVo> queryMuchCodeClassTypeLessionTime(Map<String, Object> param);
+
+    List<StudentLessTimeVo> queryAgentMuchCodeClassTypeLessionTime(Map<String, Object> param);
+
+	List<StudentLessTimeVo> querySimpleCodeClassTypeLessionTime(Map<String, Object> param);
+
+	List<StudentLessTimeVo> queryAgentSimpleCodeClassTypeLessionTime(Map<String, Object> param);
+
+    List<StudentLessTimeVo> queryMuchCodeClassPackageLessionTime(Map<String, Object> param);
+
+	List<StudentLessTimeVo> querySimpleCodeClassPackageLessionTime(Map<String, Object> param);
+
+	List<ClassModuleLesson> findLessonsByModuleNoId(Integer moduleNoId);
+
+	List<ClassModuleLesson> findcmlByModuleNoIdAndTime(Integer classModelNoId, String time);
+
+	Integer countByModuleNoIdAndTime(Integer classModelNoId, String time);
+}

+ 113 - 0
yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/classes/IClassModuleNoOnsaleService.java

@@ -0,0 +1,113 @@
+package com.yuxin.wx.api.classes;
+
+import java.util.List;
+
+import com.yuxin.wx.model.classes.ClassModuleNoOnsale;
+/**
+ * Service Interface:ClassModuleNoOnsale
+ * @author wang.zx
+ * @date 2015-8-14
+ */
+public interface IClassModuleNoOnsaleService  {
+	/**
+	 * 
+	* @Title: saveClassModuleNoOnsale
+	* @Description: 新增ClassModuleNoOnsale
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-8-14
+	* @user by wangzx
+	 */
+	void insert(ClassModuleNoOnsale entity);
+	
+	/**
+	 * 
+	* @Title: batchSaveClassModuleNoOnsale 
+	* @Description: 批量新增ClassModuleNoOnsale
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-8-14
+	* @user by wangzx
+	 */
+	void batchInsert(List<ClassModuleNoOnsale> list);
+	
+	/**
+	 * 
+	* @Title: updateClassModuleNoOnsale 
+	* @Description: 编辑ClassModuleNoOnsale
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-8-14
+	* @user by wangzx
+	 */
+	void update(ClassModuleNoOnsale entity);
+	
+	/**
+	 * 
+	* @Title: deleteClassModuleNoOnsaleById 
+	* @Description: 根据id删除ClassModuleNoOnsale
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-8-14
+	* @user by wangzx
+	 */
+	void deleteClassModuleNoOnsaleById(Integer id);
+	
+	/**
+	 * 
+	* @Title: deleteClassModuleNoOnsaleByIds 
+	* @Description: 根据id批量删除ClassModuleNoOnsale
+	* @param ids
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-8-14
+	* @user by wangzx
+	 */
+	void deleteClassModuleNoOnsaleByIds(Integer[] ids);
+	
+	/**
+	 * 
+	* @Title: findClassModuleNoOnsaleById 
+	* @Description: 根据id查询
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-8-14
+	* @user by wangzx
+	 */
+	ClassModuleNoOnsale findClassModuleNoOnsaleById(Integer id);
+	
+	/**
+	 * 
+	* @Title: findClassModuleNoOnsaleByPage 
+	* @Description: 分页查询
+	* @return
+	* @return List<ClassModuleNoOnsale>    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-8-14
+	* @user by wangzx
+	 */
+	List<ClassModuleNoOnsale> findClassModuleNoOnsaleByPage(ClassModuleNoOnsale search);
+	/**
+	 * 
+	* @Title: findClassModuleNoOnSale 
+	* @Description: 查询在售的班号
+	* @return
+	* @return List<ClassModuleNoOnsale>    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-8-14
+	* @user by chopin
+	 */
+    Integer findClassModuleNoOnSale(ClassModuleNoOnsale search);
+
+    List<ClassModuleNoOnsale> queryClassTypeModuleNoOnSale(Integer classTypeId);
+}

+ 105 - 0
yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/classes/IClassModuleNoService.java

@@ -0,0 +1,105 @@
+package com.yuxin.wx.api.classes;
+
+import java.util.List;
+
+import com.yuxin.wx.model.classes.ClassModuleNo;
+/**
+ * Service Interface:ClassModuleNo
+ * @author chopin
+ * @date 2015-3-12
+ */
+public interface IClassModuleNoService  {
+	/**
+	 * 
+	* @Title: saveClassModuleNo
+	* @Description: 新增ClassModuleNo
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-3-12
+	* @user by wangzx
+	 */
+	void insert(ClassModuleNo entity);
+	
+	/**
+	 * 
+	* @Title: batchSaveClassModuleNo 
+	* @Description: 批量新增ClassModuleNo
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-3-12
+	* @user by wangzx
+	 */
+	void batchInsert(List<ClassModuleNo> list);
+	
+	/**
+	 * 
+	* @Title: updateClassModuleNo 
+	* @Description: 编辑ClassModuleNo
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-3-12
+	* @user by wangzx
+	 */
+	void update(ClassModuleNo entity);
+	
+	/**
+	 * 
+	* @Title: deleteClassModuleNoById 
+	* @Description: 根据id删除ClassModuleNo
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-3-12
+	* @user by wangzx
+	 */
+	void deleteClassModuleNoById(Integer id);
+	
+	/**
+	 * 
+	* @Title: deleteClassModuleNoByIds 
+	* @Description: 根据id批量删除ClassModuleNo
+	* @param ids
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-3-12
+	* @user by wangzx
+	 */
+	void deleteClassModuleNoByIds(Integer[] ids);
+	
+	/**
+	 * 
+	* @Title: findClassModuleNoById 
+	* @Description: 根据id查询
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-3-12
+	* @user by wangzx
+	 */
+	ClassModuleNo findClassModuleNoById(Integer id);
+	
+	/**
+	 * 
+	* @Title: findClassModuleNoByPage 
+	* @Description: 分页查询
+	* @return
+	* @return List<ClassModuleNo>    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-3-12
+	* @user by wangzx
+	 */
+	List<ClassModuleNo> findClassModuleNoByPage(ClassModuleNo search);
+
+    ClassModuleNo findClassModuleNoByLessonId(Integer lessonId);
+
+	List<ClassModuleNo> findClassModuleNoByModuleId(Integer moduleId);
+
+    ClassModuleNo findClassModuleByLessonId(Integer lessonId);
+}

+ 178 - 0
yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/classes/IClassModuleService.java

@@ -0,0 +1,178 @@
+package com.yuxin.wx.api.classes;
+
+import com.yuxin.wx.model.classes.ClassModule;
+
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+/**
+ * Service Interface:ClassModule
+ * @author chopin
+ * @date 2015-3-12
+ */
+public interface IClassModuleService  {
+	/**
+	 * 
+	* @Title: saveClassModule
+	* @Description: 新增ClassModule
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-3-12
+	* @user by wangzx
+	 */
+	void insert(ClassModule entity);
+	
+	/**
+	 * 
+	* @Title: batchSaveClassModule 
+	* @Description: 批量新增ClassModule
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-3-12
+	* @user by wangzx
+	 */
+	void batchInsert(List<ClassModule> list);
+	
+	/**
+	 * 
+	* @Title: updateClassModule 
+	* @Description: 编辑ClassModule
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-3-12
+	* @user by wangzx
+	 */
+	void update(ClassModule entity);
+	
+	/**
+	 * 
+	* @Title: deleteClassModuleById 
+	* @Description: 根据id删除ClassModule
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-3-12
+	* @user by wangzx
+	 */
+	void deleteClassModuleById(Integer id);
+	
+	/**
+	 * 
+	* @Title: deleteClassModuleByIds 
+	* @Description: 根据id批量删除ClassModule
+	* @param ids
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-3-12
+	* @user by wangzx
+	 */
+	void deleteClassModuleByIds(Integer[] ids);
+	
+	/**
+	 * 
+	* @Title: findClassModuleById 
+	* @Description: 根据id查询
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-3-12
+	* @user by wangzx
+	 */
+	ClassModule findClassModuleById(Integer id);
+	
+	/**
+	 * 
+	* @Title: findClassModuleByPage 
+	* @Description: 分页查询
+	* @return
+	* @return List<ClassModule>    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-3-12
+	* @user by wangzx
+	 */
+	List<ClassModule> findClassModuleByPage(ClassModule search);
+	
+	/**
+	 * 
+	 * Class Name: IClassModuleService.java
+	 * @Description: 根据id查询
+	 * @author 周文斌
+	 * @date 2015-5-8 下午12:39:21
+	 * @version 1.0
+	 * @param paramMap
+	 * @return
+	 */
+	List<ClassModule> findByModule(HashMap<String,Object> paramMap);
+	/**
+	 * 
+	 * Class Name: IClassModuleService.java
+	 * @Description: TODO(这里用一句话描述这个方法的作用)
+	 * @author admin
+	 * @date 2015年5月8日 下午4:51:32
+	 * @modifier
+	 * @modify-date 2015年5月8日 下午4:51:32
+	 * @version 1.0
+	 * @param id
+	 * @return
+	 */
+	List<ClassModule> findByCommodityId(Integer id);
+	
+	/**
+	 * 
+	 * Class Name: IClassModuleService.java
+	 * @Description: TODO(这里用一句话描述这个方法的作用)
+	 * @author admin
+	 * @date 2015年5月8日 下午4:51:32
+	 * @modifier
+	 * @modify-date 2015年5月8日 下午4:51:32
+	 * @version 1.0
+	 * @param id
+	 * @return
+	 */
+	List<ClassModule> findByCommodityId2(Integer id);
+	
+	/**
+	 * @Description: 根据版型ID查询版型所对应的总课时
+	 * @author wzx
+	 * @date 2015-5-12 下午7:25:57
+	 * @version 1.0
+	 * @param classTypeId
+	 * @return
+	 */
+	Integer calculationHourByClassType(Integer classTypeId);
+	
+	/**
+	 * 
+	 * Class Name: IClassModuleService.java
+	 * @Description: 查询课程对应的视频模块
+	 * @author zhang.zx
+	 * @date 2016年1月14日 下午6:23:51
+	 * @modifier
+	 * @modify-date 2016年1月14日 下午6:23:51
+	 * @version 1.0
+	 * @param id
+	 * @return
+	 */
+	List<ClassModule> findClassModuleByComId(Map<String, Object> map);
+	
+	ClassModule findClassModuleByIds(Map<String, Object> param);
+
+    List<ClassModule> findByClassTypeId(Integer classTypeId);
+
+	/**
+	 * 检查课程的代理状态和供应商的是否开启了新题库
+	 *  1、如果课程不是代理课程:true
+	 *  2、如果课程是代理课程并且供应商开启了新题库:true
+	 *  3、如果课程是代理课程但是供应商没有开启新题库:false
+	 * @param classTypeId 课程ID
+	 * @return true/false
+	 */
+	boolean checkSupplierNewKnowledgeBaseStatus(Integer classTypeId);
+}

+ 109 - 0
yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/classes/IClassModuleVideoRelationService.java

@@ -0,0 +1,109 @@
+package com.yuxin.wx.api.classes;
+
+import java.util.HashMap;
+import java.util.List;
+
+import com.yuxin.wx.model.classes.ClassModuleVideoRelation;
+/**
+ * Service Interface:ClassModuleVideoRelation
+ * @author chopin
+ * @date 2015-3-12
+ */
+public interface IClassModuleVideoRelationService  {
+	/**
+	 * 
+	* @Title: saveClassModuleVideoRelation
+	* @Description: 新增ClassModuleVideoRelation
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-3-12
+	* @user by wangzx
+	 */
+	void insert(ClassModuleVideoRelation entity);
+	
+	/**
+	 * 
+	* @Title: batchSaveClassModuleVideoRelation 
+	* @Description: 批量新增ClassModuleVideoRelation
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-3-12
+	* @user by wangzx
+	 */
+	void batchInsert(List<ClassModuleVideoRelation> list);
+	
+	/**
+	 * 
+	* @Title: updateClassModuleVideoRelation 
+	* @Description: 编辑ClassModuleVideoRelation
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-3-12
+	* @user by wangzx
+	 */
+	void update(ClassModuleVideoRelation entity);
+	
+	/**
+	 * 
+	* @Title: deleteClassModuleVideoRelationById 
+	* @Description: 根据id删除ClassModuleVideoRelation
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-3-12
+	* @user by wangzx
+	 */
+	void deleteClassModuleVideoRelationById(Integer id);
+	
+	/**
+	 * 
+	* @Title: deleteClassModuleVideoRelationByIds 
+	* @Description: 根据id批量删除ClassModuleVideoRelation
+	* @param ids
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-3-12
+	* @user by wangzx
+	 */
+	void deleteClassModuleVideoRelationByIds(Integer[] ids);
+	
+	/**
+	 * 
+	* @Title: findClassModuleVideoRelationById 
+	* @Description: 根据id查询
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-3-12
+	* @user by wangzx
+	 */
+	ClassModuleVideoRelation findClassModuleVideoRelationById(Integer id);
+	
+	/**
+	 * 
+	* @Title: findClassModuleVideoRelationByPage 
+	* @Description: 分页查询
+	* @return
+	* @return List<ClassModuleVideoRelation>    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-3-12
+	* @user by wangzx
+	 */
+	List<ClassModuleVideoRelation> findClassModuleVideoRelationByPage(ClassModuleVideoRelation search);
+	
+	/**
+	 * 周文斌
+	 * 根据moduleid 查询video id
+	 * @param map
+	 * @return
+	 */
+	List<ClassModuleVideoRelation> findVideoIdByClassModuleId(HashMap map);
+	
+}

+ 120 - 0
yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/classes/IClassPackageCategoryService.java

@@ -0,0 +1,120 @@
+package com.yuxin.wx.api.classes;
+
+import com.yuxin.wx.model.classes.ClassPackageCategory;
+import com.yuxin.wx.vo.classes.ClassPackageCategoryVo;
+
+import java.util.List;
+import java.util.Map;
+
+/**
+ * Service Interface:ClassPackageCategory
+ * @author chopin
+ * @date 2016-3-21
+ */
+public interface IClassPackageCategoryService  {
+	/**
+	 * 
+	* @Title: saveClassPackageCategory
+	* @Description: 新增ClassPackageCategory
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-3-21
+	* @user by wangzx
+	 */
+	void insert(ClassPackageCategory entity);
+	
+	/**
+	 * 
+	* @Title: batchSaveClassPackageCategory 
+	* @Description: 批量新增ClassPackageCategory
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-3-21
+	* @user by wangzx
+	 */
+	void batchInsert(List<ClassPackageCategory> list);
+	
+	/**
+	 * 
+	* @Title: updateClassPackageCategory 
+	* @Description: 编辑ClassPackageCategory
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-3-21
+	* @user by wangzx
+	 */
+	void update(ClassPackageCategory entity);
+	
+	/**
+	 * 
+	* @Title: deleteClassPackageCategoryById 
+	* @Description: 根据id删除ClassPackageCategory
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-3-21
+	* @user by wangzx
+	 */
+	void deleteClassPackageCategoryById(Integer id);
+	
+	/**
+	 * 
+	* @Title: deleteClassPackageCategoryByIds 
+	* @Description: 根据id批量删除ClassPackageCategory
+	* @param ids
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-3-21
+	* @user by wangzx
+	 */
+	void deleteClassPackageCategoryByIds(Integer[] ids);
+	
+	/**
+	 * 
+	* @Title: findClassPackageCategoryById 
+	* @Description: 根据id查询
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-3-21
+	* @user by wangzx
+	 */
+	ClassPackageCategory findClassPackageCategoryById(Integer id);
+	
+	/**
+	 * 
+	* @Title: findClassPackageCategoryByPage 
+	* @Description: 分页查询
+	* @return
+	* @return List<ClassPackageCategory>    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-3-21
+	* @user by wangzx
+	 */
+	List<ClassPackageCategory> findClassPackageCategoryByPage(ClassPackageCategory search);
+	/**
+	 * 根据父类目查询下级类目
+	 */
+	List<ClassPackageCategory> findCategory(ClassPackageCategoryVo search);
+	
+	ClassPackageCategory queryClassPackageCategoryByCode(ClassPackageCategory search);
+
+	List<ClassPackageCategory> findByIds(List<Integer> l);
+
+	List<ClassPackageCategory> findByCodes(ClassPackageCategoryVo search);
+
+	List<ClassPackageCategory> queryClassCategoryLists(ClassPackageCategory search);
+
+    List<ClassPackageCategory> findCategoryByWhere(ClassPackageCategoryVo search);
+
+    Map<String,List<String>> findClassPackageByCategroyName(Integer currtCompanyId, Integer currtSchoolId);
+
+    List<ClassPackageCategoryVo> findJyxIndexClassPackageCategro(Integer currtCompanyId, Integer currtSchoolId);
+}

+ 21 - 0
yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/classes/IClassPackageDetailsTeathersService.java

@@ -0,0 +1,21 @@
+package com.yuxin.wx.api.classes;
+
+import com.yuxin.wx.common.PageFinder;
+import com.yuxin.wx.vo.classes.ClasspackageVo;
+import com.yuxin.wx.vo.system.TeachersVo;
+
+public interface IClassPackageDetailsTeathersService {
+	/**
+	 * 
+	 * Class Name: IClassPackageDetailsService.java
+	 * @Description: TODO查询培训批次详情师资列表
+	 * @author wang.hf
+	 * @date 2016年9月26日 下午12:00:10
+	 * @modifier
+	 * @modify-date 2016年9月26日 下午12:00:10
+	 * @version 1.0
+	 * @param cpv
+	 * @return
+	 */
+	PageFinder<TeachersVo> findTeacherByCPackageId(ClasspackageVo cpv);
+}

+ 107 - 0
yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/classes/IClassPackageMemberService.java

@@ -0,0 +1,107 @@
+package com.yuxin.wx.api.classes;
+
+import com.yuxin.wx.model.classes.ClassPackage;
+import com.yuxin.wx.model.classes.ClassPackageMember;
+
+import java.util.List;
+
+/**
+ * Service Interface:ClassPackageMember
+ * @author chopin
+ * @date 2018-3-16
+ */
+public interface IClassPackageMemberService {
+	/**
+	 * 
+	* @Title: saveClassPackageMember
+	* @Description: 新增ClassPackageMember
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2018-3-16
+	* @user by wangzx
+	 */
+	void insert(ClassPackageMember entity);
+	
+	/**
+	 * 
+	* @Title: batchSaveClassPackageMember 
+	* @Description: 批量新增ClassPackageMember
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2018-3-16
+	* @user by wangzx
+	 */
+	void batchInsert(List<ClassPackageMember> list);
+	
+	/**
+	 * 
+	* @Title: updateClassPackageMember 
+	* @Description: 编辑ClassPackageMember
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2018-3-16
+	* @user by wangzx
+	 */
+	void update(ClassPackageMember entity);
+	
+	/**
+	 * 
+	* @Title: deleteClassPackageMemberById 
+	* @Description: 根据id删除ClassPackageMember
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2018-3-16
+	* @user by wangzx
+	 */
+	void deleteClassPackageMemberById(Integer id);
+	
+	/**
+	 * 
+	* @Title: deleteClassPackageMemberByIds 
+	* @Description: 根据id批量删除ClassPackageMember
+	* @param ids
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2018-3-16
+	* @user by wangzx
+	 */
+	void deleteClassPackageMemberByIds(Integer[] ids);
+	
+	/**
+	 * 
+	* @Title: findClassPackageMemberById 
+	* @Description: 根据id查询
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2018-3-16
+	* @user by wangzx
+	 */
+	ClassPackageMember findClassPackageMemberById(Integer id);
+	
+	/**
+	 * 
+	* @Title: findClassPackageMemberByPage 
+	* @Description: 分页查询
+	* @return
+	* @return List<ClassPackageMember>    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2018-3-16
+	* @user by wangzx
+	 */
+	List<ClassPackageMember> findClassPackageMemberByPage(ClassPackageMember search);
+
+	List<Integer> queryLevelIdsByPackageId(ClassPackageMember search);
+
+	void updateVipCoursePackage(ClassPackage coursePackage, List<ClassPackageMember> insertList, List<Integer> deleteList);
+
+	ClassPackageMember findByClassPackageIdAndMemberId(ClassPackageMember search);
+}

+ 111 - 0
yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/classes/IClassPackageRelationService.java

@@ -0,0 +1,111 @@
+package com.yuxin.wx.api.classes;
+
+import java.util.List;
+
+import com.yuxin.wx.model.classes.ClassPackageRelation;
+/**
+ * Service Interface:ClassPackageRelation
+ * @author chopin
+ * @date 2016-3-21
+ */
+public interface IClassPackageRelationService  {
+	/**
+	 * 
+	* @Title: saveClassPackageRelation
+	* @Description: 新增ClassPackageRelation
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-3-21
+	* @user by wangzx
+	 */
+	void insert(ClassPackageRelation entity);
+	
+	/**
+	 * 
+	* @Title: batchSaveClassPackageRelation 
+	* @Description: 批量新增ClassPackageRelation
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-3-21
+	* @user by wangzx
+	 */
+	void batchInsert(List<ClassPackageRelation> list);
+	
+	/**
+	 * 
+	* @Title: updateClassPackageRelation 
+	* @Description: 编辑ClassPackageRelation
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-3-21
+	* @user by wangzx
+	 */
+	void update(ClassPackageRelation entity);
+	
+	/**
+	 * 
+	* @Title: deleteClassPackageRelationById 
+	* @Description: 根据id删除ClassPackageRelation
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-3-21
+	* @user by wangzx
+	 */
+	void deleteClassPackageRelationById(Integer id);
+	
+	/**
+	 * 
+	* @Title: deleteClassPackageRelationByIds 
+	* @Description: 根据id批量删除ClassPackageRelation
+	* @param ids
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-3-21
+	* @user by wangzx
+	 */
+	void deleteClassPackageRelationByIds(Integer[] ids);
+	
+	/**
+	 * 
+	* @Title: findClassPackageRelationById 
+	* @Description: 根据id查询
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-3-21
+	* @user by wangzx
+	 */
+	ClassPackageRelation findClassPackageRelationById(Integer id);
+	
+	/**
+	 * 
+	* @Title: findClassPackageRelationByPage 
+	* @Description: 分页查询
+	* @return
+	* @return List<ClassPackageRelation>    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-3-21
+	* @user by wangzx
+	 */
+	List<ClassPackageRelation> findClassPackageRelationByPage(ClassPackageRelation search);
+	/**
+	 * 
+	* @Title: findClassPackageRelationById 
+	* @Description: 根据id查询
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-3-21
+	* @user by chopin
+	 */
+	List<ClassPackageRelation> findClassPackageRelations(ClassPackageRelation search);
+}

+ 323 - 0
yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/classes/IClassPackageService.java

@@ -0,0 +1,323 @@
+package com.yuxin.wx.api.classes;
+
+
+import com.yuxin.wx.common.PageFinder;
+import com.yuxin.wx.model.classes.ClassPackage;
+import com.yuxin.wx.model.classes.ClassPackageInterfaceVo;
+import com.yuxin.wx.model.classes.ClassPackageMember;
+import com.yuxin.wx.vo.classes.ClassPackageClassTypeVo;
+import com.yuxin.wx.vo.classes.ClassPackageStageVo;
+import com.yuxin.wx.vo.classes.ClasspackageVo;
+import com.yuxin.wx.vo.company.VipClassPackage;
+import com.yuxin.wx.vo.course.PackageSelectVo;
+import com.yuxin.wx.vo.student.StudentClassLeanDetailVo;
+import com.yuxin.wx.vo.student.StudentLessTimeVo;
+
+import java.util.List;
+import java.util.Map;
+/**
+ * Service Interface:ClassPackage
+ * @author chopin
+ * @date 2016-3-21
+ */
+public interface IClassPackageService  {
+	/**
+	 * 
+	* @Title: saveClassPackage
+	* @Description: 新增ClassPackage
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-3-21
+	* @user by wangzx
+	 */
+	void insert(ClassPackage entity);
+	
+	/**
+	 * 
+	* @Title: batchSaveClassPackage 
+	* @Description: 批量新增ClassPackage
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-3-21
+	* @user by wangzx
+	 */
+	void batchInsert(List<ClassPackage> list);
+	
+	/**
+	 * 
+	* @Title: updateClassPackage 
+	* @Description: 编辑ClassPackage
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-3-21
+	* @user by wangzx
+	 */
+	void update(ClassPackage entity);
+	
+	/**
+	 * 
+	* @Title: deleteClassPackageById 
+	* @Description: 根据id删除ClassPackage
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-3-21
+	* @user by wangzx
+	 */
+	void deleteClassPackageById(Integer id);
+	
+	/**
+	 * 
+	* @Title: deleteClassPackageByIds 
+	* @Description: 根据id批量删除ClassPackage
+	* @param ids
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-3-21
+	* @user by wangzx
+	 */
+	void deleteClassPackageByIds(Integer[] ids);
+	
+	/**
+	 * 
+	* @Title: findClassPackageById 
+	* @Description: 根据id查询
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-3-21
+	* @user by wangzx
+	 */
+	ClassPackage findClassPackageById(Integer id);
+	
+	/**
+	 * 
+	* @Title: findClassPackageByPage 
+	* @Description: 分页查询
+	* @return
+	* @return List<ClassPackage>    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-3-21
+	* @user by wangzx
+	 */
+	List<ClassPackage> findClassPackageByPage(ClassPackage search);
+	/**
+	 * 根据搜索条件查询培训批次
+	 */
+	PageFinder<ClasspackageVo> findByCondition(ClasspackageVo search);
+	/**
+	 * 查询一个培训批次的详情
+	 */
+	ClasspackageVo findOneById(Integer id);
+	/**
+	 * 查询培训批次下面所有的阶段
+	 */
+	List<ClassPackageStageVo> findAllClassPackageStage(ClassPackageStageVo classPackageVo);
+	/**
+	 * 查询培训批次下面所有独立阶段外的课程
+	 */
+	List<ClassPackageClassTypeVo> findOutClassPackageStageClasses(Integer id);
+	/**
+	 * 查询培训批次里面一个阶段下所有的课程
+	 */
+	List<ClassPackageClassTypeVo> findInClassPackageStageClasses(Integer id);
+	/**
+	 * 检查是否购买过培训批次
+	 */
+	boolean findIsBuy(Integer stuId, Integer classPackeId);
+	/**
+	 * 检查购买过的阶段
+	 */
+	List<Integer> findHasBuyStage(Integer stuId, Integer classPackeId);
+	/**
+	 * 所有的直播/面授课次数
+	 */
+	List<StudentLessTimeVo> queryLessionCount(Integer classTypeId);
+	/**
+	 * 所有的视频课次数
+	 */
+	Integer queryLecCount(Integer classTypeId);
+	/**
+	 * 已经完成的视频课次
+	 */
+	Integer queryLecFinishCount(Integer classTypeId, Integer stuId);
+	/**
+	 * 查询课程所属类型
+	 */
+	List<ClassPackageClassTypeVo> findClassTypeStyle(Integer classPackageId);
+	/**
+	 * 查询学生购买过的的培训批次
+	 */
+	PageFinder<ClasspackageVo> findStuBuyClassPackage(ClasspackageVo classpackageVo);
+	/**
+	 * 一个培训批次的所有的直播/面授课的开始和结束时间
+	 */
+	List<StudentLessTimeVo> queryModelLessionTime(Integer classPackageId,Integer stuId);
+	/**
+	 * 查询培训批次下面所有的课程
+	 */
+	List<Integer> findClassPackageAllClasses(Integer classPackageId);
+	/**
+	 * 查询学生购买过的的培训批次的Id集合
+	 */
+	List<Integer> findStuBuyClassPackageIds(ClasspackageVo classpackageVo);
+	/**
+	 * 查询用户所有收藏的培训批次
+	 */
+	PageFinder<ClasspackageVo> findAllUserColClassPackage(ClasspackageVo classpackageVo);
+	/**
+	 * 查询培训批次收藏的数量
+	 */
+	Integer findClassPackageColCount(Integer classPackageId);
+	/**
+	 * 培训批次  所有的视频课次数
+	 */
+	Integer queryCpLecCount(StudentClassLeanDetailVo codition);
+	/**
+	 *培训批次   已经完成的视频课次
+	 */
+	Integer queryCpLecFinishCount(StudentClassLeanDetailVo codition);
+	/**
+	 * 培训批次  所有的直播/面授课次数
+	 */
+	List<StudentLessTimeVo> queryCpMoreNoLessionCount(StudentClassLeanDetailVo codition);
+	/**
+	 *  所有的直播/面授课次数
+	 */
+	Integer queryCpliveOrfaceLessionCount(StudentClassLeanDetailVo search);
+	/**
+	 *培训批次   购买部分阶段时的已经完成的视频课次
+	 */
+	Integer queryCpHasBuyStageLecFinishCount(StudentClassLeanDetailVo codition);
+	/**
+	 * 培训批次  购买部分阶段时的直播/面授课次开始和结束时间记录
+	 */
+	List<StudentLessTimeVo> queryCpHasBuyStageLessionFinishCount(StudentClassLeanDetailVo codition);
+	/**
+	 * 培训批次已购买的阶段的直播/面授课的开始和结束时间
+	 */
+	List<StudentLessTimeVo> queryModeSomeStagelLessionTime(Integer classPackageId, Integer stuId);
+
+	List<ClasspackageVo> findByConditionForWap(ClasspackageVo search);
+
+	List<ClasspackageVo> findByIds(List<Integer> ids);
+	
+	ClasspackageVo queryListByPackageId(Map<String, Object> map);
+	
+	ClassPackage queryClassPackageByComId(Integer id);
+
+	Integer findByCommontyId(Integer id);
+
+	List<StudentLessTimeVo> findNowAndAfterLesson(Map<String, Object> map);
+
+	List<StudentLessTimeVo> findAgentNowAndAfterLesson(Integer companyId, Integer stuId);
+
+    List<StudentLessTimeVo> findSimpleCodeNowAndAfterLesson(Map<String, Object> map);
+
+    List<StudentLessTimeVo> findAgentSimpleCodeNowAndAfterLesson(Integer companyId, Integer stuId);
+
+    List<StudentLessTimeVo> queryClassTypeLessonTime(Map<String, Object> map);
+
+	List<ClassPackageInterfaceVo> findClassPackageInfoByCompanyId(ClasspackageVo search);
+
+	PageFinder<VipClassPackage> getVipCoursePackagePageFinder(ClassPackageMember search);
+
+	List<VipClassPackage> getVipCoursePackageList(ClassPackageMember search);
+
+
+	ClassPackageMember findMemberRelationByPackageIdAndMemberId(ClassPackageMember search);
+
+	List<PackageSelectVo> queryClassPackageByCompanyId(PackageSelectVo search);
+
+	/**
+	* @Title: IClassPackageService.java 
+	* @Package com.yuxin.wx.api.classes 
+	* @Description: TODO	(课程)所有的直播/面授/一对一的课次
+	* @author actor
+	* @date 2018年7月25日 下午3:06:45
+	 */
+	List<StudentLessTimeVo> queryLessionList(Map<String, Object> map);
+
+	/**
+	* @Title: IClassPackageService.java 
+	* @Package com.yuxin.wx.api.classes 
+	* @Description: TODO	(培训批次)所有的直播/面授/一对一的课次
+	* @author actor
+	* @date 2018年7月25日 下午3:35:29
+	 */
+	List<StudentLessTimeVo> queryCpLesList(StudentClassLeanDetailVo conditon);
+
+	/**
+	* @Title: IClassPackageService.java 
+	* @Package com.yuxin.wx.api.classes 
+	* @Description: TODO 通过班号查询课次
+	* @author actor
+	* @date 2019年3月6日 下午6:57:54 
+	* @param 
+	* @return 
+	* @version V6.3_study
+	 * @param userId 
+	 */
+	StudentLessTimeVo findLesByCmnIds(List<Integer> cmoList, Integer userId);
+	
+	/**
+	* @Title: IClassPackageService.java 
+	* @Package com.yuxin.wx.api.classes 
+	* @Description: TODO 课程和培训批次的学习进度
+	* @author actor
+	* @date 2019年3月7日 下午2:30:20 
+	* @param 
+	* @return 
+	* @version V6.3_study
+	 * @param integer 
+	 */
+	Map<String, String> leanPercent(Integer companyId, Integer classTypeId, Integer stuId, Integer userId, String tyep, Integer classPackageId, Map<String, String> conditionMap);
+
+	/**
+	* @Title: IClassPackageService.java 
+	* @Package com.yuxin.wx.api.classes 
+	* @Description: TODO 购买的是培训批次还是阶段
+	* @author actor
+	* @date 2019年3月7日 下午2:38:23 
+	* @param 
+	* @return 
+	* @version V6.3_study
+	 */
+	boolean isBuyAllClassPackage(Integer stuId, Integer classPackageId);
+
+	PageFinder<ClasspackageVo> findUsePackageByPage(ClasspackageVo search);
+
+    List<StudentLessTimeVo> queryLessionListDuoban(Map<String, Object> map);
+
+    Integer findAgentType(Integer classPackageId);
+
+	/**
+	 * 根据培训批次ID,获取对应的源培训批次ID
+	 *
+	 * @param classPackageId 培训批次ID
+	 * @return 源培训批次ID,如没有则返回null
+	 */
+	Integer findSupplyCourseId(Integer classPackageId);
+
+	/**
+	 * 代理培训批次下的录播课次数
+	 *
+	 * @param search 查询条件
+	 * @return
+	 */
+    Integer queryAgentCpLecCount(StudentClassLeanDetailVo search);
+	/**
+	 * 代理培训批次下的直播课次数
+	 *
+	 * @param search 查询条件
+	 * @return
+	 */
+	Integer queryAgentCpliveOrfaceLessionCount(StudentClassLeanDetailVo search);
+}

+ 130 - 0
yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/classes/IClassPackageStageService.java

@@ -0,0 +1,130 @@
+package com.yuxin.wx.api.classes;
+
+import java.util.List;
+import java.util.Map;
+
+import com.yuxin.wx.model.classes.ClassPackageStage;
+/**
+ * Service Interface:ClassPackageStage
+ * @author chopin
+ * @date 2016-3-21
+ */
+public interface IClassPackageStageService  {
+	/**
+	 * 
+	* @Title: saveClassPackageStage
+	* @Description: 新增ClassPackageStage
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-3-21
+	* @user by wangzx
+	 */
+	void insert(ClassPackageStage entity);
+	
+	/**
+	 * 
+	* @Title: batchSaveClassPackageStage 
+	* @Description: 批量新增ClassPackageStage
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-3-21
+	* @user by wangzx
+	 */
+	void batchInsert(List<ClassPackageStage> list);
+	
+	/**
+	 * 
+	* @Title: updateClassPackageStage 
+	* @Description: 编辑ClassPackageStage
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-3-21
+	* @user by wangzx
+	 */
+	void update(ClassPackageStage entity);
+	
+	/**
+	 * 
+	* @Title: deleteClassPackageStageById 
+	* @Description: 根据id删除ClassPackageStage
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-3-21
+	* @user by wangzx
+	 */
+	void deleteClassPackageStageById(Integer id);
+	
+	/**
+	 * 
+	* @Title: deleteClassPackageStageByIds 
+	* @Description: 根据id批量删除ClassPackageStage
+	* @param ids
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-3-21
+	* @user by wangzx
+	 */
+	void deleteClassPackageStageByIds(Integer[] ids);
+	
+	/**
+	 * 
+	* @Title: findClassPackageStageById 
+	* @Description: 根据id查询
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-3-21
+	* @user by wangzx
+	 */
+	ClassPackageStage findClassPackageStageById(Integer id);
+	
+	/**
+	 * 
+	* @Title: findClassPackageStageByPage 
+	* @Description: 分页查询
+	* @return
+	* @return List<ClassPackageStage>    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-3-21
+	* @user by wangzx
+	 */
+	List<ClassPackageStage> findClassPackageStageByPage(ClassPackageStage search);
+	
+	/**
+	 * 
+	 * Class Name: IClassPackageStageService.java
+	 * @Description: 查询培训批次下的所有阶段
+	 * @author zhang.zx
+	 * @date 2016年3月23日 下午3:43:18
+	 * @modifier
+	 * @modify-date 2016年3月23日 下午3:43:18
+	 * @version 1.0
+	 * @param search
+	 * @return
+	 */
+	List<ClassPackageStage> queryClassPackageStages(ClassPackageStage search);
+	
+	/**
+	 * 
+	 * Class Name: IClassPackageStageService.java
+	 * @Description: 查询该阶段下是否存在某个商品
+	 * @author zhang.zx
+	 * @date 2016年4月5日 下午12:39:35
+	 * @modifier
+	 * @modify-date 2016年4月5日 下午12:39:35
+	 * @version 1.0
+	 * @param map
+	 * @return
+	 */
+	List<ClassPackageStage> findIsExistCommodityByWhere(Map<String, Object> map);
+
+	List<Integer> findClassTypeIdInCpOrCpStage(Map<String, Object> map);
+}

+ 37 - 0
yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/classes/IClassRecomService.java

@@ -0,0 +1,37 @@
+package com.yuxin.wx.api.classes;
+
+import com.yuxin.wx.common.PageFinder;
+import com.yuxin.wx.model.commodity.Commodity;
+import com.yuxin.wx.vo.commodity.CommodityVo;
+
+public interface IClassRecomService {
+	/**
+	 * 
+	 * Class Name: IClassRecomService.java
+	 * 
+	 * @Description: TODO(推荐收藏里根据条件查询商品)
+	 * @author Administrator
+	 * @date 2015-4-13 下午12:35:45
+	 * @modifier
+	 * @modify-date 2015-4-13 下午12:35:45
+	 * @version 1.0
+	 * @param search
+	 * @return
+	 */
+	PageFinder<CommodityVo> queryCommodityByPage(Commodity search);
+
+	/**
+	 * 
+	 * Class Name: IClassRecomService.java
+	 * 
+	 * @Description: TODO(根据一级、二级项目查询出的商品总数量)
+	 * @author ycl
+	 * @date 2015-4-13 下午2:43:33
+	 * @modifier
+	 * @modify-date 2015-4-13 下午2:43:33
+	 * @version 1.0
+	 * @param search
+	 * @return
+	 */
+	Integer findTotalCount(Commodity search);
+}

+ 18 - 0
yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/classes/IClassTypeClassInRelationService.java

@@ -0,0 +1,18 @@
+package com.yuxin.wx.api.classes;
+
+import com.yuxin.wx.model.company.ClassTypeClassInRelation;
+
+public interface IClassTypeClassInRelationService {
+
+	ClassTypeClassInRelation findClassInCourseByClassId(ClassTypeClassInRelation classTypeClassInRelation);
+
+	ClassTypeClassInRelation findClassInCourseByModelNoId(Integer companyId, Integer classModelNoId);
+
+	void insert(ClassTypeClassInRelation entity);
+
+	void update(ClassTypeClassInRelation entity);
+
+	ClassTypeClassInRelation findClassInCourseByParentId(Integer companyId, Integer parentId);
+
+    ClassTypeClassInRelation findClassInCourseByClassTypeId(Integer companyId, Integer modelNoId);
+}

+ 19 - 0
yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/classes/IClassTypeDetailService.java

@@ -0,0 +1,19 @@
+package com.yuxin.wx.api.classes;
+
+import com.yuxin.wx.model.classes.ClassTypeDetail;
+
+/**
+ * 课程、培训批次拓展字段表
+ *
+ * @author PengSongHe
+ * @date 2019/11/17 16:15
+ */
+public interface IClassTypeDetailService {
+    void insert(ClassTypeDetail entity);
+
+    void update(ClassTypeDetail entity);
+
+    ClassTypeDetail findByProductId(Integer productId, Integer type);
+
+    void updateByGroupQr(Integer productId, Integer type, Integer groupQrOpen, String groupQrImg);
+}

+ 166 - 0
yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/classes/IClassTypeMemberDiscountService.java

@@ -0,0 +1,166 @@
+package com.yuxin.wx.api.classes;
+
+import java.util.List;
+import java.util.Map;
+
+import com.yuxin.wx.model.classes.ClassTypeMemberDiscount;
+import com.yuxin.wx.vo.company.VipClassPackage;
+import com.yuxin.wx.vo.company.VipCourse;
+/**
+ * Service Interface:ClassTypeMemberDiscount
+ * @author chopin
+ * @date 2016-5-17
+ */
+public interface IClassTypeMemberDiscountService  {
+	/**
+	 * 
+	* @Title: saveClassTypeMemberDiscount
+	* @Description: 新增ClassTypeMemberDiscount
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-5-17
+	* @user by wangzx
+	 */
+	void insert(ClassTypeMemberDiscount entity);
+	
+	/**
+	 * 
+	* @Title: batchSaveClassTypeMemberDiscount 
+	* @Description: 批量新增ClassTypeMemberDiscount
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-5-17
+	* @user by wangzx
+	 */
+	void batchInsert(List<ClassTypeMemberDiscount> list);
+	
+	/**
+	 * 
+	* @Title: updateClassTypeMemberDiscount 
+	* @Description: 编辑ClassTypeMemberDiscount
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-5-17
+	* @user by wangzx
+	 */
+	void update(ClassTypeMemberDiscount entity);
+	
+	/**
+	 * 
+	* @Title: deleteClassTypeMemberDiscountById 
+	* @Description: 根据id删除ClassTypeMemberDiscount
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-5-17
+	* @user by wangzx
+	 */
+	void deleteClassTypeMemberDiscountById(Integer id);
+	
+	/**
+	 * 
+	* @Title: deleteClassTypeMemberDiscountByIds 
+	* @Description: 根据id批量删除ClassTypeMemberDiscount
+	* @param ids
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-5-17
+	* @user by wangzx
+	 */
+	void deleteClassTypeMemberDiscountByIds(Integer[] ids);
+	
+	/**
+	 * 
+	* @Title: findClassTypeMemberDiscountById 
+	* @Description: 根据id查询
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-5-17
+	* @user by wangzx
+	 */
+	ClassTypeMemberDiscount findClassTypeMemberDiscountById(Integer id);
+	
+	/**
+	 * 
+	* @Title: findClassTypeMemberDiscountByPage 
+	* @Description: 分页查询
+	* @return
+	* @return List<ClassTypeMemberDiscount>    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-5-17
+	* @user by wangzx
+	 */
+	List<ClassTypeMemberDiscount> findClassTypeMemberDiscountByPage(ClassTypeMemberDiscount search);
+	
+	ClassTypeMemberDiscount findByDiscount(ClassTypeMemberDiscount search);
+	
+	/**
+	 * 
+	 * Class Name: IClassTypeMemberDiscountService.java
+	 * @Description: vip课程
+	 * @author 周文斌
+	 * @date 2016-5-23 上午11:05:59
+	 * @version 1.0
+	 * @param param
+	 * @return
+	 */
+	List<VipCourse> findVipCourseClass(Map<String, Object> param);
+
+	/**
+	 * 
+	 * Class Name: IClassTypeMemberDiscountService.java
+	 * @Description: vip课程count
+	 * @author 周文斌
+	 * @date 2016-5-23 上午11:05:59
+	 * @version 1.0
+	 * @param param
+	 * @return
+	 */
+	Integer findVipCourseClassCount(Map<String, Object> param);
+	
+	/**
+	 * 
+	 * Class Name: IClassTypeMemberDiscountService.java
+	 * @Description: 查询培训批次
+	 * @author 周文斌
+	 * @date 2016-5-25 下午8:09:41
+	 * @version 1.0
+	 * @param param
+	 * @return
+	 */
+	List<VipClassPackage> findVipCp(Map<String, Object> param);
+
+	/**
+	 * 
+	 * Class Name: IClassTypeMemberDiscountService.java
+	 * @Description: 查询培训批次count
+	 * @author 周文斌
+	 * @date 2016-5-25 下午8:09:41
+	 * @version 1.0
+	 * @param param
+	 * @return
+	 */
+	Integer findVipCpCount(Map<String, Object> param);
+	
+	/**
+	 * 
+	 * Class Name: IClassTypeMemberDiscountService.java
+	 * @Description: 会员等级列表
+	 * @author zhang.zx
+	 * @date 2016年5月23日 下午7:23:19
+	 * @modifier
+	 * @modify-date 2016年5月23日 下午7:23:19
+	 * @version 1.0
+	 * @param search
+	 * @return
+	 */
+	List<ClassTypeMemberDiscount> findClassLevelList(ClassTypeMemberDiscount search);
+}

+ 134 - 0
yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/classes/IClassTypeModuleRelationService.java

@@ -0,0 +1,134 @@
+package com.yuxin.wx.api.classes;
+
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+
+import com.yuxin.wx.model.classes.ClassTypeModuleRelation;
+import com.yuxin.wx.vo.classes.ClassTypeModuleRelationVo;
+/**
+ * Service Interface:ClassTypeModuleRelation
+ * @author chopin
+ * @date 2015-3-12
+ */
+public interface IClassTypeModuleRelationService  {
+	/**
+	 * 
+	* @Title: saveClassTypeModuleRelation
+	* @Description: 新增ClassTypeModuleRelation
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-3-12
+	* @user by wangzx
+	 */
+	void insert(ClassTypeModuleRelation entity);
+	
+	/**
+	 * 
+	* @Title: batchSaveClassTypeModuleRelation 
+	* @Description: 批量新增ClassTypeModuleRelation
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-3-12
+	* @user by wangzx
+	 */
+	void batchInsert(List<ClassTypeModuleRelation> list);
+	
+	/**
+	 * 
+	* @Title: updateClassTypeModuleRelation 
+	* @Description: 编辑ClassTypeModuleRelation
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-3-12
+	* @user by wangzx
+	 */
+	void update(ClassTypeModuleRelation entity);
+	
+	/**
+	 * 
+	* @Title: deleteClassTypeModuleRelationById 
+	* @Description: 根据id删除ClassTypeModuleRelation
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-3-12
+	* @user by wangzx
+	 */
+	void deleteClassTypeModuleRelationById(Integer id);
+	
+	/**
+	 * 
+	* @Title: deleteClassTypeModuleRelationByIds 
+	* @Description: 根据id批量删除ClassTypeModuleRelation
+	* @param ids
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-3-12
+	* @user by wangzx
+	 */
+	void deleteClassTypeModuleRelationByIds(Integer[] ids);
+	
+	/**
+	 * 
+	* @Title: findClassTypeModuleRelationById 
+	* @Description: 根据id查询
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-3-12
+	* @user by wangzx
+	 */
+	ClassTypeModuleRelation findClassTypeModuleRelationById(Integer id);
+	
+	/**
+	 * 
+	* @Title: findClassTypeModuleRelationByPage 
+	* @Description: 分页查询
+	* @return
+	* @return List<ClassTypeModuleRelation>    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-3-12
+	* @user by wangzx
+	 */
+	List<ClassTypeModuleRelation> findClassTypeModuleRelationByPage(ClassTypeModuleRelation search);
+	
+	/**
+	 * @Description: 根据条件查询所有的模块ID
+	 * @author wzx
+	 * @date 2015-6-30 下午3:14:59
+	 * @version 1.0
+	 * @param map
+	 * @return
+	 */
+	List<Integer> findClassModuleIdByClassTypeId(HashMap map);
+	
+	/**
+	 * @Description: 根据条件查询所有的模块关联信息
+	 * @author wzx
+	 * @date 2015-6-30 下午3:15:18
+	 * @version 1.0
+	 * @param map
+	 * @return
+	 */
+	List<ClassTypeModuleRelationVo> findClassModuleRelationByClassTypeId(HashMap map);
+
+	/**
+	 * 
+	 * Class Name: IClassTypeModuleRelationService.java
+	 * @Description: 根据班型id 查询moduleid
+	 * @author 周文斌
+	 * @date 2016-3-11 下午12:37:51
+	 * @version 1.0
+	 * @param param
+	 * @return
+	 */
+	Integer findModuleIdByClassTypeId(Map<String, Object> param);
+}

+ 99 - 0
yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/classes/IClassTypeRemoteRelationService.java

@@ -0,0 +1,99 @@
+package com.yuxin.wx.api.classes;
+
+import java.util.List;
+
+import com.yuxin.wx.model.classes.ClassTypeRemoteRelation;
+/**
+ * Service Interface:ClassTypeRemoteRelation
+ * @author chopin
+ * @date 2015-3-12
+ */
+public interface IClassTypeRemoteRelationService  {
+	/**
+	 * 
+	* @Title: saveClassTypeRemoteRelation
+	* @Description: 新增ClassTypeRemoteRelation
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-3-12
+	* @user by wangzx
+	 */
+	void insert(ClassTypeRemoteRelation entity);
+	
+	/**
+	 * 
+	* @Title: batchSaveClassTypeRemoteRelation 
+	* @Description: 批量新增ClassTypeRemoteRelation
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-3-12
+	* @user by wangzx
+	 */
+	void batchInsert(List<ClassTypeRemoteRelation> list);
+	
+	/**
+	 * 
+	* @Title: updateClassTypeRemoteRelation 
+	* @Description: 编辑ClassTypeRemoteRelation
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-3-12
+	* @user by wangzx
+	 */
+	void update(ClassTypeRemoteRelation entity);
+	
+	/**
+	 * 
+	* @Title: deleteClassTypeRemoteRelationById 
+	* @Description: 根据id删除ClassTypeRemoteRelation
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-3-12
+	* @user by wangzx
+	 */
+	void deleteClassTypeRemoteRelationById(Integer id);
+	
+	/**
+	 * 
+	* @Title: deleteClassTypeRemoteRelationByIds 
+	* @Description: 根据id批量删除ClassTypeRemoteRelation
+	* @param ids
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-3-12
+	* @user by wangzx
+	 */
+	void deleteClassTypeRemoteRelationByIds(Integer[] ids);
+	
+	/**
+	 * 
+	* @Title: findClassTypeRemoteRelationById 
+	* @Description: 根据id查询
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-3-12
+	* @user by wangzx
+	 */
+	ClassTypeRemoteRelation findClassTypeRemoteRelationById(Integer id);
+	
+	/**
+	 * 
+	* @Title: findClassTypeRemoteRelationByPage 
+	* @Description: 分页查询
+	* @return
+	* @return List<ClassTypeRemoteRelation>    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-3-12
+	* @user by wangzx
+	 */
+	List<ClassTypeRemoteRelation> findClassTypeRemoteRelationByPage(ClassTypeRemoteRelation search);
+}

+ 199 - 0
yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/classes/IClassTypeResourceService.java

@@ -0,0 +1,199 @@
+package com.yuxin.wx.api.classes;
+
+import java.util.List;
+import java.util.Map;
+
+import com.yuxin.wx.common.PageFinder;
+import com.yuxin.wx.model.classes.ClassTypeResource;
+import com.yuxin.wx.model.classes.ClassTypeResourceType;
+import com.yuxin.wx.vo.classes.ClassFavVo;
+import com.yuxin.wx.vo.classes.ClassTypeResourceVo;
+import com.yuxin.wx.vo.commodity.CommodityVo;
+/**
+ * Service Interface:ClassTypeResource
+ * @author wang.zx
+ * @date 2015-8-11
+ */
+public interface IClassTypeResourceService  {
+	/**
+	 * 
+	* @Title: saveClassTypeResource
+	* @Description: 新增ClassTypeResource
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-8-11
+	* @user by wangzx
+	 */
+	void insert(ClassTypeResource entity);
+	
+	/**
+	 * 
+	* @Title: batchSaveClassTypeResource 
+	* @Description: 批量新增ClassTypeResource
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-8-11
+	* @user by wangzx
+	 */
+	void batchInsert(List<ClassTypeResource> list);
+	
+	/**
+	 * 
+	* @Title: updateClassTypeResource 
+	* @Description: 编辑ClassTypeResource
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-8-11
+	* @user by wangzx
+	 */
+	void update(ClassTypeResource entity);
+	
+	/**
+	 * 
+	* @Title: deleteClassTypeResourceById 
+	* @Description: 根据id删除ClassTypeResource
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-8-11
+	* @user by wangzx
+	 */
+	void deleteClassTypeResourceById(Integer id);
+	
+	/**
+	 * 
+	* @Title: deleteClassTypeResourceByIds 
+	* @Description: 根据id批量删除ClassTypeResource
+	* @param ids
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-8-11
+	* @user by wangzx
+	 */
+	void deleteClassTypeResourceByIds(Integer[] ids);
+	
+	/**
+	 * 
+	* @Title: findClassTypeResourceById 
+	* @Description: 根据id查询
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-8-11
+	* @user by wangzx
+	 */
+	ClassTypeResource findClassTypeResourceById(Integer id);
+	
+	/**
+	 * 
+	* @Title: findClassTypeResourceByPage 
+	* @Description: 分页查询
+	* @return
+	* @return List<ClassTypeResource>    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-8-11
+	* @user by wangzx
+	 */
+	List<ClassTypeResource> findClassTypeResourceByPage(ClassTypeResource search);
+	
+	/**
+	 * 
+	 * Class Name: IClassTypeResourceService.java
+	 * @Description: 分业查询
+	 * @author yuchanglong
+	 * @date 2015年8月12日 下午4:26:45
+	 * @version 1.0
+	 * @param resource
+	 * @return
+	 */
+	PageFinder<ClassTypeResourceVo> findCommodityList(ClassTypeResource resource);
+
+	List<ClassTypeResourceVo> findMuchCodeStuBuyModuleNoResource(ClassTypeResource resource);
+	List<ClassTypeResourceVo> findMuchCodeStuBuyModuleNoResourceNotLimit(ClassTypeResource resource);
+	int findMuchCodeStuBuyModuleNoResourceCount(ClassTypeResource resource);
+
+	/**
+	 * 
+	 * Class Name: IClassTypeResourceService.java
+	 * @Description: 根据条件查询数量
+	 * @author yuchanglong
+	 * @date 2015年8月12日 下午5:58:24
+	 * @version 1.0
+	 * @param resource
+	 * @return
+	 */
+	Integer getPageCount(ClassTypeResource resource);
+	
+	/**
+	 * 
+	 * Class Name: IClassTypeResourceService.java
+	 * @Description: 查询需要下载的数量
+	 * @author 周文斌
+	 * @date 2015-9-28 下午7:14:36
+	 * @version 1.0
+	 * @param resource
+	 * @return
+	 */
+	List<ClassTypeResourceVo> findResourceByCon(ClassTypeResource resource);
+	/**
+	 * wap端资料
+	 */
+	List<ClassTypeResourceVo> findResourceListWap(ClassTypeResource resource);
+	/**
+	 * 获取一对一课程的私有资料
+	 */
+	List<ClassTypeResourceVo> findResourceListPrivate(ClassTypeResource resource);
+	/**
+	 * 
+	 * Class Name: IClassTypeResourceService.java
+	 * @Description: 分页查询列表
+	 * @author 周文斌
+	 * @date 2015-8-11 下午6:29:39
+	 * @version 1.0
+	 * @param res
+	 * @return
+	 */
+	List<ClassTypeResourceVo> findResBy(ClassTypeResource res);
+	List<ClassTypeResourceVo> findResByNotLimit(ClassTypeResource res);
+	/**
+	 * 
+	 * Class Name: IClassTypeResourceService.java
+	 * @Description: 查询总数
+	 * @author 周文斌
+	 * @date 2015-8-11 下午6:32:49
+	 * @version 1.0
+	 * @param res
+	 * @return
+	 */
+	Integer findResCountBy(ClassTypeResource res);
+
+    List<ClassTypeResourceVo> findResByNoAuth(ClassTypeResource res);
+	List<ClassTypeResourceVo> findResByNoAuthNotLimit(ClassTypeResource res);
+	Integer findResByNoAuthCount(ClassTypeResource res);
+
+	/**
+	 * 查询课次资料分页
+	 * @param resource
+	 * @return
+	 */
+    PageFinder<ClassTypeResourceVo> getLessonDataById(ClassTypeResource resource);
+
+    Integer findShareModuleResCount(ClassTypeResource resource);
+
+	Integer findShareModuleMuchCodeStuBuyModuleNoResourceCount(ClassTypeResource resource);
+
+	List<ClassTypeResourceVo> findShareModuleResourceByCon(ClassTypeResource res);
+
+    PageFinder<ClassTypeResourceVo> getShareModuleLessonDataById(ClassTypeResource resource);
+
+	List<ClassTypeResourceVo> findShareModuleResByNotLimit(ClassTypeResource resource);
+
+    List<ClassTypeResource> findByLectureId(Integer lectureId);
+}

+ 110 - 0
yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/classes/IClassTypeResourceTypeService.java

@@ -0,0 +1,110 @@
+package com.yuxin.wx.api.classes;
+
+import java.util.List;
+
+import com.yuxin.wx.model.classes.ClassTypeResourceType;
+/**
+ * Service Interface:ClassTypeResourceType
+ * @author wang.zx
+ * @date 2015-8-11
+ */
+public interface IClassTypeResourceTypeService  {
+	/**
+	 * 
+	* @Title: saveClassTypeResourceType
+	* @Description: 新增ClassTypeResourceType
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-8-11
+	* @user by wangzx
+	 */
+	void insert(ClassTypeResourceType entity);
+	
+	/**
+	 * 
+	* @Title: batchSaveClassTypeResourceType 
+	* @Description: 批量新增ClassTypeResourceType
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-8-11
+	* @user by wangzx
+	 */
+	void batchInsert(List<ClassTypeResourceType> list);
+	
+	/**
+	 * 
+	* @Title: updateClassTypeResourceType 
+	* @Description: 编辑ClassTypeResourceType
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-8-11
+	* @user by wangzx
+	 */
+	void update(ClassTypeResourceType entity);
+	
+	/**
+	 * 
+	* @Title: deleteClassTypeResourceTypeById 
+	* @Description: 根据id删除ClassTypeResourceType
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-8-11
+	* @user by wangzx
+	 */
+	void deleteClassTypeResourceTypeById(Integer id);
+	
+	/**
+	 * 
+	* @Title: deleteClassTypeResourceTypeByIds 
+	* @Description: 根据id批量删除ClassTypeResourceType
+	* @param ids
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-8-11
+	* @user by wangzx
+	 */
+	void deleteClassTypeResourceTypeByIds(Integer[] ids);
+	
+	/**
+	 * 
+	* @Title: findClassTypeResourceTypeById 
+	* @Description: 根据id查询
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-8-11
+	* @user by wangzx
+	 */
+	ClassTypeResourceType findClassTypeResourceTypeById(Integer id);
+	
+	/**
+	 * 
+	* @Title: findClassTypeResourceTypeByPage 
+	* @Description: 分页查询
+	* @return
+	* @return List<ClassTypeResourceType>    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-8-11
+	* @user by wangzx
+	 */
+	List<ClassTypeResourceType> findClassTypeResourceTypeByPage(ClassTypeResourceType search);
+	/**
+	 * 
+	 * Class Name: IClassTypeResourceTypeService.java
+	 * @Description: 根据公司id查询
+	 * @author yuchanglong
+	 * @date 2015年8月12日 下午4:15:09
+	 * @version 1.0
+	 * @param companyId
+	 * @return
+	 */
+	List<ClassTypeResourceType> findByCompanyId(Integer companyId);
+}

+ 253 - 0
yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/classes/IClassTypeService.java

@@ -0,0 +1,253 @@
+package com.yuxin.wx.api.classes;
+
+import com.yuxin.wx.common.PageFinder;
+import com.yuxin.wx.model.classes.ClassModuleNo;
+import com.yuxin.wx.model.classes.ClassType;
+import com.yuxin.wx.model.course.VideoCourseNote;
+import com.yuxin.wx.model.student.StudentPayMaster;
+import com.yuxin.wx.vo.api.AspenCourseResult;
+import com.yuxin.wx.vo.api.AspenParamter;
+import com.yuxin.wx.vo.api.AspenUserCourse;
+import com.yuxin.wx.vo.classes.ClassTypeAndModuleVo;
+import com.yuxin.wx.vo.classes.ClassTypeModelNoVo;
+import com.yuxin.wx.vo.classes.ClassTypeVo;
+import com.yuxin.wx.vo.course.CourseSelectVo;
+import com.yuxin.wx.vo.student.StudentLessTimeVo;
+
+import java.util.List;
+import java.util.Map;
+
+/**
+ * Service Interface:ClassType
+ * 
+ * @author chopin
+ * @date 2015-3-12
+ */
+public interface IClassTypeService {
+    /**
+     * 
+     * @Title: saveClassType
+     * @Description: 新增ClassType
+     * @return void 返回类型
+     * @throws @exception
+     * @date 2015-3-12
+     * @user by wangzx
+     */
+    void insert(ClassType entity);
+
+    /**
+     * 
+     * @Title: batchSaveClassType
+     * @Description: 批量新增ClassType
+     * @return void 返回类型
+     * @throws @exception
+     * @date 2015-3-12
+     * @user by wangzx
+     */
+    void batchInsert(List<ClassType> list);
+
+    /**
+     * 
+     * @Title: updateClassType
+     * @Description: 编辑ClassType
+     * @return void 返回类型
+     * @throws @exception
+     * @date 2015-3-12
+     * @user by wangzx
+     */
+    void update(ClassType entity);
+
+    /**
+     * 
+     * @Title: deleteClassTypeById
+     * @Description: 根据id删除ClassType
+     * @param id
+     * @return void 返回类型
+     * @throws @exception
+     * @date 2015-3-12
+     * @user by wangzx
+     */
+    void deleteClassTypeById(Integer id);
+
+    /**
+     * 
+     * @Title: deleteClassTypeByIds
+     * @Description: 根据id批量删除ClassType
+     * @param ids
+     * @return void 返回类型
+     * @throws @exception
+     * @date 2015-3-12
+     * @user by wangzx
+     */
+    void deleteClassTypeByIds(Integer[] ids);
+
+    /**
+     * 
+     * @Title: findClassTypeById
+     * @Description: 根据id查询
+     * @param id
+     * @return void 返回类型
+     * @throws @exception
+     * @date 2015-3-12
+     * @user by wangzx
+     */
+    ClassType findClassTypeById(Integer id);
+
+    /**
+     * 
+     * @Title: findClassTypeByPage
+     * @Description: 分页查询
+     * @return
+     * @return List<ClassType> 返回类型
+     * @throws @exception
+     * @date 2015-3-12
+     * @user by wangzx
+     */
+    List<ClassType> findClassTypeByPage(ClassType search);
+
+    /**
+     * 
+     * Class Name: IClassTypeService.java
+     * 
+     * @Description: TODO(根据StudentPayMaster表中数据查询班型)
+     * @author ycl
+     * @date 2015-4-10 上午11:46:49
+     * @modifier
+     * @modify-date 2015-4-10 上午11:46:49
+     * @version 1.0
+     * @param master
+     * @return
+     */
+    List<ClassType> findClassTypeByStu(StudentPayMaster master);
+
+    /**
+     * 
+     * Class Name: IClassTypeService.java
+     * 
+     * @Description: 购买课程,根据商品id查询所购买的课程
+     * @author 权飞虎
+     * @date 2015年4月13日 下午4:36:50
+     * @modifier
+     * @modify-date 2015年4月13日 下午4:36:50
+     * @version 1.0
+     * @param id
+     * @return
+     */
+    ClassType findClassTypeByCommodity(Integer id);
+
+    /**
+     * @Description: 根据主订单表ID, 查询对应的班型
+     * @author wzx
+     * @date 2015-4-15 下午9:44:43
+     * @version 1.0
+     * @param masterId
+     * @return
+     */
+    ClassType findClassTypeByMasterId(String masterId);
+
+    /**
+     * @Description: 根据班型ID查询对应的模块,并且查询出模块对应的课时
+     * @author wzx
+     * @date 2015-4-23 下午8:59:51
+     * @version 1.0
+     * @param typeId
+     * @return
+     */
+    List<ClassTypeAndModuleVo> findModulesByClassTypeId(Integer typeId);
+
+    /**
+     * 
+     * Class Name: IClassTypeService.java
+     * 
+     * @Description: 查询教师id
+     * @author 周文斌
+     * @date 2015-6-9 下午9:41:20
+     * @version 1.0
+     * @param id
+     * @return
+     */
+    Integer findTeacherByClassId(Integer id);
+
+    /**
+     * 
+     * Class Name: IClassTypeService.java
+     * 
+     * @Description: 查询笔记课程
+     * @author 周文斌
+     * @date 2015-10-28 下午3:46:30
+     * @version 1.0
+     * @param note
+     * @return
+     */
+    List<ClassType> findNoteByClassId(VideoCourseNote note);
+
+    /**
+     * 
+     * Class Name: IClassTypeService.java
+     * 
+     * @Description: 查询公司下直播课
+     * @author zhang.zx
+     * @date 2016年6月8日 下午4:34:49
+     * @modifier
+     * @modify-date 2016年6月8日 下午4:34:49
+     * @version 1.0
+     * @param map
+     * @return
+     */
+    List<ClassType> queryLiveCourseByCompany(Map<String, Object> map);
+
+    ClassType findClassTypeByIds(Map<String, Object> param);
+
+    // 根据商品id和阶段id查询课程
+    List<ClassType> findClassTypeByCommodityIdAndStageId(Map<String, Object> condition);
+
+    List<Integer> findStuBuyClassTypeIds(StudentPayMaster spm);
+
+    List<StudentLessTimeVo> queryModelLessionTime(StudentPayMaster spm);
+
+    List<CourseSelectVo> queryClassTypeByOneAndTwoItem(CourseSelectVo search);
+
+    List<AspenCourseResult> findAspenCourseList(AspenParamter aspenList);
+
+    List<AspenUserCourse> findAspenUserCoursesList(AspenParamter aspenList);
+
+	PageFinder<ClassType> findUseClassByPage(ClassType search);
+
+	Integer findClassTypeByPageCount(ClassType search);
+
+	ClassTypeVo findClassTypeById(ClassType search);
+
+    List<ClassType> findByIds(List<Integer> ids);
+
+    //根据课程id查询商品id  获取ClassType的commdityId  2019-11-06
+    Map findCommodityByClassTypeById(Integer classTypeId);
+
+    //获取课程下的课程单元下课次下的直播时间  2019-11-16
+    Map findClassModelDateByClassTypeId(Map param);
+
+    Integer findAgentType(Integer classTypeId);
+
+    /**
+     * 根据课程ID,获取对应的源课程ID
+     *
+     * @param classTypeId 课程ID
+     * @return 源课程ID,如没有则返回null
+     */
+    Integer findSupplyCourseId(Integer classTypeId);
+
+    /**
+     * 查询代理课程,及源课程ID
+     * @return
+     */
+    List<ClassType> queryAgentClassTypeListByIdList(List<Integer> classTypeIdList);
+
+    /**
+     * 查询代理培训批次下源课程的信息
+     * @param classPackageIdList
+     * @param classPackageStageIdList
+     * @return
+     */
+    List<ClassType> queryAgentClassTypeListByPackageIdList(List<Integer> classPackageIdList, List<Integer> classPackageStageIdList);
+
+
+}

+ 105 - 0
yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/classes/IClassTypeTagService.java

@@ -0,0 +1,105 @@
+package com.yuxin.wx.api.classes;
+
+import com.yuxin.wx.model.classes.ClassTypeTag;
+
+import java.util.List;
+
+/**
+ * Service Interface:ClassTypeTag
+ * @author licong
+ * @date 2017-9-27
+ */
+public interface IClassTypeTagService {
+	/**
+	 * 
+	* @Title: saveClassTypeTag
+	* @Description: 新增ClassTypeTag
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2017-9-27
+	* @user by wangzx
+	 */
+	void insert(ClassTypeTag entity);
+	
+	/**
+	 * 
+	* @Title: batchSaveClassTypeTag 
+	* @Description: 批量新增ClassTypeTag
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2017-9-27
+	* @user by wangzx
+	 */
+	void batchInsert(List<ClassTypeTag> list);
+	
+	/**
+	 * 
+	* @Title: updateClassTypeTag 
+	* @Description: 编辑ClassTypeTag
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2017-9-27
+	* @user by wangzx
+	 */
+	void update(ClassTypeTag entity);
+	
+	/**
+	 * 
+	* @Title: deleteClassTypeTagById 
+	* @Description: 根据id删除ClassTypeTag
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2017-9-27
+	* @user by wangzx
+	 */
+	void deleteClassTypeTagById(Integer id);
+
+
+    /**
+	 * 
+	* @Title: deleteClassTypeTagByIds 
+	* @Description: 根据id批量删除ClassTypeTag
+	* @param ids
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2017-9-27
+	* @user by wangzx
+	 */
+	void deleteClassTypeTagByIds(Integer[] ids);
+	
+	/**
+	 * 
+	* @Title: findClassTypeTagById 
+	* @Description: 根据id查询
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2017-9-27
+	* @user by wangzx
+	 */
+	ClassTypeTag findClassTypeTagById(Integer id);
+	
+	/**
+	 * 
+	* @Title: findClassTypeTagByPage 
+	* @Description: 分页查询
+	* @return
+	* @return List<ClassTypeTag>    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2017-9-27
+	* @user by wangzx
+	 */
+	List<ClassTypeTag> findClassTypeTagByPage(ClassTypeTag search);
+
+    List<ClassTypeTag> findBySearch(ClassTypeTag search);
+
+	void deleteByClassTypeId(Integer classTypeId);
+}

+ 22 - 0
yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/classes/ILiveDurationStatisticsLessonService.java

@@ -0,0 +1,22 @@
+package com.yuxin.wx.api.classes;
+
+import com.yuxin.wx.live.smallCharge.LiveDurationStatisticsLesson;
+
+import java.util.List;
+
+/**
+ *直播教师课次信息
+ */
+public interface ILiveDurationStatisticsLessonService {
+
+	//批量插入
+	int insert(LiveDurationStatisticsLesson durationStatisticsLesson);
+
+	//查询是否重复判断
+	List<LiveDurationStatisticsLesson> getLiveDurationStatisticsLesson(LiveDurationStatisticsLesson liveDurationStatisticsLesson);
+
+	//删除旧数据,从接口获取新数据
+	void deleteLiveDurationStatisticsLesson(LiveDurationStatisticsLesson liveDurationStatisticsLesson);
+	//已使用金额
+    Double totalUseMoney(Integer companyId);
+}

+ 67 - 0
yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/classes/ILiveRoomService.java

@@ -0,0 +1,67 @@
+package com.yuxin.wx.api.classes;
+
+import com.yuxin.wx.model.classes.ClassModuleLesson;
+import com.yuxin.wx.model.company.CompanyLiveConfig;
+import com.yuxin.wx.model.course.LiveOpenCourse;
+
+public interface ILiveRoomService {
+	
+	/**
+	 * @Description: 创建直播教室
+	 * @author zx.wang
+	 * @date 2015-11-10 下午3:31:55
+	 * @version 2.0
+	 * @param o
+	 * @return
+	 */
+	String createLiveRoom(Object o, Integer companyId);
+	
+	/**
+	 * @Description:更新直播教室
+	 * @author zx.wang
+	 * @date 2015-11-10 下午3:33:07
+	 * @version 2.0
+	 * @param o
+	 * @return
+	 */
+	String updateLiveRoom(Object o, Integer companyId);
+	
+	/**
+	 * @Description: 删除直播教室
+	 * @author zx.wang
+	 * @date 2015-11-10 下午3:33:37
+	 * @version 2.0
+	 * @param o
+	 * @return
+	 */
+	String deleteLiveRoom(Object o);
+	
+	/**
+	 * @Description: 将课程转变为E课堂/展示互动, 要传递的对象
+	 * @author zx.wang
+	 * @date 2015-11-11 下午4:04:35
+	 * @version 2.0
+	 * @param cml
+	 * @param customer
+	 * @param key
+	 * @return
+	 */
+	Object lessonConvertLiveRoom(ClassModuleLesson cml, Integer companyId);
+	
+	/**
+	 * @Description: 将公开课实体转化为E课堂/展示互动, 要传递的对象
+	 * @author zx.wang
+	 * @date 2015-11-17 上午11:26:46
+	 * @version 2.0
+	 * @param open
+	 * @param customer
+	 * @param key
+	 * @return
+	 */
+	Object openConvertLiveRoom(LiveOpenCourse open, Integer companyId);
+	
+	Object lessonConvertLiveRoom(ClassModuleLesson cml, CompanyLiveConfig config);
+	
+	Object openConvertLiveRoom(LiveOpenCourse open, CompanyLiveConfig config);
+	
+}

+ 34 - 0
yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/classes/faq/IClassMeetFaqService.java

@@ -0,0 +1,34 @@
+package com.yuxin.wx.api.classes.faq;
+
+import com.yuxin.wx.common.PageFinder;
+import com.yuxin.wx.model.classes.ClassModuleLesson;
+import com.yuxin.wx.model.classes.meetFaq.ClassMeetFaq;
+import com.yuxin.wx.vo.user.UsersFrontVo;
+
+import java.util.List;
+
+/**
+ * @className: IClassMeetFaqService.java
+ * @description:
+ * @author: luogang
+ * @createDate: 2018-12-12 15:46
+ */
+public interface IClassMeetFaqService {
+    Object subscribeMeetFaq(List<ClassModuleLesson> lessons, Integer companyId, Integer stuId,Integer teacherId,Integer schoolId);
+
+    Object instantMeetFaq(Integer companyId, Integer stuId, Integer teacherId);
+
+    Object isMeetFap(Integer companyId, Integer stuId);
+
+    ClassMeetFaq findMeetFaqById(Integer meetFaqId);
+
+    void update(ClassMeetFaq meetFaq);
+
+    PageFinder<ClassMeetFaq> loadMyMeetFaq(ClassMeetFaq faq);
+
+    ClassMeetFaq findRefreshMeetFaq(Integer companyId,Integer stuId);
+
+    Integer refreshMeetFaqByMeetFaqId(Integer id);
+
+    Integer findNotevaluatedMeetFaq(Integer companyId, Integer stuId);
+}

+ 15 - 0
yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/classes/faq/ICommodityFaqPriceSerivce.java

@@ -0,0 +1,15 @@
+package com.yuxin.wx.api.classes.faq;
+
+import com.yuxin.wx.model.classes.meetFaq.CommodityFaqPrice;
+
+import java.util.List;
+
+/**
+ * @className: ICommodityFaqPriceSerivce.java
+ * @description:
+ * @author: luogang
+ * @createDate: 2018-12-14 14:08
+ */
+public interface ICommodityFaqPriceSerivce {
+    List<CommodityFaqPrice> findCommodityFaqPriceList(CommodityFaqPrice faqPrice);
+}

+ 13 - 0
yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/classes/faq/ICommodityFaqWalletService.java

@@ -0,0 +1,13 @@
+package com.yuxin.wx.api.classes.faq;
+
+import com.yuxin.wx.model.classes.meetFaq.CommodityFaqWallet;
+
+/**
+ * @className: ICommodityFaqWalletService.java
+ * @description:
+ * @author: luogang
+ * @createDate: 2018-12-27 13:52
+ */
+public interface ICommodityFaqWalletService {
+    Long findSumFaqminuteByCompanyIdAndStuId(CommodityFaqWallet cfw);
+}

+ 19 - 0
yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/classes/faq/IStudentAppraisalLabelService.java

@@ -0,0 +1,19 @@
+package com.yuxin.wx.api.classes.faq;
+
+import com.yuxin.wx.model.classes.meetFaq.StudentAppraisalLabel;
+
+import java.util.List;
+
+/**
+ * @className: IStudentAppraisalLabelService.java
+ * @description:
+ * @author: luogang
+ * @createDate: 2018-12-23 11:43
+ */
+public interface IStudentAppraisalLabelService {
+    void deleteByWhere(StudentAppraisalLabel studentAppraisalLabel);
+
+    void insert(StudentAppraisalLabel studentAppraisalLabel);
+
+    List<StudentAppraisalLabel> findStudentCommentLabelByMeetFaqId(Integer meetFaqId);
+}

+ 23 - 0
yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/classes/faq/ISysConfigIndexModelTeacherService.java

@@ -0,0 +1,23 @@
+package com.yuxin.wx.api.classes.faq;
+
+import com.yuxin.wx.model.classes.meetFaq.CompanyIndexModelTeacher;
+import com.yuxin.wx.model.system.SysConfigIndexModel;
+
+import java.util.List;
+
+/**
+ * Service Interface:ISysConfigIndexModelTeacherService
+ * @author luogang
+ * @date 2018-12-12
+ */
+public interface ISysConfigIndexModelTeacherService {
+
+	void insert(CompanyIndexModelTeacher entity);
+
+	void batchInsert(List<CompanyIndexModelTeacher> list);
+
+	void update(CompanyIndexModelTeacher entity);
+
+	CompanyIndexModelTeacher findSysConfigIndexItemById(Integer id);
+
+}

+ 24 - 0
yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/classes/faq/ISysConfigTeacherFaqTimeSerivce.java

@@ -0,0 +1,24 @@
+package com.yuxin.wx.api.classes.faq;
+
+import com.yuxin.wx.model.classes.meetFaq.SysConfigTeacherFaqTime;
+import com.yuxin.wx.vo.meet.TeacherCanMeetCountVo;
+
+import java.util.List;
+
+/**
+ * @className: ISysConfigTeacherFaqTimeSerivce.java
+ * @description:
+ * @author: luogang
+ * @createDate: 2018-12-12 15:46
+ */
+public interface ISysConfigTeacherFaqTimeSerivce {
+    void update(SysConfigTeacherFaqTime faqTime);
+
+    List<TeacherCanMeetCountVo> findMeetFaqTeacherHours(SysConfigTeacherFaqTime faqTime);
+
+    List<SysConfigTeacherFaqTime> findBySearch(SysConfigTeacherFaqTime search);
+
+    List<SysConfigTeacherFaqTime> findBySearchOrderByTimeBegin(SysConfigTeacherFaqTime search);
+
+    List<SysConfigTeacherFaqTime> isMeetFaqTimeSta(SysConfigTeacherFaqTime search);
+}

+ 15 - 0
yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/classes/faq/ITeacherAppraisalLabelService.java

@@ -0,0 +1,15 @@
+package com.yuxin.wx.api.classes.faq;
+
+import com.yuxin.wx.model.classes.meetFaq.TeacherAppraisalLabel;
+
+import java.util.List;
+
+/**
+ * @className: ITeacherAppraisalLabelService.java
+ * @description:
+ * @author: luogang
+ * @createDate: 2018-12-23 11:46
+ */
+public interface ITeacherAppraisalLabelService {
+    List<TeacherAppraisalLabel> findMeetFaqTeacherLabels(Integer currtCompanyId);
+}

+ 16 - 0
yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/classes/faq/IUserFaqMinuteChageService.java

@@ -0,0 +1,16 @@
+package com.yuxin.wx.api.classes.faq;
+
+import com.yuxin.wx.model.classes.meetFaq.UserFaqMinuteChage;
+import com.yuxin.wx.vo.user.UsersFrontVo;
+
+/**
+ * @className: IUserFaqMinuteChageService.java
+ * @description:
+ * @author: luogang
+ * @createDate: 2018-12-25 18:33
+ */
+public interface IUserFaqMinuteChageService {
+    void insert(UserFaqMinuteChage userFaqMinuteChage);
+
+    void chageUserFaqMinuteTime(UsersFrontVo currtUser, Long aLong);
+}

+ 501 - 0
yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/commodity/ICommodityService.java

@@ -0,0 +1,501 @@
+package com.yuxin.wx.api.commodity;
+
+import java.util.List;
+import java.util.Map;
+
+import com.yuxin.custom.model.aiquanti.StudyTrainCourse;
+import com.yuxin.wx.common.PageFinder;
+import com.yuxin.wx.model.classes.ClassModule;
+import com.yuxin.wx.model.classes.ClassType;
+import com.yuxin.wx.model.commodity.Commodity;
+import com.yuxin.wx.model.student.StudentPayMaster;
+import com.yuxin.wx.model.system.SysConfigTeacher;
+import com.yuxin.wx.vo.commodity.CommodityBuyNumVo;
+import com.yuxin.wx.vo.commodity.CommodityModelVo;
+import com.yuxin.wx.vo.commodity.CommodityVo;
+
+/**
+ * Service Interface:Commodity
+ * @author chopin
+ * @date 2015-3-12
+ */
+public interface ICommodityService  {
+	/**
+	 * 
+	* @Title: saveCommodity
+	* @Description: 新增Commodity
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-3-12
+	* @user by wangzx
+	 */
+	void insert(Commodity entity);
+	
+	/**
+	 * 
+	* @Title: batchSaveCommodity 
+	* @Description: 批量新增Commodity
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-3-12
+	* @user by wangzx
+	 */
+	void batchInsert(List<Commodity> list);
+	
+	/**
+	 * 
+	* @Title: updateCommodity 
+	* @Description: 编辑Commodity
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-3-12
+	* @user by wangzx
+	 */
+	void update(Commodity entity);
+	
+	/**
+	 * 
+	* @Title: deleteCommodityById 
+	* @Description: 根据id删除Commodity
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-3-12
+	* @user by wangzx
+	 */
+	void deleteCommodityById(Integer id);
+	
+	/**
+	 * 
+	* @Title: deleteCommodityByIds 
+	* @Description: 根据id批量删除Commodity
+	* @param ids
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-3-12
+	* @user by wangzx
+	 */
+	void deleteCommodityByIds(Integer[] ids);
+	
+	/**
+	 * 
+	* @Title: findCommodityById 
+	* @Description: 根据id查询
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-3-12
+	* @user by wangzx
+	 */
+	Commodity findCommodityById(Integer id);
+	
+	/**
+	 * 
+	* @Title: findCommodityByPage 
+	* @Description: 分页查询
+	* @return
+	* @return List<Commodity>    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-3-12
+	* @user by wangzx
+	 */
+	List<Commodity> findCommodityByPage(Commodity search);
+	
+	/**
+	 * 
+	* @Title: findCommodityByPage 
+	* @Description: 分页查询
+	* @return
+	* @return List<Commodity>    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-3-12
+	* @user by chopin
+	 */
+	List<CommodityVo> searchCommodityBySchool(Integer schoolId);
+	
+	/**
+	 * 
+	* @Title: findCommodityByPage 
+	* @Description: 根据自定义条件查询
+	* @return
+	* @return List<Commodity>    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-3-12
+	* @user by chopin
+	 */
+	List<CommodityVo> searchCommodityByItemOne(Integer schoolId,Integer itemOneId);
+	
+	/**
+	 * 
+	* @Title: findCommodityByPage 
+	* @Description: 根据一、二级项目
+	* @return
+	* @return List<Commodity>    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-3-12
+	* @user by chopin
+	 */
+	List<CommodityVo> searchCommodityByItemTwo(Integer schoolId,Integer itemOneId,Integer itemSecondId);
+	
+	/**
+	 * 
+	* @Title: findCommodityByPage 
+	* @Description: 根据商品类型查询商品
+	* @return
+	* @return List<Commodity>    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-3-12
+	* @user by chopin
+	 */
+	List<CommodityVo> searchCommodityByProductType(Integer school,String type);
+	
+	
+	/**
+	 * 
+	* @Title: findCommodityByPage 
+	* @Description: 根据自定义条件查询商品,校区Id不能为空
+	* @return
+	* @return List<Commodity>    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-3-12
+	* @user by chopin
+	 */
+	List<CommodityVo> searchCommodityList(CommodityVo search);
+	
+	/**
+	 * 
+	 * Class Name: ICommodityService.java
+	 * @Description: 分页和条件查询商品
+	 * @author zhang.zx
+	 * @date 2015-4-8
+	 * @modifier
+	 * @version 1.0
+	 * @param search
+	 * @return  PageFinder<Commodity> 返回类型
+	 */
+	PageFinder<CommodityVo> queryCommodityByPage(CommodityVo search);
+	
+	/**
+	 * 
+	 * Class Name: ICommodityService.java
+	 * @Description: 根据自定义条件查询商品
+	 * @author chopin
+	 * @date 2015-4-8
+	 * @modifier
+	 * @version 1.0
+	 * @param search
+	 * @return  PageFinder<Commodity> 返回类型
+	 */
+	public List<CommodityVo> loadData(CommodityVo search);
+	
+	/**
+	 * 周文斌
+	 * 根据classTypeId 查询CommodityId
+	 * @param ClassTypeId
+	 * @return
+	 */
+	Integer findCommodityIdByClassTypeId(Integer classTypeId);
+	
+	/**
+	 * 
+	 * Class Name: ICommodityService.java
+	 * @Description: 根据班型ID查询商品
+	 * @author chopin
+	 * @date 2015-4-8
+	 * @modifier
+	 * @version 1.0
+	 * @param search
+	 * @return  PageFinder<Commodity> 返回类型
+	 */
+	public List<CommodityVo> loadData2(Map classTypeId);
+	/**
+	 * 
+	 * Class Name: ICommodityService.java
+	 * @Description:公开课-大家都在看
+	 * @author yuchanglong
+	 * @date 2015年10月15日 下午12:35:03
+	 * @version 1.0
+	 * @return
+	 */
+	public List<CommodityVo> findForOpecClass(CommodityVo search);
+	
+	/**
+	 * 
+	 * Class Name: ICommodityService.java
+	 * @Description: 查询一级项目下前六条商品信息
+	 * @author zhang.zx
+	 * @date 2015年10月19日 下午4:49:28
+	 * @modifier
+	 * @modify-date 2015年10月19日 下午4:49:28
+	 * @version 1.0
+	 * @param search
+	 * @return
+	 */
+	List<CommodityVo> findProductByItemOne(CommodityVo search);
+	
+	/**
+	 * 
+	 * Class Name: ICommodityService.java
+	 * @Description: 精品课程
+	 * @author zhang.zx
+	 * @date 2015年10月19日 下午6:35:37
+	 * @modifier
+	 * @modify-date 2015年10月19日 下午6:35:37
+	 * @version 1.0
+	 * @param search
+	 * @return
+	 */
+	List<CommodityVo> queryRecommendProducts(CommodityVo search);
+	
+	/**
+	 * 
+	 * Class Name: ICommodityService.java
+	 * @Description: 查找最热课程
+	 * @author zhang.zx
+	 * @date 2015年10月20日 下午4:24:19
+	 * @modifier
+	 * @modify-date 2015年10月20日 下午4:24:19
+	 * @version 1.0
+	 * @param search
+	 * @return
+	 */
+	List<CommodityVo> findHotProducts(CommodityVo search);
+	
+	/**
+	 * 
+	 * Class Name: ICommodityService.java
+	 * @Description: 查询最新课程
+	 * @author zhang.zx
+	 * @date 2015年10月20日 下午4:24:38
+	 * @modifier
+	 * @modify-date 2015年10月20日 下午4:24:38
+	 * @version 1.0
+	 * @param search
+	 * @return
+	 */
+	List<CommodityVo> findNewProducts(CommodityVo search);
+	
+	/**
+	 * 
+	 * Class Name: ICommodityService.java
+	 * @Description: 查询最新课程
+	 * @author zhang.zx
+	 * @date 2015年10月20日 下午4:24:38
+	 * @modifier
+	 * @modify-date 2015年10月20日 下午4:24:38
+	 * @version 1.0
+	 * @param search
+	 * @return
+	 */
+	List<CommodityVo> findProductByType(CommodityVo search);
+	
+	/**
+	 * 
+	 * Class Name: ICommodityService.java
+	 * @Description: 搜索课程功能
+	 * @author zhang.zx
+	 * @date 2015年10月20日 下午6:43:17
+	 * @modifier
+	 * @modify-date 2015年10月20日 下午6:43:17
+	 * @version 1.0
+	 * @param search
+	 * @return
+	 */
+	PageFinder<CommodityVo> searchCourse(CommodityVo search);
+	
+	/**
+	 * 
+	 * Class Name: ICommodityService.java
+	 * @Description: 根据学生id查询课程分页
+	 * @author yuchanglong
+	 * @date 2015年10月30日 下午6:06:22
+	 * @version 1.0
+	 * @param stuId
+	 * @return
+	 */
+	List<CommodityVo> findCourseByStuId(StudentPayMaster search);
+	
+	/**
+	 * 
+	 * Class Name: ICommodityService.java
+	 * @Description: 根据学生id查询课程
+	 * @author yuchanglong
+	 * @date 2015年10月30日 下午6:06:22
+	 * @version 1.0
+	 * @param stuId
+	 * @return
+	 */
+	List<CommodityVo> findByStuId(StudentPayMaster search);
+	/**
+	 * 
+	 * Class Name: ICommodityService.java
+	 * @Description: 根据学生id查询课程分页
+	 * @author yuchanglong
+	 * @date 2015年10月30日 下午6:06:22
+	 * @version 1.0
+	 * @param memberId
+	 * @return
+	 */
+	PageFinder<CommodityVo> findCourseByStuIdPage(StudentPayMaster search, Integer memberId,String twoGroupName);
+	/**
+	 * 
+	 * Class Name: ICommodityService.java
+	 * @Description: 分页查询数量
+	 * @author yuchanglong
+	 * @date 2015年11月2日 上午10:11:44
+	 * @version 1.0
+	 * @return
+	 */
+	Integer findCountByStuId(StudentPayMaster search);
+	
+	/**
+	 * 
+	 * Class Name: ICommodityService.java
+	 * @Description: 查询名师下课程
+	 * @author zhang.zx
+	 * @date 2015年10月27日 下午4:47:35
+	 * @modifier
+	 * @modify-date 2015年10月27日 下午4:47:35
+	 * @version 1.0
+	 * @param search
+	 * @param funMap 
+	 * @return
+	 */
+	PageFinder<CommodityVo> searchTeacherCourse(CommodityVo search, Map<String, Boolean> funMap);
+	
+	
+	List<CommodityVo> queryTeacherCourse(CommodityVo search);
+	
+	/**
+	 * 
+	 * Class Name: ICommodityService.java
+	 * @Description: 查询课程列表
+	 * @author zhang.zx
+	 * @date 2015年12月2日 下午12:03:25
+	 * @modifier
+	 * @modify-date 2015年12月2日 下午12:03:25
+	 * @version 1.0
+	 * @param search
+	 * @return
+	 */
+	List<CommodityModelVo> findProductByWhere(CommodityModelVo search);
+	
+	/**
+	 * 
+	 * Class Name: ICommodityService.java
+	 * @Description: 查询所有商品信息
+	 * @author zhang.zx
+	 * @date 2015年12月7日 下午7:08:43
+	 * @modifier
+	 * @modify-date 2015年12月7日 下午7:08:43
+	 * @version 1.0
+	 * @param search
+	 * @return
+	 */
+	List<CommodityVo> queryAllCourses(CommodityVo search);
+	
+	/**
+	 * 
+	 * Class Name: ICommodityService.java
+	 * @Description: 查询所有教师信息
+	 * @author zhang.zx
+	 * @date 2015年12月7日 下午7:08:43
+	 * @modifier
+	 * @modify-date 2015年12月7日 下午7:08:43
+	 * @version 1.0
+	 * @param search
+	 * @return
+	 */
+	List<SysConfigTeacher> queryAllTeachers(CommodityVo search);
+	
+	/**
+	 * 
+	 * Class Name: ICommodityService.java
+	 * @Description: 查询课程详情
+	 * @author zhang.zx
+	 * @date 2015年12月10日 下午9:04:21
+	 * @modifier
+	 * @modify-date 2015年12月10日 下午9:04:21
+	 * @version 1.0
+	 * @param commodityId
+	 * @return
+	 */
+	CommodityVo queryCourseDetail(Map<String, Object> map);
+	
+	List<Integer> findStuBuyClassIds(StudentPayMaster search);
+	
+	CommodityVo queryComById(Map<String, Object> map);
+	
+	String findCommodityName (Integer id);
+
+	List<Map<String, Object>> queryCommodityMore(Integer stuId);
+
+	List<SysConfigTeacher> queryAllTeachersByMeetingClass(Map<String,Object> m);
+
+    Commodity findCommodityByType(CommodityBuyNumVo search);
+
+	Integer findClassPackageIdByCommodityId(Integer commodityId);
+
+	Integer findClassTypeIdByCommodityId(Integer commodityId);
+
+	/**
+	 * 江西新课堂定制
+	 * 学员报名课程列表
+	 * @param mobile
+	 * @param companyId
+	 * @param stuAccount
+	 * @return
+	 */
+	List<Map<String,Object>> courseInfo(String mobile, Integer companyId, String stuAccount);
+	/**
+	 * 学员课程学习记录(录播)
+	 * @param mobile
+	 * @param companyId
+	 * @param stuAccount
+	 * @param classTypeId
+	 * @return
+	 */
+	List<Map<String,Object>> studyProgress(String mobile, Integer companyId, String stuAccount, Integer classTypeId);
+
+
+    List<CommodityModelVo> queryPersonalHomePageCourse(StudentPayMaster spm);
+
+    Integer queryPersonalHomePageCourseCount(StudentPayMaster spm);
+
+    ClassModule queryModuleByClasstypeId(Integer classTypeId);
+
+    List<CommodityVo> queryProductByItemOneForCustomIndex(CommodityVo cmvo);
+
+	List<CommodityVo> queryTeacherTeachCourseBy(CommodityVo search, Map<String, Boolean> funMap);
+	Integer queryTeacherTeachCourseByCount(CommodityVo search, Map<String, Boolean> funMap);
+
+    PageFinder<CommodityVo> findCourseUnion(CommodityVo search);
+
+    /* *
+	 *
+	 * @Author Liao shilin
+	 * @Date 2018/06/05 上午 10:56
+	 * @param [cmvo]  
+	 * @return java.util.List<com.yuxin.wx.vo.commodity.CommodityVo>  
+	 * @Description 锦绣前程定制 查询首页人员类别下的直播 或 录播
+	 **/
+	List<CommodityVo> queryProductOrderBYUpdateTime(CommodityVo cmvo);
+
+	Integer findCommodityIdByClassPackageId(Integer commodityId);
+
+	CommodityVo findStudyTrainCourse(Integer courseId);
+
+    List<Commodity> findByIds(List<Integer> companyIds);
+}

+ 142 - 0
yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/commodityProductRealtion/ICommodityProductRealtionService.java

@@ -0,0 +1,142 @@
+package com.yuxin.wx.api.commodityProductRealtion;
+
+import java.util.List;
+
+import com.yuxin.wx.model.commodity.CommodityProductRealtion;
+/**
+ * Service Interface:CommodityProductRealtion
+ * @author chopin
+ * @date 2015-3-12
+ */
+public interface ICommodityProductRealtionService  {
+	/**
+	 * 
+	* @Title: saveCommodityProductRealtion
+	* @Description: 新增CommodityProductRealtion
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-3-12
+	* @user by wangzx
+	 */
+	void insert(CommodityProductRealtion entity);
+	
+	/**
+	 * 
+	* @Title: batchSaveCommodityProductRealtion 
+	* @Description: 批量新增CommodityProductRealtion
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-3-12
+	* @user by wangzx
+	 */
+	void batchInsert(List<CommodityProductRealtion> list);
+	
+	/**
+	 * 
+	* @Title: updateCommodityProductRealtion 
+	* @Description: 编辑CommodityProductRealtion
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-3-12
+	* @user by wangzx
+	 */
+	void update(CommodityProductRealtion entity);
+	
+	/**
+	 * 
+	* @Title: deleteCommodityProductRealtionById 
+	* @Description: 根据id删除CommodityProductRealtion
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-3-12
+	* @user by wangzx
+	 */
+	void deleteCommodityProductRealtionById(Integer id);
+	
+	/**
+	 * 
+	* @Title: deleteCommodityProductRealtionByIds 
+	* @Description: 根据id批量删除CommodityProductRealtion
+	* @param ids
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-3-12
+	* @user by wangzx
+	 */
+	void deleteCommodityProductRealtionByIds(Integer[] ids);
+	
+	/**
+	 * 
+	* @Title: findCommodityProductRealtionById 
+	* @Description: 根据id查询
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-3-12
+	* @user by wangzx
+	 */
+	CommodityProductRealtion findCommodityProductRealtionById(Integer id);
+	
+	/**
+	 * 
+	* @Title: findCommodityProductRealtionByPage 
+	* @Description: 分页查询
+	* @return
+	* @return List<CommodityProductRealtion>    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-3-12
+	* @user by wangzx
+	 */
+	List<CommodityProductRealtion> findCommodityProductRealtionByPage(CommodityProductRealtion search);
+	
+	/**
+	 * 
+	 * Class Name: ICommodityProductRealtionService.java
+	 * @Description: 根据班型查询 商品id
+	 * @author 周文斌
+	 * @date 2015-10-26 下午2:41:20
+	 * @version 1.0
+	 * @param classTypeId
+	 * @return
+	 */
+	Integer findComIdByClassId(Integer classTypeId);
+	
+	/**
+	 * 
+	* @Title: findCommodityProductRealtionByPage 
+	* @Description: 根据商品ID查班型ID
+	* @return
+	* @return List<CommodityProductRealtion>    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-3-12
+	* @user by chopin
+	 */
+	public Integer findClassIdByComId(Integer commodityId);
+	
+	Integer findComIdByClassPackageId(Integer classPackageId);
+
+	Integer findCommodityByProductIdAndType(Integer productId, String type);
+
+    Integer findComIdByChapterId(Integer chapterId);
+
+	/**
+	 * 查询培训批次ProductId
+	 */
+	Integer findProductIdByComId(Integer commdityId);
+
+	CommodityProductRealtion findByComId(Integer comId);
+
+    List<CommodityProductRealtion> findByProductIdsAndType(List<Integer> productIds, String type);
+
+    //根据商品id查询proid
+	Integer findProductByCommondityType(Integer comId, String type);
+}

+ 7 - 0
yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/company/CompanyPushConfigService.java

@@ -0,0 +1,7 @@
+package com.yuxin.wx.api.company;
+
+import com.yuxin.wx.model.company.CompanyPushConfig;
+
+public interface CompanyPushConfigService {
+    CompanyPushConfig findPushConfigByCompanyId(Integer companyId);
+}

+ 26 - 0
yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/company/CurriculumFairSpService.java

@@ -0,0 +1,26 @@
+package com.yuxin.wx.api.company;
+
+import com.yuxin.wx.enums.fair.QueryType;
+
+/**
+ * Service Support
+ */
+public interface CurriculumFairSpService {
+
+    /**
+     * 查询 - 供应商机构id
+     * @param type 查询类型
+     * @param queryId 查询id
+     * @return
+     */
+    Integer getSupplyComId(QueryType type , Integer queryId);
+
+    /**
+     * 验证 - 是否属于代理商课程
+     * @param type 查询类型
+     * @param queryId 查询id
+     * @return
+     */
+    Boolean isProxyCurriculum(QueryType type , Integer queryId);
+
+}

+ 111 - 0
yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/company/ICompanyAppAuthService.java

@@ -0,0 +1,111 @@
+package com.yuxin.wx.api.company;
+
+import java.util.List;
+
+import com.yuxin.wx.model.company.CompanyAppAuth;
+/**
+ * Service Interface:CompanyAppAuth
+ * @author wang.zx
+ * @date 2016-5-30
+ */
+public interface ICompanyAppAuthService  {
+	/**
+	 * 
+	* @Title: saveCompanyAppAuth
+	* @Description: 新增CompanyAppAuth
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-5-30
+	* @user by wangzx
+	 */
+	void insert(CompanyAppAuth entity);
+	
+	/**
+	 * 
+	* @Title: batchSaveCompanyAppAuth 
+	* @Description: 批量新增CompanyAppAuth
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-5-30
+	* @user by wangzx
+	 */
+	void batchInsert(List<CompanyAppAuth> list);
+	
+	/**
+	 * 
+	* @Title: updateCompanyAppAuth 
+	* @Description: 编辑CompanyAppAuth
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-5-30
+	* @user by wangzx
+	 */
+	void update(CompanyAppAuth entity);
+	
+	/**
+	 * 
+	* @Title: deleteCompanyAppAuthById 
+	* @Description: 根据id删除CompanyAppAuth
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-5-30
+	* @user by wangzx
+	 */
+	void deleteCompanyAppAuthById(Integer id);
+	
+	/**
+	 * 
+	* @Title: deleteCompanyAppAuthByIds 
+	* @Description: 根据id批量删除CompanyAppAuth
+	* @param ids
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-5-30
+	* @user by wangzx
+	 */
+	void deleteCompanyAppAuthByIds(Integer[] ids);
+	
+	/**
+	 * 
+	* @Title: findCompanyAppAuthById 
+	* @Description: 根据id查询
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-5-30
+	* @user by wangzx
+	 */
+	CompanyAppAuth findCompanyAppAuthById(Integer id);
+	
+	/**
+	 * 
+	* @Title: findCompanyAppAuthByPage 
+	* @Description: 分页查询
+	* @return
+	* @return List<CompanyAppAuth>    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-5-30
+	* @user by wangzx
+	 */
+	List<CompanyAppAuth> findCompanyAppAuthByPage(CompanyAppAuth search);
+	
+	/**
+	 * 
+	 * Class Name: ICompanyAppAuthService.java
+	 * @Description: 根据公司ID 查询
+	 * @author 周文斌
+	 * @date 2016-5-30 下午3:32:07
+	 * @version 1.0
+	 * @param companyId
+	 * @return
+	 */
+	CompanyAppAuth findByCompanyId(Integer companyId);
+}

+ 111 - 0
yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/company/ICompanyAppConfigService.java

@@ -0,0 +1,111 @@
+package com.yuxin.wx.api.company;
+
+import java.util.List;
+
+import com.yuxin.wx.model.company.CompanyAppConfig;
+/**
+ * Service Interface:CompanyAppConfig
+ * @author wang.zx
+ * @date 2016-5-30
+ */
+public interface ICompanyAppConfigService  {
+	/**
+	 * 
+	* @Title: saveCompanyAppConfig
+	* @Description: 新增CompanyAppConfig
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-5-30
+	* @user by wangzx
+	 */
+	void insert(CompanyAppConfig entity);
+	
+	/**
+	 * 
+	* @Title: batchSaveCompanyAppConfig 
+	* @Description: 批量新增CompanyAppConfig
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-5-30
+	* @user by wangzx
+	 */
+	void batchInsert(List<CompanyAppConfig> list);
+	
+	/**
+	 * 
+	* @Title: updateCompanyAppConfig 
+	* @Description: 编辑CompanyAppConfig
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-5-30
+	* @user by wangzx
+	 */
+	void update(CompanyAppConfig entity);
+	
+	/**
+	 * 
+	* @Title: deleteCompanyAppConfigById 
+	* @Description: 根据id删除CompanyAppConfig
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-5-30
+	* @user by wangzx
+	 */
+	void deleteCompanyAppConfigById(Integer id);
+	
+	/**
+	 * 
+	* @Title: deleteCompanyAppConfigByIds 
+	* @Description: 根据id批量删除CompanyAppConfig
+	* @param ids
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-5-30
+	* @user by wangzx
+	 */
+	void deleteCompanyAppConfigByIds(Integer[] ids);
+	
+	/**
+	 * 
+	* @Title: findCompanyAppConfigById 
+	* @Description: 根据id查询
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-5-30
+	* @user by wangzx
+	 */
+	CompanyAppConfig findCompanyAppConfigById(Integer id);
+	
+	/**
+	 * 
+	* @Title: findCompanyAppConfigByPage 
+	* @Description: 分页查询
+	* @return
+	* @return List<CompanyAppConfig>    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-5-30
+	* @user by wangzx
+	 */
+	List<CompanyAppConfig> findCompanyAppConfigByPage(CompanyAppConfig search);
+	
+	/**
+	 * 
+	 * Class Name: ICompanyAppConfigService.java
+	 * @Description: 根据公司ID查询
+	 * @author 周文斌
+	 * @date 2016-5-30 下午3:42:28
+	 * @version 1.0
+	 * @param companyId
+	 * @return
+	 */
+	CompanyAppConfig findByCompanyId(Integer companyId);
+}

+ 9 - 0
yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/company/ICompanyAppPayConfigService.java

@@ -0,0 +1,9 @@
+package com.yuxin.wx.api.company;
+
+import com.yuxin.wx.model.company.CompanyAppPayConfig;
+
+public interface ICompanyAppPayConfigService {
+
+	CompanyAppPayConfig findByCompanyId(Integer companyId);
+
+}

+ 99 - 0
yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/company/ICompanyCashFlowService.java

@@ -0,0 +1,99 @@
+package com.yuxin.wx.api.company;
+
+import java.util.List;
+
+import com.yuxin.wx.model.company.CompanyCashFlow;
+/**
+ * Service Interface:CompanyCashFlow
+ * @author chopin
+ * @date 2016-5-17
+ */
+public interface ICompanyCashFlowService  {
+	/**
+	 * 
+	* @Title: saveCompanyCashFlow
+	* @Description: 新增CompanyCashFlow
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-5-17
+	* @user by wangzx
+	 */
+	void insert(CompanyCashFlow entity);
+	
+	/**
+	 * 
+	* @Title: batchSaveCompanyCashFlow 
+	* @Description: 批量新增CompanyCashFlow
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-5-17
+	* @user by wangzx
+	 */
+	void batchInsert(List<CompanyCashFlow> list);
+	
+	/**
+	 * 
+	* @Title: updateCompanyCashFlow 
+	* @Description: 编辑CompanyCashFlow
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-5-17
+	* @user by wangzx
+	 */
+	void update(CompanyCashFlow entity);
+	
+	/**
+	 * 
+	* @Title: deleteCompanyCashFlowById 
+	* @Description: 根据id删除CompanyCashFlow
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-5-17
+	* @user by wangzx
+	 */
+	void deleteCompanyCashFlowById(Integer id);
+	
+	/**
+	 * 
+	* @Title: deleteCompanyCashFlowByIds 
+	* @Description: 根据id批量删除CompanyCashFlow
+	* @param ids
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-5-17
+	* @user by wangzx
+	 */
+	void deleteCompanyCashFlowByIds(Integer[] ids);
+	
+	/**
+	 * 
+	* @Title: findCompanyCashFlowById 
+	* @Description: 根据id查询
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-5-17
+	* @user by wangzx
+	 */
+	CompanyCashFlow findCompanyCashFlowById(Integer id);
+	
+	/**
+	 * 
+	* @Title: findCompanyCashFlowByPage 
+	* @Description: 分页查询
+	* @return
+	* @return List<CompanyCashFlow>    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-5-17
+	* @user by wangzx
+	 */
+	List<CompanyCashFlow> findCompanyCashFlowByPage(CompanyCashFlow search);
+}

+ 127 - 0
yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/company/ICompanyConfigCustompageGroupService.java

@@ -0,0 +1,127 @@
+package com.yuxin.wx.api.company;
+
+import java.util.List;
+import java.util.Map;
+
+import com.yuxin.wx.model.company.CompanyConfigCustompageGroup;
+/**
+ * Service Interface:CompanyConfigCustompageGroup
+ * @author chopin
+ * @date 2016-4-25
+ */
+public interface ICompanyConfigCustompageGroupService  {
+	/**
+	 * 
+	* @Title: saveCompanyConfigCustompageGroup
+	* @Description: 新增CompanyConfigCustompageGroup
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-4-25
+	* @user by wangzx
+	 */
+	void insert(CompanyConfigCustompageGroup entity);
+	
+	/**
+	 * 
+	* @Title: batchSaveCompanyConfigCustompageGroup 
+	* @Description: 批量新增CompanyConfigCustompageGroup
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-4-25
+	* @user by wangzx
+	 */
+	void batchInsert(List<CompanyConfigCustompageGroup> list);
+	
+	/**
+	 * 
+	* @Title: updateCompanyConfigCustompageGroup 
+	* @Description: 编辑CompanyConfigCustompageGroup
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-4-25
+	* @user by wangzx
+	 */
+	void update(CompanyConfigCustompageGroup entity);
+	
+	/**
+	 * 
+	* @Title: deleteCompanyConfigCustompageGroupById 
+	* @Description: 根据id删除CompanyConfigCustompageGroup
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-4-25
+	* @user by wangzx
+	 */
+	void deleteCompanyConfigCustompageGroupById(Integer id);
+	
+	/**
+	 * 
+	* @Title: deleteCompanyConfigCustompageGroupByIds 
+	* @Description: 根据id批量删除CompanyConfigCustompageGroup
+	* @param ids
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-4-25
+	* @user by wangzx
+	 */
+	void deleteCompanyConfigCustompageGroupByIds(Integer[] ids);
+	
+	/**
+	 * 
+	* @Title: findCompanyConfigCustompageGroupById 
+	* @Description: 根据id查询
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-4-25
+	* @user by wangzx
+	 */
+	CompanyConfigCustompageGroup findCompanyConfigCustompageGroupById(Integer id);
+	
+	/**
+	 * 
+	* @Title: findCompanyConfigCustompageGroupByPage 
+	* @Description: 分页查询
+	* @return
+	* @return List<CompanyConfigCustompageGroup>    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-4-25
+	* @user by wangzx
+	 */
+	List<CompanyConfigCustompageGroup> findCompanyConfigCustompageGroupByPage(CompanyConfigCustompageGroup search);
+	
+	/**
+	 * 
+	 * Class Name: ICompanyConfigCustompageGroupService.java
+	 * @Description: 查询自定义分组列表
+	 * @author zhang.zx
+	 * @date 2016年4月25日 下午6:58:27
+	 * @modifier
+	 * @modify-date 2016年4月25日 下午6:58:27
+	 * @version 1.0
+	 * @return
+	 */
+	List<CompanyConfigCustompageGroup> queryCustomGroupList(CompanyConfigCustompageGroup search);
+	
+	/**
+	 * 
+	 * Class Name: ICompanyConfigCustompageGroupService.java
+	 * @Description: 查询自定义分组
+	 * @author zhang.zx
+	 * @date 2016年4月27日 下午4:03:09
+	 * @modifier
+	 * @modify-date 2016年4月27日 下午4:03:09
+	 * @version 1.0
+	 * @param map
+	 * @return
+	 */
+	List<CompanyConfigCustompageGroup> queryCustomGroupByCondition(Map<String, Object> map);
+}

+ 143 - 0
yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/company/ICompanyConfigCustompageService.java

@@ -0,0 +1,143 @@
+package com.yuxin.wx.api.company;
+
+import java.util.List;
+
+import com.yuxin.wx.common.PageFinder;
+import com.yuxin.wx.model.company.CompanyConfigCustompage;
+/**
+ * Service Interface:CompanyConfigCustompage
+ * @author chopin
+ * @date 2016-4-25
+ */
+public interface ICompanyConfigCustompageService  {
+	/**
+	 * 
+	* @Title: saveCompanyConfigCustompage
+	* @Description: 新增CompanyConfigCustompage
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-4-25
+	* @user by wangzx
+	 */
+	void insert(CompanyConfigCustompage entity);
+	
+	/**
+	 * 
+	* @Title: batchSaveCompanyConfigCustompage 
+	* @Description: 批量新增CompanyConfigCustompage
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-4-25
+	* @user by wangzx
+	 */
+	void batchInsert(List<CompanyConfigCustompage> list);
+	
+	/**
+	 * 
+	* @Title: updateCompanyConfigCustompage 
+	* @Description: 编辑CompanyConfigCustompage
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-4-25
+	* @user by wangzx
+	 */
+	void update(CompanyConfigCustompage entity);
+	
+	/**
+	 * 
+	* @Title: deleteCompanyConfigCustompageById 
+	* @Description: 根据id删除CompanyConfigCustompage
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-4-25
+	* @user by wangzx
+	 */
+	void deleteCompanyConfigCustompageById(Integer id);
+	
+	/**
+	 * 
+	* @Title: deleteCompanyConfigCustompageByIds 
+	* @Description: 根据id批量删除CompanyConfigCustompage
+	* @param ids
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-4-25
+	* @user by wangzx
+	 */
+	void deleteCompanyConfigCustompageByIds(Integer[] ids);
+	
+	/**
+	 * 
+	* @Title: findCompanyConfigCustompageById 
+	* @Description: 根据id查询
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-4-25
+	* @user by wangzx
+	 */
+	CompanyConfigCustompage findCompanyConfigCustompageById(Integer id);
+	
+	/**
+	 * 
+	* @Title: findCompanyConfigCustompageByPage 
+	* @Description: 分页查询
+	* @return
+	* @return List<CompanyConfigCustompage>    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-4-25
+	* @user by wangzx
+	 */
+	List<CompanyConfigCustompage> findCompanyConfigCustompageByPage(CompanyConfigCustompage search);
+	
+	/**
+	 * 
+	 * Class Name: ICompanyConfigCustompageService.java
+	 * @Description: 查询自定义页面列表
+	 * @author zhang.zx
+	 * @date 2016年4月25日 下午4:32:27
+	 * @modifier
+	 * @modify-date 2016年4月25日 下午4:32:27
+	 * @version 1.0
+	 * @param search
+	 * @return
+	 */
+	PageFinder<CompanyConfigCustompage> queryCompanyCustomList(CompanyConfigCustompage search);
+	
+	/**
+	 * 
+	 * Class Name: ICompanyConfigCustompageService.java
+	 * @Description: 查询模板下页面数量
+	 * @author zhang.zx
+	 * @date 2016年4月27日 上午10:06:16
+	 * @modifier
+	 * @modify-date 2016年4月27日 上午10:06:16
+	 * @version 1.0
+	 * @param search
+	 * @return
+	 */
+	Integer templeteCount(CompanyConfigCustompage search);
+	
+	/**
+	 * 
+	 * Class Name: ICompanyConfigCustompageService.java
+	 * @Description: 条件查询页面列表
+	 * @author zhang.zx
+	 * @date 2016年4月27日 下午8:52:35
+	 * @modifier
+	 * @modify-date 2016年4月27日 下午8:52:35
+	 * @version 1.0
+	 * @param search
+	 * @return
+	 */
+	List<CompanyConfigCustompage> queryCompanyCustomListByCondition(CompanyConfigCustompage search);
+
+}

+ 114 - 0
yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/company/ICompanyConfigCustompageTemplateService.java

@@ -0,0 +1,114 @@
+package com.yuxin.wx.api.company;
+
+import java.util.List;
+
+import com.yuxin.wx.model.company.CompanyConfigCustompageTemplate;
+
+/**
+ * Service Interface:CompanyConfigCustompageTemplate
+ * @author chopin
+ * @date 2016-4-25
+ */
+public interface ICompanyConfigCustompageTemplateService  {
+	/**
+	 * 
+	* @Title: saveCompanyConfigCustompageTemplate
+	* @Description: 新增CompanyConfigCustompageTemplate
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-4-25
+	* @user by wangzx
+	 */
+	void insert(CompanyConfigCustompageTemplate entity);
+	
+	/**
+	 * 
+	* @Title: batchSaveCompanyConfigCustompageTemplate 
+	* @Description: 批量新增CompanyConfigCustompageTemplate
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-4-25
+	* @user by wangzx
+	 */
+	void batchInsert(List<CompanyConfigCustompageTemplate> list);
+	
+	/**
+	 * 
+	* @Title: updateCompanyConfigCustompageTemplate 
+	* @Description: 编辑CompanyConfigCustompageTemplate
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-4-25
+	* @user by wangzx
+	 */
+	void update(CompanyConfigCustompageTemplate entity);
+	
+	/**
+	 * 
+	* @Title: deleteCompanyConfigCustompageTemplateById 
+	* @Description: 根据id删除CompanyConfigCustompageTemplate
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-4-25
+	* @user by wangzx
+	 */
+	void deleteCompanyConfigCustompageTemplateById(Integer id);
+	
+	/**
+	 * 
+	* @Title: deleteCompanyConfigCustompageTemplateByIds 
+	* @Description: 根据id批量删除CompanyConfigCustompageTemplate
+	* @param ids
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-4-25
+	* @user by wangzx
+	 */
+	void deleteCompanyConfigCustompageTemplateByIds(Integer[] ids);
+	
+	/**
+	 * 
+	* @Title: findCompanyConfigCustompageTemplateById 
+	* @Description: 根据id查询
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-4-25
+	* @user by wangzx
+	 */
+	CompanyConfigCustompageTemplate findCompanyConfigCustompageTemplateById(Integer id);
+	
+	/**
+	 * 
+	* @Title: findCompanyConfigCustompageTemplateByPage 
+	* @Description: 分页查询
+	* @return
+	* @return List<CompanyConfigCustompageTemplate>    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-4-25
+	* @user by wangzx
+	 */
+	List<CompanyConfigCustompageTemplate> findCompanyConfigCustompageTemplateByPage(CompanyConfigCustompageTemplate search);
+	
+	/**
+	 * 
+	 * Class Name: ICompanyConfigCustompageTemplateService.java
+	 * @Description: 查询类型列表
+	 * @author zhang.zx
+	 * @date 2016年4月25日 下午6:41:08
+	 * @modifier
+	 * @modify-date 2016年4月25日 下午6:41:08
+	 * @version 1.0
+	 * @param search
+	 * @return
+	 */
+	List<CompanyConfigCustompageTemplate> queryCustomList(CompanyConfigCustompageTemplate search);
+}

+ 104 - 0
yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/company/ICompanyConfigProxyOrgService.java

@@ -0,0 +1,104 @@
+package com.yuxin.wx.api.company;
+
+import java.util.List;
+
+import com.yuxin.wx.model.company.CompanyConfigProxyOrg;
+
+/**
+ * Service Interface:CompanyConfigProxyOrg
+ * @author chopin
+ * @date 2017-3-13
+ */
+public interface ICompanyConfigProxyOrgService  {
+	/**
+	 * 
+	* @Title: saveCompanyConfigProxyOrg
+	* @Description: 新增CompanyConfigProxyOrg
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2017-3-13
+	* @user by wangzx
+	 */
+	void insert(CompanyConfigProxyOrg entity);
+	
+	/**
+	 * 
+	* @Title: batchSaveCompanyConfigProxyOrg 
+	* @Description: 批量新增CompanyConfigProxyOrg
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2017-3-13
+	* @user by wangzx
+	 */
+	void batchInsert(List<CompanyConfigProxyOrg> list);
+	
+	/**
+	 * 
+	* @Title: updateCompanyConfigProxyOrg 
+	* @Description: 编辑CompanyConfigProxyOrg
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2017-3-13
+	* @user by wangzx
+	 */
+	void update(CompanyConfigProxyOrg entity);
+	
+	/**
+	 * 
+	* @Title: deleteCompanyConfigProxyOrgById 
+	* @Description: 根据id删除CompanyConfigProxyOrg
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2017-3-13
+	* @user by wangzx
+	 */
+	void deleteCompanyConfigProxyOrgById(Integer id);
+	
+	/**
+	 * 
+	* @Title: deleteCompanyConfigProxyOrgByIds 
+	* @Description: 根据id批量删除CompanyConfigProxyOrg
+	* @param ids
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2017-3-13
+	* @user by wangzx
+	 */
+	void deleteCompanyConfigProxyOrgByIds(Integer[] ids);
+	
+	/**
+	 * 
+	* @Title: findCompanyConfigProxyOrgById 
+	* @Description: 根据id查询
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2017-3-13
+	* @user by wangzx
+	 */
+	CompanyConfigProxyOrg findCompanyConfigProxyOrgById(Integer id);
+	
+	/**
+	 * 
+	* @Title: findCompanyConfigProxyOrgByPage 
+	* @Description: 分页查询
+	* @return
+	* @return List<CompanyConfigProxyOrg>    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2017-3-13
+	* @user by wangzx
+	 */
+	List<CompanyConfigProxyOrg> findCompanyConfigProxyOrgByPage(CompanyConfigProxyOrg search);
+
+	CompanyConfigProxyOrg findByInviteCode(CompanyConfigProxyOrg search);
+
+	List<CompanyConfigProxyOrg> findBySearch(CompanyConfigProxyOrg search);
+}

+ 104 - 0
yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/company/ICompanyConfigQuestionExpertService.java

@@ -0,0 +1,104 @@
+package com.yuxin.wx.api.company;
+
+import com.yuxin.wx.model.company.CompanyConfigQuestionExpert;
+
+import java.util.List;
+
+/**
+ * Service Interface:CompanyConfigQuestionExpert
+ * 
+ * @author chopin
+ * @date 2017-12-19
+ */
+public interface ICompanyConfigQuestionExpertService {
+	/**
+	 * 
+	 * @Title: saveCompanyConfigQuestionExpert
+	 * @Description: 新增CompanyConfigQuestionExpert
+	 * @return void 返回类型
+	 * @throws @exception
+	 * @date 2017-12-19
+	 * @user by wangzx
+	 */
+	void insert(CompanyConfigQuestionExpert entity);
+
+	/**
+	 * 
+	 * @Title: batchSaveCompanyConfigQuestionExpert
+	 * @Description: 批量新增CompanyConfigQuestionExpert
+	 * @return void 返回类型
+	 * @throws @exception
+	 * @date 2017-12-19
+	 * @user by wangzx
+	 */
+	void batchInsert(List<CompanyConfigQuestionExpert> list);
+
+	/**
+	 * 
+	 * @Title: updateCompanyConfigQuestionExpert
+	 * @Description: 编辑CompanyConfigQuestionExpert
+	 * @return void 返回类型
+	 * @throws @exception
+	 * @date 2017-12-19
+	 * @user by wangzx
+	 */
+	void update(CompanyConfigQuestionExpert entity);
+
+	/**
+	 * 
+	 * @Title: deleteCompanyConfigQuestionExpertById
+	 * @Description: 根据id删除CompanyConfigQuestionExpert
+	 * @param id
+	 * @return void 返回类型
+	 * @throws @exception
+	 * @date 2017-12-19
+	 * @user by wangzx
+	 */
+	void deleteCompanyConfigQuestionExpertById(Integer id);
+
+	/**
+	 * 
+	 * @Title: deleteCompanyConfigQuestionExpertByIds
+	 * @Description: 根据id批量删除CompanyConfigQuestionExpert
+	 * @param ids
+	 * @return void 返回类型
+	 * @throws @exception
+	 * @date 2017-12-19
+	 * @user by wangzx
+	 */
+	void deleteCompanyConfigQuestionExpertByIds(Integer[] ids);
+
+	/**
+	 * 
+	 * @Title: findCompanyConfigQuestionExpertById
+	 * @Description: 根据id查询
+	 * @param id
+	 * @return void 返回类型
+	 * @throws @exception
+	 * @date 2017-12-19
+	 * @user by wangzx
+	 */
+	CompanyConfigQuestionExpert findCompanyConfigQuestionExpertById(Integer id);
+
+	/**
+	 * 
+	 * @Title: findCompanyConfigQuestionExpertByPage
+	 * @Description: 分页查询
+	 * @return
+	 * @return List<CompanyConfigQuestionExpert> 返回类型
+	 * @throws @exception
+	 * @date 2017-12-19
+	 * @user by wangzx
+	 */
+	List<CompanyConfigQuestionExpert> findCompanyConfigQuestionExpertByPage(CompanyConfigQuestionExpert search);
+
+	/**
+	 * 根据公司ID查询
+	 * 
+	 * @author 王璞
+	 * @date 2017年12月19日 下午2:47:49
+	 * @param currtCompanyId
+	 * @return
+	 */
+	CompanyConfigQuestionExpert findByCompanyId(Integer currtCompanyId);
+}

+ 112 - 0
yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/company/ICompanyCouponsConfigService.java

@@ -0,0 +1,112 @@
+package com.yuxin.wx.api.company;
+
+import java.util.List;
+
+import com.yuxin.wx.model.company.CompanyCouponsConfig;
+/**
+ * Service Interface:CompanyCouponsConfig
+ * @author chopin
+ * @date 2016-6-20
+ */
+public interface ICompanyCouponsConfigService  {
+	/**
+	 * 
+	* @Title: saveCompanyCouponsConfig
+	* @Description: 新增CompanyCouponsConfig
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-6-20
+	* @user by wangzx
+	 */
+	void insert(CompanyCouponsConfig entity);
+	
+	/**
+	 * 
+	* @Title: batchSaveCompanyCouponsConfig 
+	* @Description: 批量新增CompanyCouponsConfig
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-6-20
+	* @user by wangzx
+	 */
+	void batchInsert(List<CompanyCouponsConfig> list);
+	
+	/**
+	 * 
+	* @Title: updateCompanyCouponsConfig 
+	* @Description: 编辑CompanyCouponsConfig
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-6-20
+	* @user by wangzx
+	 */
+	void update(CompanyCouponsConfig entity);
+	
+	/**
+	 * 
+	* @Title: deleteCompanyCouponsConfigById 
+	* @Description: 根据id删除CompanyCouponsConfig
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-6-20
+	* @user by wangzx
+	 */
+	void deleteCompanyCouponsConfigById(Integer id);
+	
+	/**
+	 * 
+	* @Title: deleteCompanyCouponsConfigByIds 
+	* @Description: 根据id批量删除CompanyCouponsConfig
+	* @param ids
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-6-20
+	* @user by wangzx
+	 */
+	void deleteCompanyCouponsConfigByIds(Integer[] ids);
+	
+	/**
+	 * 
+	* @Title: findCompanyCouponsConfigById 
+	* @Description: 根据id查询
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-6-20
+	* @user by wangzx
+	 */
+	CompanyCouponsConfig findCompanyCouponsConfigById(Integer id);
+	
+	/**
+	 * 
+	* @Title: findCompanyCouponsConfigByPage 
+	* @Description: 分页查询
+	* @return
+	* @return List<CompanyCouponsConfig>    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-6-20
+	* @user by wangzx
+	 */
+	List<CompanyCouponsConfig> findCompanyCouponsConfigByPage(CompanyCouponsConfig search);
+	
+	/**
+	 * 
+	 * Class Name: ICompanyCouponsConfigService.java
+	 * @Description: byCompanyId
+	 * @author dongshuai
+	 * @date 2016年6月20日
+	 * @param search
+	 * @return
+	 */
+	CompanyCouponsConfig findByCompanyId(CompanyCouponsConfig search);
+
+	CompanyCouponsConfig findByCompanyId(Integer companyId);
+}

+ 166 - 0
yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/company/ICompanyCouponsLibService.java

@@ -0,0 +1,166 @@
+package com.yuxin.wx.api.company;
+
+import java.util.List;
+
+import com.yuxin.wx.common.PageFinder;
+import com.yuxin.wx.model.company.CompanyCouponsLib;
+import com.yuxin.wx.vo.company.CompanyCouponsLibClassVo;
+
+/**
+ * Service Interface:CompanyCouponsLib
+ * @author chopin
+ * @date 2016-6-20
+ */
+public interface ICompanyCouponsLibService  {
+	/**
+	 * 
+	* @Title: saveCompanyCouponsLib
+	* @Description: 新增CompanyCouponsLib
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-6-20
+	* @user by wangzx
+	 */
+	void insert(CompanyCouponsLib entity);
+	
+	/**
+	 * 
+	* @Title: batchSaveCompanyCouponsLib 
+	* @Description: 批量新增CompanyCouponsLib
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-6-20
+	* @user by wangzx
+	 */
+	void batchInsert(List<CompanyCouponsLib> list);
+	
+	/**
+	 * 
+	* @Title: updateCompanyCouponsLib 
+	* @Description: 编辑CompanyCouponsLib
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-6-20
+	* @user by wangzx
+	 */
+	void update(CompanyCouponsLib entity);
+	
+	/**
+	 * 
+	* @Title: deleteCompanyCouponsLibById 
+	* @Description: 根据id删除CompanyCouponsLib
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-6-20
+	* @user by wangzx
+	 */
+	void deleteCompanyCouponsLibById(Integer id);
+	
+	/**
+	 * 
+	* @Title: deleteCompanyCouponsLibByIds 
+	* @Description: 根据id批量删除CompanyCouponsLib
+	* @param ids
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-6-20
+	* @user by wangzx
+	 */
+	void deleteCompanyCouponsLibByIds(Integer[] ids);
+	
+	/**
+	 * 
+	* @Title: findCompanyCouponsLibById 
+	* @Description: 根据id查询
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-6-20
+	* @user by wangzx
+	 */
+	CompanyCouponsLib findCompanyCouponsLibById(Integer id);
+	
+	/**
+	 * 
+	* @Title: findCompanyCouponsLibByPage 
+	* @Description: 分页查询
+	* @return
+	* @return List<CompanyCouponsLib>    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-6-20
+	* @user by wangzx
+	 */
+	List<CompanyCouponsLib> findCompanyCouponsLibByPage(CompanyCouponsLib search);
+	
+	CompanyCouponsLib findCompanyCoupons(CompanyCouponsLib search);
+	/**
+	 * 
+	 * Class Name: ICompanyCouponsLibService.java
+	 * @Description: 根据code查询优惠券
+	 * @author yuchanglong
+	 * @date 2016年6月22日 上午10:20:14
+	 * @version 1.0
+	 * @param code
+	 * @return
+	 */
+	CompanyCouponsLib findOneByCode(String code);
+	/**
+	 * 查询用户优惠券各种状态的数量
+	 * @author licong
+	 * @date 2016年6月22日 下午8:01:13
+	 * @param  
+	 * @param search
+	 * @return
+	 */
+	Integer findUsersFrontCouponsCount(CompanyCouponsLibClassVo search);
+	/**
+	 * 按条件查询用户的优惠券
+	 * @author licong
+	 * @date 2016年6月22日 下午8:13:27
+	 * @param  
+	 * @param search
+	 * @return
+	 */
+	PageFinder<CompanyCouponsLibClassVo> findUsersFrontCoupons(CompanyCouponsLibClassVo search);
+	/**
+	 * 查看优惠券码是否可以兑换
+	 * @author licong
+	 * @date 2016年6月23日 上午10:15:45
+	 * @param  
+	 * @param code
+	 * @param companyId
+	 * @return
+	 */
+	CompanyCouponsLib isExchangeCodeToCoupon(String code, Integer companyId);
+	/**
+	 * 查询一个批次下所有的优惠码
+	 * @author licong
+	 * @date 2016年6月28日 下午4:36:18
+	 * @param  
+	 * @param patchId
+	 * @return
+	 */
+	List<String> findCouponsInPatch(Integer patchId);
+	List<String> findCouponsInPatchLink(Integer patchId);
+	/**
+	 * 查看用户是否拥有一个批次下的优惠券
+	 * @author licong
+	 * @date 2016年6月28日 下午4:59:29
+	 * @param  
+	 * @param userId
+	 * @param patchId
+	 * @return
+	 */
+	boolean findUserCouponInPatch(Integer userId, Integer patchId);
+	boolean findUserCouponInPatchLink(Integer userId, Integer patchId);
+    Integer cleanOrderBindCoupns(Integer id);
+
+}

+ 114 - 0
yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/company/ICompanyCouponsPatchService.java

@@ -0,0 +1,114 @@
+package com.yuxin.wx.api.company;
+
+import java.util.List;
+
+import com.yuxin.wx.model.company.CompanyCouponsPatch;
+import com.yuxin.wx.vo.company.CompanyCouponsPatchVo;
+
+/**
+ * Service Interface:CompanyCouponsPatch
+ * @author chopin
+ * @date 2016-6-20
+ */
+public interface ICompanyCouponsPatchService  {
+	/**
+	 * 
+	* @Title: saveCompanyCouponsPatch
+	* @Description: 新增CompanyCouponsPatch
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-6-20
+	* @user by wangzx
+	 */
+	void insert(CompanyCouponsPatch entity);
+	
+	/**
+	 * 
+	* @Title: batchSaveCompanyCouponsPatch 
+	* @Description: 批量新增CompanyCouponsPatch
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-6-20
+	* @user by wangzx
+	 */
+	void batchInsert(List<CompanyCouponsPatch> list);
+	
+	/**
+	 * 
+	* @Title: updateCompanyCouponsPatch 
+	* @Description: 编辑CompanyCouponsPatch
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-6-20
+	* @user by wangzx
+	 */
+	void update(CompanyCouponsPatch entity);
+	
+	/**
+	 * 
+	* @Title: deleteCompanyCouponsPatchById 
+	* @Description: 根据id删除CompanyCouponsPatch
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-6-20
+	* @user by wangzx
+	 */
+	void deleteCompanyCouponsPatchById(Integer id);
+	
+	/**
+	 * 
+	* @Title: deleteCompanyCouponsPatchByIds 
+	* @Description: 根据id批量删除CompanyCouponsPatch
+	* @param ids
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-6-20
+	* @user by wangzx
+	 */
+	void deleteCompanyCouponsPatchByIds(Integer[] ids);
+	
+	/**
+	 * 
+	* @Title: findCompanyCouponsPatchById 
+	* @Description: 根据id查询
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-6-20
+	* @user by wangzx
+	 */
+	CompanyCouponsPatch findCompanyCouponsPatchById(Integer id);
+
+	Integer getClassPageIdByPatchId(Integer id);
+	
+	/**
+	 * 
+	* @Title: findCompanyCouponsPatchByPage 
+	* @Description: 分页查询
+	* @return
+	* @return List<CompanyCouponsPatch>    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-6-20
+	* @user by wangzx
+	 */
+	List<CompanyCouponsPatch> findCompanyCouponsPatchByPage(CompanyCouponsPatch search);
+
+	CompanyCouponsPatch findCompanyCouponsPatchBySearch(CompanyCouponsPatch search);
+
+
+	List<CompanyCouponsPatch> findCouponsPatchList(CompanyCouponsPatch patch);
+
+	CompanyCouponsPatch check(Integer id,Integer currtCompanyId);
+
+    List<CompanyCouponsPatchVo> queryCouponList(String couponIds, Integer currtSchoolId, Integer userId);
+
+    List<CompanyCouponsPatchVo> queryCouponListForWap(Integer id, Integer currtSchoolId, Integer userId);
+}

+ 25 - 0
yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/company/ICompanyDistributionCardService.java

@@ -0,0 +1,25 @@
+package com.yuxin.wx.api.company;
+
+import com.yuxin.wx.model.company.CompanyDistributionCard;
+
+import java.util.List;
+
+/**
+ * @className: ICompanyDistributionCardService.java
+ * @description:
+ * @author: luogang
+ * @createDate: 2018-09-25 17:19
+ */
+public interface ICompanyDistributionCardService {
+    void update(CompanyDistributionCard companyDistributionCard);
+
+    void save(CompanyDistributionCard companyDistributionCard);
+
+    List<CompanyDistributionCard> findDistributionCards(CompanyDistributionCard card);
+
+    CompanyDistributionCard findById(Integer id);
+
+    List<CompanyDistributionCard> findDistributionClassTypeCards(Integer productId);
+
+    List<CompanyDistributionCard> findDistributionClassPackageCards(Integer productId);
+}

+ 17 - 0
yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/company/ICompanyDistributionConfigService.java

@@ -0,0 +1,17 @@
+package com.yuxin.wx.api.company;
+
+import com.yuxin.wx.model.company.CompanyDistributionConfig;
+
+/**
+ * @className: ICompanyDistributionConfigService.java
+ * @description:
+ * @author: luogang
+ * @createDate: 2018-09-25 17:19
+ */
+public interface ICompanyDistributionConfigService {
+    void save(CompanyDistributionConfig distributionConfig);
+
+    void update(CompanyDistributionConfig distributionConfig);
+
+    CompanyDistributionConfig findDistributionByCompanyId(Integer currentCompanyId);
+}

+ 110 - 0
yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/company/ICompanyEmailHistoryService.java

@@ -0,0 +1,110 @@
+package com.yuxin.wx.api.company;
+
+import java.util.List;
+import com.yuxin.wx.model.company.CompanyEmailHistory;
+/**
+ * Service Interface:CompanyEmailHistory
+ * @author chopin
+ * @date 2015-4-23
+ */
+public interface ICompanyEmailHistoryService  {
+	/**
+	 * 
+	* @Title: saveCompanyEmailHistory
+	* @Description: 新增CompanyEmailHistory
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-4-23
+	* @user by wangzx
+	 */
+	void insert(CompanyEmailHistory entity);
+	
+	/**
+	 * 
+	* @Title: batchSaveCompanyEmailHistory 
+	* @Description: 批量新增CompanyEmailHistory
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-4-23
+	* @user by wangzx
+	 */
+	void batchInsert(List<CompanyEmailHistory> list);
+	
+	/**
+	 * 
+	* @Title: updateCompanyEmailHistory 
+	* @Description: 编辑CompanyEmailHistory
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-4-23
+	* @user by wangzx
+	 */
+	void update(CompanyEmailHistory entity);
+	
+	/**
+	 * 
+	* @Title: deleteCompanyEmailHistoryById 
+	* @Description: 根据id删除CompanyEmailHistory
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-4-23
+	* @user by wangzx
+	 */
+	void deleteCompanyEmailHistoryById(Integer id);
+	
+	/**
+	 * 
+	* @Title: deleteCompanyEmailHistoryByIds 
+	* @Description: 根据id批量删除CompanyEmailHistory
+	* @param ids
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-4-23
+	* @user by wangzx
+	 */
+	void deleteCompanyEmailHistoryByIds(Integer[] ids);
+	
+	/**
+	 * 
+	* @Title: findCompanyEmailHistoryById 
+	* @Description: 根据id查询
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-4-23
+	* @user by wangzx
+	 */
+	CompanyEmailHistory findCompanyEmailHistoryById(Integer id);
+	
+	/**
+	 * 
+	* @Title: findCompanyEmailHistoryByPage 
+	* @Description: 分页查询
+	* @return
+	* @return List<CompanyEmailHistory>    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-4-23
+	* @user by wangzx
+	 */
+	List<CompanyEmailHistory> findCompanyEmailHistoryByPage(CompanyEmailHistory search);
+	
+	/**
+	 * 
+	 * Class Name: ICompanyEmailHistoryService.java
+	 * @Description: 定时任务 查询 昨天使用的邮件数量 根据 公司id
+	 * @author 周文斌
+	 * @date 2015-5-21 下午6:07:22
+	 * @version 1.0
+	 * @param companyId
+	 * @return
+	 */
+	Integer findEmailCount(CompanyEmailHistory email);
+}

+ 112 - 0
yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/company/ICompanyFootInfoService.java

@@ -0,0 +1,112 @@
+package com.yuxin.wx.api.company;
+
+import java.util.List;
+
+import com.yuxin.wx.model.company.CompanyFootInfo;
+/**
+ * Service Interface:CompanyFootInfo
+ * @author chopin
+ * @date 2016-2-29
+ */
+public interface ICompanyFootInfoService  {
+	/**
+	 * 
+	* @Title: saveCompanyFootInfo
+	* @Description: 新增CompanyFootInfo
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-2-29
+	* @user by wangzx
+	 */
+	void insert(CompanyFootInfo entity);
+	
+	/**
+	 * 
+	* @Title: batchSaveCompanyFootInfo 
+	* @Description: 批量新增CompanyFootInfo
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-2-29
+	* @user by wangzx
+	 */
+	void batchInsert(List<CompanyFootInfo> list);
+	
+	/**
+	 * 
+	* @Title: updateCompanyFootInfo 
+	* @Description: 编辑CompanyFootInfo
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-2-29
+	* @user by wangzx
+	 */
+	void update(CompanyFootInfo entity);
+	
+	/**
+	 * 
+	* @Title: deleteCompanyFootInfoById 
+	* @Description: 根据id删除CompanyFootInfo
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-2-29
+	* @user by wangzx
+	 */
+	void deleteCompanyFootInfoById(Integer id);
+	
+	/**
+	 * 
+	* @Title: deleteCompanyFootInfoByIds 
+	* @Description: 根据id批量删除CompanyFootInfo
+	* @param ids
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-2-29
+	* @user by wangzx
+	 */
+	void deleteCompanyFootInfoByIds(Integer[] ids);
+	
+	/**
+	 * 
+	* @Title: findCompanyFootInfoById 
+	* @Description: 根据id查询
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-2-29
+	* @user by wangzx
+	 */
+	CompanyFootInfo findCompanyFootInfoById(Integer id);
+	
+	/**
+	 * 
+	* @Title: findCompanyFootInfoByPage 
+	* @Description: 分页查询
+	* @return
+	* @return List<CompanyFootInfo>    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-2-29
+	* @user by wangzx
+	 */
+	List<CompanyFootInfo> findCompanyFootInfoByPage(CompanyFootInfo search);
+	
+	/**
+	 * 
+	* @Title: findByCompanyId 
+	* @Description: 查询公司备案信息
+	* @return
+	* @return List<CompanyFootInfo>    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-2-29
+	* @user by zhang.zx
+	 */
+	CompanyFootInfo findByCompanyId(Integer currtCompanyId, Integer schoolId);
+}

+ 181 - 0
yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/company/ICompanyFunctionSetService.java

@@ -0,0 +1,181 @@
+package com.yuxin.wx.api.company;
+
+import com.yuxin.wx.model.company.CompanyFunctionSet;
+
+import java.util.List;
+import java.util.Map;
+
+/**
+ * Service Interface:CompanyFunctionSet
+ *
+ * @author wang.zx
+ * @date 2015-8-19
+ */
+public interface ICompanyFunctionSetService {
+    /**
+     * @return void 返回类型
+     * @throws @exception
+     * @Title: saveCompanyFunctionSet
+     * @Description: 新增CompanyFunctionSet
+     * @date 2015-8-19
+     * @user by wangzx
+     */
+    void insert(CompanyFunctionSet entity);
+
+    /**
+     * @return void 返回类型
+     * @throws @exception
+     * @Title: batchSaveCompanyFunctionSet
+     * @Description: 批量新增CompanyFunctionSet
+     * @date 2015-8-19
+     * @user by wangzx
+     */
+    void batchInsert(List<CompanyFunctionSet> list);
+
+    /**
+     * @return void 返回类型
+     * @throws @exception
+     * @Title: updateCompanyFunctionSet
+     * @Description: 编辑CompanyFunctionSet
+     * @date 2015-8-19
+     * @user by wangzx
+     */
+    void update(CompanyFunctionSet entity);
+
+    /**
+     * @param id
+     * @return void 返回类型
+     * @throws @exception
+     * @Title: deleteCompanyFunctionSetById
+     * @Description: 根据id删除CompanyFunctionSet
+     * @date 2015-8-19
+     * @user by wangzx
+     */
+    void deleteCompanyFunctionSetById(Integer id);
+
+    /**
+     * @param ids
+     * @return void 返回类型
+     * @throws @exception
+     * @Title: deleteCompanyFunctionSetByIds
+     * @Description: 根据id批量删除CompanyFunctionSet
+     * @date 2015-8-19
+     * @user by wangzx
+     */
+    void deleteCompanyFunctionSetByIds(Integer[] ids);
+
+    /**
+     * @param id
+     * @return void 返回类型
+     * @throws @exception
+     * @Title: findCompanyFunctionSetById
+     * @Description: 根据id查询
+     * @date 2015-8-19
+     * @user by wangzx
+     */
+    CompanyFunctionSet findCompanyFunctionSetById(Integer id);
+
+    /**
+     * @return List<CompanyFunctionSet> 返回类型
+     * @throws @exception
+     * @Title: findCompanyFunctionSetByPage
+     * @Description: 分页查询
+     * @date 2015-8-19
+     * @user by wangzx
+     */
+    List<CompanyFunctionSet> findCompanyFunctionSetByPage(CompanyFunctionSet search);
+
+    /**
+     * Class Name: ICompanyFunctionSetService.java
+     *
+     * @param search
+     * @return
+     * @Description: 根据公司Id查找
+     * @author yuchanglong
+     * @date 2015年8月19日 下午6:09:42
+     * @version 1.0
+     */
+    List<CompanyFunctionSet> findCompanyFunctionSetByComF(CompanyFunctionSet search);
+
+    /**
+     * Class Name: ICompanyFunctionSetService.java
+     *
+     * @param search
+     * @return
+     * @Description: 查询课程标签状态
+     * @author zhang.zx
+     * @date 2015年9月25日 下午5:42:02
+     * @modifier
+     * @modify-date 2015年9月25日 下午5:42:02
+     * @version 1.0
+     */
+    CompanyFunctionSet findCompanyUseCourse(CompanyFunctionSet search);
+
+    /**
+     * Class Name: ICompanyFunctionSetService.java
+     *
+     * @param search
+     * @return
+     * @Description: 查询公司使用的服务
+     * @author zhang.zx
+     * @date 2015年12月24日 下午8:09:32
+     * @modifier
+     * @modify-date 2015年12月24日 下午8:09:32
+     * @version 1.0
+     */
+    List<CompanyFunctionSet> findCompanyFunctions(CompanyFunctionSet search);
+
+    /**
+     * Class Name: ICompanyFunctionSetService.java
+     *
+     * @return
+     * @Description: 判断公司问答功能是否开启
+     * @author yuchanglong
+     * @date 2016年3月21日 上午10:31:15
+     * @version 1.0
+     */
+    Boolean isOpenForWD(Integer companyId);
+
+    /**
+     * Class Name: ICompanyFunctionSetService.java
+     *
+     * @return
+     * @Description: 增加mapper对应的service 优化sql 根据配置文件从redis取
+     * @author hanrb
+     * @version 1.0
+     */
+    CompanyFunctionSet findSetByCom(Map<String, Object> param);
+
+    /**
+     * Class Name: ICompanyFunctionSetService.java
+     *
+     * @param search
+     * @return
+     * @Description: 根据公司Id查找
+     * @author 张庆磊
+     * @date 2017年11月10日
+     * @version 1.0
+     */
+    List<CompanyFunctionSet> findCompanyFunctionSetSec(CompanyFunctionSet search);
+
+    CompanyFunctionSet getFunctionSetByCompanyIdAndCode(Integer companyId, Integer schoolId, String code);
+
+    List<CompanyFunctionSet> getFunctionSetByCompanyIdAndCode(Integer companyId, String... code);
+
+    Boolean selectExistEnableFucntionCode(Integer companyId, String functionCode);
+
+    /**
+     * 查询function_code,会缓存code
+     *
+     * @param companyId    机构id
+     * @param schoolId     培训机构id
+     * @param functionCode 权限code
+     * @return
+     */
+    CompanyFunctionSet getFunctionSetWithCache(Integer companyId, Integer schoolId, String functionCode);
+
+    CompanyFunctionSet findCompanyCourseDirectory(CompanyFunctionSet search);
+
+    CompanyFunctionSet getCompanyFunctionSet(Integer companyId, String string);
+    CompanyFunctionSet getCompanyFunctionSet(CompanyFunctionSet cfs);
+}

+ 63 - 0
yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/company/ICompanyGroupJoinService.java

@@ -0,0 +1,63 @@
+package com.yuxin.wx.api.company;
+
+import com.yuxin.wx.model.company.CompanyGroupJoin;
+
+import java.util.List;
+
+/**
+ * Service Interface:CompanyGroupJoin
+ * 
+ * @author 王璞
+ * @date 2018-1-12
+ */
+public interface ICompanyGroupJoinService {
+	/**
+	 * 
+	 * @Title: saveCompanyGroupJoin
+	 * @Description: 新增CompanyGroupJoin
+	 * @return void 返回类型
+	 * @throws @exception
+	 * @date 2018-1-12
+	 * @user 王璞
+	 */
+	void insert(CompanyGroupJoin entity);
+
+	/**
+	 * 
+	 * @Title: batchSaveCompanyGroupJoin
+	 * @Description: 批量新增CompanyGroupJoin
+	 * @return void 返回类型
+	 * @throws @exception
+	 * @date 2018-1-12
+	 * @user 王璞
+	 */
+	void batchInsert(List<CompanyGroupJoin> list);
+
+	/**
+	 * 
+	 * @Title: updateCompanyGroupJoin
+	 * @Description: 编辑CompanyGroupJoin
+	 * @return void 返回类型
+	 * @throws @exception
+	 * @date 2018-1-12
+	 * @user 王璞
+	 */
+	void update(CompanyGroupJoin entity);
+
+	/**
+	 * 
+	 * @Title: findCompanyGroupJoinById
+	 * @Description: 根据id查询
+	 * @param id
+	 * @return void 返回类型
+	 * @throws @exception
+	 * @date 2018-1-12
+	 * @user 王璞
+	 */
+	CompanyGroupJoin findCompanyGroupJoinById(Integer id);
+	/**
+	 * 根据 groupId 和 memberId确认权限
+	 */
+	Boolean myRoleByGroupMemberId(CompanyGroupJoin search);
+
+}

+ 102 - 0
yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/company/ICompanyGroupMemberService.java

@@ -0,0 +1,102 @@
+package com.yuxin.wx.api.company;
+
+import com.yuxin.wx.model.company.CompanyGroupMember;
+
+import java.util.List;
+
+/**
+ * Service Interface:CompanyGroupMember
+ * 
+ * @author 王璞
+ * @date 2018-1-12
+ */
+public interface ICompanyGroupMemberService {
+	/**
+	 * 
+	 * @Title: saveCompanyGroupMember
+	 * @Description: 新增CompanyGroupMember
+	 * @return void 返回类型
+	 * @throws @exception
+	 * @date 2018-1-12
+	 * @user 王璞
+	 */
+	void insert(CompanyGroupMember entity);
+
+	/**
+	 * 
+	 * @Title: batchSaveCompanyGroupMember
+	 * @Description: 批量新增CompanyGroupMember
+	 * @return void 返回类型
+	 * @throws @exception
+	 * @date 2018-1-12
+	 * @user 王璞
+	 */
+	void batchInsert(List<CompanyGroupMember> list);
+
+	/**
+	 * 
+	 * @Title: updateCompanyGroupMember
+	 * @Description: 编辑CompanyGroupMember
+	 * @return void 返回类型
+	 * @throws @exception
+	 * @date 2018-1-12
+	 * @user 王璞
+	 */
+	void update(CompanyGroupMember entity);
+
+	/**
+	 * 
+	 * @Title: deleteCompanyGroupMemberById
+	 * @Description: 根据id删除CompanyGroupMember
+	 * @param id
+	 * @return void 返回类型
+	 * @throws @exception
+	 * @date 2018-1-12
+	 * @user 王璞
+	 */
+	void deleteCompanyGroupMemberById(Integer id);
+
+	/**
+	 * 
+	 * @Title: deleteCompanyGroupMemberByIds
+	 * @Description: 根据id批量删除CompanyGroupMember
+	 * @param ids
+	 * @return void 返回类型
+	 * @throws @exception
+	 * @date 2018-1-12
+	 * @user 王璞
+	 */
+	void deleteCompanyGroupMemberByIds(Integer[] ids);
+
+	/**
+	 * 
+	 * @Title: findCompanyGroupMemberById
+	 * @Description: 根据id查询
+	 * @param id
+	 * @return void 返回类型
+	 * @throws @exception
+	 * @date 2018-1-12
+	 * @user 王璞
+	 */
+	CompanyGroupMember findCompanyGroupMemberById(Integer id);
+
+	/**
+	 * 
+	 * @Title: findCompanyGroupMemberByPage
+	 * @Description: 分页查询
+	 * @return
+	 * @return List<CompanyGroupMember> 返回类型
+	 * @throws @exception
+	 * @date 2018-1-12
+	 * @user 王璞
+	 */
+	List<CompanyGroupMember> findCompanyGroupMemberByPage(CompanyGroupMember search);
+	/**
+	 * 获取小组和我的关系
+	 */
+	CompanyGroupMember findCompanyGroupToMeRealon(CompanyGroupMember search);
+	/**
+	 * get no auditMember sum
+	 */
+	int findAuditMember(CompanyGroupMember member);
+}

+ 98 - 0
yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/company/ICompanyGroupNoticeService.java

@@ -0,0 +1,98 @@
+package com.yuxin.wx.api.company;
+
+import com.yuxin.wx.model.company.CompanyGroupNotice;
+
+import java.util.List;
+
+/**
+ * Service Interface:CompanyGroupNotice
+ * 
+ * @author 王璞
+ * @date 2018-1-12
+ */
+public interface ICompanyGroupNoticeService {
+	/**
+	 * 
+	 * @Title: saveCompanyGroupNotice
+	 * @Description: 新增CompanyGroupNotice
+	 * @return void 返回类型
+	 * @throws @exception
+	 * @date 2018-1-12
+	 * @user 王璞
+	 */
+	void insert(CompanyGroupNotice entity);
+
+	/**
+	 * 
+	 * @Title: batchSaveCompanyGroupNotice
+	 * @Description: 批量新增CompanyGroupNotice
+	 * @return void 返回类型
+	 * @throws @exception
+	 * @date 2018-1-12
+	 * @user 王璞
+	 */
+	void batchInsert(List<CompanyGroupNotice> list);
+
+	/**
+	 * 
+	 * @Title: updateCompanyGroupNotice
+	 * @Description: 编辑CompanyGroupNotice
+	 * @return void 返回类型
+	 * @throws @exception
+	 * @date 2018-1-12
+	 * @user 王璞
+	 */
+	void update(CompanyGroupNotice entity);
+
+	/**
+	 * 
+	 * @Title: deleteCompanyGroupNoticeById
+	 * @Description: 根据id删除CompanyGroupNotice
+	 * @param id
+	 * @return void 返回类型
+	 * @throws @exception
+	 * @date 2018-1-12
+	 * @user 王璞
+	 */
+	void deleteCompanyGroupNoticeById(Integer id);
+
+	/**
+	 * 
+	 * @Title: deleteCompanyGroupNoticeByIds
+	 * @Description: 根据id批量删除CompanyGroupNotice
+	 * @param ids
+	 * @return void 返回类型
+	 * @throws @exception
+	 * @date 2018-1-12
+	 * @user 王璞
+	 */
+	void deleteCompanyGroupNoticeByIds(Integer[] ids);
+
+	/**
+	 * 
+	 * @Title: findCompanyGroupNoticeById
+	 * @Description: 根据id查询
+	 * @param id
+	 * @return void 返回类型
+	 * @throws @exception
+	 * @date 2018-1-12
+	 * @user 王璞
+	 */
+	CompanyGroupNotice findCompanyGroupNoticeById(Integer id);
+
+	/**
+	 * 
+	 * @Title: findCompanyGroupNoticeByPage
+	 * @Description: 分页查询
+	 * @return
+	 * @return List<CompanyGroupNotice> 返回类型
+	 * @throws @exception
+	 * @date 2018-1-12
+	 * @user 王璞
+	 */
+	List<CompanyGroupNotice> findCompanyGroupNoticeByPage(CompanyGroupNotice search);
+	/**
+	 * 获取公告信息
+	 */
+	CompanyGroupNotice findCompanyGroupNoticeByGroupId(CompanyGroupNotice groupNotice);
+}

+ 101 - 0
yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/company/ICompanyGroupPrivilegeService.java

@@ -0,0 +1,101 @@
+package com.yuxin.wx.api.company;
+
+import java.util.List;
+
+import com.yuxin.wx.model.company.CompanyGroupPrivilege;
+
+/**
+ * Service Interface:CompanyGroupPrivilege
+ * 
+ * @author 王璞
+ * @date 2018-1-12
+ */
+public interface ICompanyGroupPrivilegeService {
+	/**
+	 * 
+	 * @Title: saveCompanyGroupPrivilege
+	 * @Description: 新增CompanyGroupPrivilege
+	 * @return void 返回类型
+	 * @throws @exception
+	 * @date 2018-1-12
+	 * @user 王璞
+	 */
+	void insert(CompanyGroupPrivilege entity);
+
+	/**
+	 * 
+	 * @Title: batchSaveCompanyGroupPrivilege
+	 * @Description: 批量新增CompanyGroupPrivilege
+	 * @return void 返回类型
+	 * @throws @exception
+	 * @date 2018-1-12
+	 * @user 王璞
+	 */
+	void batchInsert(List<CompanyGroupPrivilege> list);
+
+	/**
+	 * 
+	 * @Title: updateCompanyGroupPrivilege
+	 * @Description: 编辑CompanyGroupPrivilege
+	 * @return void 返回类型
+	 * @throws @exception
+	 * @date 2018-1-12
+	 * @user 王璞
+	 */
+	void update(CompanyGroupPrivilege entity);
+
+	/**
+	 * 
+	 * @Title: deleteCompanyGroupPrivilegeById
+	 * @Description: 根据id删除CompanyGroupPrivilege
+	 * @param id
+	 * @return void 返回类型
+	 * @throws @exception
+	 * @date 2018-1-12
+	 * @user 王璞
+	 */
+	void deleteCompanyGroupPrivilegeById(Integer id);
+
+	/**
+	 * 
+	 * @Title: deleteCompanyGroupPrivilegeByIds
+	 * @Description: 根据id批量删除CompanyGroupPrivilege
+	 * @param ids
+	 * @return void 返回类型
+	 * @throws @exception
+	 * @date 2018-1-12
+	 * @user 王璞
+	 */
+	void deleteCompanyGroupPrivilegeByIds(Integer[] ids);
+
+	/**
+	 * 
+	 * @Title: findCompanyGroupPrivilegeById
+	 * @Description: 根据id查询
+	 * @param id
+	 * @return void 返回类型
+	 * @throws @exception
+	 * @date 2018-1-12
+	 * @user 王璞
+	 */
+	CompanyGroupPrivilege findCompanyGroupPrivilegeById(Integer id);
+
+	/**
+	 * 
+	 * @Title: findCompanyGroupPrivilegeByPage
+	 * @Description: 分页查询
+	 * @return
+	 * @return List<CompanyGroupPrivilege> 返回类型
+	 * @throws @exception
+	 * @date 2018-1-12
+	 * @user 王璞
+	 */
+	List<CompanyGroupPrivilege> findCompanyGroupPrivilegeByPage(CompanyGroupPrivilege search);
+
+	/**
+	 * 是否显示小组banner
+	 * @param privilege
+	 * @return
+	 */
+    CompanyGroupPrivilege findPrivilegeBannerFlag(CompanyGroupPrivilege privilege);
+}

+ 143 - 0
yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/company/ICompanyGroupReplyService.java

@@ -0,0 +1,143 @@
+package com.yuxin.wx.api.company;
+
+import java.util.List;
+
+import com.yuxin.wx.common.PageFinder;
+import com.yuxin.wx.model.company.CompanyGroupReply;
+import com.yuxin.wx.vo.company.CompanyGroupReplyVo;
+
+/**
+ * Service Interface:CompanyGroupReply
+ * 
+ * @author 王璞
+ * @date 2018-1-12
+ */
+public interface ICompanyGroupReplyService {
+	/**
+	 * 
+	 * @Title: saveCompanyGroupReply
+	 * @Description: 新增CompanyGroupReply
+	 * @return void 返回类型
+	 * @throws @exception
+	 * @date 2018-1-12
+	 * @user 王璞
+	 */
+	void insert(CompanyGroupReply entity);
+
+	/**
+	 * 
+	 * @Title: batchSaveCompanyGroupReply
+	 * @Description: 批量新增CompanyGroupReply
+	 * @return void 返回类型
+	 * @throws @exception
+	 * @date 2018-1-12
+	 * @user 王璞
+	 */
+	void batchInsert(List<CompanyGroupReply> list);
+
+	/**
+	 * 
+	 * @Title: updateCompanyGroupReply
+	 * @Description: 编辑CompanyGroupReply
+	 * @return void 返回类型
+	 * @throws @exception
+	 * @date 2018-1-12
+	 * @user 王璞
+	 */
+	void update(CompanyGroupReply entity);
+
+	/**
+	 * 
+	 * @Title: deleteCompanyGroupReplyById
+	 * @Description: 根据id删除CompanyGroupReply
+	 * @param id
+	 * @return void 返回类型
+	 * @throws @exception
+	 * @date 2018-1-12
+	 * @user 王璞
+	 */
+	void deleteCompanyGroupReplyById(Integer id);
+
+	/**
+	 * 
+	 * @Title: deleteCompanyGroupReplyByIds
+	 * @Description: 根据id批量删除CompanyGroupReply
+	 * @param ids
+	 * @return void 返回类型
+	 * @throws @exception
+	 * @date 2018-1-12
+	 * @user 王璞
+	 */
+	void deleteCompanyGroupReplyByIds(Integer[] ids);
+
+	/**
+	 * 
+	 * @Title: findCompanyGroupReplyById
+	 * @Description: 根据id查询
+	 * @param id
+	 * @return void 返回类型
+	 * @throws @exception
+	 * @date 2018-1-12
+	 * @user 王璞
+	 */
+	CompanyGroupReply findCompanyGroupReplyById(Integer id);
+
+	/**
+	 * 
+	 * @Title: findCompanyGroupReplyByPage
+	 * @Description: 分页查询
+	 * @return
+	 * @return List<CompanyGroupReply> 返回类型
+	 * @throws @exception
+	 * @date 2018-1-12
+	 * @user 王璞
+	 */
+	List<CompanyGroupReply> findCompanyGroupReplyByPage(CompanyGroupReply search);
+
+	/**
+	 * 按照条件查询
+	 * 
+	 * @author 王璞
+	 * @date 2018年1月22日 下午5:58:32
+	 * @param companyGroupReply
+	 * @return
+	 */
+	List<CompanyGroupReplyVo> findBy(CompanyGroupReplyVo companyGroupReply);
+
+	/**
+	 *
+	 * @Title: queryReplyByTopicId
+	 * @Description: 查询话题回复(一级)
+	 * @return
+	 * @return List<CompanyGroupReply> 返回类型
+	 * @date 2018-1-22
+	 * @user 张庆磊
+	 */
+	PageFinder<CompanyGroupReplyVo> queryReplyByTopicId(CompanyGroupReply search);
+
+	/**
+	 *
+	 * @Title: queryReplyByTopicId
+	 * @Description: 查询话题回复(二三級)
+	 * @return
+	 * @return List<CompanyGroupReply> 返回类型
+	 * @date 2018-1-22
+	 * @user 张庆磊
+	 */
+	List<CompanyGroupReplyVo> querySecondaryReply(CompanyGroupReply search);
+	
+	/**
+	 * 软删除
+	 * 
+	 * @author 王璞
+	 * @date 2018年1月23日 下午5:18:14
+	 * @param replyId
+	 */
+	void softDeleteById(Integer replyId);
+
+	/*根据ID查询所有子级回复数量*/
+	int queryValidReplyNumById(Integer id);
+
+	void updateTopicAfterDel(CompanyGroupReply search);
+
+}

+ 95 - 0
yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/company/ICompanyGroupService.java

@@ -0,0 +1,95 @@
+package com.yuxin.wx.api.company;
+
+import com.yuxin.wx.common.PageFinder;
+import com.yuxin.wx.model.company.CompanyGroup;
+import com.yuxin.wx.model.company.CompanyGroupMember;
+import com.yuxin.wx.vo.company.CompanyGroupMemberVo;
+import com.yuxin.wx.vo.company.CompanyGroupTopicVo;
+import com.yuxin.wx.vo.company.CompanyGroupVo;
+
+import java.util.List;
+
+/**
+ * Service Interface:CompanyGroup
+ * 
+ * @author 王璞
+ * @date 2018-1-12
+ */
+public interface ICompanyGroupService {
+
+    /**
+     * 热门小组
+     * @param group
+     * @return
+     */
+    List<CompanyGroupVo> findHotGroupList(CompanyGroup group);
+
+    /**
+     * 新建小组
+     * @param group
+     * @return
+     */
+    List<CompanyGroupVo> findNewGroupList(CompanyGroup group);
+
+    /**
+     * 我的小组
+     * @param group
+     * @return
+     */
+    List<CompanyGroupVo> findMyGroupList(CompanyGroup group);
+
+    //小组分页查询
+    PageFinder<CompanyGroupVo> findGroupList(CompanyGroup group);
+
+
+    void insert(CompanyGroup group);
+    /**
+     * 获取小组的详细信息
+     */
+    CompanyGroupVo findGroupDetailVo(CompanyGroup group);
+    /**
+     * 获取我的小组 hjd
+     */
+    List<CompanyGroupMemberVo> findGroupMemberByGroupId(Integer groupId);
+
+
+    /**
+     * 加载我的创建,我的加入,我的话题数量
+     */
+    Integer initCount(Integer type,Integer companyId,Integer schoolId,Integer userId);
+
+    /**
+     * 我创建的小组(个人中心)
+     * @param groupVo
+     * @return
+     */
+    PageFinder<CompanyGroupVo> findMyCreateGroups(CompanyGroupVo groupVo);
+    /**
+     * 我加入的小组(个人中心)
+     * @param groupVo
+     * @return
+     */
+    PageFinder<CompanyGroupVo> findMyJoinGroups(CompanyGroupVo groupVo);
+
+    /**
+     * 我的话题(个人中心)
+     * @param vo
+     * @return
+     */
+    PageFinder<CompanyGroupTopicVo> findMyTopics(CompanyGroupTopicVo vo);
+    /**
+     *
+     */
+    void updateGroupByid(CompanyGroup group);
+    CompanyGroup findById(Integer groupId);
+
+    PageFinder<CompanyGroupMemberVo> findGroupMember(CompanyGroupMemberVo companyGroupMember);
+    /**
+     * 发送站内信通知
+     */
+    void sendMessageNotice(CompanyGroupMember member, CompanyGroup group, Boolean status);
+    /**
+     * 是否还可升级小组长
+     */
+    Boolean groupManage2(Integer group);
+}

+ 104 - 0
yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/company/ICompanyGroupTopicApprovalService.java

@@ -0,0 +1,104 @@
+package com.yuxin.wx.api.company;
+
+import java.util.List;
+
+import com.yuxin.wx.model.company.CompanyGroupTopicApproval;
+
+/**
+ * Service Interface:CompanyGroupTopicApproval
+ * 
+ * @author 王璞
+ * @date 2018-1-12
+ */
+public interface ICompanyGroupTopicApprovalService {
+	/**
+	 * 
+	 * @Title: saveCompanyGroupTopicApproval
+	 * @Description: 新增CompanyGroupTopicApproval
+	 * @return void 返回类型
+	 * @throws @exception
+	 * @date 2018-1-12
+	 * @user 王璞
+	 */
+	void insert(CompanyGroupTopicApproval entity);
+
+	/**
+	 * 
+	 * @Title: batchSaveCompanyGroupTopicApproval
+	 * @Description: 批量新增CompanyGroupTopicApproval
+	 * @return void 返回类型
+	 * @throws @exception
+	 * @date 2018-1-12
+	 * @user 王璞
+	 */
+	void batchInsert(List<CompanyGroupTopicApproval> list);
+
+	/**
+	 * 
+	 * @Title: updateCompanyGroupTopicApproval
+	 * @Description: 编辑CompanyGroupTopicApproval
+	 * @return void 返回类型
+	 * @throws @exception
+	 * @date 2018-1-12
+	 * @user 王璞
+	 */
+	void update(CompanyGroupTopicApproval entity);
+
+	/**
+	 * 
+	 * @Title: deleteCompanyGroupTopicApprovalById
+	 * @Description: 根据id删除CompanyGroupTopicApproval
+	 * @param id
+	 * @return void 返回类型
+	 * @throws @exception
+	 * @date 2018-1-12
+	 * @user 王璞
+	 */
+	void deleteCompanyGroupTopicApprovalById(Integer id);
+
+	/**
+	 * 
+	 * @Title: deleteCompanyGroupTopicApprovalByIds
+	 * @Description: 根据id批量删除CompanyGroupTopicApproval
+	 * @param ids
+	 * @return void 返回类型
+	 * @throws @exception
+	 * @date 2018-1-12
+	 * @user 王璞
+	 */
+	void deleteCompanyGroupTopicApprovalByIds(Integer[] ids);
+
+	/**
+	 * 
+	 * @Title: findCompanyGroupTopicApprovalById
+	 * @Description: 根据id查询
+	 * @param id
+	 * @return void 返回类型
+	 * @throws @exception
+	 * @date 2018-1-12
+	 * @user 王璞
+	 */
+	CompanyGroupTopicApproval findCompanyGroupTopicApprovalById(Integer id);
+
+	/**
+	 * 
+	 * @Title: findCompanyGroupTopicApprovalByPage
+	 * @Description: 分页查询
+	 * @return
+	 * @return List<CompanyGroupTopicApproval> 返回类型
+	 * @throws @exception
+	 * @date 2018-1-12
+	 * @user 王璞
+	 */
+	List<CompanyGroupTopicApproval> findCompanyGroupTopicApprovalByPage(CompanyGroupTopicApproval search);
+
+	/**
+	 * 根据用户id和话题id查询
+	 * 
+	 * @author 王璞
+	 * @date 2018年1月22日 下午3:00:58
+	 * @param approvalSearch
+	 * @return
+	 */
+	CompanyGroupTopicApproval findByTopicAndUser(CompanyGroupTopicApproval approvalSearch);
+}

+ 120 - 0
yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/company/ICompanyGroupTopicService.java

@@ -0,0 +1,120 @@
+package com.yuxin.wx.api.company;
+
+import java.util.List;
+
+import com.yuxin.wx.common.PageFinder;
+import com.yuxin.wx.model.company.CompanyGroupTopic;
+import com.yuxin.wx.vo.company.CompanyGroupTopicVo;
+
+/**
+ * Service Interface:CompanyGroupTopic
+ * 
+ * @author 王璞
+ * @date 2018-1-12
+ */
+public interface ICompanyGroupTopicService {
+	/**
+	 * 
+	 * @Title: saveCompanyGroupTopic
+	 * @Description: 新增CompanyGroupTopic
+	 * @return void 返回类型
+	 * @throws @exception
+	 * @date 2018-1-12
+	 * @user 王璞
+	 */
+	void insert(CompanyGroupTopic entity);
+
+	/**
+	 * 
+	 * @Title: batchSaveCompanyGroupTopic
+	 * @Description: 批量新增CompanyGroupTopic
+	 * @return void 返回类型
+	 * @throws @exception
+	 * @date 2018-1-12
+	 * @user 王璞
+	 */
+	void batchInsert(List<CompanyGroupTopic> list);
+
+	/**
+	 * 
+	 * @Title: updateCompanyGroupTopic
+	 * @Description: 编辑CompanyGroupTopic
+	 * @return void 返回类型
+	 * @throws @exception
+	 * @date 2018-1-12
+	 * @user 王璞
+	 */
+	void update(CompanyGroupTopic entity);
+
+	/**
+	 * 
+	 * @Title: deleteCompanyGroupTopicById
+	 * @Description: 根据id删除CompanyGroupTopic
+	 * @param id
+	 * @return void 返回类型
+	 * @throws @exception
+	 * @date 2018-1-12
+	 * @user 王璞
+	 */
+	void deleteCompanyGroupTopicById(Integer id);
+
+	/**
+	 * 
+	 * @Title: deleteCompanyGroupTopicByIds
+	 * @Description: 根据id批量删除CompanyGroupTopic
+	 * @param ids
+	 * @return void 返回类型
+	 * @throws @exception
+	 * @date 2018-1-12
+	 * @user 王璞
+	 */
+	void deleteCompanyGroupTopicByIds(Integer[] ids);
+
+	/**
+	 * 
+	 * @Title: findCompanyGroupTopicById
+	 * @Description: 根据id查询
+	 * @param id
+	 * @return void 返回类型
+	 * @throws @exception
+	 * @date 2018-1-12
+	 * @user 王璞
+	 */
+	CompanyGroupTopic findCompanyGroupTopicById(Integer id);
+
+	/**
+	 * 
+	 * @Title: findCompanyGroupTopicByPage
+	 * @Description: 分页查询
+	 * @return
+	 * @return List<CompanyGroupTopic> 返回类型
+	 * @throws @exception
+	 * @date 2018-1-12
+	 * @user 王璞
+	 */
+	List<CompanyGroupTopic> findCompanyGroupTopicByPage(CompanyGroupTopic search);
+
+	/**
+	 * 小组首页话题加载
+	 * @param groupTopic
+	 * @return
+	 */
+    PageFinder<CompanyGroupTopicVo> findGroupTopicList(CompanyGroupTopicVo groupTopic);
+
+
+	/**
+	 * 话题详情页相关话题
+	 * @param groupTopic
+	 * @return
+	 */
+	List<CompanyGroupTopic> queryRelatedTopics(CompanyGroupTopic search);
+	/**
+	 * 查询话题
+	 */
+	PageFinder<CompanyGroupTopicVo> findGroupTopicVos(CompanyGroupTopicVo topicVo);
+
+
+	void updateGroupTopic(CompanyGroupTopic topic);
+
+	Integer pageCount(CompanyGroupTopic topic);
+}

+ 100 - 0
yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/company/ICompanyHardbindConfigService.java

@@ -0,0 +1,100 @@
+package com.yuxin.wx.api.company;
+
+import java.util.List;
+
+import com.yuxin.wx.model.company.CompanyHardbindConfig;
+
+/**
+ * Service Interface:CompanyHardbindConfig
+ * @author wang.zx
+ * @date 2016-2-18
+ */
+public interface ICompanyHardbindConfigService  {
+	/**
+	 * 
+	* @Title: saveCompanyHardbindConfig
+	* @Description: 新增CompanyHardbindConfig
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-2-18
+	* @user by wangzx
+	 */
+	void insert(CompanyHardbindConfig T);
+	
+	/**
+	 * 
+	* @Title: batchSaveCompanyHardbindConfig 
+	* @Description: 批量新增CompanyHardbindConfig
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-2-18
+	* @user by wangzx
+	 */
+	void batchInsert(List<CompanyHardbindConfig> T);
+	
+	/**
+	 * 
+	* @Title: updateCompanyHardbindConfig 
+	* @Description: 编辑CompanyHardbindConfig
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-2-18
+	* @user by wangzx
+	 */
+	void update(CompanyHardbindConfig T);
+	
+	/**
+	 * 
+	* @Title: deleteCompanyHardbindConfigById 
+	* @Description: 根据id删除CompanyHardbindConfig
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-2-18
+	* @user by wangzx
+	 */
+	void deleteCompanyHardbindConfigById(Integer id);
+	
+	/**
+	 * 
+	* @Title: deleteCompanyHardbindConfigByIds 
+	* @Description: 根据id批量删除CompanyHardbindConfig
+	* @param ids
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-2-18
+	* @user by wangzx
+	 */
+	void deleteCompanyHardbindConfigByIds(Integer[] ids);
+	
+	/**
+	 * 
+	* @Title: findCompanyHardbindConfigById 
+	* @Description: 根据id查询
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-2-18
+	* @user by wangzx
+	 */
+	CompanyHardbindConfig findCompanyHardbindConfigById(Integer id);
+	
+	/**
+	 * 
+	* @Title: findCompanyHardbindConfigByPage 
+	* @Description: 分页查询
+	* @return
+	* @return List<CompanyHardbindConfig>    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-2-18
+	* @user by wangzx
+	 */
+	List<CompanyHardbindConfig> findCompanyHardbindConfigByPage(CompanyHardbindConfig search);
+}

+ 100 - 0
yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/company/ICompanyHardbindDataService.java

@@ -0,0 +1,100 @@
+package com.yuxin.wx.api.company;
+
+import java.util.List;
+
+import com.yuxin.wx.model.company.CompanyHardbindData;
+
+/**
+ * Service Interface:CompanyHardBind
+ * @author wang.zx
+ * @date 2016-2-18
+ */
+public interface ICompanyHardbindDataService  {
+	/**
+	 * 
+	* @Title: saveCompanyHardBind
+	* @Description: 新增CompanyHardBind
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-2-18
+	* @user by wangzx
+	 */
+	void insert(CompanyHardbindData T);
+	
+	/**
+	 * 
+	* @Title: batchSaveCompanyHardBind 
+	* @Description: 批量新增CompanyHardBind
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-2-18
+	* @user by wangzx
+	 */
+	void batchInsert(List<CompanyHardbindData> T);
+	
+	/**
+	 * 
+	* @Title: updateCompanyHardBind 
+	* @Description: 编辑CompanyHardBind
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-2-18
+	* @user by wangzx
+	 */
+	void update(CompanyHardbindData T);
+	
+	/**
+	 * 
+	* @Title: deleteCompanyHardBindById 
+	* @Description: 根据id删除CompanyHardBind
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-2-18
+	* @user by wangzx
+	 */
+	void deleteCompanyHardBindById(Integer id);
+	
+	/**
+	 * 
+	* @Title: deleteCompanyHardBindByIds 
+	* @Description: 根据id批量删除CompanyHardBind
+	* @param ids
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-2-18
+	* @user by wangzx
+	 */
+	void deleteCompanyHardBindByIds(Integer[] ids);
+	
+	/**
+	 * 
+	* @Title: findCompanyHardBindById 
+	* @Description: 根据id查询
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-2-18
+	* @user by wangzx
+	 */
+	CompanyHardbindData findCompanyHardBindById(Integer id);
+	
+	/**
+	 * 
+	* @Title: findCompanyHardBindByPage 
+	* @Description: 分页查询
+	* @return
+	* @return List<CompanyHardBind>    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-2-18
+	* @user by wangzx
+	 */
+	List<CompanyHardbindData> findCompanyHardBindByPage(CompanyHardbindData search);
+}

+ 150 - 0
yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/company/ICompanyHeadFootConfigService.java

@@ -0,0 +1,150 @@
+package com.yuxin.wx.api.company;
+
+import java.util.List;
+
+import com.yuxin.wx.model.company.CompanyHeadFootConfig;
+/**
+ * Service Interface:CompanyHeadFootConfig
+ * @author chopin
+ * @date 2016-2-29
+ */
+public interface ICompanyHeadFootConfigService  {
+	/**
+	 * 
+	* @Title: saveCompanyHeadFootConfig
+	* @Description: 新增CompanyHeadFootConfig
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-2-29
+	* @user by wangzx
+	 */
+	void insert(CompanyHeadFootConfig entity);
+	
+	/**
+	 * 
+	* @Title: batchSaveCompanyHeadFootConfig 
+	* @Description: 批量新增CompanyHeadFootConfig
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-2-29
+	* @user by wangzx
+	 */
+	void batchInsert(List<CompanyHeadFootConfig> list);
+	
+	/**
+	 * 
+	* @Title: updateCompanyHeadFootConfig 
+	* @Description: 编辑CompanyHeadFootConfig
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-2-29
+	* @user by wangzx
+	 */
+	void update(CompanyHeadFootConfig entity);
+	
+	/**
+	 * 
+	* @Title: deleteCompanyHeadFootConfigById 
+	* @Description: 根据id删除CompanyHeadFootConfig
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-2-29
+	* @user by wangzx
+	 */
+	void deleteCompanyHeadFootConfigById(Integer id);
+	
+	/**
+	 * 
+	* @Title: deleteCompanyHeadFootConfigByIds 
+	* @Description: 根据id批量删除CompanyHeadFootConfig
+	* @param ids
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-2-29
+	* @user by wangzx
+	 */
+	void deleteCompanyHeadFootConfigByIds(Integer[] ids);
+	
+	/**
+	 * 
+	* @Title: findCompanyHeadFootConfigById 
+	* @Description: 根据id查询
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-2-29
+	* @user by wangzx
+	 */
+	CompanyHeadFootConfig findCompanyHeadFootConfigById(Integer id);
+	
+	/**
+	 * 
+	* @Title: findCompanyHeadFootConfigByPage 
+	* @Description: 分页查询
+	* @return
+	* @return List<CompanyHeadFootConfig>    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-2-29
+	* @user by wangzx
+	 */
+	List<CompanyHeadFootConfig> findCompanyHeadFootConfigByPage(CompanyHeadFootConfig search);
+	
+	/**
+	 * 
+	* @Title: findFootConfigByCompany 
+	* @Description: 查询公司模板信息
+	* @return
+	* @return List<CompanyHeadFootConfig>    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-2-29
+	* @user by zhang.zx
+	 */
+	CompanyHeadFootConfig findFootConfigByCompany(CompanyHeadFootConfig search);
+	
+	/**
+	 * 
+	* @Title: findTemplatesById 
+	* @Description: 查询公司所有模板信息
+	* @return
+	* @return List<CompanyHeadFootConfig>    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-2-29
+	* @user by zhang.zx
+	 */
+	List<CompanyHeadFootConfig> findTemplatesById(Integer companyId);
+	
+	/**
+	 * 
+	 * Class Name: ICompanyHeadFootConfigService.java
+	 * @Description: 查询当前公司使用的模板
+	 * @author zhang.zx
+	 * @date 2016年3月3日 下午5:09:02
+	 * @modifier
+	 * @modify-date 2016年3月3日 下午5:09:02
+	 * @version 1.0
+	 * @param companyId
+	 * @return
+	 */
+	CompanyHeadFootConfig findTemplateByCompanyId(Integer companyId);
+	
+	/**
+	 * @Author liaoshilin
+	 * @Date 2019/01/03 下午 04:01
+	 * param: 
+	 * @param currtCompanyId
+	 * @param schoolId
+	 * @return
+	 * @Description 根据公司id 和培训机构id查询页尾模板
+	 */
+	CompanyHeadFootConfig findTemplateByCompanyIdAndSchoolId(Integer currtCompanyId, Integer schoolId);
+}

+ 155 - 0
yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/company/ICompanyIndexTemplateService.java

@@ -0,0 +1,155 @@
+package com.yuxin.wx.api.company;
+
+import com.yuxin.wx.model.company.CompanyIndexTemplate;
+
+import java.util.List;
+
+/**
+ * Service Interface:CompanyIndexTemplate
+ * @author chopin
+ * @date 2015-5-18
+ */
+public interface ICompanyIndexTemplateService {
+	/**
+	 * 
+	* @Title: saveCompanyIndexTemplate
+	* @Description: 新增CompanyIndexTemplate
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-5-18
+	* @user by wangzx
+	 */
+	void insert(CompanyIndexTemplate entity);
+	
+	/**
+	 * 
+	* @Title: batchSaveCompanyIndexTemplate 
+	* @Description: 批量新增CompanyIndexTemplate
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-5-18
+	* @user by wangzx
+	 */
+	void batchInsert(List<CompanyIndexTemplate> list);
+	
+	/**
+	 * 
+	* @Title: updateCompanyIndexTemplate 
+	* @Description: 编辑CompanyIndexTemplate
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-5-18
+	* @user by wangzx
+	 */
+	void update(CompanyIndexTemplate entity);
+	
+	/**
+	 * 
+	* @Title: deleteCompanyIndexTemplateById 
+	* @Description: 根据id删除CompanyIndexTemplate
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-5-18
+	* @user by wangzx
+	 */
+	void deleteCompanyIndexTemplateById(Integer id);
+	
+	/**
+	 * 
+	* @Title: deleteCompanyIndexTemplateByIds 
+	* @Description: 根据id批量删除CompanyIndexTemplate
+	* @param ids
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-5-18
+	* @user by wangzx
+	 */
+	void deleteCompanyIndexTemplateByIds(Integer[] ids);
+	
+	/**
+	 * 
+	* @Title: findCompanyIndexTemplateById 
+	* @Description: 根据id查询
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-5-18
+	* @user by wangzx
+	 */
+	CompanyIndexTemplate findCompanyIndexTemplateById(Integer id);
+	
+	/**
+	 * 
+	* @Title: findCompanyIndexTemplateByPage 
+	* @Description: 分页查询
+	* @return
+	* @return List<CompanyIndexTemplate>    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-5-18
+	* @user by wangzx
+	 */
+	List<CompanyIndexTemplate> findCompanyIndexTemplateByPage(CompanyIndexTemplate search);
+	
+	/**
+	 * 
+	* @Title: findCompanyIndexTemplateByPage 
+	* @Description: 查询公司模板
+	* @return
+	* @return List<CompanyIndexTemplate>    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-5-18
+	* @user by chopin
+	 */
+	public List<CompanyIndexTemplate> findTemplateByCompany(Integer companyId, Integer schoolId);
+
+
+	/**
+	 *
+	* @Title: findCompanyIndexTemplateByPage
+	* @Description: 使用模板
+	* @return
+	* @return List<CompanyIndexTemplate>    返回类型
+	* @throws
+	* @exception
+	* @date 2015-5-18
+	* @user by chopin
+	 */
+	public void useTemplate(Integer companyId, Integer schoolId, Integer templateId);
+
+	/**
+	 *
+	* @Title: useTemplate
+	* @Description: 使用模板
+	* @return
+	* @return List<CompanyIndexTemplate>    返回类型
+	* @throws
+	* @exception
+	* @date 2015-5-18
+	* @user by chopin
+	 */
+	public void unUseTemplate(Integer companyId, Integer schoolId);
+	
+	/**
+	 * 
+	* @Title: useTemplate 
+	* @Description: 使用模板
+	* @return
+	* @return List<CompanyIndexTemplate>    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-5-18
+	* @user by chopin
+	 */
+	public Boolean checkByName(CompanyIndexTemplate search);
+
+	List<CompanyIndexTemplate> findTemplateByCompanyDesc(Integer companyId, Integer schoolId);
+}

+ 120 - 0
yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/company/ICompanyIntegralConfigService.java

@@ -0,0 +1,120 @@
+package com.yuxin.wx.api.company;
+
+import java.util.List;
+
+import com.yuxin.wx.model.company.CompanyIntegralConfig;
+/**
+ * Service Interface:CompanyIntegralConfig
+ * @author chopin
+ * @date 2016-5-17
+ */
+public interface ICompanyIntegralConfigService  {
+	/**
+	 * 
+	* @Title: saveCompanyIntegralConfig
+	* @Description: 新增CompanyIntegralConfig
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-5-17
+	* @user by wangzx
+	 */
+	void insert(CompanyIntegralConfig entity);
+	
+	/**
+	 * 
+	* @Title: batchSaveCompanyIntegralConfig 
+	* @Description: 批量新增CompanyIntegralConfig
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-5-17
+	* @user by wangzx
+	 */
+	void batchInsert(List<CompanyIntegralConfig> list);
+	
+	/**
+	 * 
+	* @Title: updateCompanyIntegralConfig 
+	* @Description: 编辑CompanyIntegralConfig
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-5-17
+	* @user by wangzx
+	 */
+	void update(CompanyIntegralConfig entity);
+	
+	/**
+	 * 
+	* @Title: deleteCompanyIntegralConfigById 
+	* @Description: 根据id删除CompanyIntegralConfig
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-5-17
+	* @user by wangzx
+	 */
+	void deleteCompanyIntegralConfigById(Integer id);
+	
+	/**
+	 * 
+	* @Title: deleteCompanyIntegralConfigByIds 
+	* @Description: 根据id批量删除CompanyIntegralConfig
+	* @param ids
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-5-17
+	* @user by wangzx
+	 */
+	void deleteCompanyIntegralConfigByIds(Integer[] ids);
+	
+	/**
+	 * 
+	* @Title: findCompanyIntegralConfigById 
+	* @Description: 根据id查询
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-5-17
+	* @user by wangzx
+	 */
+	CompanyIntegralConfig findCompanyIntegralConfigById(Integer id);
+	
+	/**
+	 * 
+	* @Title: findCompanyIntegralConfigByPage 
+	* @Description: 分页查询
+	* @return
+	* @return List<CompanyIntegralConfig>    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-5-17
+	* @user by wangzx
+	 */
+	List<CompanyIntegralConfig> findCompanyIntegralConfigByPage(CompanyIntegralConfig search);
+	/**
+	 * 
+	 * Class Name: ICompanyIntegralConfigService.java
+	 * @Description: 根据公司id获取配置
+	 * @author yuchanglong
+	 * @date 2016年5月18日 下午4:48:36
+	 * @version 1.0
+	 * @param companyId
+	 * @return
+	 */
+	CompanyIntegralConfig findByCompanyId(Integer companyId);
+	
+	/**
+	 * 
+	 * @Description: 查询公司积分配置
+	 * @author dongshuai
+	 * @date 2016年6月7日
+	 * @param search
+	 * @return
+	 */
+	CompanyIntegralConfig findIntegralConfigByWhere(CompanyIntegralConfig search);
+}

+ 101 - 0
yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/company/ICompanyInvitConfigDefineService.java

@@ -0,0 +1,101 @@
+package com.yuxin.wx.api.company;
+
+import com.yuxin.wx.model.company.CompanyInvitConfigDefine;
+
+import java.util.List;
+/**
+ * Service Interface:CompanyInvitConfigDefine
+ * @author chopin
+ * @date 2017-6-27
+ */
+public interface ICompanyInvitConfigDefineService  {
+	/**
+	 * 
+	* @Title: saveCompanyInvitConfigDefine
+	* @Description: 新增CompanyInvitConfigDefine
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2017-6-27
+	* @user by wangzx
+	 */
+	void insert(CompanyInvitConfigDefine entity);
+	
+	/**
+	 * 
+	* @Title: batchSaveCompanyInvitConfigDefine 
+	* @Description: 批量新增CompanyInvitConfigDefine
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2017-6-27
+	* @user by wangzx
+	 */
+	void batchInsert(List<CompanyInvitConfigDefine> list);
+	
+	/**
+	 * 
+	* @Title: updateCompanyInvitConfigDefine 
+	* @Description: 编辑CompanyInvitConfigDefine
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2017-6-27
+	* @user by wangzx
+	 */
+	void update(CompanyInvitConfigDefine entity);
+	
+	/**
+	 * 
+	* @Title: deleteCompanyInvitConfigDefineById 
+	* @Description: 根据id删除CompanyInvitConfigDefine
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2017-6-27
+	* @user by wangzx
+	 */
+	void deleteCompanyInvitConfigDefineById(Integer id);
+	
+	/**
+	 * 
+	* @Title: deleteCompanyInvitConfigDefineByIds 
+	* @Description: 根据id批量删除CompanyInvitConfigDefine
+	* @param ids
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2017-6-27
+	* @user by wangzx
+	 */
+	void deleteCompanyInvitConfigDefineByIds(Integer[] ids);
+	
+	/**
+	 * 
+	* @Title: findCompanyInvitConfigDefineById 
+	* @Description: 根据id查询
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2017-6-27
+	* @user by wangzx
+	 */
+	CompanyInvitConfigDefine findCompanyInvitConfigDefineById(Integer id);
+	
+	/**
+	 * 
+	* @Title: findCompanyInvitConfigDefineByPage 
+	* @Description: 分页查询
+	* @return
+	* @return List<CompanyInvitConfigDefine>    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2017-6-27
+	* @user by wangzx
+	 */
+	List<CompanyInvitConfigDefine> findCompanyInvitConfigDefineByPage(CompanyInvitConfigDefine search);
+
+	CompanyInvitConfigDefine queryByCompanyId(Integer companyId);
+}

+ 102 - 0
yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/company/ICompanyInvitConfigOrgService.java

@@ -0,0 +1,102 @@
+package com.yuxin.wx.api.company;
+
+import java.util.List;
+
+import com.yuxin.wx.model.company.CompanyInvitConfigOrg;
+
+/**
+ * Service Interface:CompanyInvitConfigOrg
+ * @author chopin
+ * @date 2017-3-13
+ */
+public interface ICompanyInvitConfigOrgService  {
+	/**
+	 * 
+	* @Title: saveCompanyInvitConfigOrg
+	* @Description: 新增CompanyInvitConfigOrg
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2017-3-13
+	* @user by wangzx
+	 */
+	void insert(CompanyInvitConfigOrg entity);
+	
+	/**
+	 * 
+	* @Title: batchSaveCompanyInvitConfigOrg 
+	* @Description: 批量新增CompanyInvitConfigOrg
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2017-3-13
+	* @user by wangzx
+	 */
+	void batchInsert(List<CompanyInvitConfigOrg> list);
+	
+	/**
+	 * 
+	* @Title: updateCompanyInvitConfigOrg 
+	* @Description: 编辑CompanyInvitConfigOrg
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2017-3-13
+	* @user by wangzx
+	 */
+	void update(CompanyInvitConfigOrg entity);
+	
+	/**
+	 * 
+	* @Title: deleteCompanyInvitConfigOrgById 
+	* @Description: 根据id删除CompanyInvitConfigOrg
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2017-3-13
+	* @user by wangzx
+	 */
+	void deleteCompanyInvitConfigOrgById(Integer id);
+	
+	/**
+	 * 
+	* @Title: deleteCompanyInvitConfigOrgByIds 
+	* @Description: 根据id批量删除CompanyInvitConfigOrg
+	* @param ids
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2017-3-13
+	* @user by wangzx
+	 */
+	void deleteCompanyInvitConfigOrgByIds(Integer[] ids);
+	
+	/**
+	 * 
+	* @Title: findCompanyInvitConfigOrgById 
+	* @Description: 根据id查询
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2017-3-13
+	* @user by wangzx
+	 */
+	CompanyInvitConfigOrg findCompanyInvitConfigOrgById(Integer id);
+	
+	/**
+	 * 
+	* @Title: findCompanyInvitConfigOrgByPage 
+	* @Description: 分页查询
+	* @return
+	* @return List<CompanyInvitConfigOrg>    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2017-3-13
+	* @user by wangzx
+	 */
+	List<CompanyInvitConfigOrg> findCompanyInvitConfigOrgByPage(CompanyInvitConfigOrg search);
+
+	CompanyInvitConfigOrg findByCompanyId(Integer companyId);
+}

+ 113 - 0
yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/company/ICompanyInvitConfigService.java

@@ -0,0 +1,113 @@
+package com.yuxin.wx.api.company;
+
+import java.util.List;
+
+import com.yuxin.wx.model.company.CompanyInvitConfig;
+/**
+ * Service Interface:CompanyInvitConfig
+ * @author chopin
+ * @date 2016-7-29
+ */
+public interface ICompanyInvitConfigService  {
+	/**
+	 * 
+	* @Title: saveCompanyInvitConfig
+	* @Description: 新增CompanyInvitConfig
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-7-29
+	* @user by wangzx
+	 */
+	void insert(CompanyInvitConfig entity);
+	
+	/**
+	 * 
+	* @Title: batchSaveCompanyInvitConfig 
+	* @Description: 批量新增CompanyInvitConfig
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-7-29
+	* @user by wangzx
+	 */
+	void batchInsert(List<CompanyInvitConfig> list);
+	
+	/**
+	 * 
+	* @Title: updateCompanyInvitConfig 
+	* @Description: 编辑CompanyInvitConfig
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-7-29
+	* @user by wangzx
+	 */
+	void update(CompanyInvitConfig entity);
+	
+	/**
+	 * 
+	* @Title: deleteCompanyInvitConfigById 
+	* @Description: 根据id删除CompanyInvitConfig
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-7-29
+	* @user by wangzx
+	 */
+	void deleteCompanyInvitConfigById(Integer id);
+	
+	/**
+	 * 
+	* @Title: deleteCompanyInvitConfigByIds 
+	* @Description: 根据id批量删除CompanyInvitConfig
+	* @param ids
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-7-29
+	* @user by wangzx
+	 */
+	void deleteCompanyInvitConfigByIds(Integer[] ids);
+	
+	/**
+	 * 
+	* @Title: findCompanyInvitConfigById 
+	* @Description: 根据id查询
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-7-29
+	* @user by wangzx
+	 */
+	CompanyInvitConfig findCompanyInvitConfigById(Integer id);
+	
+	/**
+	 * 
+	* @Title: findCompanyInvitConfigByPage 
+	* @Description: 分页查询
+	* @return
+	* @return List<CompanyInvitConfig>    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-7-29
+	* @user by wangzx
+	 */
+	List<CompanyInvitConfig> findCompanyInvitConfigByPage(CompanyInvitConfig search);
+	
+	/**
+	 * 
+	 * Class Name: ICompanyInvitConfigService.java
+	 * @Description: 查询公司邀请码配置
+	 * @author zhang.zx
+	 * @date 2016年8月1日 上午10:28:55
+	 * @modifier
+	 * @modify-date 2016年8月1日 上午10:28:55
+	 * @version 1.0
+	 * @param companyId
+	 * @return
+	 */
+	CompanyInvitConfig findInvitConfigByCompanyId(Integer companyId);
+}

+ 103 - 0
yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/company/ICompanyInvitConfigTeacherService.java

@@ -0,0 +1,103 @@
+package com.yuxin.wx.api.company;
+
+import java.util.List;
+
+import com.yuxin.wx.model.company.CompanyInvitConfigTeacher;
+
+
+/**
+ * Service Interface:CompanyInvitConfigTeacher
+ * @author chopin
+ * @date 2017-3-13
+ */
+public interface ICompanyInvitConfigTeacherService  {
+	/**
+	 * 
+	* @Title: saveCompanyInvitConfigTeacher
+	* @Description: 新增CompanyInvitConfigTeacher
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2017-3-13
+	* @user by wangzx
+	 */
+	void insert(CompanyInvitConfigTeacher entity);
+	
+	/**
+	 * 
+	* @Title: batchSaveCompanyInvitConfigTeacher 
+	* @Description: 批量新增CompanyInvitConfigTeacher
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2017-3-13
+	* @user by wangzx
+	 */
+	void batchInsert(List<CompanyInvitConfigTeacher> list);
+	
+	/**
+	 * 
+	* @Title: updateCompanyInvitConfigTeacher 
+	* @Description: 编辑CompanyInvitConfigTeacher
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2017-3-13
+	* @user by wangzx
+	 */
+	void update(CompanyInvitConfigTeacher entity);
+	
+	/**
+	 * 
+	* @Title: deleteCompanyInvitConfigTeacherById 
+	* @Description: 根据id删除CompanyInvitConfigTeacher
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2017-3-13
+	* @user by wangzx
+	 */
+	void deleteCompanyInvitConfigTeacherById(Integer id);
+	
+	/**
+	 * 
+	* @Title: deleteCompanyInvitConfigTeacherByIds 
+	* @Description: 根据id批量删除CompanyInvitConfigTeacher
+	* @param ids
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2017-3-13
+	* @user by wangzx
+	 */
+	void deleteCompanyInvitConfigTeacherByIds(Integer[] ids);
+	
+	/**
+	 * 
+	* @Title: findCompanyInvitConfigTeacherById 
+	* @Description: 根据id查询
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2017-3-13
+	* @user by wangzx
+	 */
+	CompanyInvitConfigTeacher findCompanyInvitConfigTeacherById(Integer id);
+	
+	/**
+	 * 
+	* @Title: findCompanyInvitConfigTeacherByPage 
+	* @Description: 分页查询
+	* @return
+	* @return List<CompanyInvitConfigTeacher>    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2017-3-13
+	* @user by wangzx
+	 */
+	List<CompanyInvitConfigTeacher> findCompanyInvitConfigTeacherByPage(CompanyInvitConfigTeacher search);
+
+	CompanyInvitConfigTeacher findByCompanyId(Integer companyId);
+}

+ 99 - 0
yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/company/ICompanyInviteRelationService.java

@@ -0,0 +1,99 @@
+package com.yuxin.wx.api.company;
+
+import java.util.List;
+
+import com.yuxin.wx.model.company.CompanyInviteRelation;
+/**
+ * Service Interface:CompanyInviteRelation
+ * @author chopin
+ * @date 2016-7-29
+ */
+public interface ICompanyInviteRelationService  {
+	/**
+	 * 
+	* @Title: saveCompanyInviteRelation
+	* @Description: 新增CompanyInviteRelation
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-7-29
+	* @user by wangzx
+	 */
+	void insert(CompanyInviteRelation entity);
+	
+	/**
+	 * 
+	* @Title: batchSaveCompanyInviteRelation 
+	* @Description: 批量新增CompanyInviteRelation
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-7-29
+	* @user by wangzx
+	 */
+	void batchInsert(List<CompanyInviteRelation> list);
+	
+	/**
+	 * 
+	* @Title: updateCompanyInviteRelation 
+	* @Description: 编辑CompanyInviteRelation
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-7-29
+	* @user by wangzx
+	 */
+	void update(CompanyInviteRelation entity);
+	
+	/**
+	 * 
+	* @Title: deleteCompanyInviteRelationById 
+	* @Description: 根据id删除CompanyInviteRelation
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-7-29
+	* @user by wangzx
+	 */
+	void deleteCompanyInviteRelationById(Integer id);
+	
+	/**
+	 * 
+	* @Title: deleteCompanyInviteRelationByIds 
+	* @Description: 根据id批量删除CompanyInviteRelation
+	* @param ids
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-7-29
+	* @user by wangzx
+	 */
+	void deleteCompanyInviteRelationByIds(Integer[] ids);
+	
+	/**
+	 * 
+	* @Title: findCompanyInviteRelationById 
+	* @Description: 根据id查询
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-7-29
+	* @user by wangzx
+	 */
+	CompanyInviteRelation findCompanyInviteRelationById(Integer id);
+	
+	/**
+	 * 
+	* @Title: findCompanyInviteRelationByPage 
+	* @Description: 分页查询
+	* @return
+	* @return List<CompanyInviteRelation>    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-7-29
+	* @user by wangzx
+	 */
+	List<CompanyInviteRelation> findCompanyInviteRelationByPage(CompanyInviteRelation search);
+}

+ 112 - 0
yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/company/ICompanyLiveConcurrentService.java

@@ -0,0 +1,112 @@
+package com.yuxin.wx.api.company;
+
+import java.util.List;
+import java.util.Map;
+
+import com.yuxin.wx.model.company.CompanyLiveConcurrent;
+/**
+ * Service Interface:CompanyLiveConcurrent
+ * @author wang.zx
+ * @date 2016-3-28
+ */
+public interface ICompanyLiveConcurrentService  {
+	/**
+	 * 
+	* @Title: saveCompanyLiveConcurrent
+	* @Description: 新增CompanyLiveConcurrent
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-3-28
+	* @user by wangzx
+	 */
+	void insert(CompanyLiveConcurrent entity);
+	
+	/**
+	 * 
+	* @Title: batchSaveCompanyLiveConcurrent 
+	* @Description: 批量新增CompanyLiveConcurrent
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-3-28
+	* @user by wangzx
+	 */
+	void batchInsert(List<CompanyLiveConcurrent> list);
+	
+	/**
+	 * 
+	* @Title: updateCompanyLiveConcurrent 
+	* @Description: 编辑CompanyLiveConcurrent
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-3-28
+	* @user by wangzx
+	 */
+	void update(CompanyLiveConcurrent entity);
+	
+	/**
+	 * 
+	* @Title: deleteCompanyLiveConcurrentById 
+	* @Description: 根据id删除CompanyLiveConcurrent
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-3-28
+	* @user by wangzx
+	 */
+	void deleteCompanyLiveConcurrentById(Integer id);
+	
+	/**
+	 * 
+	* @Title: deleteCompanyLiveConcurrentByIds 
+	* @Description: 根据id批量删除CompanyLiveConcurrent
+	* @param ids
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-3-28
+	* @user by wangzx
+	 */
+	void deleteCompanyLiveConcurrentByIds(Integer[] ids);
+	
+	/**
+	 * 
+	* @Title: findCompanyLiveConcurrentById 
+	* @Description: 根据id查询
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-3-28
+	* @user by wangzx
+	 */
+	CompanyLiveConcurrent findCompanyLiveConcurrentById(Integer id);
+	
+	/**
+	 * 
+	* @Title: findCompanyLiveConcurrentByPage 
+	* @Description: 分页查询
+	* @return
+	* @return List<CompanyLiveConcurrent>    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-3-28
+	* @user by wangzx
+	 */
+	List<CompanyLiveConcurrent> findCompanyLiveConcurrentByPage(CompanyLiveConcurrent search);
+	
+	/**
+	 * 
+	 * Class Name: ICompanyLiveConcurrentService.java
+	 * @Description: 查询本月并发
+	 * @author 周文斌
+	 * @date 2016-3-28 下午4:02:12
+	 * @version 1.0
+	 * @param param
+	 * @return
+	 */
+	CompanyLiveConcurrent findLiveByComidAndDate(Map<String, Object> param);
+}

+ 113 - 0
yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/company/ICompanyLiveConfigService.java

@@ -0,0 +1,113 @@
+package com.yuxin.wx.api.company;
+
+import java.util.List;
+
+import com.yuxin.wx.model.company.CompanyLiveConfig;
+/**
+ * Service Interface:CompanyLiveConfig
+ * @author wang.zx
+ * @date 2016-2-29
+ */
+public interface ICompanyLiveConfigService  {
+	/**
+	 * 
+	* @Title: saveCompanyLiveConfig
+	* @Description: 新增CompanyLiveConfig
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-2-29
+	* @user by wangzx
+	 */
+	void insert(CompanyLiveConfig entity);
+	
+	/**
+	 * 
+	* @Title: batchSaveCompanyLiveConfig 
+	* @Description: 批量新增CompanyLiveConfig
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-2-29
+	* @user by wangzx
+	 */
+	void batchInsert(List<CompanyLiveConfig> list);
+	
+	/**
+	 * 
+	* @Title: updateCompanyLiveConfig 
+	* @Description: 编辑CompanyLiveConfig
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-2-29
+	* @user by wangzx
+	 */
+	void update(CompanyLiveConfig entity);
+	
+	/**
+	 * 
+	* @Title: deleteCompanyLiveConfigById 
+	* @Description: 根据id删除CompanyLiveConfig
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-2-29
+	* @user by wangzx
+	 */
+	void deleteCompanyLiveConfigById(Integer id);
+	
+	/**
+	 * 
+	* @Title: deleteCompanyLiveConfigByIds 
+	* @Description: 根据id批量删除CompanyLiveConfig
+	* @param ids
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-2-29
+	* @user by wangzx
+	 */
+	void deleteCompanyLiveConfigByIds(Integer[] ids);
+	
+	/**
+	 * 
+	* @Title: findCompanyLiveConfigById 
+	* @Description: 根据id查询
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-2-29
+	* @user by wangzx
+	 */
+	CompanyLiveConfig findCompanyLiveConfigById(Integer id);
+	
+	/**
+	 * 
+	* @Title: findCompanyLiveConfigByPage 
+	* @Description: 分页查询
+	* @return
+	* @return List<CompanyLiveConfig>    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-2-29
+	* @user by wangzx
+	 */
+	List<CompanyLiveConfig> findCompanyLiveConfigByPage(CompanyLiveConfig search);
+	
+	/**
+	 * 
+	 * Class Name: ICompanyLiveConfigService.java
+	 * @Description: 根据公司id 查询
+	 * @author 周文斌
+	 * @date 2016-3-1 上午11:41:40
+	 * @version 1.0
+	 * @param companyId
+	 * @return
+	 */
+	CompanyLiveConfig findByCompanyId(Integer companyId);
+
+    List<CompanyLiveConfig> findBySearch(CompanyLiveConfig search);
+}

+ 102 - 0
yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/company/ICompanyLiveConfigSpService.java

@@ -0,0 +1,102 @@
+package com.yuxin.wx.api.company;
+
+import com.yuxin.wx.model.company.CompanyLiveConfigSp;
+
+import java.util.List;
+
+/**
+ * Service Interface:CompanyLiveConfigSp
+ * @author licong
+ * @date 2017-12-19
+ */
+public interface ICompanyLiveConfigSpService  {
+	/**
+	 * 
+	* @Title: saveCompanyLiveConfigSp
+	* @Description: 新增CompanyLiveConfigSp
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2017-12-19
+	* @user by wangzx
+	 */
+	void insert(CompanyLiveConfigSp entity);
+	
+	/**
+	 * 
+	* @Title: batchSaveCompanyLiveConfigSp 
+	* @Description: 批量新增CompanyLiveConfigSp
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2017-12-19
+	* @user by wangzx
+	 */
+	void batchInsert(List<CompanyLiveConfigSp> list);
+	
+	/**
+	 * 
+	* @Title: updateCompanyLiveConfigSp 
+	* @Description: 编辑CompanyLiveConfigSp
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2017-12-19
+	* @user by wangzx
+	 */
+	void update(CompanyLiveConfigSp entity);
+	
+	/**
+	 * 
+	* @Title: deleteCompanyLiveConfigSpById 
+	* @Description: 根据id删除CompanyLiveConfigSp
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2017-12-19
+	* @user by wangzx
+	 */
+	void deleteCompanyLiveConfigSpById(Integer id);
+	
+	/**
+	 * 
+	* @Title: deleteCompanyLiveConfigSpByIds 
+	* @Description: 根据id批量删除CompanyLiveConfigSp
+	* @param ids
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2017-12-19
+	* @user by wangzx
+	 */
+	void deleteCompanyLiveConfigSpByIds(Integer[] ids);
+	
+	/**
+	 * 
+	* @Title: findCompanyLiveConfigSpById 
+	* @Description: 根据id查询
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2017-12-19
+	* @user by wangzx
+	 */
+	CompanyLiveConfigSp findCompanyLiveConfigSpById(Integer id);
+	
+	/**
+	 * 
+	* @Title: findCompanyLiveConfigSpByPage 
+	* @Description: 分页查询
+	* @return
+	* @return List<CompanyLiveConfigSp>    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2017-12-19
+	* @user by wangzx
+	 */
+	List<CompanyLiveConfigSp> findCompanyLiveConfigSpByPage(CompanyLiveConfigSp search);
+
+    List<CompanyLiveConfigSp> findBySearch(CompanyLiveConfigSp search);
+}

+ 99 - 0
yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/company/ICompanyLiveCoursewareZsService.java

@@ -0,0 +1,99 @@
+package com.yuxin.wx.api.company;
+
+import java.util.List;
+
+import com.yuxin.wx.model.company.CompanyLiveCoursewareZs;
+/**
+ * Service Interface:CompanyLiveCoursewareZs
+ * @author wang.zx
+ * @date 2015-11-28
+ */
+public interface ICompanyLiveCoursewareZsService  {
+	/**
+	 * 
+	* @Title: saveCompanyLiveCoursewareZs
+	* @Description: 新增CompanyLiveCoursewareZs
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-11-28
+	* @user by wangzx
+	 */
+	void insert(CompanyLiveCoursewareZs entity);
+	
+	/**
+	 * 
+	* @Title: batchSaveCompanyLiveCoursewareZs 
+	* @Description: 批量新增CompanyLiveCoursewareZs
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-11-28
+	* @user by wangzx
+	 */
+	void batchInsert(List<CompanyLiveCoursewareZs> list);
+	
+	/**
+	 * 
+	* @Title: updateCompanyLiveCoursewareZs 
+	* @Description: 编辑CompanyLiveCoursewareZs
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-11-28
+	* @user by wangzx
+	 */
+	void update(CompanyLiveCoursewareZs entity);
+	
+	/**
+	 * 
+	* @Title: deleteCompanyLiveCoursewareZsById 
+	* @Description: 根据id删除CompanyLiveCoursewareZs
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-11-28
+	* @user by wangzx
+	 */
+	void deleteCompanyLiveCoursewareZsById(Integer id);
+	
+	/**
+	 * 
+	* @Title: deleteCompanyLiveCoursewareZsByIds 
+	* @Description: 根据id批量删除CompanyLiveCoursewareZs
+	* @param ids
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-11-28
+	* @user by wangzx
+	 */
+	void deleteCompanyLiveCoursewareZsByIds(Integer[] ids);
+	
+	/**
+	 * 
+	* @Title: findCompanyLiveCoursewareZsById 
+	* @Description: 根据id查询
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-11-28
+	* @user by wangzx
+	 */
+	CompanyLiveCoursewareZs findCompanyLiveCoursewareZsById(Integer id);
+	
+	/**
+	 * 
+	* @Title: findCompanyLiveCoursewareZsByPage 
+	* @Description: 分页查询
+	* @return
+	* @return List<CompanyLiveCoursewareZs>    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-11-28
+	* @user by wangzx
+	 */
+	List<CompanyLiveCoursewareZs> findCompanyLiveCoursewareZsByPage(CompanyLiveCoursewareZs search);
+}

+ 102 - 0
yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/company/ICompanyLiveRecordSpService.java

@@ -0,0 +1,102 @@
+package com.yuxin.wx.api.company;
+
+import com.yuxin.wx.model.company.CompanyLiveRecordSp;
+
+import java.util.List;
+
+/**
+ * Service Interface:CompanyLiveRecordSp
+ * @author licong
+ * @date 2017-12-19
+ */
+public interface ICompanyLiveRecordSpService  {
+	/**
+	 * 
+	* @Title: saveCompanyLiveRecordSp
+	* @Description: 新增CompanyLiveRecordSp
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2017-12-19
+	* @user by wangzx
+	 */
+	void insert(CompanyLiveRecordSp entity);
+	
+	/**
+	 * 
+	* @Title: batchSaveCompanyLiveRecordSp 
+	* @Description: 批量新增CompanyLiveRecordSp
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2017-12-19
+	* @user by wangzx
+	 */
+	void batchInsert(List<CompanyLiveRecordSp> list);
+	
+	/**
+	 * 
+	* @Title: updateCompanyLiveRecordSp 
+	* @Description: 编辑CompanyLiveRecordSp
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2017-12-19
+	* @user by wangzx
+	 */
+	void update(CompanyLiveRecordSp entity);
+	
+	/**
+	 * 
+	* @Title: deleteCompanyLiveRecordSpById 
+	* @Description: 根据id删除CompanyLiveRecordSp
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2017-12-19
+	* @user by wangzx
+	 */
+	void deleteCompanyLiveRecordSpById(Integer id);
+	
+	/**
+	 * 
+	* @Title: deleteCompanyLiveRecordSpByIds 
+	* @Description: 根据id批量删除CompanyLiveRecordSp
+	* @param ids
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2017-12-19
+	* @user by wangzx
+	 */
+	void deleteCompanyLiveRecordSpByIds(Integer[] ids);
+	
+	/**
+	 * 
+	* @Title: findCompanyLiveRecordSpById 
+	* @Description: 根据id查询
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2017-12-19
+	* @user by wangzx
+	 */
+	CompanyLiveRecordSp findCompanyLiveRecordSpById(Integer id);
+	
+	/**
+	 * 
+	* @Title: findCompanyLiveRecordSpByPage 
+	* @Description: 分页查询
+	* @return
+	* @return List<CompanyLiveRecordSp>    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2017-12-19
+	* @user by wangzx
+	 */
+	List<CompanyLiveRecordSp> findCompanyLiveRecordSpByPage(CompanyLiveRecordSp search);
+
+    Integer sumCostTime(CompanyLiveRecordSp search);
+}

+ 99 - 0
yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/company/ICompanyLiveStaticDayDetailService.java

@@ -0,0 +1,99 @@
+package com.yuxin.wx.api.company;
+
+import java.util.List;
+
+import com.yuxin.wx.model.company.CompanyLiveStaticDayDetail;
+/**
+ * Service Interface:CompanyLiveStaticDayDetail
+ * @author wang.zx
+ * @date 2015-6-8
+ */
+public interface ICompanyLiveStaticDayDetailService  {
+	/**
+	 * 
+	* @Title: saveCompanyLiveStaticDayDetail
+	* @Description: 新增CompanyLiveStaticDayDetail
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-6-8
+	* @user by wangzx
+	 */
+	void insert(CompanyLiveStaticDayDetail entity);
+	
+	/**
+	 * 
+	* @Title: batchSaveCompanyLiveStaticDayDetail 
+	* @Description: 批量新增CompanyLiveStaticDayDetail
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-6-8
+	* @user by wangzx
+	 */
+	void batchInsert(List<CompanyLiveStaticDayDetail> list);
+	
+	/**
+	 * 
+	* @Title: updateCompanyLiveStaticDayDetail 
+	* @Description: 编辑CompanyLiveStaticDayDetail
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-6-8
+	* @user by wangzx
+	 */
+	void update(CompanyLiveStaticDayDetail entity);
+	
+	/**
+	 * 
+	* @Title: deleteCompanyLiveStaticDayDetailById 
+	* @Description: 根据id删除CompanyLiveStaticDayDetail
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-6-8
+	* @user by wangzx
+	 */
+	void deleteCompanyLiveStaticDayDetailById(Integer id);
+	
+	/**
+	 * 
+	* @Title: deleteCompanyLiveStaticDayDetailByIds 
+	* @Description: 根据id批量删除CompanyLiveStaticDayDetail
+	* @param ids
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-6-8
+	* @user by wangzx
+	 */
+	void deleteCompanyLiveStaticDayDetailByIds(Integer[] ids);
+	
+	/**
+	 * 
+	* @Title: findCompanyLiveStaticDayDetailById 
+	* @Description: 根据id查询
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-6-8
+	* @user by wangzx
+	 */
+	CompanyLiveStaticDayDetail findCompanyLiveStaticDayDetailById(Integer id);
+	
+	/**
+	 * 
+	* @Title: findCompanyLiveStaticDayDetailByPage 
+	* @Description: 分页查询
+	* @return
+	* @return List<CompanyLiveStaticDayDetail>    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-6-8
+	* @user by wangzx
+	 */
+	List<CompanyLiveStaticDayDetail> findCompanyLiveStaticDayDetailByPage(CompanyLiveStaticDayDetail search);
+}

+ 104 - 0
yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/company/ICompanyLiveStaticDetailService.java

@@ -0,0 +1,104 @@
+package com.yuxin.wx.api.company;
+
+import java.util.List;
+
+import com.yuxin.wx.model.company.CompanyLiveStaticDetail;
+import com.yuxin.wx.vo.company.CompanyLiveStaticeDetailVo;
+/**
+ * Service Interface:CompanyLiveStaticDetail
+ * @author wang.zx
+ * @date 2015-12-29
+ */
+public interface ICompanyLiveStaticDetailService  {
+	/**
+	 * 
+	* @Title: saveCompanyLiveStaticDetail
+	* @Description: 新增CompanyLiveStaticDetail
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-12-29
+	* @user by wangzx
+	 */
+	void insert(CompanyLiveStaticDetail entity);
+	
+	/**
+	 * 
+	* @Title: batchSaveCompanyLiveStaticDetail 
+	* @Description: 批量新增CompanyLiveStaticDetail
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-12-29
+	* @user by wangzx
+	 */
+	void batchInsert(List<CompanyLiveStaticDetail> list);
+	
+	/**
+	 * 
+	* @Title: updateCompanyLiveStaticDetail 
+	* @Description: 编辑CompanyLiveStaticDetail
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-12-29
+	* @user by wangzx
+	 */
+	void update(CompanyLiveStaticDetail entity);
+	
+	/**
+	 * 
+	* @Title: deleteCompanyLiveStaticDetailById 
+	* @Description: 根据id删除CompanyLiveStaticDetail
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-12-29
+	* @user by wangzx
+	 */
+	void deleteCompanyLiveStaticDetailById(Integer id);
+	
+	/**
+	 * 
+	* @Title: deleteCompanyLiveStaticDetailByIds 
+	* @Description: 根据id批量删除CompanyLiveStaticDetail
+	* @param ids
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-12-29
+	* @user by wangzx
+	 */
+	void deleteCompanyLiveStaticDetailByIds(Integer[] ids);
+	
+	/**
+	 * 
+	* @Title: findCompanyLiveStaticDetailById 
+	* @Description: 根据id查询
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-12-29
+	* @user by wangzx
+	 */
+	CompanyLiveStaticDetail findCompanyLiveStaticDetailById(Integer id);
+	
+	/**
+	 * 
+	* @Title: findCompanyLiveStaticDetailByPage 
+	* @Description: 分页查询
+	* @return
+	* @return List<CompanyLiveStaticDetail>    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-12-29
+	* @user by wangzx
+	 */
+	List<CompanyLiveStaticDetail> findCompanyLiveStaticDetailByPage(CompanyLiveStaticDetail search);
+
+	List<CompanyLiveStaticeDetailVo> findAllLiveDetail();
+
+	Integer findCommodityId(CompanyLiveStaticeDetailVo huikan);
+}

+ 125 - 0
yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/company/ICompanyLiveStaticRecordService.java

@@ -0,0 +1,125 @@
+package com.yuxin.wx.api.company;
+
+import com.yuxin.wx.model.company.CompanyLiveStaticRecord;
+import com.yuxin.wx.model.student.StudentPayMaster;
+
+import java.util.List;
+/**
+ * Service Interface:CompanyLiveStaticRecord
+ * @author wang.zx
+ * @date 2017-1-4
+ */
+public interface ICompanyLiveStaticRecordService  {
+	/**
+	 * 
+	* @Title: saveCompanyLiveStaticRecord
+	* @Description: 新增CompanyLiveStaticRecord
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2017-1-4
+	* @user by wangzx
+	 */
+	void insert(CompanyLiveStaticRecord entity);
+	
+	/**
+	 * 
+	* @Title: batchSaveCompanyLiveStaticRecord 
+	* @Description: 批量新增CompanyLiveStaticRecord
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2017-1-4
+	* @user by wangzx
+	 */
+	void batchInsert(List<CompanyLiveStaticRecord> list);
+	
+	/**
+	 * 
+	* @Title: updateCompanyLiveStaticRecord 
+	* @Description: 编辑CompanyLiveStaticRecord
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2017-1-4
+	* @user by wangzx
+	 */
+	void update(CompanyLiveStaticRecord entity);
+	
+	/**
+	 * 
+	* @Title: deleteCompanyLiveStaticRecordById 
+	* @Description: 根据id删除CompanyLiveStaticRecord
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2017-1-4
+	* @user by wangzx
+	 */
+	void deleteCompanyLiveStaticRecordById(Integer id);
+	
+	/**
+	 * 
+	* @Title: deleteCompanyLiveStaticRecordByIds 
+	* @Description: 根据id批量删除CompanyLiveStaticRecord
+	* @param ids
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2017-1-4
+	* @user by wangzx
+	 */
+	void deleteCompanyLiveStaticRecordByIds(Integer[] ids);
+	
+	/**
+	 * 
+	* @Title: findCompanyLiveStaticRecordById 
+	* @Description: 根据id查询
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2017-1-4
+	* @user by wangzx
+	 */
+	CompanyLiveStaticRecord findCompanyLiveStaticRecordById(Integer id);
+	
+	/**
+	 * 
+	* @Title: findCompanyLiveStaticRecordByPage 
+	* @Description: 分页查询
+	* @return
+	* @return List<CompanyLiveStaticRecord>    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2017-1-4
+	* @user by wangzx
+	 */
+	List<CompanyLiveStaticRecord> findCompanyLiveStaticRecordByPage(CompanyLiveStaticRecord search);
+	
+	/**
+	 * 
+	 * Class Name: ICompanyLiveStaticRecordService.java
+	 * @Description: 查询记录是否存在
+	 * @author 周文斌
+	 * @date 2017-1-4 下午1:47:22
+	 * @modify	2017-1-4 下午1:47:22
+	 * @version 
+	 * @param search
+	 * @return
+	 */
+	List<CompanyLiveStaticRecord> findExist(CompanyLiveStaticRecord search);
+
+	void updateCompanyLiveStaticRecord(StudentPayMaster oMaster);
+
+	List<CompanyLiveStaticRecord> findLessonLeanRecord(CompanyLiveStaticRecord clsr);
+	/**
+	 * @descreption 根据用户id房间id、课程id查询
+	 * @author  weijb
+	 * @param
+	 * @return
+	 * @date        2020-04-15 23:44
+	 */
+	List<CompanyLiveStaticRecord> findByCondition(Integer companyId, Integer userId , Integer classType,Integer courseId);
+}

+ 122 - 0
yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/company/ICompanyLoginConfigService.java

@@ -0,0 +1,122 @@
+package com.yuxin.wx.api.company;
+
+import java.util.List;
+
+import com.yuxin.wx.model.company.CompanyLoginConfig;
+/**
+ * Service Interface:CompanyLoginConfig
+ * @author chopin
+ * @date 2016-7-4
+ */
+public interface ICompanyLoginConfigService  {
+	/**
+	 * 
+	* @Title: saveCompanyLoginConfig
+	* @Description: 新增CompanyLoginConfig
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-7-4
+	* @user by wangzx
+	 */
+	void insert(CompanyLoginConfig entity);
+	
+	/**
+	 * 
+	* @Title: batchSaveCompanyLoginConfig 
+	* @Description: 批量新增CompanyLoginConfig
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-7-4
+	* @user by wangzx
+	 */
+	void batchInsert(List<CompanyLoginConfig> list);
+	
+	/**
+	 * 
+	* @Title: updateCompanyLoginConfig 
+	* @Description: 编辑CompanyLoginConfig
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-7-4
+	* @user by wangzx
+	 */
+	void update(CompanyLoginConfig entity);
+	
+	/**
+	 * 
+	* @Title: deleteCompanyLoginConfigById 
+	* @Description: 根据id删除CompanyLoginConfig
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-7-4
+	* @user by wangzx
+	 */
+	void deleteCompanyLoginConfigById(Integer id);
+	
+	/**
+	 * 
+	* @Title: deleteCompanyLoginConfigByIds 
+	* @Description: 根据id批量删除CompanyLoginConfig
+	* @param ids
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-7-4
+	* @user by wangzx
+	 */
+	void deleteCompanyLoginConfigByIds(Integer[] ids);
+	
+	/**
+	 * 
+	* @Title: findCompanyLoginConfigById 
+	* @Description: 根据id查询
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-7-4
+	* @user by wangzx
+	 */
+	CompanyLoginConfig findCompanyLoginConfigById(Integer id);
+	
+	/**
+	 * 
+	* @Title: findCompanyLoginConfigByPage 
+	* @Description: 分页查询
+	* @return
+	* @return List<CompanyLoginConfig>    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2016-7-4
+	* @user by wangzx
+	 */
+	List<CompanyLoginConfig> findCompanyLoginConfigByPage(CompanyLoginConfig search);
+	
+	/**
+	 * 
+	 * Class Name: ICompanyLoginConfigService.java
+	 * @Description: 查询登录配置
+	 * @author dongshuai
+	 * @date 2016年7月5日 上午11:34:13
+	 * @modifier
+	 * @modify-date 2016年7月5日 上午11:34:13
+	 * @version 1.0
+	 * @param search
+	 * @return
+	 */
+	CompanyLoginConfig queryByCompanyId(CompanyLoginConfig search);
+	/**
+	 * 检查手机号是否必填
+	 * @author licong
+	 * @date 2016年7月7日 下午5:05:15
+	 * @param  
+	 * @param companyId
+	 * @return
+	 */
+	boolean mobileIsRequired(Integer companyId);
+}

+ 111 - 0
yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/company/ICompanyMarketImageService.java

@@ -0,0 +1,111 @@
+package com.yuxin.wx.api.company;
+
+import java.util.List;
+
+import com.yuxin.wx.model.company.CompanyMarketImage;
+/**
+ * Service Interface:CompanyMarketImage
+ * @author wang.zx
+ * @date 2015-12-21
+ */
+public interface ICompanyMarketImageService  {
+	/**
+	 * 
+	* @Title: saveCompanyMarketImage
+	* @Description: 新增CompanyMarketImage
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-12-21
+	* @user by wangzx
+	 */
+	void insert(CompanyMarketImage entity);
+	
+	/**
+	 * 
+	* @Title: batchSaveCompanyMarketImage 
+	* @Description: 批量新增CompanyMarketImage
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-12-21
+	* @user by wangzx
+	 */
+	void batchInsert(List<CompanyMarketImage> list);
+	
+	/**
+	 * 
+	* @Title: updateCompanyMarketImage 
+	* @Description: 编辑CompanyMarketImage
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-12-21
+	* @user by wangzx
+	 */
+	void update(CompanyMarketImage entity);
+	
+	/**
+	 * 
+	* @Title: deleteCompanyMarketImageById 
+	* @Description: 根据id删除CompanyMarketImage
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-12-21
+	* @user by wangzx
+	 */
+	void deleteCompanyMarketImageById(Integer id);
+	
+	/**
+	 * 
+	* @Title: deleteCompanyMarketImageByIds 
+	* @Description: 根据id批量删除CompanyMarketImage
+	* @param ids
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-12-21
+	* @user by wangzx
+	 */
+	void deleteCompanyMarketImageByIds(Integer[] ids);
+	
+	/**
+	 * 
+	* @Title: findCompanyMarketImageById 
+	* @Description: 根据id查询
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-12-21
+	* @user by wangzx
+	 */
+	CompanyMarketImage findCompanyMarketImageById(Integer id);
+	
+	/**
+	 * 
+	* @Title: findCompanyMarketImageByPage 
+	* @Description: 分页查询
+	* @return
+	* @return List<CompanyMarketImage>    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-12-21
+	* @user by wangzx
+	 */
+	List<CompanyMarketImage> findCompanyMarketImageByPage(CompanyMarketImage search);
+	
+	/**
+	 * 
+	 * Class Name: ICompanyMarketImageService.java
+	 * @Description: 根据公司查询轮播
+	 * @author 周文斌
+	 * @date 2015-12-21 下午6:14:40
+	 * @version 1.0
+	 * @param imgs
+	 * @return
+	 */
+	List<CompanyMarketImage> findImgByCompanyId(Integer companyId);
+}

+ 112 - 0
yuxin-schoolfront-api/src/main/java/com/yuxin/wx/api/company/ICompanyMarketNumService.java

@@ -0,0 +1,112 @@
+package com.yuxin.wx.api.company;
+
+import java.util.List;
+
+import com.yuxin.wx.model.company.Company;
+import com.yuxin.wx.model.company.CompanyMarketNum;
+/**
+ * Service Interface:CompanyMarketNum
+ * @author wang.zx
+ * @date 2015-12-21
+ */
+public interface ICompanyMarketNumService  {
+	/**
+	 * 
+	* @Title: saveCompanyMarketNum
+	* @Description: 新增CompanyMarketNum
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-12-21
+	* @user by wangzx
+	 */
+	void insert(CompanyMarketNum entity);
+	
+	/**
+	 * 
+	* @Title: batchSaveCompanyMarketNum 
+	* @Description: 批量新增CompanyMarketNum
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-12-21
+	* @user by wangzx
+	 */
+	void batchInsert(List<CompanyMarketNum> list);
+	
+	/**
+	 * 
+	* @Title: updateCompanyMarketNum 
+	* @Description: 编辑CompanyMarketNum
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-12-21
+	* @user by wangzx
+	 */
+	void update(CompanyMarketNum entity);
+	
+	/**
+	 * 
+	* @Title: deleteCompanyMarketNumById 
+	* @Description: 根据id删除CompanyMarketNum
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-12-21
+	* @user by wangzx
+	 */
+	void deleteCompanyMarketNumById(Integer id);
+	
+	/**
+	 * 
+	* @Title: deleteCompanyMarketNumByIds 
+	* @Description: 根据id批量删除CompanyMarketNum
+	* @param ids
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-12-21
+	* @user by wangzx
+	 */
+	void deleteCompanyMarketNumByIds(Integer[] ids);
+	
+	/**
+	 * 
+	* @Title: findCompanyMarketNumById 
+	* @Description: 根据id查询
+	* @param id
+	* @return void    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-12-21
+	* @user by wangzx
+	 */
+	CompanyMarketNum findCompanyMarketNumById(Integer id);
+	
+	/**
+	 * 
+	* @Title: findCompanyMarketNumByPage 
+	* @Description: 分页查询
+	* @return
+	* @return List<CompanyMarketNum>    返回类型 
+	* @throws 
+	* @exception 
+	* @date 2015-12-21
+	* @user by wangzx
+	 */
+	List<CompanyMarketNum> findCompanyMarketNumByPage(CompanyMarketNum search);
+	
+	/**
+	 * 
+	 * Class Name: ICompanyMarketNumService.java
+	 * @Description: 查询营销qq
+	 * @author 周文斌
+	 * @date 2015-12-21 下午6:27:19
+	 * @version 1.0
+	 * @param companyId
+	 * @return
+	 */
+	List<CompanyMarketNum> findNumByCompanyId(CompanyMarketNum cmn);
+}

Niektóre pliki nie zostały wyświetlone z powodu dużej ilości zmienionych plików