Просмотр исходного кода

后台相关实体类,相关接口方法

yanliming 2 лет назад
Родитель
Сommit
7bafaca465
54 измененных файлов с 5480 добавлено и 0 удалено
  1. 18 0
      common/src/main/java/com/jpsoft/employment/modules/base/dao/EnterpriseInfoDAO.java
  2. 18 0
      common/src/main/java/com/jpsoft/employment/modules/base/dao/JobEnterpriseRelationDAO.java
  3. 18 0
      common/src/main/java/com/jpsoft/employment/modules/base/dao/JobInformationInfoDAO.java
  4. 18 0
      common/src/main/java/com/jpsoft/employment/modules/base/dao/NewsInfoDAO.java
  5. 18 0
      common/src/main/java/com/jpsoft/employment/modules/base/dao/PersonInfoDAO.java
  6. 18 0
      common/src/main/java/com/jpsoft/employment/modules/base/dao/RecruitInformationInfoDAO.java
  7. 18 0
      common/src/main/java/com/jpsoft/employment/modules/base/dao/RecruitPersonRelationDAO.java
  8. 18 0
      common/src/main/java/com/jpsoft/employment/modules/base/dao/ShareWorksInfoDAO.java
  9. 18 0
      common/src/main/java/com/jpsoft/employment/modules/base/dao/TrainingInfoDAO.java
  10. 145 0
      common/src/main/java/com/jpsoft/employment/modules/base/entity/EnterpriseInfo.java
  11. 131 0
      common/src/main/java/com/jpsoft/employment/modules/base/entity/JobEnterpriseRelation.java
  12. 33 0
      common/src/main/java/com/jpsoft/employment/modules/base/entity/JobInformationInfo.java
  13. 173 0
      common/src/main/java/com/jpsoft/employment/modules/base/entity/NewsInfo.java
  14. 257 0
      common/src/main/java/com/jpsoft/employment/modules/base/entity/PersonInfo.java
  15. 285 0
      common/src/main/java/com/jpsoft/employment/modules/base/entity/RecruitInformationInfo.java
  16. 131 0
      common/src/main/java/com/jpsoft/employment/modules/base/entity/RecruitPersonRelation.java
  17. 173 0
      common/src/main/java/com/jpsoft/employment/modules/base/entity/ShareWorksInfo.java
  18. 159 0
      common/src/main/java/com/jpsoft/employment/modules/base/entity/TrainingInfo.java
  19. 17 0
      common/src/main/java/com/jpsoft/employment/modules/base/service/EnterpriseInfoService.java
  20. 17 0
      common/src/main/java/com/jpsoft/employment/modules/base/service/JobEnterpriseRelationService.java
  21. 17 0
      common/src/main/java/com/jpsoft/employment/modules/base/service/JobInformationInfoService.java
  22. 17 0
      common/src/main/java/com/jpsoft/employment/modules/base/service/NewsInfoService.java
  23. 17 0
      common/src/main/java/com/jpsoft/employment/modules/base/service/PersonInfoService.java
  24. 17 0
      common/src/main/java/com/jpsoft/employment/modules/base/service/RecruitInformationInfoService.java
  25. 17 0
      common/src/main/java/com/jpsoft/employment/modules/base/service/RecruitPersonRelationService.java
  26. 17 0
      common/src/main/java/com/jpsoft/employment/modules/base/service/ShareWorksInfoService.java
  27. 17 0
      common/src/main/java/com/jpsoft/employment/modules/base/service/TrainingInfoService.java
  28. 70 0
      common/src/main/java/com/jpsoft/employment/modules/base/service/impl/EnterpriseInfoServiceImpl.java
  29. 70 0
      common/src/main/java/com/jpsoft/employment/modules/base/service/impl/JobEnterpriseRelationServiceImpl.java
  30. 70 0
      common/src/main/java/com/jpsoft/employment/modules/base/service/impl/JobInformationInfoServiceImpl.java
  31. 70 0
      common/src/main/java/com/jpsoft/employment/modules/base/service/impl/NewsInfoServiceImpl.java
  32. 70 0
      common/src/main/java/com/jpsoft/employment/modules/base/service/impl/PersonInfoServiceImpl.java
  33. 70 0
      common/src/main/java/com/jpsoft/employment/modules/base/service/impl/RecruitInformationInfoServiceImpl.java
  34. 70 0
      common/src/main/java/com/jpsoft/employment/modules/base/service/impl/RecruitPersonRelationServiceImpl.java
  35. 70 0
      common/src/main/java/com/jpsoft/employment/modules/base/service/impl/ShareWorksInfoServiceImpl.java
  36. 70 0
      common/src/main/java/com/jpsoft/employment/modules/base/service/impl/TrainingInfoServiceImpl.java
  37. 95 0
      common/src/main/resources/mapper/base/EnterpriseInfo.xml
  38. 91 0
      common/src/main/resources/mapper/base/JobEnterpriseRelation.xml
  39. 131 0
      common/src/main/resources/mapper/base/JobInformationInfo.xml
  40. 106 0
      common/src/main/resources/mapper/base/NewsInfo.xml
  41. 136 0
      common/src/main/resources/mapper/base/PersonInfo.xml
  42. 146 0
      common/src/main/resources/mapper/base/RecruitInformationInfo.xml
  43. 91 0
      common/src/main/resources/mapper/base/RecruitPersonRelation.xml
  44. 106 0
      common/src/main/resources/mapper/base/ShareWorksInfo.xml
  45. 101 0
      common/src/main/resources/mapper/base/TrainingInfo.xml
  46. 228 0
      web/src/main/java/com/jpsoft/employment/modules/base/controller/EnterpriseInfoController.java
  47. 228 0
      web/src/main/java/com/jpsoft/employment/modules/base/controller/JobEnterpriseRelationController.java
  48. 227 0
      web/src/main/java/com/jpsoft/employment/modules/base/controller/JobInformationInfoController.java
  49. 227 0
      web/src/main/java/com/jpsoft/employment/modules/base/controller/NewsInfoController.java
  50. 227 0
      web/src/main/java/com/jpsoft/employment/modules/base/controller/PersonInfoController.java
  51. 227 0
      web/src/main/java/com/jpsoft/employment/modules/base/controller/RecruitInformationInfoController.java
  52. 227 0
      web/src/main/java/com/jpsoft/employment/modules/base/controller/RecruitPersonRelationController.java
  53. 227 0
      web/src/main/java/com/jpsoft/employment/modules/base/controller/ShareWorksInfoController.java
  54. 227 0
      web/src/main/java/com/jpsoft/employment/modules/base/controller/TrainingInfoController.java

+ 18 - 0
common/src/main/java/com/jpsoft/employment/modules/base/dao/EnterpriseInfoDAO.java

@@ -0,0 +1,18 @@
+package com.jpsoft.employment.modules.base.dao;
+
+import java.util.List;
+import org.springframework.stereotype.Repository;
+import com.jpsoft.employment.modules.base.entity.EnterpriseInfo;
+import java.util.Map;
+import com.jpsoft.employment.modules.common.dto.Sort;
+
+@Repository
+public interface EnterpriseInfoDAO {
+	int insert(EnterpriseInfo entity);
+	int update(EnterpriseInfo entity);
+	int exist(String id);
+	EnterpriseInfo get(String id);
+	int delete(String id);
+	List<EnterpriseInfo> list();
+	List<EnterpriseInfo> search(Map<String, Object> searchParams, List<Sort> sortList);
+}

+ 18 - 0
common/src/main/java/com/jpsoft/employment/modules/base/dao/JobEnterpriseRelationDAO.java

@@ -0,0 +1,18 @@
+package com.jpsoft.employment.modules.base.dao;
+
+import java.util.List;
+import org.springframework.stereotype.Repository;
+import com.jpsoft.employment.modules.base.entity.JobEnterpriseRelation;
+import java.util.Map;
+import com.jpsoft.employment.modules.common.dto.Sort;
+
+@Repository
+public interface JobEnterpriseRelationDAO {
+	int insert(JobEnterpriseRelation entity);
+	int update(JobEnterpriseRelation entity);
+	int exist(String id);
+	JobEnterpriseRelation get(String id);
+	int delete(String id);
+	List<JobEnterpriseRelation> list();
+	List<JobEnterpriseRelation> search(Map<String, Object> searchParams, List<Sort> sortList);
+}

+ 18 - 0
common/src/main/java/com/jpsoft/employment/modules/base/dao/JobInformationInfoDAO.java

@@ -0,0 +1,18 @@
+package com.jpsoft.employment.modules.base.dao;
+
+import java.util.List;
+import org.springframework.stereotype.Repository;
+import com.jpsoft.employment.modules.base.entity.JobInformationInfo;
+import java.util.Map;
+import com.jpsoft.employment.modules.common.dto.Sort;
+
+@Repository
+public interface JobInformationInfoDAO {
+	int insert(JobInformationInfo entity);
+	int update(JobInformationInfo entity);
+	int exist(String id);
+	JobInformationInfo get(String id);
+	int delete(String id);
+	List<JobInformationInfo> list();
+	List<JobInformationInfo> search(Map<String, Object> searchParams, List<Sort> sortList);
+}

+ 18 - 0
common/src/main/java/com/jpsoft/employment/modules/base/dao/NewsInfoDAO.java

@@ -0,0 +1,18 @@
+package com.jpsoft.employment.modules.base.dao;
+
+import java.util.List;
+import org.springframework.stereotype.Repository;
+import com.jpsoft.employment.modules.base.entity.NewsInfo;
+import java.util.Map;
+import com.jpsoft.employment.modules.common.dto.Sort;
+
+@Repository
+public interface NewsInfoDAO {
+	int insert(NewsInfo entity);
+	int update(NewsInfo entity);
+	int exist(String id);
+	NewsInfo get(String id);
+	int delete(String id);
+	List<NewsInfo> list();
+	List<NewsInfo> search(Map<String, Object> searchParams, List<Sort> sortList);
+}

+ 18 - 0
common/src/main/java/com/jpsoft/employment/modules/base/dao/PersonInfoDAO.java

@@ -0,0 +1,18 @@
+package com.jpsoft.employment.modules.base.dao;
+
+import java.util.List;
+import org.springframework.stereotype.Repository;
+import com.jpsoft.employment.modules.base.entity.PersonInfo;
+import java.util.Map;
+import com.jpsoft.employment.modules.common.dto.Sort;
+
+@Repository
+public interface PersonInfoDAO {
+	int insert(PersonInfo entity);
+	int update(PersonInfo entity);
+	int exist(String id);
+	PersonInfo get(String id);
+	int delete(String id);
+	List<PersonInfo> list();
+	List<PersonInfo> search(Map<String, Object> searchParams, List<Sort> sortList);
+}

+ 18 - 0
common/src/main/java/com/jpsoft/employment/modules/base/dao/RecruitInformationInfoDAO.java

@@ -0,0 +1,18 @@
+package com.jpsoft.employment.modules.base.dao;
+
+import java.util.List;
+import org.springframework.stereotype.Repository;
+import com.jpsoft.employment.modules.base.entity.RecruitInformationInfo;
+import java.util.Map;
+import com.jpsoft.employment.modules.common.dto.Sort;
+
+@Repository
+public interface RecruitInformationInfoDAO {
+	int insert(RecruitInformationInfo entity);
+	int update(RecruitInformationInfo entity);
+	int exist(String id);
+	RecruitInformationInfo get(String id);
+	int delete(String id);
+	List<RecruitInformationInfo> list();
+	List<RecruitInformationInfo> search(Map<String, Object> searchParams, List<Sort> sortList);
+}

+ 18 - 0
common/src/main/java/com/jpsoft/employment/modules/base/dao/RecruitPersonRelationDAO.java

@@ -0,0 +1,18 @@
+package com.jpsoft.employment.modules.base.dao;
+
+import java.util.List;
+import org.springframework.stereotype.Repository;
+import com.jpsoft.employment.modules.base.entity.RecruitPersonRelation;
+import java.util.Map;
+import com.jpsoft.employment.modules.common.dto.Sort;
+
+@Repository
+public interface RecruitPersonRelationDAO {
+	int insert(RecruitPersonRelation entity);
+	int update(RecruitPersonRelation entity);
+	int exist(String id);
+	RecruitPersonRelation get(String id);
+	int delete(String id);
+	List<RecruitPersonRelation> list();
+	List<RecruitPersonRelation> search(Map<String, Object> searchParams, List<Sort> sortList);
+}

+ 18 - 0
common/src/main/java/com/jpsoft/employment/modules/base/dao/ShareWorksInfoDAO.java

@@ -0,0 +1,18 @@
+package com.jpsoft.employment.modules.base.dao;
+
+import java.util.List;
+import org.springframework.stereotype.Repository;
+import com.jpsoft.employment.modules.base.entity.ShareWorksInfo;
+import java.util.Map;
+import com.jpsoft.employment.modules.common.dto.Sort;
+
+@Repository
+public interface ShareWorksInfoDAO {
+	int insert(ShareWorksInfo entity);
+	int update(ShareWorksInfo entity);
+	int exist(String id);
+	ShareWorksInfo get(String id);
+	int delete(String id);
+	List<ShareWorksInfo> list();
+	List<ShareWorksInfo> search(Map<String, Object> searchParams, List<Sort> sortList);
+}

+ 18 - 0
common/src/main/java/com/jpsoft/employment/modules/base/dao/TrainingInfoDAO.java

@@ -0,0 +1,18 @@
+package com.jpsoft.employment.modules.base.dao;
+
+import java.util.List;
+import org.springframework.stereotype.Repository;
+import com.jpsoft.employment.modules.base.entity.TrainingInfo;
+import java.util.Map;
+import com.jpsoft.employment.modules.common.dto.Sort;
+
+@Repository
+public interface TrainingInfoDAO {
+	int insert(TrainingInfo entity);
+	int update(TrainingInfo entity);
+	int exist(String id);
+	TrainingInfo get(String id);
+	int delete(String id);
+	List<TrainingInfo> list();
+	List<TrainingInfo> search(Map<String, Object> searchParams, List<Sort> sortList);
+}

+ 145 - 0
common/src/main/java/com/jpsoft/employment/modules/base/entity/EnterpriseInfo.java

@@ -0,0 +1,145 @@
+package com.jpsoft.employment.modules.base.entity;
+
+import java.io.Serializable;
+import java.util.Date;
+import java.text.SimpleDateFormat;
+import java.math.BigDecimal;
+import org.springframework.format.annotation.DateTimeFormat;
+import com.fasterxml.jackson.annotation.JsonFormat;
+
+/**
+  描述:base_enterprise_info的实体类
+ */
+public class EnterpriseInfo {
+	private String id;
+	private String name;
+	private String licenseImage;
+	private String status;
+	private String createBy;
+	private Date createTime;
+	private String updateBy;
+	private Date updateTime;
+	private Boolean delFlag;
+	
+		/**
+	 *获取ID
+	 */
+	public String getId(){
+		return id;
+	}
+	
+	/**
+	 *设置ID
+	 */
+	public void setId(String id){
+		this.id = id;
+	}
+		/**
+	 *获取企业名称
+	 */
+	public String getName(){
+		return name;
+	}
+	
+	/**
+	 *设置企业名称
+	 */
+	public void setName(String name){
+		this.name = name;
+	}
+		/**
+	 *获取营业执照图片
+	 */
+	public String getLicenseImage(){
+		return licenseImage;
+	}
+	
+	/**
+	 *设置营业执照图片
+	 */
+	public void setLicenseImage(String licenseImage){
+		this.licenseImage = licenseImage;
+	}
+		/**
+	 *获取认证状态
+	 */
+	public String getStatus(){
+		return status;
+	}
+	
+	/**
+	 *设置认证状态
+	 */
+	public void setStatus(String status){
+		this.status = status;
+	}
+		/**
+	 *获取创建人
+	 */
+	public String getCreateBy(){
+		return createBy;
+	}
+	
+	/**
+	 *设置创建人
+	 */
+	public void setCreateBy(String createBy){
+		this.createBy = createBy;
+	}
+		@DateTimeFormat(pattern="yyyy-MM-dd HH:mm")
+	@JsonFormat(pattern = "yyyy-MM-dd HH:mm")
+		/**
+	 *获取创建时间
+	 */
+	public Date getCreateTime(){
+		return createTime;
+	}
+	
+	/**
+	 *设置创建时间
+	 */
+	public void setCreateTime(Date createTime){
+		this.createTime = createTime;
+	}
+		/**
+	 *获取更新人
+	 */
+	public String getUpdateBy(){
+		return updateBy;
+	}
+	
+	/**
+	 *设置更新人
+	 */
+	public void setUpdateBy(String updateBy){
+		this.updateBy = updateBy;
+	}
+		@DateTimeFormat(pattern="yyyy-MM-dd HH:mm")
+	@JsonFormat(pattern = "yyyy-MM-dd HH:mm")
+		/**
+	 *获取更新时间
+	 */
+	public Date getUpdateTime(){
+		return updateTime;
+	}
+	
+	/**
+	 *设置更新时间
+	 */
+	public void setUpdateTime(Date updateTime){
+		this.updateTime = updateTime;
+	}
+		/**
+	 *获取是否删除
+	 */
+	public Boolean getDelFlag(){
+		return delFlag;
+	}
+	
+	/**
+	 *设置是否删除
+	 */
+	public void setDelFlag(Boolean delFlag){
+		this.delFlag = delFlag;
+	}
+}

+ 131 - 0
common/src/main/java/com/jpsoft/employment/modules/base/entity/JobEnterpriseRelation.java

@@ -0,0 +1,131 @@
+package com.jpsoft.employment.modules.base.entity;
+
+import java.io.Serializable;
+import java.util.Date;
+import java.text.SimpleDateFormat;
+import java.math.BigDecimal;
+import org.springframework.format.annotation.DateTimeFormat;
+import com.fasterxml.jackson.annotation.JsonFormat;
+
+/**
+  描述:base_job_enterprise_relation的实体类
+ */
+public class JobEnterpriseRelation {
+	private String id;
+	private String jobInformationId;
+	private String enterpriseId;
+	private String createBy;
+	private Date createTime;
+	private String updateBy;
+	private Date updateTime;
+	private Boolean delFlag;
+	
+		/**
+	 *获取ID
+	 */
+	public String getId(){
+		return id;
+	}
+	
+	/**
+	 *设置ID
+	 */
+	public void setId(String id){
+		this.id = id;
+	}
+		/**
+	 *获取求职信息ID
+	 */
+	public String getJobInformationId(){
+		return jobInformationId;
+	}
+	
+	/**
+	 *设置求职信息ID
+	 */
+	public void setJobInformationId(String jobInformationId){
+		this.jobInformationId = jobInformationId;
+	}
+		/**
+	 *获取企业ID
+	 */
+	public String getEnterpriseId(){
+		return enterpriseId;
+	}
+	
+	/**
+	 *设置企业ID
+	 */
+	public void setEnterpriseId(String enterpriseId){
+		this.enterpriseId = enterpriseId;
+	}
+		/**
+	 *获取创建人
+	 */
+	public String getCreateBy(){
+		return createBy;
+	}
+	
+	/**
+	 *设置创建人
+	 */
+	public void setCreateBy(String createBy){
+		this.createBy = createBy;
+	}
+		@DateTimeFormat(pattern="yyyy-MM-dd HH:mm")
+	@JsonFormat(pattern = "yyyy-MM-dd HH:mm")
+		/**
+	 *获取创建时间
+	 */
+	public Date getCreateTime(){
+		return createTime;
+	}
+	
+	/**
+	 *设置创建时间
+	 */
+	public void setCreateTime(Date createTime){
+		this.createTime = createTime;
+	}
+		/**
+	 *获取更新人
+	 */
+	public String getUpdateBy(){
+		return updateBy;
+	}
+	
+	/**
+	 *设置更新人
+	 */
+	public void setUpdateBy(String updateBy){
+		this.updateBy = updateBy;
+	}
+		@DateTimeFormat(pattern="yyyy-MM-dd HH:mm")
+	@JsonFormat(pattern = "yyyy-MM-dd HH:mm")
+		/**
+	 *获取更新时间
+	 */
+	public Date getUpdateTime(){
+		return updateTime;
+	}
+	
+	/**
+	 *设置更新时间
+	 */
+	public void setUpdateTime(Date updateTime){
+		this.updateTime = updateTime;
+	}
+		/**
+	 *获取是否删除
+	 */
+	public Boolean getDelFlag(){
+		return delFlag;
+	}
+	
+	/**
+	 *设置是否删除
+	 */
+	public void setDelFlag(Boolean delFlag){
+		this.delFlag = delFlag;
+	}
+}

+ 33 - 0
common/src/main/java/com/jpsoft/employment/modules/base/entity/JobInformationInfo.java

@@ -0,0 +1,33 @@
+package com.jpsoft.employment.modules.base.entity;
+
+import java.io.Serializable;
+import java.util.Date;
+import java.text.SimpleDateFormat;
+import java.math.BigDecimal;
+
+import lombok.Data;
+import org.springframework.format.annotation.DateTimeFormat;
+import com.fasterxml.jackson.annotation.JsonFormat;
+
+/**
+  描述:base_job_information_info的实体类
+ */
+@Data
+public class JobInformationInfo {
+	private String id;
+	private String personId;
+	private String photo;
+	private String serviceDesc;
+	private String intendedIndustries;
+	private String intendedPosition;
+	private Integer hopeSalary;
+	private String method;
+	private Integer workExperience;
+	private String education;
+	private String status;
+	private String createBy;
+	private Date createTime;
+	private String updateBy;
+	private Date updateTime;
+	private Boolean delFlag;
+}

+ 173 - 0
common/src/main/java/com/jpsoft/employment/modules/base/entity/NewsInfo.java

@@ -0,0 +1,173 @@
+package com.jpsoft.employment.modules.base.entity;
+
+import java.io.Serializable;
+import java.util.Date;
+import java.text.SimpleDateFormat;
+import java.math.BigDecimal;
+import org.springframework.format.annotation.DateTimeFormat;
+import com.fasterxml.jackson.annotation.JsonFormat;
+
+/**
+  描述:base_news_info的实体类
+ */
+public class NewsInfo {
+	private String id;
+	private String title;
+	private String category;
+	private String content;
+	private Integer browseNumber;
+	private String thumbnailImage;
+	private String createBy;
+	private Date createTime;
+	private String updateBy;
+	private Date updateTime;
+	private Boolean delFlag;
+	
+		/**
+	 *获取ID
+	 */
+	public String getId(){
+		return id;
+	}
+	
+	/**
+	 *设置ID
+	 */
+	public void setId(String id){
+		this.id = id;
+	}
+		/**
+	 *获取标题
+	 */
+	public String getTitle(){
+		return title;
+	}
+	
+	/**
+	 *设置标题
+	 */
+	public void setTitle(String title){
+		this.title = title;
+	}
+		/**
+	 *获取新闻分类
+	 */
+	public String getCategory(){
+		return category;
+	}
+	
+	/**
+	 *设置新闻分类
+	 */
+	public void setCategory(String category){
+		this.category = category;
+	}
+		/**
+	 *获取内容
+	 */
+	public String getContent(){
+		return content;
+	}
+	
+	/**
+	 *设置内容
+	 */
+	public void setContent(String content){
+		this.content = content;
+	}
+		/**
+	 *获取浏览次数
+	 */
+	public Integer getBrowseNumber(){
+		return browseNumber;
+	}
+	
+	/**
+	 *设置浏览次数
+	 */
+	public void setBrowseNumber(Integer browseNumber){
+		this.browseNumber = browseNumber;
+	}
+		/**
+	 *获取缩略图
+	 */
+	public String getThumbnailImage(){
+		return thumbnailImage;
+	}
+	
+	/**
+	 *设置缩略图
+	 */
+	public void setThumbnailImage(String thumbnailImage){
+		this.thumbnailImage = thumbnailImage;
+	}
+		/**
+	 *获取创建人
+	 */
+	public String getCreateBy(){
+		return createBy;
+	}
+	
+	/**
+	 *设置创建人
+	 */
+	public void setCreateBy(String createBy){
+		this.createBy = createBy;
+	}
+		@DateTimeFormat(pattern="yyyy-MM-dd HH:mm")
+	@JsonFormat(pattern = "yyyy-MM-dd HH:mm")
+		/**
+	 *获取创建时间
+	 */
+	public Date getCreateTime(){
+		return createTime;
+	}
+	
+	/**
+	 *设置创建时间
+	 */
+	public void setCreateTime(Date createTime){
+		this.createTime = createTime;
+	}
+		/**
+	 *获取更新人
+	 */
+	public String getUpdateBy(){
+		return updateBy;
+	}
+	
+	/**
+	 *设置更新人
+	 */
+	public void setUpdateBy(String updateBy){
+		this.updateBy = updateBy;
+	}
+		@DateTimeFormat(pattern="yyyy-MM-dd HH:mm")
+	@JsonFormat(pattern = "yyyy-MM-dd HH:mm")
+		/**
+	 *获取更新时间
+	 */
+	public Date getUpdateTime(){
+		return updateTime;
+	}
+	
+	/**
+	 *设置更新时间
+	 */
+	public void setUpdateTime(Date updateTime){
+		this.updateTime = updateTime;
+	}
+		/**
+	 *获取是否删除
+	 */
+	public Boolean getDelFlag(){
+		return delFlag;
+	}
+	
+	/**
+	 *设置是否删除
+	 */
+	public void setDelFlag(Boolean delFlag){
+		this.delFlag = delFlag;
+	}
+}

+ 257 - 0
common/src/main/java/com/jpsoft/employment/modules/base/entity/PersonInfo.java

@@ -0,0 +1,257 @@
+package com.jpsoft.employment.modules.base.entity;
+
+import java.io.Serializable;
+import java.util.Date;
+import java.text.SimpleDateFormat;
+import java.math.BigDecimal;
+import org.springframework.format.annotation.DateTimeFormat;
+import com.fasterxml.jackson.annotation.JsonFormat;
+
+/**
+  描述:base_person_info的实体类
+ */
+public class PersonInfo {
+	private String id;
+	private String userName;
+	private String password;
+	private String realName;
+	private String phone;
+	private String idCard;
+	private String openId;
+	private String photo;
+	private String gender;
+	private Integer age;
+	private String companyId;
+	private String status;
+	private String createBy;
+	private Date createTime;
+	private String updateBy;
+	private Date updateTime;
+	private Boolean delFlag;
+	
+		/**
+	 *获取ID
+	 */
+	public String getId(){
+		return id;
+	}
+	
+	/**
+	 *设置ID
+	 */
+	public void setId(String id){
+		this.id = id;
+	}
+		/**
+	 *获取用户名
+	 */
+	public String getUserName(){
+		return userName;
+	}
+	
+	/**
+	 *设置用户名
+	 */
+	public void setUserName(String userName){
+		this.userName = userName;
+	}
+		/**
+	 *获取密码
+	 */
+	public String getPassword(){
+		return password;
+	}
+	
+	/**
+	 *设置密码
+	 */
+	public void setPassword(String password){
+		this.password = password;
+	}
+		/**
+	 *获取真实姓名
+	 */
+	public String getRealName(){
+		return realName;
+	}
+	
+	/**
+	 *设置真实姓名
+	 */
+	public void setRealName(String realName){
+		this.realName = realName;
+	}
+		/**
+	 *获取手机号码
+	 */
+	public String getPhone(){
+		return phone;
+	}
+	
+	/**
+	 *设置手机号码
+	 */
+	public void setPhone(String phone){
+		this.phone = phone;
+	}
+		/**
+	 *获取身份证号
+	 */
+	public String getIdCard(){
+		return idCard;
+	}
+	
+	/**
+	 *设置身份证号
+	 */
+	public void setIdCard(String idCard){
+		this.idCard = idCard;
+	}
+		/**
+	 *获取微信openId
+	 */
+	public String getOpenId(){
+		return openId;
+	}
+	
+	/**
+	 *设置微信openId
+	 */
+	public void setOpenId(String openId){
+		this.openId = openId;
+	}
+		/**
+	 *获取照片
+	 */
+	public String getPhoto(){
+		return photo;
+	}
+	
+	/**
+	 *设置照片
+	 */
+	public void setPhoto(String photo){
+		this.photo = photo;
+	}
+		/**
+	 *获取性别(0:男,1:女)
+	 */
+	public String getGender(){
+		return gender;
+	}
+	
+	/**
+	 *设置性别(0:男,1:女)
+	 */
+	public void setGender(String gender){
+		this.gender = gender;
+	}
+		/**
+	 *获取年龄
+	 */
+	public Integer getAge(){
+		return age;
+	}
+	
+	/**
+	 *设置年龄
+	 */
+	public void setAge(Integer age){
+		this.age = age;
+	}
+		/**
+	 *获取关联公司
+	 */
+	public String getCompanyId(){
+		return companyId;
+	}
+	
+	/**
+	 *设置关联公司
+	 */
+	public void setCompanyId(String companyId){
+		this.companyId = companyId;
+	}
+		/**
+	 *获取认证状态
+	 */
+	public String getStatus(){
+		return status;
+	}
+	
+	/**
+	 *设置认证状态
+	 */
+	public void setStatus(String status){
+		this.status = status;
+	}
+		/**
+	 *获取创建人
+	 */
+	public String getCreateBy(){
+		return createBy;
+	}
+	
+	/**
+	 *设置创建人
+	 */
+	public void setCreateBy(String createBy){
+		this.createBy = createBy;
+	}
+		@DateTimeFormat(pattern="yyyy-MM-dd HH:mm")
+	@JsonFormat(pattern = "yyyy-MM-dd HH:mm")
+		/**
+	 *获取创建时间
+	 */
+	public Date getCreateTime(){
+		return createTime;
+	}
+	
+	/**
+	 *设置创建时间
+	 */
+	public void setCreateTime(Date createTime){
+		this.createTime = createTime;
+	}
+		/**
+	 *获取更新人
+	 */
+	public String getUpdateBy(){
+		return updateBy;
+	}
+	
+	/**
+	 *设置更新人
+	 */
+	public void setUpdateBy(String updateBy){
+		this.updateBy = updateBy;
+	}
+		@DateTimeFormat(pattern="yyyy-MM-dd HH:mm")
+	@JsonFormat(pattern = "yyyy-MM-dd HH:mm")
+		/**
+	 *获取更新时间
+	 */
+	public Date getUpdateTime(){
+		return updateTime;
+	}
+	
+	/**
+	 *设置更新时间
+	 */
+	public void setUpdateTime(Date updateTime){
+		this.updateTime = updateTime;
+	}
+		/**
+	 *获取是否删除
+	 */
+	public Boolean getDelFlag(){
+		return delFlag;
+	}
+	
+	/**
+	 *设置是否删除
+	 */
+	public void setDelFlag(Boolean delFlag){
+		this.delFlag = delFlag;
+	}
+}

+ 285 - 0
common/src/main/java/com/jpsoft/employment/modules/base/entity/RecruitInformationInfo.java

@@ -0,0 +1,285 @@
+package com.jpsoft.employment.modules.base.entity;
+
+import java.io.Serializable;
+import java.util.Date;
+import java.text.SimpleDateFormat;
+import java.math.BigDecimal;
+import org.springframework.format.annotation.DateTimeFormat;
+import com.fasterxml.jackson.annotation.JsonFormat;
+
+/**
+  描述:base_recruit_information_info的实体类
+ */
+public class RecruitInformationInfo {
+	private String id;
+	private String enterpriseId;
+	private String positionName;
+	private String salary;
+	private String settlementMethod;
+	private String industry;
+	private String recruitingNumbers;
+	private String desc;
+	private String contacts;
+	private String contactsPhone;
+	private String workArea;
+	private String address;
+	private Integer browseNumber;
+	private String status;
+	private String createBy;
+	private Date createTime;
+	private String updateBy;
+	private Date updateTime;
+	private Boolean delFlag;
+	
+		/**
+	 *获取ID
+	 */
+	public String getId(){
+		return id;
+	}
+	
+	/**
+	 *设置ID
+	 */
+	public void setId(String id){
+		this.id = id;
+	}
+		/**
+	 *获取发布企业ID
+	 */
+	public String getEnterpriseId(){
+		return enterpriseId;
+	}
+	
+	/**
+	 *设置发布企业ID
+	 */
+	public void setEnterpriseId(String enterpriseId){
+		this.enterpriseId = enterpriseId;
+	}
+		/**
+	 *获取职位名称
+	 */
+	public String getPositionName(){
+		return positionName;
+	}
+	
+	/**
+	 *设置职位名称
+	 */
+	public void setPositionName(String positionName){
+		this.positionName = positionName;
+	}
+		/**
+	 *获取薪资待遇
+	 */
+	public String getSalary(){
+		return salary;
+	}
+	
+	/**
+	 *设置薪资待遇
+	 */
+	public void setSalary(String salary){
+		this.salary = salary;
+	}
+		/**
+	 *获取结算方式
+	 */
+	public String getSettlementMethod(){
+		return settlementMethod;
+	}
+	
+	/**
+	 *设置结算方式
+	 */
+	public void setSettlementMethod(String settlementMethod){
+		this.settlementMethod = settlementMethod;
+	}
+		/**
+	 *获取行业
+	 */
+	public String getIndustry(){
+		return industry;
+	}
+	
+	/**
+	 *设置行业
+	 */
+	public void setIndustry(String industry){
+		this.industry = industry;
+	}
+		/**
+	 *获取招聘人数
+	 */
+	public String getRecruitingNumbers(){
+		return recruitingNumbers;
+	}
+	
+	/**
+	 *设置招聘人数
+	 */
+	public void setRecruitingNumbers(String recruitingNumbers){
+		this.recruitingNumbers = recruitingNumbers;
+	}
+		/**
+	 *获取工作描述
+	 */
+	public String getDesc(){
+		return desc;
+	}
+	
+	/**
+	 *设置工作描述
+	 */
+	public void setDesc(String desc){
+		this.desc = desc;
+	}
+		/**
+	 *获取联系人
+	 */
+	public String getContacts(){
+		return contacts;
+	}
+	
+	/**
+	 *设置联系人
+	 */
+	public void setContacts(String contacts){
+		this.contacts = contacts;
+	}
+		/**
+	 *获取联系电话
+	 */
+	public String getContactsPhone(){
+		return contactsPhone;
+	}
+	
+	/**
+	 *设置联系电话
+	 */
+	public void setContactsPhone(String contactsPhone){
+		this.contactsPhone = contactsPhone;
+	}
+		/**
+	 *获取工作地区
+	 */
+	public String getWorkArea(){
+		return workArea;
+	}
+	
+	/**
+	 *设置工作地区
+	 */
+	public void setWorkArea(String workArea){
+		this.workArea = workArea;
+	}
+		/**
+	 *获取详细地址
+	 */
+	public String getAddress(){
+		return address;
+	}
+	
+	/**
+	 *设置详细地址
+	 */
+	public void setAddress(String address){
+		this.address = address;
+	}
+		/**
+	 *获取浏览次数
+	 */
+	public Integer getBrowseNumber(){
+		return browseNumber;
+	}
+	
+	/**
+	 *设置浏览次数
+	 */
+	public void setBrowseNumber(Integer browseNumber){
+		this.browseNumber = browseNumber;
+	}
+		/**
+	 *获取审核状态
+	 */
+	public String getStatus(){
+		return status;
+	}
+	
+	/**
+	 *设置审核状态
+	 */
+	public void setStatus(String status){
+		this.status = status;
+	}
+		/**
+	 *获取创建人
+	 */
+	public String getCreateBy(){
+		return createBy;
+	}
+	
+	/**
+	 *设置创建人
+	 */
+	public void setCreateBy(String createBy){
+		this.createBy = createBy;
+	}
+		@DateTimeFormat(pattern="yyyy-MM-dd HH:mm")
+	@JsonFormat(pattern = "yyyy-MM-dd HH:mm")
+		/**
+	 *获取创建时间
+	 */
+	public Date getCreateTime(){
+		return createTime;
+	}
+	
+	/**
+	 *设置创建时间
+	 */
+	public void setCreateTime(Date createTime){
+		this.createTime = createTime;
+	}
+		/**
+	 *获取更新人
+	 */
+	public String getUpdateBy(){
+		return updateBy;
+	}
+	
+	/**
+	 *设置更新人
+	 */
+	public void setUpdateBy(String updateBy){
+		this.updateBy = updateBy;
+	}
+		@DateTimeFormat(pattern="yyyy-MM-dd HH:mm")
+	@JsonFormat(pattern = "yyyy-MM-dd HH:mm")
+		/**
+	 *获取更新时间
+	 */
+	public Date getUpdateTime(){
+		return updateTime;
+	}
+	
+	/**
+	 *设置更新时间
+	 */
+	public void setUpdateTime(Date updateTime){
+		this.updateTime = updateTime;
+	}
+		/**
+	 *获取是否删除
+	 */
+	public Boolean getDelFlag(){
+		return delFlag;
+	}
+	
+	/**
+	 *设置是否删除
+	 */
+	public void setDelFlag(Boolean delFlag){
+		this.delFlag = delFlag;
+	}
+}

+ 131 - 0
common/src/main/java/com/jpsoft/employment/modules/base/entity/RecruitPersonRelation.java

@@ -0,0 +1,131 @@
+package com.jpsoft.employment.modules.base.entity;
+
+import java.io.Serializable;
+import java.util.Date;
+import java.text.SimpleDateFormat;
+import java.math.BigDecimal;
+import org.springframework.format.annotation.DateTimeFormat;
+import com.fasterxml.jackson.annotation.JsonFormat;
+
+/**
+  描述:base_recruit_person_relation的实体类
+ */
+public class RecruitPersonRelation {
+	private String id;
+	private String workPersonId;
+	private String recruitInformationId;
+	private String createBy;
+	private Date createTime;
+	private String updateBy;
+	private Date updateTime;
+	private Boolean delFlag;
+	
+		/**
+	 *获取ID
+	 */
+	public String getId(){
+		return id;
+	}
+	
+	/**
+	 *设置ID
+	 */
+	public void setId(String id){
+		this.id = id;
+	}
+		/**
+	 *获取求职人员ID
+	 */
+	public String getWorkPersonId(){
+		return workPersonId;
+	}
+	
+	/**
+	 *设置求职人员ID
+	 */
+	public void setWorkPersonId(String workPersonId){
+		this.workPersonId = workPersonId;
+	}
+		/**
+	 *获取招聘信息ID
+	 */
+	public String getRecruitInformationId(){
+		return recruitInformationId;
+	}
+	
+	/**
+	 *设置招聘信息ID
+	 */
+	public void setRecruitInformationId(String recruitInformationId){
+		this.recruitInformationId = recruitInformationId;
+	}
+		/**
+	 *获取创建人
+	 */
+	public String getCreateBy(){
+		return createBy;
+	}
+	
+	/**
+	 *设置创建人
+	 */
+	public void setCreateBy(String createBy){
+		this.createBy = createBy;
+	}
+		@DateTimeFormat(pattern="yyyy-MM-dd HH:mm")
+	@JsonFormat(pattern = "yyyy-MM-dd HH:mm")
+		/**
+	 *获取创建时间
+	 */
+	public Date getCreateTime(){
+		return createTime;
+	}
+	
+	/**
+	 *设置创建时间
+	 */
+	public void setCreateTime(Date createTime){
+		this.createTime = createTime;
+	}
+		/**
+	 *获取更新人
+	 */
+	public String getUpdateBy(){
+		return updateBy;
+	}
+	
+	/**
+	 *设置更新人
+	 */
+	public void setUpdateBy(String updateBy){
+		this.updateBy = updateBy;
+	}
+		@DateTimeFormat(pattern="yyyy-MM-dd HH:mm")
+	@JsonFormat(pattern = "yyyy-MM-dd HH:mm")
+		/**
+	 *获取更新时间
+	 */
+	public Date getUpdateTime(){
+		return updateTime;
+	}
+	
+	/**
+	 *设置更新时间
+	 */
+	public void setUpdateTime(Date updateTime){
+		this.updateTime = updateTime;
+	}
+		/**
+	 *获取是否删除
+	 */
+	public Boolean getDelFlag(){
+		return delFlag;
+	}
+	
+	/**
+	 *设置是否删除
+	 */
+	public void setDelFlag(Boolean delFlag){
+		this.delFlag = delFlag;
+	}
+}

+ 173 - 0
common/src/main/java/com/jpsoft/employment/modules/base/entity/ShareWorksInfo.java

@@ -0,0 +1,173 @@
+package com.jpsoft.employment.modules.base.entity;
+
+import java.io.Serializable;
+import java.util.Date;
+import java.text.SimpleDateFormat;
+import java.math.BigDecimal;
+import org.springframework.format.annotation.DateTimeFormat;
+import com.fasterxml.jackson.annotation.JsonFormat;
+
+/**
+  描述:base_share_works_info的实体类
+ */
+public class ShareWorksInfo {
+	private String id;
+	private String type;
+	private String status;
+	private String title;
+	private String content;
+	private String author;
+	private String createBy;
+	private Date createTime;
+	private String updateBy;
+	private Date updateTime;
+	private Boolean delFlag;
+	
+		/**
+	 *获取ID
+	 */
+	public String getId(){
+		return id;
+	}
+	
+	/**
+	 *设置ID
+	 */
+	public void setId(String id){
+		this.id = id;
+	}
+		/**
+	 *获取信息类型
+	 */
+	public String getType(){
+		return type;
+	}
+	
+	/**
+	 *设置信息类型
+	 */
+	public void setType(String type){
+		this.type = type;
+	}
+		/**
+	 *获取状态
+	 */
+	public String getStatus(){
+		return status;
+	}
+	
+	/**
+	 *设置状态
+	 */
+	public void setStatus(String status){
+		this.status = status;
+	}
+		/**
+	 *获取标题
+	 */
+	public String getTitle(){
+		return title;
+	}
+	
+	/**
+	 *设置标题
+	 */
+	public void setTitle(String title){
+		this.title = title;
+	}
+		/**
+	 *获取内容
+	 */
+	public String getContent(){
+		return content;
+	}
+	
+	/**
+	 *设置内容
+	 */
+	public void setContent(String content){
+		this.content = content;
+	}
+		/**
+	 *获取作者
+	 */
+	public String getAuthor(){
+		return author;
+	}
+	
+	/**
+	 *设置作者
+	 */
+	public void setAuthor(String author){
+		this.author = author;
+	}
+		/**
+	 *获取创建人
+	 */
+	public String getCreateBy(){
+		return createBy;
+	}
+	
+	/**
+	 *设置创建人
+	 */
+	public void setCreateBy(String createBy){
+		this.createBy = createBy;
+	}
+		@DateTimeFormat(pattern="yyyy-MM-dd HH:mm")
+	@JsonFormat(pattern = "yyyy-MM-dd HH:mm")
+		/**
+	 *获取创建时间
+	 */
+	public Date getCreateTime(){
+		return createTime;
+	}
+	
+	/**
+	 *设置创建时间
+	 */
+	public void setCreateTime(Date createTime){
+		this.createTime = createTime;
+	}
+		/**
+	 *获取更新人
+	 */
+	public String getUpdateBy(){
+		return updateBy;
+	}
+	
+	/**
+	 *设置更新人
+	 */
+	public void setUpdateBy(String updateBy){
+		this.updateBy = updateBy;
+	}
+		@DateTimeFormat(pattern="yyyy-MM-dd HH:mm")
+	@JsonFormat(pattern = "yyyy-MM-dd HH:mm")
+		/**
+	 *获取更新时间
+	 */
+	public Date getUpdateTime(){
+		return updateTime;
+	}
+	
+	/**
+	 *设置更新时间
+	 */
+	public void setUpdateTime(Date updateTime){
+		this.updateTime = updateTime;
+	}
+		/**
+	 *获取是否删除
+	 */
+	public Boolean getDelFlag(){
+		return delFlag;
+	}
+	
+	/**
+	 *设置是否删除
+	 */
+	public void setDelFlag(Boolean delFlag){
+		this.delFlag = delFlag;
+	}
+}

+ 159 - 0
common/src/main/java/com/jpsoft/employment/modules/base/entity/TrainingInfo.java

@@ -0,0 +1,159 @@
+package com.jpsoft.employment.modules.base.entity;
+
+import java.io.Serializable;
+import java.util.Date;
+import java.text.SimpleDateFormat;
+import java.math.BigDecimal;
+import org.springframework.format.annotation.DateTimeFormat;
+import com.fasterxml.jackson.annotation.JsonFormat;
+
+/**
+  描述:base_training_info的实体类
+ */
+public class TrainingInfo {
+	private String id;
+	private String name;
+	private String title;
+	private String content;
+	private String file;
+	private String createBy;
+	private Date createTime;
+	private String updateBy;
+	private Date updateTime;
+	private Boolean delFlag;
+	
+		/**
+	 *获取ID
+	 */
+	public String getId(){
+		return id;
+	}
+	
+	/**
+	 *设置ID
+	 */
+	public void setId(String id){
+		this.id = id;
+	}
+		/**
+	 *获取培训名称
+	 */
+	public String getName(){
+		return name;
+	}
+	
+	/**
+	 *设置培训名称
+	 */
+	public void setName(String name){
+		this.name = name;
+	}
+		/**
+	 *获取培训信息标题
+	 */
+	public String getTitle(){
+		return title;
+	}
+	
+	/**
+	 *设置培训信息标题
+	 */
+	public void setTitle(String title){
+		this.title = title;
+	}
+		/**
+	 *获取培训信息内容
+	 */
+	public String getContent(){
+		return content;
+	}
+	
+	/**
+	 *设置培训信息内容
+	 */
+	public void setContent(String content){
+		this.content = content;
+	}
+		/**
+	 *获取配置资料
+	 */
+	public String getFile(){
+		return file;
+	}
+	
+	/**
+	 *设置配置资料
+	 */
+	public void setFile(String file){
+		this.file = file;
+	}
+		/**
+	 *获取创建人
+	 */
+	public String getCreateBy(){
+		return createBy;
+	}
+	
+	/**
+	 *设置创建人
+	 */
+	public void setCreateBy(String createBy){
+		this.createBy = createBy;
+	}
+		@DateTimeFormat(pattern="yyyy-MM-dd HH:mm")
+	@JsonFormat(pattern = "yyyy-MM-dd HH:mm")
+		/**
+	 *获取创建时间
+	 */
+	public Date getCreateTime(){
+		return createTime;
+	}
+	
+	/**
+	 *设置创建时间
+	 */
+	public void setCreateTime(Date createTime){
+		this.createTime = createTime;
+	}
+		/**
+	 *获取更新人
+	 */
+	public String getUpdateBy(){
+		return updateBy;
+	}
+	
+	/**
+	 *设置更新人
+	 */
+	public void setUpdateBy(String updateBy){
+		this.updateBy = updateBy;
+	}
+		@DateTimeFormat(pattern="yyyy-MM-dd HH:mm")
+	@JsonFormat(pattern = "yyyy-MM-dd HH:mm")
+		/**
+	 *获取更新时间
+	 */
+	public Date getUpdateTime(){
+		return updateTime;
+	}
+	
+	/**
+	 *设置更新时间
+	 */
+	public void setUpdateTime(Date updateTime){
+		this.updateTime = updateTime;
+	}
+		/**
+	 *获取是否删除
+	 */
+	public Boolean getDelFlag(){
+		return delFlag;
+	}
+	
+	/**
+	 *设置是否删除
+	 */
+	public void setDelFlag(Boolean delFlag){
+		this.delFlag = delFlag;
+	}
+}

+ 17 - 0
common/src/main/java/com/jpsoft/employment/modules/base/service/EnterpriseInfoService.java

@@ -0,0 +1,17 @@
+package com.jpsoft.employment.modules.base.service;
+
+import java.util.List;
+import java.util.Map;
+import com.jpsoft.employment.modules.base.entity.EnterpriseInfo;
+import com.github.pagehelper.Page;
+import com.jpsoft.employment.modules.common.dto.Sort;
+
+public interface EnterpriseInfoService {
+	EnterpriseInfo get(String id);
+	boolean exist(String id);
+	int insert(EnterpriseInfo model);
+	int update(EnterpriseInfo model);
+	int delete(String id);
+	List<EnterpriseInfo> list();
+	Page<EnterpriseInfo> pageSearch(Map<String, Object> searchParams, int pageNum, int pageSize, boolean count, List<Sort> sortList);
+}

+ 17 - 0
common/src/main/java/com/jpsoft/employment/modules/base/service/JobEnterpriseRelationService.java

@@ -0,0 +1,17 @@
+package com.jpsoft.employment.modules.base.service;
+
+import java.util.List;
+import java.util.Map;
+import com.jpsoft.employment.modules.base.entity.JobEnterpriseRelation;
+import com.github.pagehelper.Page;
+import com.jpsoft.employment.modules.common.dto.Sort;
+
+public interface JobEnterpriseRelationService {
+	JobEnterpriseRelation get(String id);
+	boolean exist(String id);
+	int insert(JobEnterpriseRelation model);
+	int update(JobEnterpriseRelation model);
+	int delete(String id);
+	List<JobEnterpriseRelation> list();
+	Page<JobEnterpriseRelation> pageSearch(Map<String, Object> searchParams, int pageNum, int pageSize, boolean count, List<Sort> sortList);
+}

+ 17 - 0
common/src/main/java/com/jpsoft/employment/modules/base/service/JobInformationInfoService.java

@@ -0,0 +1,17 @@
+package com.jpsoft.employment.modules.base.service;
+
+import java.util.List;
+import java.util.Map;
+import com.jpsoft.employment.modules.base.entity.JobInformationInfo;
+import com.github.pagehelper.Page;
+import com.jpsoft.employment.modules.common.dto.Sort;
+
+public interface JobInformationInfoService {
+	JobInformationInfo get(String id);
+	boolean exist(String id);
+	int insert(JobInformationInfo model);
+	int update(JobInformationInfo model);
+	int delete(String id);
+	List<JobInformationInfo> list();
+	Page<JobInformationInfo> pageSearch(Map<String, Object> searchParams, int pageNum, int pageSize, boolean count, List<Sort> sortList);
+}

+ 17 - 0
common/src/main/java/com/jpsoft/employment/modules/base/service/NewsInfoService.java

@@ -0,0 +1,17 @@
+package com.jpsoft.employment.modules.base.service;
+
+import java.util.List;
+import java.util.Map;
+import com.jpsoft.employment.modules.base.entity.NewsInfo;
+import com.github.pagehelper.Page;
+import com.jpsoft.employment.modules.common.dto.Sort;
+
+public interface NewsInfoService {
+	NewsInfo get(String id);
+	boolean exist(String id);
+	int insert(NewsInfo model);
+	int update(NewsInfo model);
+	int delete(String id);
+	List<NewsInfo> list();
+	Page<NewsInfo> pageSearch(Map<String, Object> searchParams, int pageNum, int pageSize, boolean count, List<Sort> sortList);
+}

+ 17 - 0
common/src/main/java/com/jpsoft/employment/modules/base/service/PersonInfoService.java

@@ -0,0 +1,17 @@
+package com.jpsoft.employment.modules.base.service;
+
+import java.util.List;
+import java.util.Map;
+import com.jpsoft.employment.modules.base.entity.PersonInfo;
+import com.github.pagehelper.Page;
+import com.jpsoft.employment.modules.common.dto.Sort;
+
+public interface PersonInfoService {
+	PersonInfo get(String id);
+	boolean exist(String id);
+	int insert(PersonInfo model);
+	int update(PersonInfo model);
+	int delete(String id);
+	List<PersonInfo> list();
+	Page<PersonInfo> pageSearch(Map<String, Object> searchParams, int pageNum, int pageSize, boolean count, List<Sort> sortList);
+}

+ 17 - 0
common/src/main/java/com/jpsoft/employment/modules/base/service/RecruitInformationInfoService.java

@@ -0,0 +1,17 @@
+package com.jpsoft.employment.modules.base.service;
+
+import java.util.List;
+import java.util.Map;
+import com.jpsoft.employment.modules.base.entity.RecruitInformationInfo;
+import com.github.pagehelper.Page;
+import com.jpsoft.employment.modules.common.dto.Sort;
+
+public interface RecruitInformationInfoService {
+	RecruitInformationInfo get(String id);
+	boolean exist(String id);
+	int insert(RecruitInformationInfo model);
+	int update(RecruitInformationInfo model);
+	int delete(String id);
+	List<RecruitInformationInfo> list();
+	Page<RecruitInformationInfo> pageSearch(Map<String, Object> searchParams, int pageNum, int pageSize, boolean count, List<Sort> sortList);
+}

+ 17 - 0
common/src/main/java/com/jpsoft/employment/modules/base/service/RecruitPersonRelationService.java

@@ -0,0 +1,17 @@
+package com.jpsoft.employment.modules.base.service;
+
+import java.util.List;
+import java.util.Map;
+import com.jpsoft.employment.modules.base.entity.RecruitPersonRelation;
+import com.github.pagehelper.Page;
+import com.jpsoft.employment.modules.common.dto.Sort;
+
+public interface RecruitPersonRelationService {
+	RecruitPersonRelation get(String id);
+	boolean exist(String id);
+	int insert(RecruitPersonRelation model);
+	int update(RecruitPersonRelation model);
+	int delete(String id);
+	List<RecruitPersonRelation> list();
+	Page<RecruitPersonRelation> pageSearch(Map<String, Object> searchParams, int pageNum, int pageSize, boolean count, List<Sort> sortList);
+}

+ 17 - 0
common/src/main/java/com/jpsoft/employment/modules/base/service/ShareWorksInfoService.java

@@ -0,0 +1,17 @@
+package com.jpsoft.employment.modules.base.service;
+
+import java.util.List;
+import java.util.Map;
+import com.jpsoft.employment.modules.base.entity.ShareWorksInfo;
+import com.github.pagehelper.Page;
+import com.jpsoft.employment.modules.common.dto.Sort;
+
+public interface ShareWorksInfoService {
+	ShareWorksInfo get(String id);
+	boolean exist(String id);
+	int insert(ShareWorksInfo model);
+	int update(ShareWorksInfo model);
+	int delete(String id);
+	List<ShareWorksInfo> list();
+	Page<ShareWorksInfo> pageSearch(Map<String, Object> searchParams, int pageNum, int pageSize, boolean count, List<Sort> sortList);
+}

+ 17 - 0
common/src/main/java/com/jpsoft/employment/modules/base/service/TrainingInfoService.java

@@ -0,0 +1,17 @@
+package com.jpsoft.employment.modules.base.service;
+
+import java.util.List;
+import java.util.Map;
+import com.jpsoft.employment.modules.base.entity.TrainingInfo;
+import com.github.pagehelper.Page;
+import com.jpsoft.employment.modules.common.dto.Sort;
+
+public interface TrainingInfoService {
+	TrainingInfo get(String id);
+	boolean exist(String id);
+	int insert(TrainingInfo model);
+	int update(TrainingInfo model);
+	int delete(String id);
+	List<TrainingInfo> list();
+	Page<TrainingInfo> pageSearch(Map<String, Object> searchParams, int pageNum, int pageSize, boolean count, List<Sort> sortList);
+}

+ 70 - 0
common/src/main/java/com/jpsoft/employment/modules/base/service/impl/EnterpriseInfoServiceImpl.java

@@ -0,0 +1,70 @@
+package com.jpsoft.employment.modules.base.service.impl;
+
+import java.util.List;
+import java.util.Map;
+import java.util.UUID;
+import javax.annotation.Resource;
+import org.springframework.stereotype.Component;
+import org.springframework.transaction.annotation.Transactional;
+import com.jpsoft.employment.modules.base.dao.EnterpriseInfoDAO;
+import com.jpsoft.employment.modules.base.entity.EnterpriseInfo;
+import com.jpsoft.employment.modules.base.service.EnterpriseInfoService;
+import com.github.pagehelper.Page;
+import com.jpsoft.employment.modules.common.dto.Sort;
+import com.github.pagehelper.PageHelper;
+
+@Transactional
+@Component(value="enterpriseInfoService")
+public class EnterpriseInfoServiceImpl implements EnterpriseInfoService {
+	@Resource(name="enterpriseInfoDAO")
+	private EnterpriseInfoDAO enterpriseInfoDAO;
+
+	@Override
+	public EnterpriseInfo get(String id) {
+		// TODO Auto-generated method stub
+		return enterpriseInfoDAO.get(id);
+	}
+
+	@Override
+	public int insert(EnterpriseInfo model) {
+		// TODO Auto-generated method stub
+		//model.setId(UUID.randomUUID().toString());
+		
+		return enterpriseInfoDAO.insert(model);
+	}
+
+	@Override
+	public int update(EnterpriseInfo model) {
+		// TODO Auto-generated method stub
+		return enterpriseInfoDAO.update(model);		
+	}
+
+	@Override
+	public int delete(String id) {
+		// TODO Auto-generated method stub
+		return enterpriseInfoDAO.delete(id);
+	}
+
+	@Override
+	public boolean exist(String id) {
+		// TODO Auto-generated method stub
+		int count = enterpriseInfoDAO.exist(id);
+		
+		return count > 0 ? true : false;
+	}
+	
+	@Override
+	public List<EnterpriseInfo> list() {
+		// TODO Auto-generated method stub
+		return enterpriseInfoDAO.list();
+	}
+		
+	@Override
+	public Page<EnterpriseInfo> pageSearch(Map<String, Object> searchParams, int pageNumber, int pageSize,boolean count,List<Sort> sortList) {
+        Page<EnterpriseInfo> page = PageHelper.startPage(pageNumber,pageSize,count).doSelectPage(()->{
+            enterpriseInfoDAO.search(searchParams,sortList);
+        });
+        
+        return page;
+	}
+}

+ 70 - 0
common/src/main/java/com/jpsoft/employment/modules/base/service/impl/JobEnterpriseRelationServiceImpl.java

@@ -0,0 +1,70 @@
+package com.jpsoft.employment.modules.base.service.impl;
+
+import java.util.List;
+import java.util.Map;
+import java.util.UUID;
+import javax.annotation.Resource;
+import org.springframework.stereotype.Component;
+import org.springframework.transaction.annotation.Transactional;
+import com.jpsoft.employment.modules.base.dao.JobEnterpriseRelationDAO;
+import com.jpsoft.employment.modules.base.entity.JobEnterpriseRelation;
+import com.jpsoft.employment.modules.base.service.JobEnterpriseRelationService;
+import com.github.pagehelper.Page;
+import com.jpsoft.employment.modules.common.dto.Sort;
+import com.github.pagehelper.PageHelper;
+
+@Transactional
+@Component(value="jobEnterpriseRelationService")
+public class JobEnterpriseRelationServiceImpl implements JobEnterpriseRelationService {
+	@Resource(name="jobEnterpriseRelationDAO")
+	private JobEnterpriseRelationDAO jobEnterpriseRelationDAO;
+
+	@Override
+	public JobEnterpriseRelation get(String id) {
+		// TODO Auto-generated method stub
+		return jobEnterpriseRelationDAO.get(id);
+	}
+
+	@Override
+	public int insert(JobEnterpriseRelation model) {
+		// TODO Auto-generated method stub
+		//model.setId(UUID.randomUUID().toString());
+		
+		return jobEnterpriseRelationDAO.insert(model);
+	}
+
+	@Override
+	public int update(JobEnterpriseRelation model) {
+		// TODO Auto-generated method stub
+		return jobEnterpriseRelationDAO.update(model);		
+	}
+
+	@Override
+	public int delete(String id) {
+		// TODO Auto-generated method stub
+		return jobEnterpriseRelationDAO.delete(id);
+	}
+
+	@Override
+	public boolean exist(String id) {
+		// TODO Auto-generated method stub
+		int count = jobEnterpriseRelationDAO.exist(id);
+		
+		return count > 0 ? true : false;
+	}
+	
+	@Override
+	public List<JobEnterpriseRelation> list() {
+		// TODO Auto-generated method stub
+		return jobEnterpriseRelationDAO.list();
+	}
+		
+	@Override
+	public Page<JobEnterpriseRelation> pageSearch(Map<String, Object> searchParams, int pageNumber, int pageSize,boolean count,List<Sort> sortList) {
+        Page<JobEnterpriseRelation> page = PageHelper.startPage(pageNumber,pageSize,count).doSelectPage(()->{
+            jobEnterpriseRelationDAO.search(searchParams,sortList);
+        });
+        
+        return page;
+	}
+}

+ 70 - 0
common/src/main/java/com/jpsoft/employment/modules/base/service/impl/JobInformationInfoServiceImpl.java

@@ -0,0 +1,70 @@
+package com.jpsoft.employment.modules.base.service.impl;
+
+import java.util.List;
+import java.util.Map;
+import java.util.UUID;
+import javax.annotation.Resource;
+import org.springframework.stereotype.Component;
+import org.springframework.transaction.annotation.Transactional;
+import com.jpsoft.employment.modules.base.dao.JobInformationInfoDAO;
+import com.jpsoft.employment.modules.base.entity.JobInformationInfo;
+import com.jpsoft.employment.modules.base.service.JobInformationInfoService;
+import com.github.pagehelper.Page;
+import com.jpsoft.employment.modules.common.dto.Sort;
+import com.github.pagehelper.PageHelper;
+
+@Transactional
+@Component(value="jobInformationInfoService")
+public class JobInformationInfoServiceImpl implements JobInformationInfoService {
+	@Resource(name="jobInformationInfoDAO")
+	private JobInformationInfoDAO jobInformationInfoDAO;
+
+	@Override
+	public JobInformationInfo get(String id) {
+		// TODO Auto-generated method stub
+		return jobInformationInfoDAO.get(id);
+	}
+
+	@Override
+	public int insert(JobInformationInfo model) {
+		// TODO Auto-generated method stub
+		//model.setId(UUID.randomUUID().toString());
+		
+		return jobInformationInfoDAO.insert(model);
+	}
+
+	@Override
+	public int update(JobInformationInfo model) {
+		// TODO Auto-generated method stub
+		return jobInformationInfoDAO.update(model);		
+	}
+
+	@Override
+	public int delete(String id) {
+		// TODO Auto-generated method stub
+		return jobInformationInfoDAO.delete(id);
+	}
+
+	@Override
+	public boolean exist(String id) {
+		// TODO Auto-generated method stub
+		int count = jobInformationInfoDAO.exist(id);
+		
+		return count > 0 ? true : false;
+	}
+	
+	@Override
+	public List<JobInformationInfo> list() {
+		// TODO Auto-generated method stub
+		return jobInformationInfoDAO.list();
+	}
+		
+	@Override
+	public Page<JobInformationInfo> pageSearch(Map<String, Object> searchParams, int pageNumber, int pageSize,boolean count,List<Sort> sortList) {
+        Page<JobInformationInfo> page = PageHelper.startPage(pageNumber,pageSize,count).doSelectPage(()->{
+            jobInformationInfoDAO.search(searchParams,sortList);
+        });
+        
+        return page;
+	}
+}

+ 70 - 0
common/src/main/java/com/jpsoft/employment/modules/base/service/impl/NewsInfoServiceImpl.java

@@ -0,0 +1,70 @@
+package com.jpsoft.employment.modules.base.service.impl;
+
+import java.util.List;
+import java.util.Map;
+import java.util.UUID;
+import javax.annotation.Resource;
+import org.springframework.stereotype.Component;
+import org.springframework.transaction.annotation.Transactional;
+import com.jpsoft.employment.modules.base.dao.NewsInfoDAO;
+import com.jpsoft.employment.modules.base.entity.NewsInfo;
+import com.jpsoft.employment.modules.base.service.NewsInfoService;
+import com.github.pagehelper.Page;
+import com.jpsoft.employment.modules.common.dto.Sort;
+import com.github.pagehelper.PageHelper;
+
+@Transactional
+@Component(value="newsInfoService")
+public class NewsInfoServiceImpl implements NewsInfoService {
+	@Resource(name="newsInfoDAO")
+	private NewsInfoDAO newsInfoDAO;
+
+	@Override
+	public NewsInfo get(String id) {
+		// TODO Auto-generated method stub
+		return newsInfoDAO.get(id);
+	}
+
+	@Override
+	public int insert(NewsInfo model) {
+		// TODO Auto-generated method stub
+		//model.setId(UUID.randomUUID().toString());
+		
+		return newsInfoDAO.insert(model);
+	}
+
+	@Override
+	public int update(NewsInfo model) {
+		// TODO Auto-generated method stub
+		return newsInfoDAO.update(model);		
+	}
+
+	@Override
+	public int delete(String id) {
+		// TODO Auto-generated method stub
+		return newsInfoDAO.delete(id);
+	}
+
+	@Override
+	public boolean exist(String id) {
+		// TODO Auto-generated method stub
+		int count = newsInfoDAO.exist(id);
+		
+		return count > 0 ? true : false;
+	}
+	
+	@Override
+	public List<NewsInfo> list() {
+		// TODO Auto-generated method stub
+		return newsInfoDAO.list();
+	}
+		
+	@Override
+	public Page<NewsInfo> pageSearch(Map<String, Object> searchParams, int pageNumber, int pageSize,boolean count,List<Sort> sortList) {
+        Page<NewsInfo> page = PageHelper.startPage(pageNumber,pageSize,count).doSelectPage(()->{
+            newsInfoDAO.search(searchParams,sortList);
+        });
+        
+        return page;
+	}
+}

+ 70 - 0
common/src/main/java/com/jpsoft/employment/modules/base/service/impl/PersonInfoServiceImpl.java

@@ -0,0 +1,70 @@
+package com.jpsoft.employment.modules.base.service.impl;
+
+import java.util.List;
+import java.util.Map;
+import java.util.UUID;
+import javax.annotation.Resource;
+import org.springframework.stereotype.Component;
+import org.springframework.transaction.annotation.Transactional;
+import com.jpsoft.employment.modules.base.dao.PersonInfoDAO;
+import com.jpsoft.employment.modules.base.entity.PersonInfo;
+import com.jpsoft.employment.modules.base.service.PersonInfoService;
+import com.github.pagehelper.Page;
+import com.jpsoft.employment.modules.common.dto.Sort;
+import com.github.pagehelper.PageHelper;
+
+@Transactional
+@Component(value="personInfoService")
+public class PersonInfoServiceImpl implements PersonInfoService {
+	@Resource(name="personInfoDAO")
+	private PersonInfoDAO personInfoDAO;
+
+	@Override
+	public PersonInfo get(String id) {
+		// TODO Auto-generated method stub
+		return personInfoDAO.get(id);
+	}
+
+	@Override
+	public int insert(PersonInfo model) {
+		// TODO Auto-generated method stub
+		//model.setId(UUID.randomUUID().toString());
+		
+		return personInfoDAO.insert(model);
+	}
+
+	@Override
+	public int update(PersonInfo model) {
+		// TODO Auto-generated method stub
+		return personInfoDAO.update(model);		
+	}
+
+	@Override
+	public int delete(String id) {
+		// TODO Auto-generated method stub
+		return personInfoDAO.delete(id);
+	}
+
+	@Override
+	public boolean exist(String id) {
+		// TODO Auto-generated method stub
+		int count = personInfoDAO.exist(id);
+		
+		return count > 0 ? true : false;
+	}
+	
+	@Override
+	public List<PersonInfo> list() {
+		// TODO Auto-generated method stub
+		return personInfoDAO.list();
+	}
+		
+	@Override
+	public Page<PersonInfo> pageSearch(Map<String, Object> searchParams, int pageNumber, int pageSize,boolean count,List<Sort> sortList) {
+        Page<PersonInfo> page = PageHelper.startPage(pageNumber,pageSize,count).doSelectPage(()->{
+            personInfoDAO.search(searchParams,sortList);
+        });
+        
+        return page;
+	}
+}

+ 70 - 0
common/src/main/java/com/jpsoft/employment/modules/base/service/impl/RecruitInformationInfoServiceImpl.java

@@ -0,0 +1,70 @@
+package com.jpsoft.employment.modules.base.service.impl;
+
+import java.util.List;
+import java.util.Map;
+import java.util.UUID;
+import javax.annotation.Resource;
+import org.springframework.stereotype.Component;
+import org.springframework.transaction.annotation.Transactional;
+import com.jpsoft.employment.modules.base.dao.RecruitInformationInfoDAO;
+import com.jpsoft.employment.modules.base.entity.RecruitInformationInfo;
+import com.jpsoft.employment.modules.base.service.RecruitInformationInfoService;
+import com.github.pagehelper.Page;
+import com.jpsoft.employment.modules.common.dto.Sort;
+import com.github.pagehelper.PageHelper;
+
+@Transactional
+@Component(value="recruitInformationInfoService")
+public class RecruitInformationInfoServiceImpl implements RecruitInformationInfoService {
+	@Resource(name="recruitInformationInfoDAO")
+	private RecruitInformationInfoDAO recruitInformationInfoDAO;
+
+	@Override
+	public RecruitInformationInfo get(String id) {
+		// TODO Auto-generated method stub
+		return recruitInformationInfoDAO.get(id);
+	}
+
+	@Override
+	public int insert(RecruitInformationInfo model) {
+		// TODO Auto-generated method stub
+		//model.setId(UUID.randomUUID().toString());
+		
+		return recruitInformationInfoDAO.insert(model);
+	}
+
+	@Override
+	public int update(RecruitInformationInfo model) {
+		// TODO Auto-generated method stub
+		return recruitInformationInfoDAO.update(model);		
+	}
+
+	@Override
+	public int delete(String id) {
+		// TODO Auto-generated method stub
+		return recruitInformationInfoDAO.delete(id);
+	}
+
+	@Override
+	public boolean exist(String id) {
+		// TODO Auto-generated method stub
+		int count = recruitInformationInfoDAO.exist(id);
+		
+		return count > 0 ? true : false;
+	}
+	
+	@Override
+	public List<RecruitInformationInfo> list() {
+		// TODO Auto-generated method stub
+		return recruitInformationInfoDAO.list();
+	}
+		
+	@Override
+	public Page<RecruitInformationInfo> pageSearch(Map<String, Object> searchParams, int pageNumber, int pageSize,boolean count,List<Sort> sortList) {
+        Page<RecruitInformationInfo> page = PageHelper.startPage(pageNumber,pageSize,count).doSelectPage(()->{
+            recruitInformationInfoDAO.search(searchParams,sortList);
+        });
+        
+        return page;
+	}
+}

+ 70 - 0
common/src/main/java/com/jpsoft/employment/modules/base/service/impl/RecruitPersonRelationServiceImpl.java

@@ -0,0 +1,70 @@
+package com.jpsoft.employment.modules.base.service.impl;
+
+import java.util.List;
+import java.util.Map;
+import java.util.UUID;
+import javax.annotation.Resource;
+import org.springframework.stereotype.Component;
+import org.springframework.transaction.annotation.Transactional;
+import com.jpsoft.employment.modules.base.dao.RecruitPersonRelationDAO;
+import com.jpsoft.employment.modules.base.entity.RecruitPersonRelation;
+import com.jpsoft.employment.modules.base.service.RecruitPersonRelationService;
+import com.github.pagehelper.Page;
+import com.jpsoft.employment.modules.common.dto.Sort;
+import com.github.pagehelper.PageHelper;
+
+@Transactional
+@Component(value="recruitPersonRelationService")
+public class RecruitPersonRelationServiceImpl implements RecruitPersonRelationService {
+	@Resource(name="recruitPersonRelationDAO")
+	private RecruitPersonRelationDAO recruitPersonRelationDAO;
+
+	@Override
+	public RecruitPersonRelation get(String id) {
+		// TODO Auto-generated method stub
+		return recruitPersonRelationDAO.get(id);
+	}
+
+	@Override
+	public int insert(RecruitPersonRelation model) {
+		// TODO Auto-generated method stub
+		//model.setId(UUID.randomUUID().toString());
+		
+		return recruitPersonRelationDAO.insert(model);
+	}
+
+	@Override
+	public int update(RecruitPersonRelation model) {
+		// TODO Auto-generated method stub
+		return recruitPersonRelationDAO.update(model);		
+	}
+
+	@Override
+	public int delete(String id) {
+		// TODO Auto-generated method stub
+		return recruitPersonRelationDAO.delete(id);
+	}
+
+	@Override
+	public boolean exist(String id) {
+		// TODO Auto-generated method stub
+		int count = recruitPersonRelationDAO.exist(id);
+		
+		return count > 0 ? true : false;
+	}
+	
+	@Override
+	public List<RecruitPersonRelation> list() {
+		// TODO Auto-generated method stub
+		return recruitPersonRelationDAO.list();
+	}
+		
+	@Override
+	public Page<RecruitPersonRelation> pageSearch(Map<String, Object> searchParams, int pageNumber, int pageSize,boolean count,List<Sort> sortList) {
+        Page<RecruitPersonRelation> page = PageHelper.startPage(pageNumber,pageSize,count).doSelectPage(()->{
+            recruitPersonRelationDAO.search(searchParams,sortList);
+        });
+        
+        return page;
+	}
+}

+ 70 - 0
common/src/main/java/com/jpsoft/employment/modules/base/service/impl/ShareWorksInfoServiceImpl.java

@@ -0,0 +1,70 @@
+package com.jpsoft.employment.modules.base.service.impl;
+
+import java.util.List;
+import java.util.Map;
+import java.util.UUID;
+import javax.annotation.Resource;
+import org.springframework.stereotype.Component;
+import org.springframework.transaction.annotation.Transactional;
+import com.jpsoft.employment.modules.base.dao.ShareWorksInfoDAO;
+import com.jpsoft.employment.modules.base.entity.ShareWorksInfo;
+import com.jpsoft.employment.modules.base.service.ShareWorksInfoService;
+import com.github.pagehelper.Page;
+import com.jpsoft.employment.modules.common.dto.Sort;
+import com.github.pagehelper.PageHelper;
+
+@Transactional
+@Component(value="shareWorksInfoService")
+public class ShareWorksInfoServiceImpl implements ShareWorksInfoService {
+	@Resource(name="shareWorksInfoDAO")
+	private ShareWorksInfoDAO shareWorksInfoDAO;
+
+	@Override
+	public ShareWorksInfo get(String id) {
+		// TODO Auto-generated method stub
+		return shareWorksInfoDAO.get(id);
+	}
+
+	@Override
+	public int insert(ShareWorksInfo model) {
+		// TODO Auto-generated method stub
+		//model.setId(UUID.randomUUID().toString());
+		
+		return shareWorksInfoDAO.insert(model);
+	}
+
+	@Override
+	public int update(ShareWorksInfo model) {
+		// TODO Auto-generated method stub
+		return shareWorksInfoDAO.update(model);		
+	}
+
+	@Override
+	public int delete(String id) {
+		// TODO Auto-generated method stub
+		return shareWorksInfoDAO.delete(id);
+	}
+
+	@Override
+	public boolean exist(String id) {
+		// TODO Auto-generated method stub
+		int count = shareWorksInfoDAO.exist(id);
+		
+		return count > 0 ? true : false;
+	}
+	
+	@Override
+	public List<ShareWorksInfo> list() {
+		// TODO Auto-generated method stub
+		return shareWorksInfoDAO.list();
+	}
+		
+	@Override
+	public Page<ShareWorksInfo> pageSearch(Map<String, Object> searchParams, int pageNumber, int pageSize,boolean count,List<Sort> sortList) {
+        Page<ShareWorksInfo> page = PageHelper.startPage(pageNumber,pageSize,count).doSelectPage(()->{
+            shareWorksInfoDAO.search(searchParams,sortList);
+        });
+        
+        return page;
+	}
+}

+ 70 - 0
common/src/main/java/com/jpsoft/employment/modules/base/service/impl/TrainingInfoServiceImpl.java

@@ -0,0 +1,70 @@
+package com.jpsoft.employment.modules.base.service.impl;
+
+import java.util.List;
+import java.util.Map;
+import java.util.UUID;
+import javax.annotation.Resource;
+import org.springframework.stereotype.Component;
+import org.springframework.transaction.annotation.Transactional;
+import com.jpsoft.employment.modules.base.dao.TrainingInfoDAO;
+import com.jpsoft.employment.modules.base.entity.TrainingInfo;
+import com.jpsoft.employment.modules.base.service.TrainingInfoService;
+import com.github.pagehelper.Page;
+import com.jpsoft.employment.modules.common.dto.Sort;
+import com.github.pagehelper.PageHelper;
+
+@Transactional
+@Component(value="trainingInfoService")
+public class TrainingInfoServiceImpl implements TrainingInfoService {
+	@Resource(name="trainingInfoDAO")
+	private TrainingInfoDAO trainingInfoDAO;
+
+	@Override
+	public TrainingInfo get(String id) {
+		// TODO Auto-generated method stub
+		return trainingInfoDAO.get(id);
+	}
+
+	@Override
+	public int insert(TrainingInfo model) {
+		// TODO Auto-generated method stub
+		//model.setId(UUID.randomUUID().toString());
+		
+		return trainingInfoDAO.insert(model);
+	}
+
+	@Override
+	public int update(TrainingInfo model) {
+		// TODO Auto-generated method stub
+		return trainingInfoDAO.update(model);		
+	}
+
+	@Override
+	public int delete(String id) {
+		// TODO Auto-generated method stub
+		return trainingInfoDAO.delete(id);
+	}
+
+	@Override
+	public boolean exist(String id) {
+		// TODO Auto-generated method stub
+		int count = trainingInfoDAO.exist(id);
+		
+		return count > 0 ? true : false;
+	}
+	
+	@Override
+	public List<TrainingInfo> list() {
+		// TODO Auto-generated method stub
+		return trainingInfoDAO.list();
+	}
+		
+	@Override
+	public Page<TrainingInfo> pageSearch(Map<String, Object> searchParams, int pageNumber, int pageSize,boolean count,List<Sort> sortList) {
+        Page<TrainingInfo> page = PageHelper.startPage(pageNumber,pageSize,count).doSelectPage(()->{
+            trainingInfoDAO.search(searchParams,sortList);
+        });
+        
+        return page;
+	}
+}

+ 95 - 0
common/src/main/resources/mapper/base/EnterpriseInfo.xml

@@ -0,0 +1,95 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" 
+"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<!-- namespace必须指向DAO接口 -->
+<mapper namespace="com.jpsoft.employment.modules.base.dao.EnterpriseInfoDAO">
+	<resultMap id="EnterpriseInfoMap" type="com.jpsoft.employment.modules.base.entity.EnterpriseInfo">
+		<id property="id" column="id_" />
+			<result property="name" column="name_" />
+			<result property="licenseImage" column="license_image" />
+			<result property="status" column="status_" />
+			<result property="createBy" column="create_by" />
+			<result property="createTime" column="create_time" />
+			<result property="updateBy" column="update_by" />
+			<result property="updateTime" column="update_time" />
+			<result property="delFlag" column="del_flag" />
+			</resultMap>
+	<insert id="insert" parameterType="com.jpsoft.employment.modules.base.entity.EnterpriseInfo">
+	<!--
+	<selectKey resultType="java.lang.String" order="BEFORE" keyProperty="id">
+		select sys_guid() from dual
+	</selectKey>
+	-->
+	<![CDATA[
+		insert into base_enterprise_info
+	    (id_,name_,license_image,status_,create_by,create_time,update_by,update_time,del_flag)
+		values
+		(
+#{id,jdbcType=VARCHAR}
+,#{name,jdbcType=VARCHAR}
+,#{licenseImage,jdbcType=VARCHAR}
+,#{status,jdbcType=VARCHAR}
+,#{createBy,jdbcType=VARCHAR}
+,#{createTime,jdbcType= TIMESTAMP }
+,#{updateBy,jdbcType=VARCHAR}
+,#{updateTime,jdbcType= TIMESTAMP }
+,#{delFlag,jdbcType= NUMERIC }
+		)
+	]]>
+	</insert>
+	<delete id="delete" parameterType="string">
+		delete from base_enterprise_info where id_=#{id,jdbcType=VARCHAR}
+	</delete>
+	<update id="update" parameterType="com.jpsoft.employment.modules.base.entity.EnterpriseInfo">
+		update base_enterprise_info
+		<set>
+				<if test="name!=null">
+		name_=#{name,jdbcType=VARCHAR},
+		</if>
+				<if test="licenseImage!=null">
+		license_image=#{licenseImage,jdbcType=VARCHAR},
+		</if>
+				<if test="status!=null">
+		status_=#{status,jdbcType=VARCHAR},
+		</if>
+				<if test="createBy!=null">
+		create_by=#{createBy,jdbcType=VARCHAR},
+		</if>
+				<if test="createTime!=null">
+		create_time=#{createTime,jdbcType= TIMESTAMP },
+		</if>
+				<if test="updateBy!=null">
+		update_by=#{updateBy,jdbcType=VARCHAR},
+		</if>
+				<if test="updateTime!=null">
+		update_time=#{updateTime,jdbcType= TIMESTAMP },
+		</if>
+				<if test="delFlag!=null">
+		del_flag=#{delFlag,jdbcType= NUMERIC },
+		</if>
+		</set>
+	where id_=#{id}
+	</update>
+	<select id="get" parameterType="string" resultMap="EnterpriseInfoMap">
+		select * from base_enterprise_info where id_=#{0}
+	</select>
+	<select id="exist" parameterType="string" resultType="int">
+		select count(*) from base_enterprise_info where id_=#{0}
+	</select>
+	<select id="list" resultMap="EnterpriseInfoMap">
+		select * from base_enterprise_info
+	</select>
+	<select id="search" parameterType="hashmap" resultMap="EnterpriseInfoMap">
+		<![CDATA[
+			select * from base_enterprise_info
+		]]>
+		<where>
+			<if test="searchParams.id != null">
+				and ID_ like #{searchParams.id}
+			</if>
+		</where>
+		<foreach item="sort" collection="sortList"  open="order by" separator=",">
+	        ${sort.name} ${sort.order}
+	 	</foreach>
+	</select>
+</mapper>

+ 91 - 0
common/src/main/resources/mapper/base/JobEnterpriseRelation.xml

@@ -0,0 +1,91 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" 
+"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<!-- namespace必须指向DAO接口 -->
+<mapper namespace="com.jpsoft.employment.modules.base.dao.JobEnterpriseRelationDAO">
+	<resultMap id="JobEnterpriseRelationMap" type="com.jpsoft.employment.modules.base.entity.JobEnterpriseRelation">
+		<id property="id" column="id_" />
+			<result property="jobInformationId" column="job_information_id" />
+			<result property="enterpriseId" column="enterprise_id" />
+			<result property="createBy" column="create_by" />
+			<result property="createTime" column="create_time" />
+			<result property="updateBy" column="update_by" />
+			<result property="updateTime" column="update_time" />
+			<result property="delFlag" column="del_flag" />
+			</resultMap>
+	<insert id="insert" parameterType="com.jpsoft.employment.modules.base.entity.JobEnterpriseRelation">
+	<!--
+	<selectKey resultType="java.lang.String" order="BEFORE" keyProperty="id">
+		select sys_guid() from dual
+	</selectKey>
+	-->
+	<![CDATA[
+		insert into base_job_enterprise_relation
+	    (id_,job_information_id,enterprise_id,create_by,create_time,update_by,update_time,del_flag)
+		values
+		(
+#{id,jdbcType=VARCHAR}
+,#{jobInformationId,jdbcType=VARCHAR}
+,#{enterpriseId,jdbcType=VARCHAR}
+,#{createBy,jdbcType=VARCHAR}
+,#{createTime,jdbcType= TIMESTAMP }
+,#{updateBy,jdbcType=VARCHAR}
+,#{updateTime,jdbcType= TIMESTAMP }
+,#{delFlag,jdbcType= NUMERIC }
+		)
+	]]>
+	</insert>
+	<delete id="delete" parameterType="string">
+		delete from base_job_enterprise_relation where id_=#{id,jdbcType=VARCHAR}
+	</delete>
+	<update id="update" parameterType="JobEnterpriseRelation">
+		update base_job_enterprise_relation
+		<set>
+				<if test="jobInformationId!=null">
+		job_information_id=#{jobInformationId,jdbcType=VARCHAR},
+		</if>
+				<if test="enterpriseId!=null">
+		enterprise_id=#{enterpriseId,jdbcType=VARCHAR},
+		</if>
+				<if test="createBy!=null">
+		create_by=#{createBy,jdbcType=VARCHAR},
+		</if>
+				<if test="createTime!=null">
+		create_time=#{createTime,jdbcType= TIMESTAMP },
+		</if>
+				<if test="updateBy!=null">
+		update_by=#{updateBy,jdbcType=VARCHAR},
+		</if>
+				<if test="updateTime!=null">
+		update_time=#{updateTime,jdbcType= TIMESTAMP },
+		</if>
+				<if test="delFlag!=null">
+		del_flag=#{delFlag,jdbcType= NUMERIC },
+		</if>
+		</set>
+	where id_=#{id}
+	</update>
+	<select id="get" parameterType="string" resultMap="JobEnterpriseRelationMap">
+		select 
+id_,job_information_id,enterprise_id,create_by,create_time,update_by,update_time,del_flag		from base_job_enterprise_relation where id_=#{0}
+	</select>
+	<select id="exist" parameterType="string" resultType="int">
+		select count(*) from base_job_enterprise_relation where id_=#{0}
+	</select>
+	<select id="list" resultMap="JobEnterpriseRelationMap">
+		select * from base_job_enterprise_relation
+	</select>
+	<select id="search" parameterType="hashmap" resultMap="JobEnterpriseRelationMap">
+		<![CDATA[
+			select * from base_job_enterprise_relation
+		]]>
+		<where>
+			<if test="searchParams.id != null">
+				and ID_ like #{searchParams.id}
+			</if>
+		</where>
+		<foreach item="sort" collection="sortList"  open="order by" separator=",">
+	        ${sort.name} ${sort.order}
+	 	</foreach>
+	</select>
+</mapper>

+ 131 - 0
common/src/main/resources/mapper/base/JobInformationInfo.xml

@@ -0,0 +1,131 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" 
+"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<!-- namespace必须指向DAO接口 -->
+<mapper namespace="com.jpsoft.employment.modules.base.dao.JobInformationInfoDAO">
+	<resultMap id="JobInformationInfoMap" type="com.jpsoft.employment.modules.base.entity.JobInformationInfo">
+		<id property="id" column="id_" />
+			<result property="personId" column="person_id" />
+			<result property="photo" column="photo_" />
+			<result property="serviceDesc" column="service_desc" />
+			<result property="intendedIndustries" column="Intended_industries" />
+			<result property="intendedPosition" column="Intended_position" />
+			<result property="hopeSalary" column="hope_salary" />
+			<result property="method" column="method_" />
+			<result property="workExperience" column="work_experience" />
+			<result property="education" column="education_" />
+			<result property="status" column="status_" />
+			<result property="createBy" column="create_by" />
+			<result property="createTime" column="create_time" />
+			<result property="updateBy" column="update_by" />
+			<result property="updateTime" column="update_time" />
+			<result property="delFlag" column="del_flag" />
+			</resultMap>
+	<insert id="insert" parameterType="com.jpsoft.employment.modules.base.entity.JobInformationInfo">
+	<!--
+	<selectKey resultType="java.lang.String" order="BEFORE" keyProperty="id">
+		select sys_guid() from dual
+	</selectKey>
+	-->
+	<![CDATA[
+		insert into base_job_information_info
+	    (id_,person_id,photo_,service_desc,Intended_industries,Intended_position,hope_salary,method_,work_experience,education_,status_,create_by,create_time,update_by,update_time,del_flag)
+		values
+		(
+#{id,jdbcType=VARCHAR}
+,#{personId,jdbcType=VARCHAR}
+,#{photo,jdbcType=VARCHAR}
+,#{serviceDesc,jdbcType=VARCHAR}
+,#{intendedIndustries,jdbcType=VARCHAR}
+,#{intendedPosition,jdbcType=VARCHAR}
+,#{hopeSalary,jdbcType= NUMERIC }
+,#{method,jdbcType=VARCHAR}
+,#{workExperience,jdbcType= NUMERIC }
+,#{education,jdbcType=VARCHAR}
+,#{status,jdbcType=VARCHAR}
+,#{createBy,jdbcType=VARCHAR}
+,#{createTime,jdbcType= TIMESTAMP }
+,#{updateBy,jdbcType=VARCHAR}
+,#{updateTime,jdbcType= TIMESTAMP }
+,#{delFlag,jdbcType= NUMERIC }
+		)
+	]]>
+	</insert>
+	<delete id="delete" parameterType="string">
+		delete from base_job_information_info where id_=#{id,jdbcType=VARCHAR}
+	</delete>
+	<update id="update" parameterType="com.jpsoft.employment.modules.base.entity.JobInformationInfo">
+		update base_job_information_info
+		<set>
+				<if test="personId!=null">
+		person_id=#{personId,jdbcType=VARCHAR},
+		</if>
+				<if test="photo!=null">
+		photo_=#{photo,jdbcType=VARCHAR},
+		</if>
+				<if test="serviceDesc!=null">
+		service_desc=#{serviceDesc,jdbcType=VARCHAR},
+		</if>
+				<if test="intendedIndustries!=null">
+		Intended_industries=#{intendedIndustries,jdbcType=VARCHAR},
+		</if>
+				<if test="intendedPosition!=null">
+		Intended_position=#{intendedPosition,jdbcType=VARCHAR},
+		</if>
+				<if test="hopeSalary!=null">
+		hope_salary=#{hopeSalary,jdbcType= NUMERIC },
+		</if>
+				<if test="method!=null">
+		method_=#{method,jdbcType=VARCHAR},
+		</if>
+				<if test="workExperience!=null">
+		work_experience=#{workExperience,jdbcType= NUMERIC },
+		</if>
+				<if test="education!=null">
+		education_=#{education,jdbcType=VARCHAR},
+		</if>
+				<if test="status!=null">
+		status_=#{status,jdbcType=VARCHAR},
+		</if>
+				<if test="createBy!=null">
+		create_by=#{createBy,jdbcType=VARCHAR},
+		</if>
+				<if test="createTime!=null">
+		create_time=#{createTime,jdbcType= TIMESTAMP },
+		</if>
+				<if test="updateBy!=null">
+		update_by=#{updateBy,jdbcType=VARCHAR},
+		</if>
+				<if test="updateTime!=null">
+		update_time=#{updateTime,jdbcType= TIMESTAMP },
+		</if>
+				<if test="delFlag!=null">
+		del_flag=#{delFlag,jdbcType= NUMERIC },
+		</if>
+		</set>
+	where id_=#{id}
+	</update>
+	<select id="get" parameterType="string" resultMap="JobInformationInfoMap">
+		select 
+id_,person_id,photo_,service_desc,Intended_industries,Intended position,hope_salary,method_,work_experience,education_,status_,create_by,create_time,update_by,update_time,del_flag		from base_job_information_info where id_=#{0}
+	</select>
+	<select id="exist" parameterType="string" resultType="int">
+		select count(*) from base_job_information_info where id_=#{0}
+	</select>
+	<select id="list" resultMap="JobInformationInfoMap">
+		select * from base_job_information_info
+	</select>
+	<select id="search" parameterType="hashmap" resultMap="JobInformationInfoMap">
+		<![CDATA[
+			select * from base_job_information_info
+		]]>
+		<where>
+			<if test="searchParams.id != null">
+				and ID_ like #{searchParams.id}
+			</if>
+		</where>
+		<foreach item="sort" collection="sortList"  open="order by" separator=",">
+	        ${sort.name} ${sort.order}
+	 	</foreach>
+	</select>
+</mapper>

+ 106 - 0
common/src/main/resources/mapper/base/NewsInfo.xml

@@ -0,0 +1,106 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" 
+"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<!-- namespace必须指向DAO接口 -->
+<mapper namespace="com.jpsoft.employment.modules.base.dao.NewsInfoDAO">
+	<resultMap id="NewsInfoMap" type="NewsInfo">
+		<id property="id" column="id_" />
+			<result property="title" column="title_" />
+			<result property="category" column="category_" />
+			<result property="content" column="content" />
+			<result property="browseNumber" column="browse_number" />
+			<result property="thumbnailImage" column="thumbnail_image" />
+			<result property="createBy" column="create_by" />
+			<result property="createTime" column="create_time" />
+			<result property="updateBy" column="update_by" />
+			<result property="updateTime" column="update_time" />
+			<result property="delFlag" column="del_flag" />
+			</resultMap>
+	<insert id="insert" parameterType="NewsInfo">
+	<!--
+	<selectKey resultType="java.lang.String" order="BEFORE" keyProperty="id">
+		select sys_guid() from dual
+	</selectKey>
+	-->
+	<![CDATA[
+		insert into base_news_info
+	    (id_,title_,category_,content,browse_number,thumbnail_image,create_by,create_time,update_by,update_time,del_flag)
+		values
+		(
+#{id,jdbcType=VARCHAR}
+,#{title,jdbcType=VARCHAR}
+,#{category,jdbcType=VARCHAR}
+,#{content,jdbcType=VARCHAR}
+,#{browseNumber,jdbcType= NUMERIC }
+,#{thumbnailImage,jdbcType=VARCHAR}
+,#{createBy,jdbcType=VARCHAR}
+,#{createTime,jdbcType= TIMESTAMP }
+,#{updateBy,jdbcType=VARCHAR}
+,#{updateTime,jdbcType= TIMESTAMP }
+,#{delFlag,jdbcType= NUMERIC }
+		)
+	]]>
+	</insert>
+	<delete id="delete" parameterType="string">
+		delete from base_news_info where id_=#{id,jdbcType=VARCHAR}
+	</delete>
+	<update id="update" parameterType="NewsInfo">
+		update base_news_info
+		<set>
+				<if test="title!=null">
+		title_=#{title,jdbcType=VARCHAR},
+		</if>
+				<if test="category!=null">
+		category_=#{category,jdbcType=VARCHAR},
+		</if>
+				<if test="content!=null">
+		content=#{content,jdbcType=VARCHAR},
+		</if>
+				<if test="browseNumber!=null">
+		browse_number=#{browseNumber,jdbcType= NUMERIC },
+		</if>
+				<if test="thumbnailImage!=null">
+		thumbnail_image=#{thumbnailImage,jdbcType=VARCHAR},
+		</if>
+				<if test="createBy!=null">
+		create_by=#{createBy,jdbcType=VARCHAR},
+		</if>
+				<if test="createTime!=null">
+		create_time=#{createTime,jdbcType= TIMESTAMP },
+		</if>
+				<if test="updateBy!=null">
+		update_by=#{updateBy,jdbcType=VARCHAR},
+		</if>
+				<if test="updateTime!=null">
+		update_time=#{updateTime,jdbcType= TIMESTAMP },
+		</if>
+				<if test="delFlag!=null">
+		del_flag=#{delFlag,jdbcType= NUMERIC },
+		</if>
+		</set>
+	where id_=#{id}
+	</update>
+	<select id="get" parameterType="string" resultMap="NewsInfoMap">
+		select 
+id_,title_,category_,content,browse_number,thumbnail_image,create_by,create_time,update_by,update_time,del_flag		from base_news_info where id_=#{0}
+	</select>
+	<select id="exist" parameterType="string" resultType="int">
+		select count(*) from base_news_info where id_=#{0}
+	</select>
+	<select id="list" resultMap="NewsInfoMap">
+		select * from base_news_info
+	</select>
+	<select id="search" parameterType="hashmap" resultMap="NewsInfoMap">
+		<![CDATA[
+			select * from base_news_info
+		]]>
+		<where>
+			<if test="searchParams.id != null">
+				and ID_ like #{searchParams.id}
+			</if>
+		</where>
+		<foreach item="sort" collection="sortList"  open="order by" separator=",">
+	        ${sort.name} ${sort.order}
+	 	</foreach>
+	</select>
+</mapper>

+ 136 - 0
common/src/main/resources/mapper/base/PersonInfo.xml

@@ -0,0 +1,136 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" 
+"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<!-- namespace必须指向DAO接口 -->
+<mapper namespace="com.jpsoft.employment.modules.base.dao.PersonInfoDAO">
+	<resultMap id="PersonInfoMap" type="PersonInfo">
+		<id property="id" column="id_" />
+			<result property="userName" column="user_name" />
+			<result property="password" column="password_" />
+			<result property="realName" column="real_name" />
+			<result property="phone" column="phone_" />
+			<result property="idCard" column="id_card" />
+			<result property="openId" column="open_id" />
+			<result property="photo" column="photo_" />
+			<result property="gender" column="gender_" />
+			<result property="age" column="age_" />
+			<result property="companyId" column="company_id" />
+			<result property="status" column="status_" />
+			<result property="createBy" column="create_by" />
+			<result property="createTime" column="create_time" />
+			<result property="updateBy" column="update_by" />
+			<result property="updateTime" column="update_time" />
+			<result property="delFlag" column="del_flag" />
+			</resultMap>
+	<insert id="insert" parameterType="PersonInfo">
+	<!--
+	<selectKey resultType="java.lang.String" order="BEFORE" keyProperty="id">
+		select sys_guid() from dual
+	</selectKey>
+	-->
+	<![CDATA[
+		insert into base_person_info
+	    (id_,user_name,password_,real_name,phone_,id_card,open_id,photo_,gender_,age_,company_id,status_,create_by,create_time,update_by,update_time,del_flag)
+		values
+		(
+#{id,jdbcType=VARCHAR}
+,#{userName,jdbcType=VARCHAR}
+,#{password,jdbcType=VARCHAR}
+,#{realName,jdbcType=VARCHAR}
+,#{phone,jdbcType=VARCHAR}
+,#{idCard,jdbcType=VARCHAR}
+,#{openId,jdbcType=VARCHAR}
+,#{photo,jdbcType=VARCHAR}
+,#{gender,jdbcType=VARCHAR}
+,#{age,jdbcType= NUMERIC }
+,#{companyId,jdbcType=VARCHAR}
+,#{status,jdbcType=VARCHAR}
+,#{createBy,jdbcType=VARCHAR}
+,#{createTime,jdbcType= TIMESTAMP }
+,#{updateBy,jdbcType=VARCHAR}
+,#{updateTime,jdbcType= TIMESTAMP }
+,#{delFlag,jdbcType= NUMERIC }
+		)
+	]]>
+	</insert>
+	<delete id="delete" parameterType="string">
+		delete from base_person_info where id_=#{id,jdbcType=VARCHAR}
+	</delete>
+	<update id="update" parameterType="PersonInfo">
+		update base_person_info
+		<set>
+				<if test="userName!=null">
+		user_name=#{userName,jdbcType=VARCHAR},
+		</if>
+				<if test="password!=null">
+		password_=#{password,jdbcType=VARCHAR},
+		</if>
+				<if test="realName!=null">
+		real_name=#{realName,jdbcType=VARCHAR},
+		</if>
+				<if test="phone!=null">
+		phone_=#{phone,jdbcType=VARCHAR},
+		</if>
+				<if test="idCard!=null">
+		id_card=#{idCard,jdbcType=VARCHAR},
+		</if>
+				<if test="openId!=null">
+		open_id=#{openId,jdbcType=VARCHAR},
+		</if>
+				<if test="photo!=null">
+		photo_=#{photo,jdbcType=VARCHAR},
+		</if>
+				<if test="gender!=null">
+		gender_=#{gender,jdbcType=VARCHAR},
+		</if>
+				<if test="age!=null">
+		age_=#{age,jdbcType= NUMERIC },
+		</if>
+				<if test="companyId!=null">
+		company_id=#{companyId,jdbcType=VARCHAR},
+		</if>
+				<if test="status!=null">
+		status_=#{status,jdbcType=VARCHAR},
+		</if>
+				<if test="createBy!=null">
+		create_by=#{createBy,jdbcType=VARCHAR},
+		</if>
+				<if test="createTime!=null">
+		create_time=#{createTime,jdbcType= TIMESTAMP },
+		</if>
+				<if test="updateBy!=null">
+		update_by=#{updateBy,jdbcType=VARCHAR},
+		</if>
+				<if test="updateTime!=null">
+		update_time=#{updateTime,jdbcType= TIMESTAMP },
+		</if>
+				<if test="delFlag!=null">
+		del_flag=#{delFlag,jdbcType= NUMERIC },
+		</if>
+		</set>
+	where id_=#{id}
+	</update>
+	<select id="get" parameterType="string" resultMap="PersonInfoMap">
+		select 
+id_,user_name,password_,real_name,phone_,id_card,open_id,photo_,gender_,age_,company_id,status_,create_by,create_time,update_by,update_time,del_flag		from base_person_info where id_=#{0}
+	</select>
+	<select id="exist" parameterType="string" resultType="int">
+		select count(*) from base_person_info where id_=#{0}
+	</select>
+	<select id="list" resultMap="PersonInfoMap">
+		select * from base_person_info
+	</select>
+	<select id="search" parameterType="hashmap" resultMap="PersonInfoMap">
+		<![CDATA[
+			select * from base_person_info
+		]]>
+		<where>
+			<if test="searchParams.id != null">
+				and ID_ like #{searchParams.id}
+			</if>
+		</where>
+		<foreach item="sort" collection="sortList"  open="order by" separator=",">
+	        ${sort.name} ${sort.order}
+	 	</foreach>
+	</select>
+</mapper>

+ 146 - 0
common/src/main/resources/mapper/base/RecruitInformationInfo.xml

@@ -0,0 +1,146 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" 
+"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<!-- namespace必须指向DAO接口 -->
+<mapper namespace="com.jpsoft.employment.modules.base.dao.RecruitInformationInfoDAO">
+	<resultMap id="RecruitInformationInfoMap" type="RecruitInformationInfo">
+		<id property="id" column="id_" />
+			<result property="enterpriseId" column="enterprise_id" />
+			<result property="positionName" column="position_name" />
+			<result property="salary" column="salary_" />
+			<result property="settlementMethod" column="settlement_method" />
+			<result property="industry" column="industry_" />
+			<result property="recruitingNumbers" column="recruiting_numbers" />
+			<result property="desc" column="desc" />
+			<result property="contacts" column="contacts" />
+			<result property="contactsPhone" column="contacts_phone" />
+			<result property="workArea" column="work_area" />
+			<result property="address" column="address_" />
+			<result property="browseNumber" column="browse_number" />
+			<result property="status" column="status_" />
+			<result property="createBy" column="create_by" />
+			<result property="createTime" column="create_time" />
+			<result property="updateBy" column="update_by" />
+			<result property="updateTime" column="update_time" />
+			<result property="delFlag" column="del_flag" />
+			</resultMap>
+	<insert id="insert" parameterType="RecruitInformationInfo">
+	<!--
+	<selectKey resultType="java.lang.String" order="BEFORE" keyProperty="id">
+		select sys_guid() from dual
+	</selectKey>
+	-->
+	<![CDATA[
+		insert into base_recruit_information_info
+	    (id_,enterprise_id,position_name,salary_,settlement_method,industry_,recruiting_numbers,desc,contacts,contacts_phone,work_area,address_,browse_number,status_,create_by,create_time,update_by,update_time,del_flag)
+		values
+		(
+#{id,jdbcType=VARCHAR}
+,#{enterpriseId,jdbcType=VARCHAR}
+,#{positionName,jdbcType=VARCHAR}
+,#{salary,jdbcType=VARCHAR}
+,#{settlementMethod,jdbcType=VARCHAR}
+,#{industry,jdbcType=VARCHAR}
+,#{recruitingNumbers,jdbcType=VARCHAR}
+,#{desc,jdbcType=VARCHAR}
+,#{contacts,jdbcType=VARCHAR}
+,#{contactsPhone,jdbcType=VARCHAR}
+,#{workArea,jdbcType=VARCHAR}
+,#{address,jdbcType=VARCHAR}
+,#{browseNumber,jdbcType= NUMERIC }
+,#{status,jdbcType=VARCHAR}
+,#{createBy,jdbcType=VARCHAR}
+,#{createTime,jdbcType= TIMESTAMP }
+,#{updateBy,jdbcType=VARCHAR}
+,#{updateTime,jdbcType= TIMESTAMP }
+,#{delFlag,jdbcType= NUMERIC }
+		)
+	]]>
+	</insert>
+	<delete id="delete" parameterType="string">
+		delete from base_recruit_information_info where id_=#{id,jdbcType=VARCHAR}
+	</delete>
+	<update id="update" parameterType="RecruitInformationInfo">
+		update base_recruit_information_info
+		<set>
+				<if test="enterpriseId!=null">
+		enterprise_id=#{enterpriseId,jdbcType=VARCHAR},
+		</if>
+				<if test="positionName!=null">
+		position_name=#{positionName,jdbcType=VARCHAR},
+		</if>
+				<if test="salary!=null">
+		salary_=#{salary,jdbcType=VARCHAR},
+		</if>
+				<if test="settlementMethod!=null">
+		settlement_method=#{settlementMethod,jdbcType=VARCHAR},
+		</if>
+				<if test="industry!=null">
+		industry_=#{industry,jdbcType=VARCHAR},
+		</if>
+				<if test="recruitingNumbers!=null">
+		recruiting_numbers=#{recruitingNumbers,jdbcType=VARCHAR},
+		</if>
+				<if test="desc!=null">
+		desc=#{desc,jdbcType=VARCHAR},
+		</if>
+				<if test="contacts!=null">
+		contacts=#{contacts,jdbcType=VARCHAR},
+		</if>
+				<if test="contactsPhone!=null">
+		contacts_phone=#{contactsPhone,jdbcType=VARCHAR},
+		</if>
+				<if test="workArea!=null">
+		work_area=#{workArea,jdbcType=VARCHAR},
+		</if>
+				<if test="address!=null">
+		address_=#{address,jdbcType=VARCHAR},
+		</if>
+				<if test="browseNumber!=null">
+		browse_number=#{browseNumber,jdbcType= NUMERIC },
+		</if>
+				<if test="status!=null">
+		status_=#{status,jdbcType=VARCHAR},
+		</if>
+				<if test="createBy!=null">
+		create_by=#{createBy,jdbcType=VARCHAR},
+		</if>
+				<if test="createTime!=null">
+		create_time=#{createTime,jdbcType= TIMESTAMP },
+		</if>
+				<if test="updateBy!=null">
+		update_by=#{updateBy,jdbcType=VARCHAR},
+		</if>
+				<if test="updateTime!=null">
+		update_time=#{updateTime,jdbcType= TIMESTAMP },
+		</if>
+				<if test="delFlag!=null">
+		del_flag=#{delFlag,jdbcType= NUMERIC },
+		</if>
+		</set>
+	where id_=#{id}
+	</update>
+	<select id="get" parameterType="string" resultMap="RecruitInformationInfoMap">
+		select 
+id_,enterprise_id,position_name,salary_,settlement_method,industry_,recruiting_numbers,desc,contacts,contacts_phone,work_area,address_,browse_number,status_,create_by,create_time,update_by,update_time,del_flag		from base_recruit_information_info where id_=#{0}
+	</select>
+	<select id="exist" parameterType="string" resultType="int">
+		select count(*) from base_recruit_information_info where id_=#{0}
+	</select>
+	<select id="list" resultMap="RecruitInformationInfoMap">
+		select * from base_recruit_information_info
+	</select>
+	<select id="search" parameterType="hashmap" resultMap="RecruitInformationInfoMap">
+		<![CDATA[
+			select * from base_recruit_information_info
+		]]>
+		<where>
+			<if test="searchParams.id != null">
+				and ID_ like #{searchParams.id}
+			</if>
+		</where>
+		<foreach item="sort" collection="sortList"  open="order by" separator=",">
+	        ${sort.name} ${sort.order}
+	 	</foreach>
+	</select>
+</mapper>

+ 91 - 0
common/src/main/resources/mapper/base/RecruitPersonRelation.xml

@@ -0,0 +1,91 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" 
+"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<!-- namespace必须指向DAO接口 -->
+<mapper namespace="com.jpsoft.employment.modules.base.dao.RecruitPersonRelationDAO">
+	<resultMap id="RecruitPersonRelationMap" type="RecruitPersonRelation">
+		<id property="id" column="id_" />
+			<result property="workPersonId" column="work_person_id" />
+			<result property="recruitInformationId" column="recruit_information_id" />
+			<result property="createBy" column="create_by" />
+			<result property="createTime" column="create_time" />
+			<result property="updateBy" column="update_by" />
+			<result property="updateTime" column="update_time" />
+			<result property="delFlag" column="del_flag" />
+			</resultMap>
+	<insert id="insert" parameterType="RecruitPersonRelation">
+	<!--
+	<selectKey resultType="java.lang.String" order="BEFORE" keyProperty="id">
+		select sys_guid() from dual
+	</selectKey>
+	-->
+	<![CDATA[
+		insert into base_recruit_person_relation
+	    (id_,work_person_id,recruit_information_id,create_by,create_time,update_by,update_time,del_flag)
+		values
+		(
+#{id,jdbcType=VARCHAR}
+,#{workPersonId,jdbcType=VARCHAR}
+,#{recruitInformationId,jdbcType=VARCHAR}
+,#{createBy,jdbcType=VARCHAR}
+,#{createTime,jdbcType= TIMESTAMP }
+,#{updateBy,jdbcType=VARCHAR}
+,#{updateTime,jdbcType= TIMESTAMP }
+,#{delFlag,jdbcType= NUMERIC }
+		)
+	]]>
+	</insert>
+	<delete id="delete" parameterType="string">
+		delete from base_recruit_person_relation where id_=#{id,jdbcType=VARCHAR}
+	</delete>
+	<update id="update" parameterType="RecruitPersonRelation">
+		update base_recruit_person_relation
+		<set>
+				<if test="workPersonId!=null">
+		work_person_id=#{workPersonId,jdbcType=VARCHAR},
+		</if>
+				<if test="recruitInformationId!=null">
+		recruit_information_id=#{recruitInformationId,jdbcType=VARCHAR},
+		</if>
+				<if test="createBy!=null">
+		create_by=#{createBy,jdbcType=VARCHAR},
+		</if>
+				<if test="createTime!=null">
+		create_time=#{createTime,jdbcType= TIMESTAMP },
+		</if>
+				<if test="updateBy!=null">
+		update_by=#{updateBy,jdbcType=VARCHAR},
+		</if>
+				<if test="updateTime!=null">
+		update_time=#{updateTime,jdbcType= TIMESTAMP },
+		</if>
+				<if test="delFlag!=null">
+		del_flag=#{delFlag,jdbcType= NUMERIC },
+		</if>
+		</set>
+	where id_=#{id}
+	</update>
+	<select id="get" parameterType="string" resultMap="RecruitPersonRelationMap">
+		select 
+id_,work_person_id,recruit_information_id,create_by,create_time,update_by,update_time,del_flag		from base_recruit_person_relation where id_=#{0}
+	</select>
+	<select id="exist" parameterType="string" resultType="int">
+		select count(*) from base_recruit_person_relation where id_=#{0}
+	</select>
+	<select id="list" resultMap="RecruitPersonRelationMap">
+		select * from base_recruit_person_relation
+	</select>
+	<select id="search" parameterType="hashmap" resultMap="RecruitPersonRelationMap">
+		<![CDATA[
+			select * from base_recruit_person_relation
+		]]>
+		<where>
+			<if test="searchParams.id != null">
+				and ID_ like #{searchParams.id}
+			</if>
+		</where>
+		<foreach item="sort" collection="sortList"  open="order by" separator=",">
+	        ${sort.name} ${sort.order}
+	 	</foreach>
+	</select>
+</mapper>

+ 106 - 0
common/src/main/resources/mapper/base/ShareWorksInfo.xml

@@ -0,0 +1,106 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" 
+"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<!-- namespace必须指向DAO接口 -->
+<mapper namespace="com.jpsoft.employment.modules.base.dao.ShareWorksInfoDAO">
+	<resultMap id="ShareWorksInfoMap" type="ShareWorksInfo">
+		<id property="id" column="id_" />
+			<result property="type" column="type_" />
+			<result property="status" column="status_" />
+			<result property="title" column="title_" />
+			<result property="content" column="content_" />
+			<result property="author" column="author_" />
+			<result property="createBy" column="create_by" />
+			<result property="createTime" column="create_time" />
+			<result property="updateBy" column="update_by" />
+			<result property="updateTime" column="update_time" />
+			<result property="delFlag" column="del_flag" />
+			</resultMap>
+	<insert id="insert" parameterType="ShareWorksInfo">
+	<!--
+	<selectKey resultType="java.lang.String" order="BEFORE" keyProperty="id">
+		select sys_guid() from dual
+	</selectKey>
+	-->
+	<![CDATA[
+		insert into base_share_works_info
+	    (id_,type_,status_,title_,content_,author_,create_by,create_time,update_by,update_time,del_flag)
+		values
+		(
+#{id,jdbcType=VARCHAR}
+,#{type,jdbcType=VARCHAR}
+,#{status,jdbcType=VARCHAR}
+,#{title,jdbcType=VARCHAR}
+,#{content,jdbcType=VARCHAR}
+,#{author,jdbcType=VARCHAR}
+,#{createBy,jdbcType=VARCHAR}
+,#{createTime,jdbcType= TIMESTAMP }
+,#{updateBy,jdbcType=VARCHAR}
+,#{updateTime,jdbcType= TIMESTAMP }
+,#{delFlag,jdbcType= NUMERIC }
+		)
+	]]>
+	</insert>
+	<delete id="delete" parameterType="string">
+		delete from base_share_works_info where id_=#{id,jdbcType=VARCHAR}
+	</delete>
+	<update id="update" parameterType="ShareWorksInfo">
+		update base_share_works_info
+		<set>
+				<if test="type!=null">
+		type_=#{type,jdbcType=VARCHAR},
+		</if>
+				<if test="status!=null">
+		status_=#{status,jdbcType=VARCHAR},
+		</if>
+				<if test="title!=null">
+		title_=#{title,jdbcType=VARCHAR},
+		</if>
+				<if test="content!=null">
+		content_=#{content,jdbcType=VARCHAR},
+		</if>
+				<if test="author!=null">
+		author_=#{author,jdbcType=VARCHAR},
+		</if>
+				<if test="createBy!=null">
+		create_by=#{createBy,jdbcType=VARCHAR},
+		</if>
+				<if test="createTime!=null">
+		create_time=#{createTime,jdbcType= TIMESTAMP },
+		</if>
+				<if test="updateBy!=null">
+		update_by=#{updateBy,jdbcType=VARCHAR},
+		</if>
+				<if test="updateTime!=null">
+		update_time=#{updateTime,jdbcType= TIMESTAMP },
+		</if>
+				<if test="delFlag!=null">
+		del_flag=#{delFlag,jdbcType= NUMERIC },
+		</if>
+		</set>
+	where id_=#{id}
+	</update>
+	<select id="get" parameterType="string" resultMap="ShareWorksInfoMap">
+		select 
+id_,type_,status_,title_,content_,author_,create_by,create_time,update_by,update_time,del_flag		from base_share_works_info where id_=#{0}
+	</select>
+	<select id="exist" parameterType="string" resultType="int">
+		select count(*) from base_share_works_info where id_=#{0}
+	</select>
+	<select id="list" resultMap="ShareWorksInfoMap">
+		select * from base_share_works_info
+	</select>
+	<select id="search" parameterType="hashmap" resultMap="ShareWorksInfoMap">
+		<![CDATA[
+			select * from base_share_works_info
+		]]>
+		<where>
+			<if test="searchParams.id != null">
+				and ID_ like #{searchParams.id}
+			</if>
+		</where>
+		<foreach item="sort" collection="sortList"  open="order by" separator=",">
+	        ${sort.name} ${sort.order}
+	 	</foreach>
+	</select>
+</mapper>

+ 101 - 0
common/src/main/resources/mapper/base/TrainingInfo.xml

@@ -0,0 +1,101 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" 
+"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<!-- namespace必须指向DAO接口 -->
+<mapper namespace="com.jpsoft.employment.modules.base.dao.TrainingInfoDAO">
+	<resultMap id="TrainingInfoMap" type="TrainingInfo">
+		<id property="id" column="id_" />
+			<result property="name" column="name_" />
+			<result property="title" column="title_" />
+			<result property="content" column="content_" />
+			<result property="file" column="file_" />
+			<result property="createBy" column="create_by" />
+			<result property="createTime" column="create_time" />
+			<result property="updateBy" column="update_by" />
+			<result property="updateTime" column="update_time" />
+			<result property="delFlag" column="del_flag" />
+			</resultMap>
+	<insert id="insert" parameterType="TrainingInfo">
+	<!--
+	<selectKey resultType="java.lang.String" order="BEFORE" keyProperty="id">
+		select sys_guid() from dual
+	</selectKey>
+	-->
+	<![CDATA[
+		insert into base_training_info
+	    (id_,name_,title_,content_,file_,create_by,create_time,update_by,update_time,del_flag)
+		values
+		(
+#{id,jdbcType=VARCHAR}
+,#{name,jdbcType=VARCHAR}
+,#{title,jdbcType=VARCHAR}
+,#{content,jdbcType=VARCHAR}
+,#{file,jdbcType=VARCHAR}
+,#{createBy,jdbcType=VARCHAR}
+,#{createTime,jdbcType= TIMESTAMP }
+,#{updateBy,jdbcType=VARCHAR}
+,#{updateTime,jdbcType= TIMESTAMP }
+,#{delFlag,jdbcType= NUMERIC }
+		)
+	]]>
+	</insert>
+	<delete id="delete" parameterType="string">
+		delete from base_training_info where id_=#{id,jdbcType=VARCHAR}
+	</delete>
+	<update id="update" parameterType="TrainingInfo">
+		update base_training_info
+		<set>
+				<if test="name!=null">
+		name_=#{name,jdbcType=VARCHAR},
+		</if>
+				<if test="title!=null">
+		title_=#{title,jdbcType=VARCHAR},
+		</if>
+				<if test="content!=null">
+		content_=#{content,jdbcType=VARCHAR},
+		</if>
+				<if test="file!=null">
+		file_=#{file,jdbcType=VARCHAR},
+		</if>
+				<if test="createBy!=null">
+		create_by=#{createBy,jdbcType=VARCHAR},
+		</if>
+				<if test="createTime!=null">
+		create_time=#{createTime,jdbcType= TIMESTAMP },
+		</if>
+				<if test="updateBy!=null">
+		update_by=#{updateBy,jdbcType=VARCHAR},
+		</if>
+				<if test="updateTime!=null">
+		update_time=#{updateTime,jdbcType= TIMESTAMP },
+		</if>
+				<if test="delFlag!=null">
+		del_flag=#{delFlag,jdbcType= NUMERIC },
+		</if>
+		</set>
+	where id_=#{id}
+	</update>
+	<select id="get" parameterType="string" resultMap="TrainingInfoMap">
+		select 
+id_,name_,title_,content_,file_,create_by,create_time,update_by,update_time,del_flag		from base_training_info where id_=#{0}
+	</select>
+	<select id="exist" parameterType="string" resultType="int">
+		select count(*) from base_training_info where id_=#{0}
+	</select>
+	<select id="list" resultMap="TrainingInfoMap">
+		select * from base_training_info
+	</select>
+	<select id="search" parameterType="hashmap" resultMap="TrainingInfoMap">
+		<![CDATA[
+			select * from base_training_info
+		]]>
+		<where>
+			<if test="searchParams.id != null">
+				and ID_ like #{searchParams.id}
+			</if>
+		</where>
+		<foreach item="sort" collection="sortList"  open="order by" separator=",">
+	        ${sort.name} ${sort.order}
+	 	</foreach>
+	</select>
+</mapper>

+ 228 - 0
web/src/main/java/com/jpsoft/employment/modules/base/controller/EnterpriseInfoController.java

@@ -0,0 +1,228 @@
+package com.jpsoft.employment.modules.base.controller;
+
+import com.github.pagehelper.Page;
+import com.jpsoft.employment.modules.common.dto.MessageResult;
+import com.jpsoft.employment.modules.common.utils.PojoUtils;
+import com.jpsoft.employment.modules.common.dto.Sort;
+import com.jpsoft.employment.modules.base.entity.EnterpriseInfo;
+import com.jpsoft.employment.modules.base.service.EnterpriseInfoService;
+import io.swagger.annotations.ApiOperation;
+import org.apache.commons.lang3.StringUtils;
+import org.apache.ibatis.mapping.ResultMap;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.*;
+
+import javax.servlet.http.HttpServletRequest;
+import java.text.SimpleDateFormat;
+import java.util.*;
+
+@RestController
+@RequestMapping("/enterpriseInfo")
+public class EnterpriseInfoController {
+    private Logger logger = LoggerFactory.getLogger(getClass());
+
+    @Autowired
+    private EnterpriseInfoService enterpriseInfoService;
+	
+	
+	@ApiOperation(value="创建空记录")
+    @GetMapping("create")
+    public MessageResult<EnterpriseInfo> create(){
+        MessageResult<EnterpriseInfo> msgResult = new MessageResult<>();
+
+        EnterpriseInfo enterpriseInfo = new EnterpriseInfo();
+
+        msgResult.setData(enterpriseInfo);
+        msgResult.setResult(true);
+
+        return msgResult;
+    }
+
+    @ApiOperation(value="添加信息")
+    @PostMapping("add")
+    public MessageResult<EnterpriseInfo> add(@RequestBody EnterpriseInfo enterpriseInfo,@RequestAttribute String subject){
+        MessageResult<EnterpriseInfo> msgResult = new MessageResult<>();
+
+        try {
+            enterpriseInfo.setId(UUID.randomUUID().toString());
+			enterpriseInfo.setDelFlag(false);
+            enterpriseInfo.setCreateBy(subject);
+            enterpriseInfo.setCreateTime(new Date());
+
+            int affectCount = enterpriseInfoService.insert(enterpriseInfo);
+
+            if (affectCount > 0) {
+                msgResult.setResult(true);
+                msgResult.setData(enterpriseInfo);
+            } else {
+                msgResult.setResult(false);
+                msgResult.setMessage("数据库添加失败");
+            }
+        }
+        catch(Exception ex){
+            logger.error(ex.getMessage(),ex);
+
+            msgResult.setResult(false);
+            msgResult.setMessage(ex.getMessage());
+        }
+
+        return msgResult;
+    }
+
+    @ApiOperation(value="获取信息")
+    @GetMapping("edit/{id}")
+    public MessageResult<EnterpriseInfo> edit(@PathVariable("id") String id){
+        MessageResult<EnterpriseInfo> msgResult = new MessageResult<>();
+
+        try {
+            EnterpriseInfo enterpriseInfo = enterpriseInfoService.get(id);
+
+            if (enterpriseInfo != null) {
+                msgResult.setResult(true);
+                msgResult.setData(enterpriseInfo);
+            } else {
+                msgResult.setResult(false);
+                msgResult.setMessage("数据库不存在该记录!");
+            }
+        }
+        catch(Exception ex){
+            logger.error(ex.getMessage(),ex);
+
+            msgResult.setResult(false);
+            msgResult.setMessage(ex.getMessage());
+        }
+
+        return msgResult;
+    }
+
+    @ApiOperation(value="更新用户")
+    @PostMapping("update")
+    public MessageResult<EnterpriseInfo> update(@RequestBody EnterpriseInfo enterpriseInfo,@RequestAttribute String subject){
+        MessageResult<EnterpriseInfo> msgResult = new MessageResult<>();
+
+        try {
+		    enterpriseInfo.setUpdateBy(subject);
+            enterpriseInfo.setUpdateTime(new Date());
+		
+            int affectCount = enterpriseInfoService.update(enterpriseInfo);
+
+            if (affectCount > 0) {
+                msgResult.setResult(true);
+                msgResult.setData(enterpriseInfo);
+            } else {
+                msgResult.setResult(false);
+                msgResult.setMessage("数据库更新失败");
+            }
+        }
+        catch(Exception ex){
+            logger.error(ex.getMessage(),ex);
+
+            msgResult.setResult(false);
+            msgResult.setMessage(ex.getMessage());
+        }
+
+        return msgResult;
+    }
+
+    @ApiOperation(value="删除用户")
+    @PostMapping("delete/{id}")
+    public MessageResult<EnterpriseInfo> delete(@PathVariable("id") String id,@RequestAttribute String subject){
+        MessageResult<EnterpriseInfo> msgResult = new MessageResult<>();
+
+        try {
+			
+			EnterpriseInfo enterpriseInfo = enterpriseInfoService.get(id);
+            enterpriseInfo.setDelFlag(true);
+            enterpriseInfo.setUpdateBy(subject);
+            enterpriseInfo.setUpdateTime(new Date());
+			
+			int affectCount = enterpriseInfoService.update(enterpriseInfo);
+
+            if (affectCount > 0) {
+                msgResult.setResult(true);
+            } else {
+                msgResult.setResult(false);
+                msgResult.setMessage("数据库删除失败");
+            }
+        }
+        catch(Exception ex){
+            logger.error(ex.getMessage(),ex);
+
+            msgResult.setResult(false);
+            msgResult.setMessage(ex.getMessage());
+        }
+
+        return msgResult;
+    }
+
+
+    @ApiOperation(value="批量删除")
+    @PostMapping("batchDelete")
+    public MessageResult<Integer> batchDelete(@RequestBody List<String> idList,@RequestAttribute String subject){
+        MessageResult<Integer> msgResult = new MessageResult<>();
+
+        try {
+            int affectCount = 0;
+
+            for (String id : idList) {
+                EnterpriseInfo enterpriseInfo = enterpriseInfoService.get(id);
+                enterpriseInfo.setDelFlag(true);
+                enterpriseInfo.setUpdateBy(subject);
+                enterpriseInfo.setUpdateTime(new Date());
+
+                affectCount += enterpriseInfoService.update(enterpriseInfo);
+            }
+
+            if (affectCount > 0) {
+                msgResult.setResult(true);
+                msgResult.setData(affectCount);
+            } else {
+                msgResult.setResult(false);
+                msgResult.setMessage("删除失败");
+            }
+        }
+        catch(Exception ex){
+            logger.error(ex.getMessage(),ex);
+
+            msgResult.setResult(false);
+            msgResult.setMessage(ex.getMessage());
+        }
+
+        return msgResult;
+    }
+
+    @ApiOperation(value="列表")
+    @RequestMapping(value = "pageList",method = RequestMethod.POST)
+    public MessageResult<Map> pageList(
+            String id,
+            @RequestParam(value="pageIndex",defaultValue="1") int pageIndex,
+            @RequestParam(value="pageSize",defaultValue="20") int pageSize,
+            HttpServletRequest request){
+        String subject = (String)request.getAttribute("subject");
+
+        //当前用户ID
+        System.out.println(subject);
+
+        MessageResult<Map> msgResult = new MessageResult<>();
+
+        Map<String,Object> searchParams = new HashMap<>();
+
+        List<Sort> sortList = new ArrayList<>();
+        sortList.add(new Sort("id_","asc"));
+
+        if (StringUtils.isNotEmpty(id)) {
+            searchParams.put("id","%" + id + "%");
+        }
+
+
+        Page<EnterpriseInfo> page = enterpriseInfoService.pageSearch(searchParams,pageIndex,pageSize,true,sortList);
+
+
+        msgResult.setResult(true);
+        msgResult.setData(PojoUtils.pageWrapper(page));
+
+        return msgResult;
+    }
+}

+ 228 - 0
web/src/main/java/com/jpsoft/employment/modules/base/controller/JobEnterpriseRelationController.java

@@ -0,0 +1,228 @@
+package com.jpsoft.employment.modules.base.controller;
+
+import com.github.pagehelper.Page;
+import com.jpsoft.employment.modules.common.dto.MessageResult;
+import com.jpsoft.employment.modules.common.utils.PojoUtils;
+import com.jpsoft.employment.modules.common.dto.Sort;
+import com.jpsoft.employment.modules.base.entity.JobEnterpriseRelation;
+import com.jpsoft.employment.modules.base.service.JobEnterpriseRelationService;
+import io.swagger.annotations.ApiOperation;
+import org.apache.commons.lang3.StringUtils;
+import org.apache.ibatis.mapping.ResultMap;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.*;
+
+import javax.servlet.http.HttpServletRequest;
+import java.text.SimpleDateFormat;
+import java.util.*;
+
+@RestController
+@RequestMapping("/jobEnterpriseRelation")
+public class JobEnterpriseRelationController {
+    private Logger logger = LoggerFactory.getLogger(getClass());
+
+    @Autowired
+    private JobEnterpriseRelationService jobEnterpriseRelationService;
+	
+	
+	@ApiOperation(value="创建空记录")
+    @GetMapping("create")
+    public MessageResult<JobEnterpriseRelation> create(){
+        MessageResult<JobEnterpriseRelation> msgResult = new MessageResult<>();
+
+        JobEnterpriseRelation jobEnterpriseRelation = new JobEnterpriseRelation();
+
+        msgResult.setData(jobEnterpriseRelation);
+        msgResult.setResult(true);
+
+        return msgResult;
+    }
+
+    @ApiOperation(value="添加信息")
+    @PostMapping("add")
+    public MessageResult<JobEnterpriseRelation> add(@RequestBody JobEnterpriseRelation jobEnterpriseRelation,@RequestAttribute String subject){
+        MessageResult<JobEnterpriseRelation> msgResult = new MessageResult<>();
+
+        try {
+            jobEnterpriseRelation.setId(UUID.randomUUID().toString());
+			jobEnterpriseRelation.setDelFlag(false);
+            jobEnterpriseRelation.setCreateBy(subject);
+            jobEnterpriseRelation.setCreateTime(new Date());
+
+            int affectCount = jobEnterpriseRelationService.insert(jobEnterpriseRelation);
+
+            if (affectCount > 0) {
+                msgResult.setResult(true);
+                msgResult.setData(jobEnterpriseRelation);
+            } else {
+                msgResult.setResult(false);
+                msgResult.setMessage("数据库添加失败");
+            }
+        }
+        catch(Exception ex){
+            logger.error(ex.getMessage(),ex);
+
+            msgResult.setResult(false);
+            msgResult.setMessage(ex.getMessage());
+        }
+
+        return msgResult;
+    }
+
+    @ApiOperation(value="获取信息")
+    @GetMapping("edit/{id}")
+    public MessageResult<JobEnterpriseRelation> edit(@PathVariable("id") String id){
+        MessageResult<JobEnterpriseRelation> msgResult = new MessageResult<>();
+
+        try {
+            JobEnterpriseRelation jobEnterpriseRelation = jobEnterpriseRelationService.get(id);
+
+            if (jobEnterpriseRelation != null) {
+                msgResult.setResult(true);
+                msgResult.setData(jobEnterpriseRelation);
+            } else {
+                msgResult.setResult(false);
+                msgResult.setMessage("数据库不存在该记录!");
+            }
+        }
+        catch(Exception ex){
+            logger.error(ex.getMessage(),ex);
+
+            msgResult.setResult(false);
+            msgResult.setMessage(ex.getMessage());
+        }
+
+        return msgResult;
+    }
+
+    @ApiOperation(value="更新用户")
+    @PostMapping("update")
+    public MessageResult<JobEnterpriseRelation> update(@RequestBody JobEnterpriseRelation jobEnterpriseRelation,@RequestAttribute String subject){
+        MessageResult<JobEnterpriseRelation> msgResult = new MessageResult<>();
+
+        try {
+		    jobEnterpriseRelation.setUpdateBy(subject);
+            jobEnterpriseRelation.setUpdateTime(new Date());
+		
+            int affectCount = jobEnterpriseRelationService.update(jobEnterpriseRelation);
+
+            if (affectCount > 0) {
+                msgResult.setResult(true);
+                msgResult.setData(jobEnterpriseRelation);
+            } else {
+                msgResult.setResult(false);
+                msgResult.setMessage("数据库更新失败");
+            }
+        }
+        catch(Exception ex){
+            logger.error(ex.getMessage(),ex);
+
+            msgResult.setResult(false);
+            msgResult.setMessage(ex.getMessage());
+        }
+
+        return msgResult;
+    }
+
+    @ApiOperation(value="删除用户")
+    @PostMapping("delete/{id}")
+    public MessageResult<JobEnterpriseRelation> delete(@PathVariable("id") String id,@RequestAttribute String subject){
+        MessageResult<JobEnterpriseRelation> msgResult = new MessageResult<>();
+
+        try {
+			
+			JobEnterpriseRelation jobEnterpriseRelation = jobEnterpriseRelationService.get(id);
+            jobEnterpriseRelation.setDelFlag(true);
+            jobEnterpriseRelation.setUpdateBy(subject);
+            jobEnterpriseRelation.setUpdateTime(new Date());
+			
+			int affectCount = jobEnterpriseRelationService.update(jobEnterpriseRelation);
+
+            if (affectCount > 0) {
+                msgResult.setResult(true);
+            } else {
+                msgResult.setResult(false);
+                msgResult.setMessage("数据库删除失败");
+            }
+        }
+        catch(Exception ex){
+            logger.error(ex.getMessage(),ex);
+
+            msgResult.setResult(false);
+            msgResult.setMessage(ex.getMessage());
+        }
+
+        return msgResult;
+    }
+
+
+    @ApiOperation(value="批量删除")
+    @PostMapping("batchDelete")
+    public MessageResult<Integer> batchDelete(@RequestBody List<String> idList,@RequestAttribute String subject){
+        MessageResult<Integer> msgResult = new MessageResult<>();
+
+        try {
+            int affectCount = 0;
+
+            for (String id : idList) {
+                JobEnterpriseRelation jobEnterpriseRelation = jobEnterpriseRelationService.get(id);
+                jobEnterpriseRelation.setDelFlag(true);
+                jobEnterpriseRelation.setUpdateBy(subject);
+                jobEnterpriseRelation.setUpdateTime(new Date());
+
+                affectCount += jobEnterpriseRelationService.update(jobEnterpriseRelation);
+            }
+
+            if (affectCount > 0) {
+                msgResult.setResult(true);
+                msgResult.setData(affectCount);
+            } else {
+                msgResult.setResult(false);
+                msgResult.setMessage("删除失败");
+            }
+        }
+        catch(Exception ex){
+            logger.error(ex.getMessage(),ex);
+
+            msgResult.setResult(false);
+            msgResult.setMessage(ex.getMessage());
+        }
+
+        return msgResult;
+    }
+
+    @ApiOperation(value="列表")
+    @RequestMapping(value = "pageList",method = RequestMethod.POST)
+    public MessageResult<Map> pageList(
+            String id,
+            @RequestParam(value="pageIndex",defaultValue="1") int pageIndex,
+            @RequestParam(value="pageSize",defaultValue="20") int pageSize,
+            HttpServletRequest request){
+        String subject = (String)request.getAttribute("subject");
+
+        //当前用户ID
+        System.out.println(subject);
+
+        MessageResult<Map> msgResult = new MessageResult<>();
+
+        Map<String,Object> searchParams = new HashMap<>();
+
+        List<Sort> sortList = new ArrayList<>();
+        sortList.add(new Sort("id_","asc"));
+
+        if (StringUtils.isNotEmpty(id)) {
+            searchParams.put("id","%" + id + "%");
+        }
+
+
+        Page<JobEnterpriseRelation> page = jobEnterpriseRelationService.pageSearch(searchParams,pageIndex,pageSize,true,sortList);
+
+
+        msgResult.setResult(true);
+        msgResult.setData(PojoUtils.pageWrapper(page));
+
+        return msgResult;
+    }
+}

+ 227 - 0
web/src/main/java/com/jpsoft/employment/modules/base/controller/JobInformationInfoController.java

@@ -0,0 +1,227 @@
+package com.jpsoft.employment.modules.base.controller;
+
+import com.github.pagehelper.Page;
+import com.jpsoft.employment.modules.common.dto.MessageResult;
+import com.jpsoft.employment.modules.common.utils.PojoUtils;
+import com.jpsoft.employment.modules.common.dto.Sort;
+import com.jpsoft.employment.modules.base.entity.JobInformationInfo;
+import com.jpsoft.employment.modules.base.service.JobInformationInfoService;
+import io.swagger.annotations.ApiOperation;
+import org.apache.commons.lang3.StringUtils;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.*;
+
+import javax.servlet.http.HttpServletRequest;
+import java.text.SimpleDateFormat;
+import java.util.*;
+
+@RestController
+@RequestMapping("/jobInformationInfo")
+public class JobInformationInfoController {
+    private Logger logger = LoggerFactory.getLogger(getClass());
+
+    @Autowired
+    private JobInformationInfoService jobInformationInfoService;
+	
+	
+	@ApiOperation(value="创建空记录")
+    @GetMapping("create")
+    public MessageResult<JobInformationInfo> create(){
+        MessageResult<JobInformationInfo> msgResult = new MessageResult<>();
+
+        JobInformationInfo jobInformationInfo = new JobInformationInfo();
+
+        msgResult.setData(jobInformationInfo);
+        msgResult.setResult(true);
+
+        return msgResult;
+    }
+
+    @ApiOperation(value="添加信息")
+    @PostMapping("add")
+    public MessageResult<JobInformationInfo> add(@RequestBody JobInformationInfo jobInformationInfo,@RequestAttribute String subject){
+        MessageResult<JobInformationInfo> msgResult = new MessageResult<>();
+
+        try {
+            jobInformationInfo.setId(UUID.randomUUID().toString());
+			jobInformationInfo.setDelFlag(false);
+            jobInformationInfo.setCreateBy(subject);
+            jobInformationInfo.setCreateTime(new Date());
+
+            int affectCount = jobInformationInfoService.insert(jobInformationInfo);
+
+            if (affectCount > 0) {
+                msgResult.setResult(true);
+                msgResult.setData(jobInformationInfo);
+            } else {
+                msgResult.setResult(false);
+                msgResult.setMessage("数据库添加失败");
+            }
+        }
+        catch(Exception ex){
+            logger.error(ex.getMessage(),ex);
+
+            msgResult.setResult(false);
+            msgResult.setMessage(ex.getMessage());
+        }
+
+        return msgResult;
+    }
+
+    @ApiOperation(value="获取信息")
+    @GetMapping("edit/{id}")
+    public MessageResult<JobInformationInfo> edit(@PathVariable("id") String id){
+        MessageResult<JobInformationInfo> msgResult = new MessageResult<>();
+
+        try {
+            JobInformationInfo jobInformationInfo = jobInformationInfoService.get(id);
+
+            if (jobInformationInfo != null) {
+                msgResult.setResult(true);
+                msgResult.setData(jobInformationInfo);
+            } else {
+                msgResult.setResult(false);
+                msgResult.setMessage("数据库不存在该记录!");
+            }
+        }
+        catch(Exception ex){
+            logger.error(ex.getMessage(),ex);
+
+            msgResult.setResult(false);
+            msgResult.setMessage(ex.getMessage());
+        }
+
+        return msgResult;
+    }
+
+    @ApiOperation(value="更新用户")
+    @PostMapping("update")
+    public MessageResult<JobInformationInfo> update(@RequestBody JobInformationInfo jobInformationInfo,@RequestAttribute String subject){
+        MessageResult<JobInformationInfo> msgResult = new MessageResult<>();
+
+        try {
+		    jobInformationInfo.setUpdateBy(subject);
+            jobInformationInfo.setUpdateTime(new Date());
+		
+            int affectCount = jobInformationInfoService.update(jobInformationInfo);
+
+            if (affectCount > 0) {
+                msgResult.setResult(true);
+                msgResult.setData(jobInformationInfo);
+            } else {
+                msgResult.setResult(false);
+                msgResult.setMessage("数据库更新失败");
+            }
+        }
+        catch(Exception ex){
+            logger.error(ex.getMessage(),ex);
+
+            msgResult.setResult(false);
+            msgResult.setMessage(ex.getMessage());
+        }
+
+        return msgResult;
+    }
+
+    @ApiOperation(value="删除用户")
+    @PostMapping("delete/{id}")
+    public MessageResult<JobInformationInfo> delete(@PathVariable("id") String id,@RequestAttribute String subject){
+        MessageResult<JobInformationInfo> msgResult = new MessageResult<>();
+
+        try {
+			
+			JobInformationInfo jobInformationInfo = jobInformationInfoService.get(id);
+            jobInformationInfo.setDelFlag(true);
+            jobInformationInfo.setUpdateBy(subject);
+            jobInformationInfo.setUpdateTime(new Date());
+			
+			int affectCount = jobInformationInfoService.update(jobInformationInfo);
+
+            if (affectCount > 0) {
+                msgResult.setResult(true);
+            } else {
+                msgResult.setResult(false);
+                msgResult.setMessage("数据库删除失败");
+            }
+        }
+        catch(Exception ex){
+            logger.error(ex.getMessage(),ex);
+
+            msgResult.setResult(false);
+            msgResult.setMessage(ex.getMessage());
+        }
+
+        return msgResult;
+    }
+
+
+    @ApiOperation(value="批量删除")
+    @PostMapping("batchDelete")
+    public MessageResult<Integer> batchDelete(@RequestBody List<String> idList,@RequestAttribute String subject){
+        MessageResult<Integer> msgResult = new MessageResult<>();
+
+        try {
+            int affectCount = 0;
+
+            for (String id : idList) {
+                JobInformationInfo jobInformationInfo = jobInformationInfoService.get(id);
+                jobInformationInfo.setDelFlag(true);
+                jobInformationInfo.setUpdateBy(subject);
+                jobInformationInfo.setUpdateTime(new Date());
+
+                affectCount += jobInformationInfoService.update(jobInformationInfo);
+            }
+
+            if (affectCount > 0) {
+                msgResult.setResult(true);
+                msgResult.setData(affectCount);
+            } else {
+                msgResult.setResult(false);
+                msgResult.setMessage("删除失败");
+            }
+        }
+        catch(Exception ex){
+            logger.error(ex.getMessage(),ex);
+
+            msgResult.setResult(false);
+            msgResult.setMessage(ex.getMessage());
+        }
+
+        return msgResult;
+    }
+
+    @ApiOperation(value="列表")
+    @RequestMapping(value = "pageList",method = RequestMethod.POST)
+    public MessageResult<Map> pageList(
+            String id,
+            @RequestParam(value="pageIndex",defaultValue="1") int pageIndex,
+            @RequestParam(value="pageSize",defaultValue="20") int pageSize,
+            HttpServletRequest request){
+        String subject = (String)request.getAttribute("subject");
+
+        //当前用户ID
+        System.out.println(subject);
+
+        MessageResult<Map> msgResult = new MessageResult<>();
+
+        Map<String,Object> searchParams = new HashMap<>();
+
+        List<Sort> sortList = new ArrayList<>();
+        sortList.add(new Sort("id_","asc"));
+
+        if (StringUtils.isNotEmpty(id)) {
+            searchParams.put("id","%" + id + "%");
+        }
+
+
+        Page<JobInformationInfo> page = jobInformationInfoService.pageSearch(searchParams,pageIndex,pageSize,true,sortList);
+
+
+        msgResult.setResult(true);
+        msgResult.setData(PojoUtils.pageWrapper(page));
+
+        return msgResult;
+    }
+}

+ 227 - 0
web/src/main/java/com/jpsoft/employment/modules/base/controller/NewsInfoController.java

@@ -0,0 +1,227 @@
+package com.jpsoft.employment.modules.base.controller;
+
+import com.github.pagehelper.Page;
+import com.jpsoft.employment.modules.common.dto.MessageResult;
+import com.jpsoft.employment.modules.common.utils.PojoUtils;
+import com.jpsoft.employment.modules.common.dto.Sort;
+import com.jpsoft.employment.modules.base.entity.NewsInfo;
+import com.jpsoft.employment.modules.base.service.NewsInfoService;
+import io.swagger.annotations.ApiOperation;
+import org.apache.commons.lang3.StringUtils;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.*;
+
+import javax.servlet.http.HttpServletRequest;
+import java.text.SimpleDateFormat;
+import java.util.*;
+
+@RestController
+@RequestMapping("/newsInfo")
+public class NewsInfoController {
+    private Logger logger = LoggerFactory.getLogger(getClass());
+
+    @Autowired
+    private NewsInfoService newsInfoService;
+	
+	
+	@ApiOperation(value="创建空记录")
+    @GetMapping("create")
+    public MessageResult<NewsInfo> create(){
+        MessageResult<NewsInfo> msgResult = new MessageResult<>();
+
+        NewsInfo newsInfo = new NewsInfo();
+
+        msgResult.setData(newsInfo);
+        msgResult.setResult(true);
+
+        return msgResult;
+    }
+
+    @ApiOperation(value="添加信息")
+    @PostMapping("add")
+    public MessageResult<NewsInfo> add(@RequestBody NewsInfo newsInfo,@RequestAttribute String subject){
+        MessageResult<NewsInfo> msgResult = new MessageResult<>();
+
+        try {
+            newsInfo.setId(UUID.randomUUID().toString());
+			newsInfo.setDelFlag(false);
+            newsInfo.setCreateBy(subject);
+            newsInfo.setCreateTime(new Date());
+
+            int affectCount = newsInfoService.insert(newsInfo);
+
+            if (affectCount > 0) {
+                msgResult.setResult(true);
+                msgResult.setData(newsInfo);
+            } else {
+                msgResult.setResult(false);
+                msgResult.setMessage("数据库添加失败");
+            }
+        }
+        catch(Exception ex){
+            logger.error(ex.getMessage(),ex);
+
+            msgResult.setResult(false);
+            msgResult.setMessage(ex.getMessage());
+        }
+
+        return msgResult;
+    }
+
+    @ApiOperation(value="获取信息")
+    @GetMapping("edit/{id}")
+    public MessageResult<NewsInfo> edit(@PathVariable("id") String id){
+        MessageResult<NewsInfo> msgResult = new MessageResult<>();
+
+        try {
+            NewsInfo newsInfo = newsInfoService.get(id);
+
+            if (newsInfo != null) {
+                msgResult.setResult(true);
+                msgResult.setData(newsInfo);
+            } else {
+                msgResult.setResult(false);
+                msgResult.setMessage("数据库不存在该记录!");
+            }
+        }
+        catch(Exception ex){
+            logger.error(ex.getMessage(),ex);
+
+            msgResult.setResult(false);
+            msgResult.setMessage(ex.getMessage());
+        }
+
+        return msgResult;
+    }
+
+    @ApiOperation(value="更新用户")
+    @PostMapping("update")
+    public MessageResult<NewsInfo> update(@RequestBody NewsInfo newsInfo,@RequestAttribute String subject){
+        MessageResult<NewsInfo> msgResult = new MessageResult<>();
+
+        try {
+		    newsInfo.setUpdateBy(subject);
+            newsInfo.setUpdateTime(new Date());
+		
+            int affectCount = newsInfoService.update(newsInfo);
+
+            if (affectCount > 0) {
+                msgResult.setResult(true);
+                msgResult.setData(newsInfo);
+            } else {
+                msgResult.setResult(false);
+                msgResult.setMessage("数据库更新失败");
+            }
+        }
+        catch(Exception ex){
+            logger.error(ex.getMessage(),ex);
+
+            msgResult.setResult(false);
+            msgResult.setMessage(ex.getMessage());
+        }
+
+        return msgResult;
+    }
+
+    @ApiOperation(value="删除用户")
+    @PostMapping("delete/{id}")
+    public MessageResult<NewsInfo> delete(@PathVariable("id") String id,@RequestAttribute String subject){
+        MessageResult<NewsInfo> msgResult = new MessageResult<>();
+
+        try {
+			
+			NewsInfo newsInfo = newsInfoService.get(id);
+            newsInfo.setDelFlag(true);
+            newsInfo.setUpdateBy(subject);
+            newsInfo.setUpdateTime(new Date());
+			
+			int affectCount = newsInfoService.update(newsInfo);
+
+            if (affectCount > 0) {
+                msgResult.setResult(true);
+            } else {
+                msgResult.setResult(false);
+                msgResult.setMessage("数据库删除失败");
+            }
+        }
+        catch(Exception ex){
+            logger.error(ex.getMessage(),ex);
+
+            msgResult.setResult(false);
+            msgResult.setMessage(ex.getMessage());
+        }
+
+        return msgResult;
+    }
+
+
+    @ApiOperation(value="批量删除")
+    @PostMapping("batchDelete")
+    public MessageResult<Integer> batchDelete(@RequestBody List<String> idList,@RequestAttribute String subject){
+        MessageResult<Integer> msgResult = new MessageResult<>();
+
+        try {
+            int affectCount = 0;
+
+            for (String id : idList) {
+                NewsInfo newsInfo = newsInfoService.get(id);
+                newsInfo.setDelFlag(true);
+                newsInfo.setUpdateBy(subject);
+                newsInfo.setUpdateTime(new Date());
+
+                affectCount += newsInfoService.update(newsInfo);
+            }
+
+            if (affectCount > 0) {
+                msgResult.setResult(true);
+                msgResult.setData(affectCount);
+            } else {
+                msgResult.setResult(false);
+                msgResult.setMessage("删除失败");
+            }
+        }
+        catch(Exception ex){
+            logger.error(ex.getMessage(),ex);
+
+            msgResult.setResult(false);
+            msgResult.setMessage(ex.getMessage());
+        }
+
+        return msgResult;
+    }
+
+    @ApiOperation(value="列表")
+    @RequestMapping(value = "pageList",method = RequestMethod.POST)
+    public MessageResult<Map> pageList(
+            String id,
+            @RequestParam(value="pageIndex",defaultValue="1") int pageIndex,
+            @RequestParam(value="pageSize",defaultValue="20") int pageSize,
+            HttpServletRequest request){
+        String subject = (String)request.getAttribute("subject");
+
+        //当前用户ID
+        System.out.println(subject);
+
+        MessageResult<Map> msgResult = new MessageResult<>();
+
+        Map<String,Object> searchParams = new HashMap<>();
+
+        List<Sort> sortList = new ArrayList<>();
+        sortList.add(new Sort("id_","asc"));
+
+        if (StringUtils.isNotEmpty(id)) {
+            searchParams.put("id","%" + id + "%");
+        }
+
+
+        Page<NewsInfo> page = newsInfoService.pageSearch(searchParams,pageIndex,pageSize,true,sortList);
+
+
+        msgResult.setResult(true);
+        msgResult.setData(PojoUtils.pageWrapper(page));
+
+        return msgResult;
+    }
+}

+ 227 - 0
web/src/main/java/com/jpsoft/employment/modules/base/controller/PersonInfoController.java

@@ -0,0 +1,227 @@
+package com.jpsoft.employment.modules.base.controller;
+
+import com.github.pagehelper.Page;
+import com.jpsoft.employment.modules.common.dto.MessageResult;
+import com.jpsoft.employment.modules.common.utils.PojoUtils;
+import com.jpsoft.employment.modules.common.dto.Sort;
+import com.jpsoft.employment.modules.base.entity.PersonInfo;
+import com.jpsoft.employment.modules.base.service.PersonInfoService;
+import io.swagger.annotations.ApiOperation;
+import org.apache.commons.lang3.StringUtils;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.*;
+
+import javax.servlet.http.HttpServletRequest;
+import java.text.SimpleDateFormat;
+import java.util.*;
+
+@RestController
+@RequestMapping("/personInfo")
+public class PersonInfoController {
+    private Logger logger = LoggerFactory.getLogger(getClass());
+
+    @Autowired
+    private PersonInfoService personInfoService;
+	
+	
+	@ApiOperation(value="创建空记录")
+    @GetMapping("create")
+    public MessageResult<PersonInfo> create(){
+        MessageResult<PersonInfo> msgResult = new MessageResult<>();
+
+        PersonInfo personInfo = new PersonInfo();
+
+        msgResult.setData(personInfo);
+        msgResult.setResult(true);
+
+        return msgResult;
+    }
+
+    @ApiOperation(value="添加信息")
+    @PostMapping("add")
+    public MessageResult<PersonInfo> add(@RequestBody PersonInfo personInfo,@RequestAttribute String subject){
+        MessageResult<PersonInfo> msgResult = new MessageResult<>();
+
+        try {
+            personInfo.setId(UUID.randomUUID().toString());
+			personInfo.setDelFlag(false);
+            personInfo.setCreateBy(subject);
+            personInfo.setCreateTime(new Date());
+
+            int affectCount = personInfoService.insert(personInfo);
+
+            if (affectCount > 0) {
+                msgResult.setResult(true);
+                msgResult.setData(personInfo);
+            } else {
+                msgResult.setResult(false);
+                msgResult.setMessage("数据库添加失败");
+            }
+        }
+        catch(Exception ex){
+            logger.error(ex.getMessage(),ex);
+
+            msgResult.setResult(false);
+            msgResult.setMessage(ex.getMessage());
+        }
+
+        return msgResult;
+    }
+
+    @ApiOperation(value="获取信息")
+    @GetMapping("edit/{id}")
+    public MessageResult<PersonInfo> edit(@PathVariable("id") String id){
+        MessageResult<PersonInfo> msgResult = new MessageResult<>();
+
+        try {
+            PersonInfo personInfo = personInfoService.get(id);
+
+            if (personInfo != null) {
+                msgResult.setResult(true);
+                msgResult.setData(personInfo);
+            } else {
+                msgResult.setResult(false);
+                msgResult.setMessage("数据库不存在该记录!");
+            }
+        }
+        catch(Exception ex){
+            logger.error(ex.getMessage(),ex);
+
+            msgResult.setResult(false);
+            msgResult.setMessage(ex.getMessage());
+        }
+
+        return msgResult;
+    }
+
+    @ApiOperation(value="更新用户")
+    @PostMapping("update")
+    public MessageResult<PersonInfo> update(@RequestBody PersonInfo personInfo,@RequestAttribute String subject){
+        MessageResult<PersonInfo> msgResult = new MessageResult<>();
+
+        try {
+		    personInfo.setUpdateBy(subject);
+            personInfo.setUpdateTime(new Date());
+		
+            int affectCount = personInfoService.update(personInfo);
+
+            if (affectCount > 0) {
+                msgResult.setResult(true);
+                msgResult.setData(personInfo);
+            } else {
+                msgResult.setResult(false);
+                msgResult.setMessage("数据库更新失败");
+            }
+        }
+        catch(Exception ex){
+            logger.error(ex.getMessage(),ex);
+
+            msgResult.setResult(false);
+            msgResult.setMessage(ex.getMessage());
+        }
+
+        return msgResult;
+    }
+
+    @ApiOperation(value="删除用户")
+    @PostMapping("delete/{id}")
+    public MessageResult<PersonInfo> delete(@PathVariable("id") String id,@RequestAttribute String subject){
+        MessageResult<PersonInfo> msgResult = new MessageResult<>();
+
+        try {
+			
+			PersonInfo personInfo = personInfoService.get(id);
+            personInfo.setDelFlag(true);
+            personInfo.setUpdateBy(subject);
+            personInfo.setUpdateTime(new Date());
+			
+			int affectCount = personInfoService.update(personInfo);
+
+            if (affectCount > 0) {
+                msgResult.setResult(true);
+            } else {
+                msgResult.setResult(false);
+                msgResult.setMessage("数据库删除失败");
+            }
+        }
+        catch(Exception ex){
+            logger.error(ex.getMessage(),ex);
+
+            msgResult.setResult(false);
+            msgResult.setMessage(ex.getMessage());
+        }
+
+        return msgResult;
+    }
+
+
+    @ApiOperation(value="批量删除")
+    @PostMapping("batchDelete")
+    public MessageResult<Integer> batchDelete(@RequestBody List<String> idList,@RequestAttribute String subject){
+        MessageResult<Integer> msgResult = new MessageResult<>();
+
+        try {
+            int affectCount = 0;
+
+            for (String id : idList) {
+                PersonInfo personInfo = personInfoService.get(id);
+                personInfo.setDelFlag(true);
+                personInfo.setUpdateBy(subject);
+                personInfo.setUpdateTime(new Date());
+
+                affectCount += personInfoService.update(personInfo);
+            }
+
+            if (affectCount > 0) {
+                msgResult.setResult(true);
+                msgResult.setData(affectCount);
+            } else {
+                msgResult.setResult(false);
+                msgResult.setMessage("删除失败");
+            }
+        }
+        catch(Exception ex){
+            logger.error(ex.getMessage(),ex);
+
+            msgResult.setResult(false);
+            msgResult.setMessage(ex.getMessage());
+        }
+
+        return msgResult;
+    }
+
+    @ApiOperation(value="列表")
+    @RequestMapping(value = "pageList",method = RequestMethod.POST)
+    public MessageResult<Map> pageList(
+            String id,
+            @RequestParam(value="pageIndex",defaultValue="1") int pageIndex,
+            @RequestParam(value="pageSize",defaultValue="20") int pageSize,
+            HttpServletRequest request){
+        String subject = (String)request.getAttribute("subject");
+
+        //当前用户ID
+        System.out.println(subject);
+
+        MessageResult<Map> msgResult = new MessageResult<>();
+
+        Map<String,Object> searchParams = new HashMap<>();
+
+        List<Sort> sortList = new ArrayList<>();
+        sortList.add(new Sort("id_","asc"));
+
+        if (StringUtils.isNotEmpty(id)) {
+            searchParams.put("id","%" + id + "%");
+        }
+
+
+        Page<PersonInfo> page = personInfoService.pageSearch(searchParams,pageIndex,pageSize,true,sortList);
+
+
+        msgResult.setResult(true);
+        msgResult.setData(PojoUtils.pageWrapper(page));
+
+        return msgResult;
+    }
+}

+ 227 - 0
web/src/main/java/com/jpsoft/employment/modules/base/controller/RecruitInformationInfoController.java

@@ -0,0 +1,227 @@
+package com.jpsoft.employment.modules.base.controller;
+
+import com.github.pagehelper.Page;
+import com.jpsoft.employment.modules.common.dto.MessageResult;
+import com.jpsoft.employment.modules.common.utils.PojoUtils;
+import com.jpsoft.employment.modules.common.dto.Sort;
+import com.jpsoft.employment.modules.base.entity.RecruitInformationInfo;
+import com.jpsoft.employment.modules.base.service.RecruitInformationInfoService;
+import io.swagger.annotations.ApiOperation;
+import org.apache.commons.lang3.StringUtils;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.*;
+
+import javax.servlet.http.HttpServletRequest;
+import java.text.SimpleDateFormat;
+import java.util.*;
+
+@RestController
+@RequestMapping("/recruitInformationInfo")
+public class RecruitInformationInfoController {
+    private Logger logger = LoggerFactory.getLogger(getClass());
+
+    @Autowired
+    private RecruitInformationInfoService recruitInformationInfoService;
+	
+	
+	@ApiOperation(value="创建空记录")
+    @GetMapping("create")
+    public MessageResult<RecruitInformationInfo> create(){
+        MessageResult<RecruitInformationInfo> msgResult = new MessageResult<>();
+
+        RecruitInformationInfo recruitInformationInfo = new RecruitInformationInfo();
+
+        msgResult.setData(recruitInformationInfo);
+        msgResult.setResult(true);
+
+        return msgResult;
+    }
+
+    @ApiOperation(value="添加信息")
+    @PostMapping("add")
+    public MessageResult<RecruitInformationInfo> add(@RequestBody RecruitInformationInfo recruitInformationInfo,@RequestAttribute String subject){
+        MessageResult<RecruitInformationInfo> msgResult = new MessageResult<>();
+
+        try {
+            recruitInformationInfo.setId(UUID.randomUUID().toString());
+			recruitInformationInfo.setDelFlag(false);
+            recruitInformationInfo.setCreateBy(subject);
+            recruitInformationInfo.setCreateTime(new Date());
+
+            int affectCount = recruitInformationInfoService.insert(recruitInformationInfo);
+
+            if (affectCount > 0) {
+                msgResult.setResult(true);
+                msgResult.setData(recruitInformationInfo);
+            } else {
+                msgResult.setResult(false);
+                msgResult.setMessage("数据库添加失败");
+            }
+        }
+        catch(Exception ex){
+            logger.error(ex.getMessage(),ex);
+
+            msgResult.setResult(false);
+            msgResult.setMessage(ex.getMessage());
+        }
+
+        return msgResult;
+    }
+
+    @ApiOperation(value="获取信息")
+    @GetMapping("edit/{id}")
+    public MessageResult<RecruitInformationInfo> edit(@PathVariable("id") String id){
+        MessageResult<RecruitInformationInfo> msgResult = new MessageResult<>();
+
+        try {
+            RecruitInformationInfo recruitInformationInfo = recruitInformationInfoService.get(id);
+
+            if (recruitInformationInfo != null) {
+                msgResult.setResult(true);
+                msgResult.setData(recruitInformationInfo);
+            } else {
+                msgResult.setResult(false);
+                msgResult.setMessage("数据库不存在该记录!");
+            }
+        }
+        catch(Exception ex){
+            logger.error(ex.getMessage(),ex);
+
+            msgResult.setResult(false);
+            msgResult.setMessage(ex.getMessage());
+        }
+
+        return msgResult;
+    }
+
+    @ApiOperation(value="更新用户")
+    @PostMapping("update")
+    public MessageResult<RecruitInformationInfo> update(@RequestBody RecruitInformationInfo recruitInformationInfo,@RequestAttribute String subject){
+        MessageResult<RecruitInformationInfo> msgResult = new MessageResult<>();
+
+        try {
+		    recruitInformationInfo.setUpdateBy(subject);
+            recruitInformationInfo.setUpdateTime(new Date());
+		
+            int affectCount = recruitInformationInfoService.update(recruitInformationInfo);
+
+            if (affectCount > 0) {
+                msgResult.setResult(true);
+                msgResult.setData(recruitInformationInfo);
+            } else {
+                msgResult.setResult(false);
+                msgResult.setMessage("数据库更新失败");
+            }
+        }
+        catch(Exception ex){
+            logger.error(ex.getMessage(),ex);
+
+            msgResult.setResult(false);
+            msgResult.setMessage(ex.getMessage());
+        }
+
+        return msgResult;
+    }
+
+    @ApiOperation(value="删除用户")
+    @PostMapping("delete/{id}")
+    public MessageResult<RecruitInformationInfo> delete(@PathVariable("id") String id,@RequestAttribute String subject){
+        MessageResult<RecruitInformationInfo> msgResult = new MessageResult<>();
+
+        try {
+			
+			RecruitInformationInfo recruitInformationInfo = recruitInformationInfoService.get(id);
+            recruitInformationInfo.setDelFlag(true);
+            recruitInformationInfo.setUpdateBy(subject);
+            recruitInformationInfo.setUpdateTime(new Date());
+			
+			int affectCount = recruitInformationInfoService.update(recruitInformationInfo);
+
+            if (affectCount > 0) {
+                msgResult.setResult(true);
+            } else {
+                msgResult.setResult(false);
+                msgResult.setMessage("数据库删除失败");
+            }
+        }
+        catch(Exception ex){
+            logger.error(ex.getMessage(),ex);
+
+            msgResult.setResult(false);
+            msgResult.setMessage(ex.getMessage());
+        }
+
+        return msgResult;
+    }
+
+
+    @ApiOperation(value="批量删除")
+    @PostMapping("batchDelete")
+    public MessageResult<Integer> batchDelete(@RequestBody List<String> idList,@RequestAttribute String subject){
+        MessageResult<Integer> msgResult = new MessageResult<>();
+
+        try {
+            int affectCount = 0;
+
+            for (String id : idList) {
+                RecruitInformationInfo recruitInformationInfo = recruitInformationInfoService.get(id);
+                recruitInformationInfo.setDelFlag(true);
+                recruitInformationInfo.setUpdateBy(subject);
+                recruitInformationInfo.setUpdateTime(new Date());
+
+                affectCount += recruitInformationInfoService.update(recruitInformationInfo);
+            }
+
+            if (affectCount > 0) {
+                msgResult.setResult(true);
+                msgResult.setData(affectCount);
+            } else {
+                msgResult.setResult(false);
+                msgResult.setMessage("删除失败");
+            }
+        }
+        catch(Exception ex){
+            logger.error(ex.getMessage(),ex);
+
+            msgResult.setResult(false);
+            msgResult.setMessage(ex.getMessage());
+        }
+
+        return msgResult;
+    }
+
+    @ApiOperation(value="列表")
+    @RequestMapping(value = "pageList",method = RequestMethod.POST)
+    public MessageResult<Map> pageList(
+            String id,
+            @RequestParam(value="pageIndex",defaultValue="1") int pageIndex,
+            @RequestParam(value="pageSize",defaultValue="20") int pageSize,
+            HttpServletRequest request){
+        String subject = (String)request.getAttribute("subject");
+
+        //当前用户ID
+        System.out.println(subject);
+
+        MessageResult<Map> msgResult = new MessageResult<>();
+
+        Map<String,Object> searchParams = new HashMap<>();
+
+        List<Sort> sortList = new ArrayList<>();
+        sortList.add(new Sort("id_","asc"));
+
+        if (StringUtils.isNotEmpty(id)) {
+            searchParams.put("id","%" + id + "%");
+        }
+
+
+        Page<RecruitInformationInfo> page = recruitInformationInfoService.pageSearch(searchParams,pageIndex,pageSize,true,sortList);
+
+
+        msgResult.setResult(true);
+        msgResult.setData(PojoUtils.pageWrapper(page));
+
+        return msgResult;
+    }
+}

+ 227 - 0
web/src/main/java/com/jpsoft/employment/modules/base/controller/RecruitPersonRelationController.java

@@ -0,0 +1,227 @@
+package com.jpsoft.employment.modules.base.controller;
+
+import com.github.pagehelper.Page;
+import com.jpsoft.employment.modules.common.dto.MessageResult;
+import com.jpsoft.employment.modules.common.utils.PojoUtils;
+import com.jpsoft.employment.modules.common.dto.Sort;
+import com.jpsoft.employment.modules.base.entity.RecruitPersonRelation;
+import com.jpsoft.employment.modules.base.service.RecruitPersonRelationService;
+import io.swagger.annotations.ApiOperation;
+import org.apache.commons.lang3.StringUtils;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.*;
+
+import javax.servlet.http.HttpServletRequest;
+import java.text.SimpleDateFormat;
+import java.util.*;
+
+@RestController
+@RequestMapping("/recruitPersonRelation")
+public class RecruitPersonRelationController {
+    private Logger logger = LoggerFactory.getLogger(getClass());
+
+    @Autowired
+    private RecruitPersonRelationService recruitPersonRelationService;
+	
+	
+	@ApiOperation(value="创建空记录")
+    @GetMapping("create")
+    public MessageResult<RecruitPersonRelation> create(){
+        MessageResult<RecruitPersonRelation> msgResult = new MessageResult<>();
+
+        RecruitPersonRelation recruitPersonRelation = new RecruitPersonRelation();
+
+        msgResult.setData(recruitPersonRelation);
+        msgResult.setResult(true);
+
+        return msgResult;
+    }
+
+    @ApiOperation(value="添加信息")
+    @PostMapping("add")
+    public MessageResult<RecruitPersonRelation> add(@RequestBody RecruitPersonRelation recruitPersonRelation,@RequestAttribute String subject){
+        MessageResult<RecruitPersonRelation> msgResult = new MessageResult<>();
+
+        try {
+            recruitPersonRelation.setId(UUID.randomUUID().toString());
+			recruitPersonRelation.setDelFlag(false);
+            recruitPersonRelation.setCreateBy(subject);
+            recruitPersonRelation.setCreateTime(new Date());
+
+            int affectCount = recruitPersonRelationService.insert(recruitPersonRelation);
+
+            if (affectCount > 0) {
+                msgResult.setResult(true);
+                msgResult.setData(recruitPersonRelation);
+            } else {
+                msgResult.setResult(false);
+                msgResult.setMessage("数据库添加失败");
+            }
+        }
+        catch(Exception ex){
+            logger.error(ex.getMessage(),ex);
+
+            msgResult.setResult(false);
+            msgResult.setMessage(ex.getMessage());
+        }
+
+        return msgResult;
+    }
+
+    @ApiOperation(value="获取信息")
+    @GetMapping("edit/{id}")
+    public MessageResult<RecruitPersonRelation> edit(@PathVariable("id") String id){
+        MessageResult<RecruitPersonRelation> msgResult = new MessageResult<>();
+
+        try {
+            RecruitPersonRelation recruitPersonRelation = recruitPersonRelationService.get(id);
+
+            if (recruitPersonRelation != null) {
+                msgResult.setResult(true);
+                msgResult.setData(recruitPersonRelation);
+            } else {
+                msgResult.setResult(false);
+                msgResult.setMessage("数据库不存在该记录!");
+            }
+        }
+        catch(Exception ex){
+            logger.error(ex.getMessage(),ex);
+
+            msgResult.setResult(false);
+            msgResult.setMessage(ex.getMessage());
+        }
+
+        return msgResult;
+    }
+
+    @ApiOperation(value="更新用户")
+    @PostMapping("update")
+    public MessageResult<RecruitPersonRelation> update(@RequestBody RecruitPersonRelation recruitPersonRelation,@RequestAttribute String subject){
+        MessageResult<RecruitPersonRelation> msgResult = new MessageResult<>();
+
+        try {
+		    recruitPersonRelation.setUpdateBy(subject);
+            recruitPersonRelation.setUpdateTime(new Date());
+		
+            int affectCount = recruitPersonRelationService.update(recruitPersonRelation);
+
+            if (affectCount > 0) {
+                msgResult.setResult(true);
+                msgResult.setData(recruitPersonRelation);
+            } else {
+                msgResult.setResult(false);
+                msgResult.setMessage("数据库更新失败");
+            }
+        }
+        catch(Exception ex){
+            logger.error(ex.getMessage(),ex);
+
+            msgResult.setResult(false);
+            msgResult.setMessage(ex.getMessage());
+        }
+
+        return msgResult;
+    }
+
+    @ApiOperation(value="删除用户")
+    @PostMapping("delete/{id}")
+    public MessageResult<RecruitPersonRelation> delete(@PathVariable("id") String id,@RequestAttribute String subject){
+        MessageResult<RecruitPersonRelation> msgResult = new MessageResult<>();
+
+        try {
+			
+			RecruitPersonRelation recruitPersonRelation = recruitPersonRelationService.get(id);
+            recruitPersonRelation.setDelFlag(true);
+            recruitPersonRelation.setUpdateBy(subject);
+            recruitPersonRelation.setUpdateTime(new Date());
+			
+			int affectCount = recruitPersonRelationService.update(recruitPersonRelation);
+
+            if (affectCount > 0) {
+                msgResult.setResult(true);
+            } else {
+                msgResult.setResult(false);
+                msgResult.setMessage("数据库删除失败");
+            }
+        }
+        catch(Exception ex){
+            logger.error(ex.getMessage(),ex);
+
+            msgResult.setResult(false);
+            msgResult.setMessage(ex.getMessage());
+        }
+
+        return msgResult;
+    }
+
+
+    @ApiOperation(value="批量删除")
+    @PostMapping("batchDelete")
+    public MessageResult<Integer> batchDelete(@RequestBody List<String> idList,@RequestAttribute String subject){
+        MessageResult<Integer> msgResult = new MessageResult<>();
+
+        try {
+            int affectCount = 0;
+
+            for (String id : idList) {
+                RecruitPersonRelation recruitPersonRelation = recruitPersonRelationService.get(id);
+                recruitPersonRelation.setDelFlag(true);
+                recruitPersonRelation.setUpdateBy(subject);
+                recruitPersonRelation.setUpdateTime(new Date());
+
+                affectCount += recruitPersonRelationService.update(recruitPersonRelation);
+            }
+
+            if (affectCount > 0) {
+                msgResult.setResult(true);
+                msgResult.setData(affectCount);
+            } else {
+                msgResult.setResult(false);
+                msgResult.setMessage("删除失败");
+            }
+        }
+        catch(Exception ex){
+            logger.error(ex.getMessage(),ex);
+
+            msgResult.setResult(false);
+            msgResult.setMessage(ex.getMessage());
+        }
+
+        return msgResult;
+    }
+
+    @ApiOperation(value="列表")
+    @RequestMapping(value = "pageList",method = RequestMethod.POST)
+    public MessageResult<Map> pageList(
+            String id,
+            @RequestParam(value="pageIndex",defaultValue="1") int pageIndex,
+            @RequestParam(value="pageSize",defaultValue="20") int pageSize,
+            HttpServletRequest request){
+        String subject = (String)request.getAttribute("subject");
+
+        //当前用户ID
+        System.out.println(subject);
+
+        MessageResult<Map> msgResult = new MessageResult<>();
+
+        Map<String,Object> searchParams = new HashMap<>();
+
+        List<Sort> sortList = new ArrayList<>();
+        sortList.add(new Sort("id_","asc"));
+
+        if (StringUtils.isNotEmpty(id)) {
+            searchParams.put("id","%" + id + "%");
+        }
+
+
+        Page<RecruitPersonRelation> page = recruitPersonRelationService.pageSearch(searchParams,pageIndex,pageSize,true,sortList);
+
+
+        msgResult.setResult(true);
+        msgResult.setData(PojoUtils.pageWrapper(page));
+
+        return msgResult;
+    }
+}

+ 227 - 0
web/src/main/java/com/jpsoft/employment/modules/base/controller/ShareWorksInfoController.java

@@ -0,0 +1,227 @@
+package com.jpsoft.employment.modules.base.controller;
+
+import com.github.pagehelper.Page;
+import com.jpsoft.employment.modules.common.dto.MessageResult;
+import com.jpsoft.employment.modules.common.utils.PojoUtils;
+import com.jpsoft.employment.modules.common.dto.Sort;
+import com.jpsoft.employment.modules.base.entity.ShareWorksInfo;
+import com.jpsoft.employment.modules.base.service.ShareWorksInfoService;
+import io.swagger.annotations.ApiOperation;
+import org.apache.commons.lang3.StringUtils;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.*;
+
+import javax.servlet.http.HttpServletRequest;
+import java.text.SimpleDateFormat;
+import java.util.*;
+
+@RestController
+@RequestMapping("/shareWorksInfo")
+public class ShareWorksInfoController {
+    private Logger logger = LoggerFactory.getLogger(getClass());
+
+    @Autowired
+    private ShareWorksInfoService shareWorksInfoService;
+	
+	
+	@ApiOperation(value="创建空记录")
+    @GetMapping("create")
+    public MessageResult<ShareWorksInfo> create(){
+        MessageResult<ShareWorksInfo> msgResult = new MessageResult<>();
+
+        ShareWorksInfo shareWorksInfo = new ShareWorksInfo();
+
+        msgResult.setData(shareWorksInfo);
+        msgResult.setResult(true);
+
+        return msgResult;
+    }
+
+    @ApiOperation(value="添加信息")
+    @PostMapping("add")
+    public MessageResult<ShareWorksInfo> add(@RequestBody ShareWorksInfo shareWorksInfo,@RequestAttribute String subject){
+        MessageResult<ShareWorksInfo> msgResult = new MessageResult<>();
+
+        try {
+            shareWorksInfo.setId(UUID.randomUUID().toString());
+			shareWorksInfo.setDelFlag(false);
+            shareWorksInfo.setCreateBy(subject);
+            shareWorksInfo.setCreateTime(new Date());
+
+            int affectCount = shareWorksInfoService.insert(shareWorksInfo);
+
+            if (affectCount > 0) {
+                msgResult.setResult(true);
+                msgResult.setData(shareWorksInfo);
+            } else {
+                msgResult.setResult(false);
+                msgResult.setMessage("数据库添加失败");
+            }
+        }
+        catch(Exception ex){
+            logger.error(ex.getMessage(),ex);
+
+            msgResult.setResult(false);
+            msgResult.setMessage(ex.getMessage());
+        }
+
+        return msgResult;
+    }
+
+    @ApiOperation(value="获取信息")
+    @GetMapping("edit/{id}")
+    public MessageResult<ShareWorksInfo> edit(@PathVariable("id") String id){
+        MessageResult<ShareWorksInfo> msgResult = new MessageResult<>();
+
+        try {
+            ShareWorksInfo shareWorksInfo = shareWorksInfoService.get(id);
+
+            if (shareWorksInfo != null) {
+                msgResult.setResult(true);
+                msgResult.setData(shareWorksInfo);
+            } else {
+                msgResult.setResult(false);
+                msgResult.setMessage("数据库不存在该记录!");
+            }
+        }
+        catch(Exception ex){
+            logger.error(ex.getMessage(),ex);
+
+            msgResult.setResult(false);
+            msgResult.setMessage(ex.getMessage());
+        }
+
+        return msgResult;
+    }
+
+    @ApiOperation(value="更新用户")
+    @PostMapping("update")
+    public MessageResult<ShareWorksInfo> update(@RequestBody ShareWorksInfo shareWorksInfo,@RequestAttribute String subject){
+        MessageResult<ShareWorksInfo> msgResult = new MessageResult<>();
+
+        try {
+		    shareWorksInfo.setUpdateBy(subject);
+            shareWorksInfo.setUpdateTime(new Date());
+		
+            int affectCount = shareWorksInfoService.update(shareWorksInfo);
+
+            if (affectCount > 0) {
+                msgResult.setResult(true);
+                msgResult.setData(shareWorksInfo);
+            } else {
+                msgResult.setResult(false);
+                msgResult.setMessage("数据库更新失败");
+            }
+        }
+        catch(Exception ex){
+            logger.error(ex.getMessage(),ex);
+
+            msgResult.setResult(false);
+            msgResult.setMessage(ex.getMessage());
+        }
+
+        return msgResult;
+    }
+
+    @ApiOperation(value="删除用户")
+    @PostMapping("delete/{id}")
+    public MessageResult<ShareWorksInfo> delete(@PathVariable("id") String id,@RequestAttribute String subject){
+        MessageResult<ShareWorksInfo> msgResult = new MessageResult<>();
+
+        try {
+			
+			ShareWorksInfo shareWorksInfo = shareWorksInfoService.get(id);
+            shareWorksInfo.setDelFlag(true);
+            shareWorksInfo.setUpdateBy(subject);
+            shareWorksInfo.setUpdateTime(new Date());
+			
+			int affectCount = shareWorksInfoService.update(shareWorksInfo);
+
+            if (affectCount > 0) {
+                msgResult.setResult(true);
+            } else {
+                msgResult.setResult(false);
+                msgResult.setMessage("数据库删除失败");
+            }
+        }
+        catch(Exception ex){
+            logger.error(ex.getMessage(),ex);
+
+            msgResult.setResult(false);
+            msgResult.setMessage(ex.getMessage());
+        }
+
+        return msgResult;
+    }
+
+
+    @ApiOperation(value="批量删除")
+    @PostMapping("batchDelete")
+    public MessageResult<Integer> batchDelete(@RequestBody List<String> idList,@RequestAttribute String subject){
+        MessageResult<Integer> msgResult = new MessageResult<>();
+
+        try {
+            int affectCount = 0;
+
+            for (String id : idList) {
+                ShareWorksInfo shareWorksInfo = shareWorksInfoService.get(id);
+                shareWorksInfo.setDelFlag(true);
+                shareWorksInfo.setUpdateBy(subject);
+                shareWorksInfo.setUpdateTime(new Date());
+
+                affectCount += shareWorksInfoService.update(shareWorksInfo);
+            }
+
+            if (affectCount > 0) {
+                msgResult.setResult(true);
+                msgResult.setData(affectCount);
+            } else {
+                msgResult.setResult(false);
+                msgResult.setMessage("删除失败");
+            }
+        }
+        catch(Exception ex){
+            logger.error(ex.getMessage(),ex);
+
+            msgResult.setResult(false);
+            msgResult.setMessage(ex.getMessage());
+        }
+
+        return msgResult;
+    }
+
+    @ApiOperation(value="列表")
+    @RequestMapping(value = "pageList",method = RequestMethod.POST)
+    public MessageResult<Map> pageList(
+            String id,
+            @RequestParam(value="pageIndex",defaultValue="1") int pageIndex,
+            @RequestParam(value="pageSize",defaultValue="20") int pageSize,
+            HttpServletRequest request){
+        String subject = (String)request.getAttribute("subject");
+
+        //当前用户ID
+        System.out.println(subject);
+
+        MessageResult<Map> msgResult = new MessageResult<>();
+
+        Map<String,Object> searchParams = new HashMap<>();
+
+        List<Sort> sortList = new ArrayList<>();
+        sortList.add(new Sort("id_","asc"));
+
+        if (StringUtils.isNotEmpty(id)) {
+            searchParams.put("id","%" + id + "%");
+        }
+
+
+        Page<ShareWorksInfo> page = shareWorksInfoService.pageSearch(searchParams,pageIndex,pageSize,true,sortList);
+
+
+        msgResult.setResult(true);
+        msgResult.setData(PojoUtils.pageWrapper(page));
+
+        return msgResult;
+    }
+}

+ 227 - 0
web/src/main/java/com/jpsoft/employment/modules/base/controller/TrainingInfoController.java

@@ -0,0 +1,227 @@
+package com.jpsoft.employment.modules.base.controller;
+
+import com.github.pagehelper.Page;
+import com.jpsoft.employment.modules.common.dto.MessageResult;
+import com.jpsoft.employment.modules.common.utils.PojoUtils;
+import com.jpsoft.employment.modules.common.dto.Sort;
+import com.jpsoft.employment.modules.base.entity.TrainingInfo;
+import com.jpsoft.employment.modules.base.service.TrainingInfoService;
+import io.swagger.annotations.ApiOperation;
+import org.apache.commons.lang3.StringUtils;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.*;
+
+import javax.servlet.http.HttpServletRequest;
+import java.text.SimpleDateFormat;
+import java.util.*;
+
+@RestController
+@RequestMapping("/trainingInfo")
+public class TrainingInfoController {
+    private Logger logger = LoggerFactory.getLogger(getClass());
+
+    @Autowired
+    private TrainingInfoService trainingInfoService;
+	
+	
+	@ApiOperation(value="创建空记录")
+    @GetMapping("create")
+    public MessageResult<TrainingInfo> create(){
+        MessageResult<TrainingInfo> msgResult = new MessageResult<>();
+
+        TrainingInfo trainingInfo = new TrainingInfo();
+
+        msgResult.setData(trainingInfo);
+        msgResult.setResult(true);
+
+        return msgResult;
+    }
+
+    @ApiOperation(value="添加信息")
+    @PostMapping("add")
+    public MessageResult<TrainingInfo> add(@RequestBody TrainingInfo trainingInfo,@RequestAttribute String subject){
+        MessageResult<TrainingInfo> msgResult = new MessageResult<>();
+
+        try {
+            trainingInfo.setId(UUID.randomUUID().toString());
+			trainingInfo.setDelFlag(false);
+            trainingInfo.setCreateBy(subject);
+            trainingInfo.setCreateTime(new Date());
+
+            int affectCount = trainingInfoService.insert(trainingInfo);
+
+            if (affectCount > 0) {
+                msgResult.setResult(true);
+                msgResult.setData(trainingInfo);
+            } else {
+                msgResult.setResult(false);
+                msgResult.setMessage("数据库添加失败");
+            }
+        }
+        catch(Exception ex){
+            logger.error(ex.getMessage(),ex);
+
+            msgResult.setResult(false);
+            msgResult.setMessage(ex.getMessage());
+        }
+
+        return msgResult;
+    }
+
+    @ApiOperation(value="获取信息")
+    @GetMapping("edit/{id}")
+    public MessageResult<TrainingInfo> edit(@PathVariable("id") String id){
+        MessageResult<TrainingInfo> msgResult = new MessageResult<>();
+
+        try {
+            TrainingInfo trainingInfo = trainingInfoService.get(id);
+
+            if (trainingInfo != null) {
+                msgResult.setResult(true);
+                msgResult.setData(trainingInfo);
+            } else {
+                msgResult.setResult(false);
+                msgResult.setMessage("数据库不存在该记录!");
+            }
+        }
+        catch(Exception ex){
+            logger.error(ex.getMessage(),ex);
+
+            msgResult.setResult(false);
+            msgResult.setMessage(ex.getMessage());
+        }
+
+        return msgResult;
+    }
+
+    @ApiOperation(value="更新用户")
+    @PostMapping("update")
+    public MessageResult<TrainingInfo> update(@RequestBody TrainingInfo trainingInfo,@RequestAttribute String subject){
+        MessageResult<TrainingInfo> msgResult = new MessageResult<>();
+
+        try {
+		    trainingInfo.setUpdateBy(subject);
+            trainingInfo.setUpdateTime(new Date());
+		
+            int affectCount = trainingInfoService.update(trainingInfo);
+
+            if (affectCount > 0) {
+                msgResult.setResult(true);
+                msgResult.setData(trainingInfo);
+            } else {
+                msgResult.setResult(false);
+                msgResult.setMessage("数据库更新失败");
+            }
+        }
+        catch(Exception ex){
+            logger.error(ex.getMessage(),ex);
+
+            msgResult.setResult(false);
+            msgResult.setMessage(ex.getMessage());
+        }
+
+        return msgResult;
+    }
+
+    @ApiOperation(value="删除用户")
+    @PostMapping("delete/{id}")
+    public MessageResult<TrainingInfo> delete(@PathVariable("id") String id,@RequestAttribute String subject){
+        MessageResult<TrainingInfo> msgResult = new MessageResult<>();
+
+        try {
+			
+			TrainingInfo trainingInfo = trainingInfoService.get(id);
+            trainingInfo.setDelFlag(true);
+            trainingInfo.setUpdateBy(subject);
+            trainingInfo.setUpdateTime(new Date());
+			
+			int affectCount = trainingInfoService.update(trainingInfo);
+
+            if (affectCount > 0) {
+                msgResult.setResult(true);
+            } else {
+                msgResult.setResult(false);
+                msgResult.setMessage("数据库删除失败");
+            }
+        }
+        catch(Exception ex){
+            logger.error(ex.getMessage(),ex);
+
+            msgResult.setResult(false);
+            msgResult.setMessage(ex.getMessage());
+        }
+
+        return msgResult;
+    }
+
+
+    @ApiOperation(value="批量删除")
+    @PostMapping("batchDelete")
+    public MessageResult<Integer> batchDelete(@RequestBody List<String> idList,@RequestAttribute String subject){
+        MessageResult<Integer> msgResult = new MessageResult<>();
+
+        try {
+            int affectCount = 0;
+
+            for (String id : idList) {
+                TrainingInfo trainingInfo = trainingInfoService.get(id);
+                trainingInfo.setDelFlag(true);
+                trainingInfo.setUpdateBy(subject);
+                trainingInfo.setUpdateTime(new Date());
+
+                affectCount += trainingInfoService.update(trainingInfo);
+            }
+
+            if (affectCount > 0) {
+                msgResult.setResult(true);
+                msgResult.setData(affectCount);
+            } else {
+                msgResult.setResult(false);
+                msgResult.setMessage("删除失败");
+            }
+        }
+        catch(Exception ex){
+            logger.error(ex.getMessage(),ex);
+
+            msgResult.setResult(false);
+            msgResult.setMessage(ex.getMessage());
+        }
+
+        return msgResult;
+    }
+
+    @ApiOperation(value="列表")
+    @RequestMapping(value = "pageList",method = RequestMethod.POST)
+    public MessageResult<Map> pageList(
+            String id,
+            @RequestParam(value="pageIndex",defaultValue="1") int pageIndex,
+            @RequestParam(value="pageSize",defaultValue="20") int pageSize,
+            HttpServletRequest request){
+        String subject = (String)request.getAttribute("subject");
+
+        //当前用户ID
+        System.out.println(subject);
+
+        MessageResult<Map> msgResult = new MessageResult<>();
+
+        Map<String,Object> searchParams = new HashMap<>();
+
+        List<Sort> sortList = new ArrayList<>();
+        sortList.add(new Sort("id_","asc"));
+
+        if (StringUtils.isNotEmpty(id)) {
+            searchParams.put("id","%" + id + "%");
+        }
+
+
+        Page<TrainingInfo> page = trainingInfoService.pageSearch(searchParams,pageIndex,pageSize,true,sortList);
+
+
+        msgResult.setResult(true);
+        msgResult.setData(PojoUtils.pageWrapper(page));
+
+        return msgResult;
+    }
+}