Browse Source

Merge branch 'master' of jishutao/jitao-server into test

liliang4869 7 years ago
parent
commit
fd9f903bee
29 changed files with 949 additions and 503 deletions
  1. 21 0
      src/main/java/com/goafanti/admin/controller/AdminApiController.java
  2. 19 0
      src/main/java/com/goafanti/app/controller/AppUserController.java
  3. 7 0
      src/main/java/com/goafanti/business/bo/JtBusinessCategoryBo.java
  4. 24 1
      src/main/java/com/goafanti/business/bo/JtBusinessProjectResult.java
  5. 2 2
      src/main/java/com/goafanti/business/controller/JtBusinessController.java
  6. 1 1
      src/main/java/com/goafanti/business/service/JtBusinessService.java
  7. 8 2
      src/main/java/com/goafanti/business/service/impl/JtBusinessServiceImpl.java
  8. 65 2
      src/main/java/com/goafanti/common/controller/WebpageController.java
  9. 11 11
      src/main/java/com/goafanti/common/dao/JtBusinessProjectMapper.java
  10. 412 355
      src/main/java/com/goafanti/common/mapper/JpushEasemobAccountMapper.xml
  11. 3 1
      src/main/java/com/goafanti/common/mapper/JtBusinessCategoryMapper.xml
  12. 44 25
      src/main/java/com/goafanti/common/mapper/JtBusinessProjectMapper.xml
  13. 1 1
      src/main/java/com/goafanti/common/mapper/NewsMapper.xml
  14. 11 2
      src/main/java/com/goafanti/common/mapper/NewsMapperExt.xml
  15. 2 1
      src/main/java/com/goafanti/common/mapper/OrganizationIdentityMapper.xml
  16. 92 69
      src/main/java/com/goafanti/common/model/JtBusinessProject.java
  17. 86 16
      src/main/java/com/goafanti/common/model/JtBusinessProjectExample.java
  18. 1 0
      src/main/java/com/goafanti/common/model/News.java
  19. 3 0
      src/main/java/com/goafanti/news/service/NewsService.java
  20. 80 0
      src/main/java/com/goafanti/user/bo/ClientListBo.java
  21. 11 0
      src/main/java/com/goafanti/user/service/JpushEasemobAccountService.java
  22. 27 0
      src/main/java/com/goafanti/user/service/impl/JpushEasemobAccountServiceImpl.java
  23. 2 0
      src/main/java/com/goafanti/user/service/impl/UserServiceImpl.java
  24. 11 11
      src/main/webapp/WEB-INF/views/common.html
  25. 1 0
      src/main/webapp/WEB-INF/views/portal/companyProfile.html
  26. 1 1
      src/main/webapp/WEB-INF/views/portal/index.html
  27. 1 0
      src/main/webapp/WEB-INF/views/portal/service/patent.html
  28. 1 1
      src/main/webapp/WEB-INF/views/portal/service/serviceDetails.html
  29. 1 1
      src/main/webapp/WEB-INF/views/portal/technologyTrading/tradingIndex.html

+ 21 - 0
src/main/java/com/goafanti/admin/controller/AdminApiController.java

@@ -41,6 +41,7 @@ import com.goafanti.easemob.EasemobUtils;
 import com.goafanti.user.bo.InputOrganizationIdentity;
 import com.goafanti.user.bo.InputUser;
 import com.goafanti.user.bo.InputUserIdentity;
+import com.goafanti.user.service.JpushEasemobAccountService;
 import com.goafanti.user.service.OrganizationIdentityService;
 import com.goafanti.user.service.UserIdentityService;
 import com.goafanti.user.service.UserService;
@@ -58,6 +59,8 @@ public class AdminApiController extends CertifyApiController {
 	private PasswordUtil					passwordUtil;
 	@Resource
 	private AdminService					adminService;
+	@Resource
+	private JpushEasemobAccountService 		jpushEasemobAccountService;
 	@Autowired
 	EasemobUtils							easemobUtils;
 
@@ -369,4 +372,22 @@ public class AdminApiController extends CertifyApiController {
 		//res.setData(organizationIdentityService.updateOrgDetail(oi, saveSign, level));
 		return res;
 	}
+	
+	
+	/**
+	 * 团体用户明细
+	 * 
+	 * type 0-个人  1-单位
+	 */
+	@RequestMapping(value = "/listJpushUser", method = RequestMethod.GET)
+	public Result getJpushUser(Integer type,Integer pageNo,Integer pageSize) {
+		Result res = new Result();
+		if(type==null ||(type!=0 && type !=1)) {
+			res.getError().add(buildError(ErrorConstants.PARAM_ERROR,"","类型错误"));
+			return res;
+		}
+		res.setData(jpushEasemobAccountService.findJpushClientsByType(type, pageNo, pageSize));
+		return res;
+	}
+	
 }

+ 19 - 0
src/main/java/com/goafanti/app/controller/AppUserController.java

@@ -25,11 +25,13 @@ import com.goafanti.common.bo.Result;
 import com.goafanti.common.constant.AFTConstants;
 import com.goafanti.common.constant.ErrorConstants;
 import com.goafanti.common.controller.BaseApiController;
+import com.goafanti.common.dao.JpushEasemobAccountMapper;
 import com.goafanti.common.enums.AchievementFields;
 import com.goafanti.common.enums.AttachmentType;
 import com.goafanti.common.enums.DemandFields;
 import com.goafanti.common.model.Achievement;
 import com.goafanti.common.model.Demand;
+import com.goafanti.common.model.JpushEasemobAccount;
 import com.goafanti.common.model.MessageConsumer;
 import com.goafanti.common.model.MessageFromSystem;
 import com.goafanti.common.model.MessageProducer;
@@ -175,6 +177,23 @@ public class AppUserController extends BaseApiController {
 		return res;
 	}
 	
+	/*
+	 * 更新极光推送
+	 * 
+	 * */
+	
+	@RequestMapping(value = "/updateJpushAccount",method = RequestMethod.POST)
+	private Result updateJpush(String uuid,String registrationId,String easemobName,String easemobPass,String uid){
+		Result res = new Result();
+		//更新 jpush_easemob_account
+		JpushEasemobAccount jpushEasemobAccount=messageService.selectSynAccByUid(uid);
+		if(jpushEasemobAccount==null) {
+			messageService.addJpushEasemobAccount(uuid, uid, easemobName, easemobPass);
+		}
+		messageService.updateJpushEasemobAccount(uuid, registrationId, easemobName,easemobPass);
+		return res;
+	}
+	
 	/**
 	 * 读取消息
 	 * @param messageId

+ 7 - 0
src/main/java/com/goafanti/business/bo/JtBusinessCategoryBo.java

@@ -7,6 +7,7 @@ import com.goafanti.common.model.JtBusinessCategory;
 public class JtBusinessCategoryBo {
 String topLevel;
 String topLevelId;
+String summary;
 List<JtBusinessCategory>children;
 String topImg;
 
@@ -34,5 +35,11 @@ public String getTopLevelId() {
 public void setTopLevelId(String topLevelId) {
 	this.topLevelId = topLevelId;
 }
+public String getSummary() {
+	return summary;
+}
+public void setSummary(String summary) {
+	this.summary = summary;
+}
 
 }

+ 24 - 1
src/main/java/com/goafanti/business/bo/JtBusinessProjectResult.java

@@ -4,7 +4,7 @@ import com.goafanti.common.model.JtBusinessProject;
 
 public class JtBusinessProjectResult extends JtBusinessProject {
 	private Integer module;
-
+	
 	public Integer getModule() {
 		return module;
 	}
@@ -30,9 +30,32 @@ public class JtBusinessProjectResult extends JtBusinessProject {
 	public String getCompanyName() {
 		return companyName;
 	}
+String companyId;
+
+	public String getCompanyId() {
+	return companyId;
+}
+
+public void setCompanyId(String companyId) {
+	this.companyId = companyId;
+}
 
 	public void setCompanyName(String companyName) {
 		this.companyName = companyName;
 	}
 	
+	@Override
+	public String getMaxImgUrl() {
+		// TODO Auto-generated method stub
+		if(super.getMaxImgUrl()!=null && !super.getMaxImgUrl().contains("."))return null;
+		return super.getMaxImgUrl();
+	}
+	
+	@Override
+	public String getMinImgUrl() {
+		// TODO Auto-generated method stub
+		if(super.getMinImgUrl()!=null && !super.getMinImgUrl().contains("."))return null;
+		return super.getMinImgUrl();
+	}
+	
 }

+ 2 - 2
src/main/java/com/goafanti/business/controller/JtBusinessController.java

@@ -25,9 +25,9 @@ public class JtBusinessController extends CertifyApiController {
 	}
 	
 	@RequestMapping(value="/jtProject/list", method=RequestMethod.GET)
-	public Result getProjectList(String topId,String secondId,String name,Integer pageSize,Integer pageNo,Integer privateProject,Integer auditStatus,Integer module,Integer isHot,Integer orderType,Integer orderSort) {
+	public Result getProjectList(String topId,String secondId,String name,Integer pageSize,Integer pageNo,Integer privateProject,Integer auditStatus,Integer module,Integer isHot,Integer orderType,Integer orderSort,String ownerId) {
 		Result result=new Result();
-		result.setData(jtBusinessService.getProjects(topId,secondId,name,pageSize,pageNo,privateProject,auditStatus,module,isHot,orderType,orderSort));
+		result.setData(jtBusinessService.getProjects(topId,secondId,name,pageSize,pageNo,privateProject,auditStatus,module,isHot,orderType,orderSort,ownerId));
 		return result;
 	}
 	

+ 1 - 1
src/main/java/com/goafanti/business/service/JtBusinessService.java

@@ -16,7 +16,7 @@ public interface JtBusinessService {
 	JtBusinessProjectResult getBusinessProjectDetail(String id);
 	JtBusinessCategoryTree getCategoryTree(String id);
 	List<JtBusinessCategoryBo>getCategoryBoList(Integer module);
-	Pagination<JtBusinessProjectResult>getProjects(String topId,String secondId,String name,Integer pageSize,Integer pageNo,Integer privateProject,Integer auditStatus,Integer module,Integer isHot,Integer orderType,Integer orderSort); 
+	Pagination<JtBusinessProjectResult>getProjects(String topId,String secondId,String name,Integer pageSize,Integer pageNo,Integer privateProject,Integer auditStatus,Integer module,Integer isHot,Integer orderType,Integer orderSort,String ownerId); 
 	int insertCategory(JtBusinessCategory jtBusinessCategory);
 	int deleteCategoryById(String id);
 	JtBusinessCategory getCategoryById(String id);

+ 8 - 2
src/main/java/com/goafanti/business/service/impl/JtBusinessServiceImpl.java

@@ -33,7 +33,7 @@ public class JtBusinessServiceImpl  extends BaseMybatisDao<JtBusinessProjectMapp
 	JtBusinessProjectMapper jtBusinessProjectMapper;
 	@Override
 	public JtBusinessCategory getBusinessCategoryByLayerAndName(Integer layer, String name) {
-		// TODO Auto-generated method stub
+		// TODO Auto-generated method stub 
 		return jtBusinessCategoryMapper.getBusinessCategoryByLayerAndName(layer, name);
 	}
 
@@ -67,14 +67,17 @@ public class JtBusinessServiceImpl  extends BaseMybatisDao<JtBusinessProjectMapp
 
 	/*
 	 * 登录用户0     项目列表页1  privateProject
+	 * ownerId优先级高于privateProject
 	 * 
 	 * ordetType---0 发布时间  1价格  2成交量
 	 * orderSort ----0大->小   1小->大
+	 * 
+	 * 
 	 * */
 	@SuppressWarnings("unchecked")
 	@Override
 	public Pagination<JtBusinessProjectResult> getProjects(String topId, String secondId, String name, Integer pageSize,
-			Integer pageNo,Integer privateProject,Integer auditStatus,Integer module,Integer isHot,Integer orderType,Integer orderSort) {
+			Integer pageNo,Integer privateProject,Integer auditStatus,Integer module,Integer isHot,Integer orderType,Integer orderSort,String ownerId) {
 		if(orderType==null)orderType=0;
 		if(orderSort==null)orderSort=0;
 		// TODO Auto-generated method stub
@@ -94,6 +97,9 @@ if(auditStatus!=null ) {
 		}
 		if(privateProject!=null && privateProject ==0)
 		params.put("ownerId", TokenManager.getUserId());
+		if(StringUtils.isNotBlank(ownerId)) {
+			params.put("ownerId", ownerId);
+		}
 		if(module!=null)params.put("module", module);
 		if(isHot!=null)params.put("isHot", isHot);
 		if(orderType!=null)params.put("orderType", orderType);

+ 65 - 2
src/main/java/com/goafanti/common/controller/WebpageController.java

@@ -1,5 +1,7 @@
 package com.goafanti.common.controller;
 
+import java.util.ArrayList;
+import java.util.Arrays;
 import java.util.Date;
 import java.util.List;
 
@@ -19,6 +21,7 @@ import com.goafanti.banners.enums.BannersType;
 import com.goafanti.banners.service.BannersService;
 import com.goafanti.business.bo.JtBusinessCategoryBo;
 import com.goafanti.business.bo.JtBusinessCategoryTree;
+import com.goafanti.business.bo.JtBusinessProjectResult;
 import com.goafanti.business.service.JtBusinessService;
 import com.goafanti.common.bo.PolicyEntity;
 import com.goafanti.common.bo.fieldGlossoryBo;
@@ -43,10 +46,12 @@ import com.goafanti.core.shiro.token.TokenManager;
 import com.goafanti.demand.bo.DemandListBo;
 import com.goafanti.demand.service.DemandInterestService;
 import com.goafanti.demand.service.DemandService;
+import com.goafanti.user.bo.OrgIdentityBo;
 import com.goafanti.user.bo.UserIdentityBo;
 import com.goafanti.user.service.OrganizationIdentityService;
 import com.goafanti.user.service.UserIdentityService;
 import com.goafanti.user.service.UserService;
+import com.mysql.fabric.xmlrpc.base.Array;
 import com.goafanti.news.bo.NewsPortalList;
 import com.goafanti.news.bo.PolicyResult;
 import com.goafanti.news.enums.NewsType;
@@ -569,7 +574,7 @@ public class WebpageController extends BaseController {
 	
 		List<JtBusinessCategoryBo> patentCategory=jtBusinessService.getCategoryBoList(1);
 		modelview.addObject("patentCategory",patentCategory);
-		List<JtBusinessProject> jtBusinessProjects=(List<JtBusinessProject>) jtBusinessService.getProjects(null, null, null, 5, 1, 1, 2, 0, 1,0,0).getList();
+		List<JtBusinessProject> jtBusinessProjects=(List<JtBusinessProject>) jtBusinessService.getProjects(null, null, null, 5, 1, 1, 2, 0, 1,0,0,null).getList();
 		for(JtBusinessProject project:jtBusinessProjects) { 
 			if(project.getMaxImgUrl()!=null && project.getMaxImgUrl().length()<=0)project.setMaxImgUrl(null);
 			if(project.getMinImgUrl()!=null && project.getMinImgUrl().length()<=0)project.setMinImgUrl(null);
@@ -580,7 +585,7 @@ public class WebpageController extends BaseController {
 		List<News>newsList=(List<News>) newsService.listNews(0, null, null, null, null, null, 1, 1, 3, "2", null, "web_index").getList();
 		modelview.addObject("news",newsList);
 //		
-		List<News> subscriptions=(List<News>) newsService.listNews(98, null, null, null, null, null, null, 1, 4, "2", null, "web_index").getList();
+		List<News> subscriptions=(List<News>) newsService.listNews(99, null, null, null, null, null, null, 1, 4, "2", null, "web_index").getList();
 		modelview.addObject("subscription",subscriptions);
 		
 		if(subscriptions!=null && subscriptions.size()>0 && subscriptions.get(0).getSourceUrl()!=null && subscriptions.get(0).getSourceUrl().contains(".")) {
@@ -797,6 +802,48 @@ public class WebpageController extends BaseController {
 		return modelAndView;
 	}
 	
+	
+	@SuppressWarnings("unchecked")
+	@RequestMapping(value = "/portal/service/patent")
+	public ModelAndView patentIndex(HttpServletRequest request, ModelAndView modelAndView,String id, Integer type) {
+		List<JtBusinessCategoryBo> categoryBos=jtBusinessService.getCategoryBoList(1);
+		modelAndView.addObject("categories",categoryBos);
+		modelAndView.setViewName("/portal/service/patent");
+		
+		//最新发布
+		List<JtBusinessProjectResult>recents=(List<JtBusinessProjectResult>) jtBusinessService.getProjects(null, null, null, 4, 1, 
+				1, 2, 1, null, 0, 1,null).getList();
+		modelAndView.addObject("recent",recents);
+		
+		//专利服务-商标服务-版权服务
+		for(JtBusinessCategoryBo c:categoryBos) {
+			if("专利服务".equals(c.getTopLevel())){
+				List<JtBusinessProjectResult>res=(List<JtBusinessProjectResult>) jtBusinessService.getProjects(c.getTopLevelId(), null,
+						null, 3, 1, 1, 2, 1, null, 0, 1,null).getList();
+				modelAndView.addObject("patentService",res);
+				modelAndView.addObject("patentTopId",c.getTopLevelId());
+			}
+			else if("商标服务".equals(c.getTopLevel())){
+				List<JtBusinessProjectResult>res=(List<JtBusinessProjectResult>) jtBusinessService.getProjects(c.getTopLevelId(), null,
+						null, 4, 1, 1, 2, 1, null, 0, 1,null).getList();
+				modelAndView.addObject("branchService",res);
+				modelAndView.addObject("branchTopId",c.getTopLevelId());
+			}
+			else if("版权服务".equals(c.getTopLevel())){
+				List<JtBusinessProjectResult>res=(List<JtBusinessProjectResult>) jtBusinessService.getProjects(c.getTopLevelId(), null,
+						null, 3, 1, 1, 2, 1, null, 0, 1,null).getList();
+				modelAndView.addObject("copyrightService",res);
+				modelAndView.addObject("copyrightTopId",c.getTopLevelId());
+			}
+			
+		}
+		
+		//知产百科
+		List<News> news=(List<News>) newsService.listNews(98, null, null, null, null, null, null, 1, 4, 2+"", null, "web_tech_service_index").getList();
+		modelAndView.addObject("jtNews",news);
+		
+		return modelAndView;
+	}
 
 	/*
 	 * 交易
@@ -825,6 +872,22 @@ public class WebpageController extends BaseController {
 	
 		return modelAndView;
 	}
+	@SuppressWarnings("unchecked")
+	@RequestMapping(value = "/portal/companyProfile")
+	public ModelAndView companyProfile(HttpServletRequest request, ModelAndView modelAndView,String uid) {
+		modelAndView.setViewName("/portal/companyProfile");
+		OrgIdentityBo org=organizationIdentityService.selectOrgIdentityBoByUserId(uid);
+		modelAndView.addObject("org",org);
+		List<JtBusinessProjectResult>projectResults=(List<JtBusinessProjectResult>) jtBusinessService.getProjects(null, null, null, 4, 1, 0, 2, null, null, 0, 1,uid).getList();
+		modelAndView.addObject("jtProjects",projectResults);
+		String honor=org.getHonorPicture();
+		if(honor!=null && honor.contains(".")) {
+			List<String>honorPictures=Arrays.asList(honor);
+			if(honorPictures.size()>0)modelAndView.addObject("honors",honorPictures);
+			
+		}
+		return modelAndView;
+	}
 	
 	private void businessHelper(ModelAndView modelAndView,String categoryName,List<JtBusinessCategory> jtBusinessCategories,int[] sizes) {
 		for(int i=0;i<jtBusinessCategories.size();i++) {

+ 11 - 11
src/main/java/com/goafanti/common/dao/JtBusinessProjectMapper.java

@@ -11,68 +11,68 @@ import org.apache.ibatis.annotations.Param;
 public interface JtBusinessProjectMapper {
     /**
 	 * This method was generated by MyBatis Generator. This method corresponds to the database table jt_business_project
-	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
+	 * @mbg.generated  Wed Jul 25 08:54:01 CST 2018
 	 */
 	long countByExample(JtBusinessProjectExample example);
 
 	/**
 	 * This method was generated by MyBatis Generator. This method corresponds to the database table jt_business_project
-	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
+	 * @mbg.generated  Wed Jul 25 08:54:01 CST 2018
 	 */
 	int deleteByExample(JtBusinessProjectExample example);
 
 	/**
 	 * This method was generated by MyBatis Generator. This method corresponds to the database table jt_business_project
-	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
+	 * @mbg.generated  Wed Jul 25 08:54:01 CST 2018
 	 */
 	int deleteByPrimaryKey(String id);
 
 	/**
 	 * This method was generated by MyBatis Generator. This method corresponds to the database table jt_business_project
-	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
+	 * @mbg.generated  Wed Jul 25 08:54:01 CST 2018
 	 */
 	int insert(JtBusinessProject record);
 
 	/**
 	 * This method was generated by MyBatis Generator. This method corresponds to the database table jt_business_project
-	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
+	 * @mbg.generated  Wed Jul 25 08:54:01 CST 2018
 	 */
 	int insertSelective(JtBusinessProject record);
 
 	/**
 	 * This method was generated by MyBatis Generator. This method corresponds to the database table jt_business_project
-	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
+	 * @mbg.generated  Wed Jul 25 08:54:01 CST 2018
 	 */
 	List<JtBusinessProject> selectByExample(JtBusinessProjectExample example);
 
 	/**
 	 * This method was generated by MyBatis Generator. This method corresponds to the database table jt_business_project
-	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
+	 * @mbg.generated  Wed Jul 25 08:54:01 CST 2018
 	 */
 	JtBusinessProject selectByPrimaryKey(String id);
 
 	/**
 	 * This method was generated by MyBatis Generator. This method corresponds to the database table jt_business_project
-	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
+	 * @mbg.generated  Wed Jul 25 08:54:01 CST 2018
 	 */
 	int updateByExampleSelective(@Param("record") JtBusinessProject record,
 			@Param("example") JtBusinessProjectExample example);
 
 	/**
 	 * This method was generated by MyBatis Generator. This method corresponds to the database table jt_business_project
-	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
+	 * @mbg.generated  Wed Jul 25 08:54:01 CST 2018
 	 */
 	int updateByExample(@Param("record") JtBusinessProject record, @Param("example") JtBusinessProjectExample example);
 
 	/**
 	 * This method was generated by MyBatis Generator. This method corresponds to the database table jt_business_project
-	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
+	 * @mbg.generated  Wed Jul 25 08:54:01 CST 2018
 	 */
 	int updateByPrimaryKeySelective(JtBusinessProject record);
 
 	/**
 	 * This method was generated by MyBatis Generator. This method corresponds to the database table jt_business_project
-	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
+	 * @mbg.generated  Wed Jul 25 08:54:01 CST 2018
 	 */
 	int updateByPrimaryKey(JtBusinessProject record);
 

+ 412 - 355
src/main/java/com/goafanti/common/mapper/JpushEasemobAccountMapper.xml

@@ -1,356 +1,413 @@
-<?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">
-<mapper namespace="com.goafanti.common.dao.JpushEasemobAccountMapper">
-  <resultMap id="BaseResultMap" type="com.goafanti.common.model.JpushEasemobAccount">
-    <!--
-      WARNING - @mbg.generated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Dec 25 14:46:37 CST 2017.
-    -->
-    <id column="id" jdbcType="INTEGER" property="id" />
-    <result column="uuid" jdbcType="VARCHAR" property="uuid" />
-    <result column="registration_id" jdbcType="VARCHAR" property="registrationId" />
-    <result column="uid" jdbcType="VARCHAR" property="uid" />
-    <result column="tag" jdbcType="VARCHAR" property="tag" />
-    <result column="group_id" jdbcType="VARCHAR" property="groupId" />
-    <result column="last_login_time" jdbcType="TIMESTAMP" property="lastLoginTime" />
-    <result column="easemob_name" jdbcType="VARCHAR" property="easemobName" />
-    <result column="easemob_pass" jdbcType="VARCHAR" property="easemobPass" />
-  </resultMap>
-  <sql id="Example_Where_Clause">
-    <!--
-      WARNING - @mbg.generated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Dec 25 14:46:37 CST 2017.
-    -->
-    <where>
-      <foreach collection="oredCriteria" item="criteria" separator="or">
-        <if test="criteria.valid">
-          <trim prefix="(" prefixOverrides="and" suffix=")">
-            <foreach collection="criteria.criteria" item="criterion">
-              <choose>
-                <when test="criterion.noValue">
-                  and ${criterion.condition}
-                </when>
-                <when test="criterion.singleValue">
-                  and ${criterion.condition} #{criterion.value}
-                </when>
-                <when test="criterion.betweenValue">
-                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
-                </when>
-                <when test="criterion.listValue">
-                  and ${criterion.condition}
-                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
-                    #{listItem}
-                  </foreach>
-                </when>
-              </choose>
-            </foreach>
-          </trim>
-        </if>
-      </foreach>
-    </where>
-  </sql>
-  <sql id="Update_By_Example_Where_Clause">
-    <!--
-      WARNING - @mbg.generated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Dec 25 14:46:37 CST 2017.
-    -->
-    <where>
-      <foreach collection="example.oredCriteria" item="criteria" separator="or">
-        <if test="criteria.valid">
-          <trim prefix="(" prefixOverrides="and" suffix=")">
-            <foreach collection="criteria.criteria" item="criterion">
-              <choose>
-                <when test="criterion.noValue">
-                  and ${criterion.condition}
-                </when>
-                <when test="criterion.singleValue">
-                  and ${criterion.condition} #{criterion.value}
-                </when>
-                <when test="criterion.betweenValue">
-                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
-                </when>
-                <when test="criterion.listValue">
-                  and ${criterion.condition}
-                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
-                    #{listItem}
-                  </foreach>
-                </when>
-              </choose>
-            </foreach>
-          </trim>
-        </if>
-      </foreach>
-    </where>
-  </sql>
-  <sql id="Base_Column_List">
-    <!--
-      WARNING - @mbg.generated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Dec 25 14:46:37 CST 2017.
-    -->
-    id, uuid, registration_id, uid, tag, group_id, last_login_time, easemob_name, easemob_pass
-  </sql>
-  <select id="selectByExample" parameterType="com.goafanti.common.model.JpushEasemobAccountExample" resultMap="BaseResultMap">
-    <!--
-      WARNING - @mbg.generated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Dec 25 14:46:37 CST 2017.
-    -->
-    select
-    <if test="distinct">
-      distinct
-    </if>
-    <include refid="Base_Column_List" />
-    from jpush_easemob_account
-    <if test="_parameter != null">
-      <include refid="Example_Where_Clause" />
-    </if>
-    <if test="orderByClause != null">
-      order by ${orderByClause}
-    </if>
-  </select>
-  <select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
-    <!--
-      WARNING - @mbg.generated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Dec 25 14:46:37 CST 2017.
-    -->
-    select 
-    <include refid="Base_Column_List" />
-    from jpush_easemob_account
-    where id = #{id,jdbcType=INTEGER}
-  </select>
-  <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer">
-    <!--
-      WARNING - @mbg.generated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Dec 25 14:46:37 CST 2017.
-    -->
-    delete from jpush_easemob_account
-    where id = #{id,jdbcType=INTEGER}
-  </delete>
-  <delete id="deleteByExample" parameterType="com.goafanti.common.model.JpushEasemobAccountExample">
-    <!--
-      WARNING - @mbg.generated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Dec 25 14:46:37 CST 2017.
-    -->
-    delete from jpush_easemob_account
-    <if test="_parameter != null">
-      <include refid="Example_Where_Clause" />
-    </if>
-  </delete>
-  <insert id="insert" parameterType="com.goafanti.common.model.JpushEasemobAccount">
-    <!--
-      WARNING - @mbg.generated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Dec 25 14:46:37 CST 2017.
-    -->
-    insert into jpush_easemob_account (id, uuid, registration_id, 
-      uid, tag, group_id, 
-      last_login_time, easemob_name, easemob_pass
-      )
-    values (#{id,jdbcType=INTEGER}, #{uuid,jdbcType=VARCHAR}, #{registrationId,jdbcType=VARCHAR}, 
-      #{uid,jdbcType=VARCHAR}, #{tag,jdbcType=VARCHAR}, #{groupId,jdbcType=VARCHAR}, 
-      #{lastLoginTime,jdbcType=TIMESTAMP}, #{easemobName,jdbcType=VARCHAR}, #{easemobPass,jdbcType=VARCHAR}
-      )
-  </insert>
-  <insert id="insertSelective" parameterType="com.goafanti.common.model.JpushEasemobAccount">
-    <!--
-      WARNING - @mbg.generated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Dec 25 14:46:37 CST 2017.
-    -->
-    insert into jpush_easemob_account
-    <trim prefix="(" suffix=")" suffixOverrides=",">
-      <if test="id != null">
-        id,
-      </if>
-      <if test="uuid != null">
-        uuid,
-      </if>
-      <if test="registrationId != null">
-        registration_id,
-      </if>
-      <if test="uid != null">
-        uid,
-      </if>
-      <if test="tag != null">
-        tag,
-      </if>
-      <if test="groupId != null">
-        group_id,
-      </if>
-      <if test="lastLoginTime != null">
-        last_login_time,
-      </if>
-      <if test="easemobName != null">
-        easemob_name,
-      </if>
-      <if test="easemobPass != null">
-        easemob_pass,
-      </if>
-    </trim>
-    <trim prefix="values (" suffix=")" suffixOverrides=",">
-      <if test="id != null">
-        #{id,jdbcType=INTEGER},
-      </if>
-      <if test="uuid != null">
-        #{uuid,jdbcType=VARCHAR},
-      </if>
-      <if test="registrationId != null">
-        #{registrationId,jdbcType=VARCHAR},
-      </if>
-      <if test="uid != null">
-        #{uid,jdbcType=VARCHAR},
-      </if>
-      <if test="tag != null">
-        #{tag,jdbcType=VARCHAR},
-      </if>
-      <if test="groupId != null">
-        #{groupId,jdbcType=VARCHAR},
-      </if>
-      <if test="lastLoginTime != null">
-        #{lastLoginTime,jdbcType=TIMESTAMP},
-      </if>
-      <if test="easemobName != null">
-        #{easemobName,jdbcType=VARCHAR},
-      </if>
-      <if test="easemobPass != null">
-        #{easemobPass,jdbcType=VARCHAR},
-      </if>
-    </trim>
-  </insert>
-  <select id="countByExample" parameterType="com.goafanti.common.model.JpushEasemobAccountExample" resultType="java.lang.Long">
-    <!--
-      WARNING - @mbg.generated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Dec 25 14:46:37 CST 2017.
-    -->
-    select count(*) from jpush_easemob_account
-    <if test="_parameter != null">
-      <include refid="Example_Where_Clause" />
-    </if>
-  </select>
-  <update id="updateByExampleSelective" parameterType="map">
-    <!--
-      WARNING - @mbg.generated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Dec 25 14:46:37 CST 2017.
-    -->
-    update jpush_easemob_account
-    <set>
-      <if test="record.id != null">
-        id = #{record.id,jdbcType=INTEGER},
-      </if>
-      <if test="record.uuid != null">
-        uuid = #{record.uuid,jdbcType=VARCHAR},
-      </if>
-      <if test="record.registrationId != null">
-        registration_id = #{record.registrationId,jdbcType=VARCHAR},
-      </if>
-      <if test="record.uid != null">
-        uid = #{record.uid,jdbcType=VARCHAR},
-      </if>
-      <if test="record.tag != null">
-        tag = #{record.tag,jdbcType=VARCHAR},
-      </if>
-      <if test="record.groupId != null">
-        group_id = #{record.groupId,jdbcType=VARCHAR},
-      </if>
-      <if test="record.lastLoginTime != null">
-        last_login_time = #{record.lastLoginTime,jdbcType=TIMESTAMP},
-      </if>
-      <if test="record.easemobName != null">
-        easemob_name = #{record.easemobName,jdbcType=VARCHAR},
-      </if>
-      <if test="record.easemobPass != null">
-        easemob_pass = #{record.easemobPass,jdbcType=VARCHAR},
-      </if>
-    </set>
-    <if test="_parameter != null">
-      <include refid="Update_By_Example_Where_Clause" />
-    </if>
-  </update>
-  <update id="updateByExample" parameterType="map">
-    <!--
-      WARNING - @mbg.generated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Dec 25 14:46:37 CST 2017.
-    -->
-    update jpush_easemob_account
-    set id = #{record.id,jdbcType=INTEGER},
-      uuid = #{record.uuid,jdbcType=VARCHAR},
-      registration_id = #{record.registrationId,jdbcType=VARCHAR},
-      uid = #{record.uid,jdbcType=VARCHAR},
-      tag = #{record.tag,jdbcType=VARCHAR},
-      group_id = #{record.groupId,jdbcType=VARCHAR},
-      last_login_time = #{record.lastLoginTime,jdbcType=TIMESTAMP},
-      easemob_name = #{record.easemobName,jdbcType=VARCHAR},
-      easemob_pass = #{record.easemobPass,jdbcType=VARCHAR}
-    <if test="_parameter != null">
-      <include refid="Update_By_Example_Where_Clause" />
-    </if>
-  </update>
-  <update id="updateByPrimaryKeySelective" parameterType="com.goafanti.common.model.JpushEasemobAccount">
-    <!--
-      WARNING - @mbg.generated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Dec 25 14:46:37 CST 2017.
-    -->
-    update jpush_easemob_account
-    <set>
-      <if test="uuid != null">
-        uuid = #{uuid,jdbcType=VARCHAR},
-      </if>
-      <if test="registrationId != null">
-        registration_id = #{registrationId,jdbcType=VARCHAR},
-      </if>
-      <if test="uid != null">
-        uid = #{uid,jdbcType=VARCHAR},
-      </if>
-      <if test="tag != null">
-        tag = #{tag,jdbcType=VARCHAR},
-      </if>
-      <if test="groupId != null">
-        group_id = #{groupId,jdbcType=VARCHAR},
-      </if>
-      <if test="lastLoginTime != null">
-        last_login_time = #{lastLoginTime,jdbcType=TIMESTAMP},
-      </if>
-      <if test="easemobName != null">
-        easemob_name = #{easemobName,jdbcType=VARCHAR},
-      </if>
-      <if test="easemobPass != null">
-        easemob_pass = #{easemobPass,jdbcType=VARCHAR},
-      </if>
-    </set>
-    where id = #{id,jdbcType=INTEGER}
-  </update>
-  <update id="updateByPrimaryKey" parameterType="com.goafanti.common.model.JpushEasemobAccount">
-    <!--
-      WARNING - @mbg.generated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Dec 25 14:46:37 CST 2017.
-    -->
-    update jpush_easemob_account
-    set uuid = #{uuid,jdbcType=VARCHAR},
-      registration_id = #{registrationId,jdbcType=VARCHAR},
-      uid = #{uid,jdbcType=VARCHAR},
-      tag = #{tag,jdbcType=VARCHAR},
-      group_id = #{groupId,jdbcType=VARCHAR},
-      last_login_time = #{lastLoginTime,jdbcType=TIMESTAMP},
-      easemob_name = #{easemobName,jdbcType=VARCHAR},
-      easemob_pass = #{easemobPass,jdbcType=VARCHAR}
-    where id = #{id,jdbcType=INTEGER}
-  </update>
-  <select id="selectSynAccByUid" parameterType="java.lang.String" resultMap="BaseResultMap">
-  	select 
-    <include refid="Base_Column_List" />
-    from jpush_easemob_account
-    where uid = #{uid,jdbcType=VARCHAR}
-  </select>
+<?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">
+<mapper namespace="com.goafanti.common.dao.JpushEasemobAccountMapper">
+  <resultMap id="BaseResultMap" type="com.goafanti.common.model.JpushEasemobAccount">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Mon Dec 25 14:46:37 CST 2017.
+    -->
+    <id column="id" jdbcType="INTEGER" property="id" />
+    <result column="uuid" jdbcType="VARCHAR" property="uuid" />
+    <result column="registration_id" jdbcType="VARCHAR" property="registrationId" />
+    <result column="uid" jdbcType="VARCHAR" property="uid" />
+    <result column="tag" jdbcType="VARCHAR" property="tag" />
+    <result column="group_id" jdbcType="VARCHAR" property="groupId" />
+    <result column="last_login_time" jdbcType="TIMESTAMP" property="lastLoginTime" />
+    <result column="easemob_name" jdbcType="VARCHAR" property="easemobName" />
+    <result column="easemob_pass" jdbcType="VARCHAR" property="easemobPass" />
+  </resultMap>
+  <sql id="Example_Where_Clause">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Mon Dec 25 14:46:37 CST 2017.
+    -->
+    <where>
+      <foreach collection="oredCriteria" item="criteria" separator="or">
+        <if test="criteria.valid">
+          <trim prefix="(" prefixOverrides="and" suffix=")">
+            <foreach collection="criteria.criteria" item="criterion">
+              <choose>
+                <when test="criterion.noValue">
+                  and ${criterion.condition}
+                </when>
+                <when test="criterion.singleValue">
+                  and ${criterion.condition} #{criterion.value}
+                </when>
+                <when test="criterion.betweenValue">
+                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+                </when>
+                <when test="criterion.listValue">
+                  and ${criterion.condition}
+                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
+                    #{listItem}
+                  </foreach>
+                </when>
+              </choose>
+            </foreach>
+          </trim>
+        </if>
+      </foreach>
+    </where>
+  </sql>
+  <sql id="Update_By_Example_Where_Clause">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Mon Dec 25 14:46:37 CST 2017.
+    -->
+    <where>
+      <foreach collection="example.oredCriteria" item="criteria" separator="or">
+        <if test="criteria.valid">
+          <trim prefix="(" prefixOverrides="and" suffix=")">
+            <foreach collection="criteria.criteria" item="criterion">
+              <choose>
+                <when test="criterion.noValue">
+                  and ${criterion.condition}
+                </when>
+                <when test="criterion.singleValue">
+                  and ${criterion.condition} #{criterion.value}
+                </when>
+                <when test="criterion.betweenValue">
+                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+                </when>
+                <when test="criterion.listValue">
+                  and ${criterion.condition}
+                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
+                    #{listItem}
+                  </foreach>
+                </when>
+              </choose>
+            </foreach>
+          </trim>
+        </if>
+      </foreach>
+    </where>
+  </sql>
+  <sql id="Base_Column_List">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Mon Dec 25 14:46:37 CST 2017.
+    -->
+    id, uuid, registration_id, uid, tag, group_id, last_login_time, easemob_name, easemob_pass
+  </sql>
+  <select id="selectByExample" parameterType="com.goafanti.common.model.JpushEasemobAccountExample" resultMap="BaseResultMap">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Mon Dec 25 14:46:37 CST 2017.
+    -->
+    select
+    <if test="distinct">
+      distinct
+    </if>
+    <include refid="Base_Column_List" />
+    from jpush_easemob_account
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+    <if test="orderByClause != null">
+      order by ${orderByClause}
+    </if>
+  </select>
+  <select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Mon Dec 25 14:46:37 CST 2017.
+    -->
+    select 
+    <include refid="Base_Column_List" />
+    from jpush_easemob_account
+    where id = #{id,jdbcType=INTEGER}
+  </select>
+  <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Mon Dec 25 14:46:37 CST 2017.
+    -->
+    delete from jpush_easemob_account
+    where id = #{id,jdbcType=INTEGER}
+  </delete>
+  <delete id="deleteByExample" parameterType="com.goafanti.common.model.JpushEasemobAccountExample">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Mon Dec 25 14:46:37 CST 2017.
+    -->
+    delete from jpush_easemob_account
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  <insert id="insert" parameterType="com.goafanti.common.model.JpushEasemobAccount">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Mon Dec 25 14:46:37 CST 2017.
+    -->
+    insert into jpush_easemob_account (id, uuid, registration_id, 
+      uid, tag, group_id, 
+      last_login_time, easemob_name, easemob_pass
+      )
+    values (#{id,jdbcType=INTEGER}, #{uuid,jdbcType=VARCHAR}, #{registrationId,jdbcType=VARCHAR}, 
+      #{uid,jdbcType=VARCHAR}, #{tag,jdbcType=VARCHAR}, #{groupId,jdbcType=VARCHAR}, 
+      #{lastLoginTime,jdbcType=TIMESTAMP}, #{easemobName,jdbcType=VARCHAR}, #{easemobPass,jdbcType=VARCHAR}
+      )
+  </insert>
+  <insert id="insertSelective" parameterType="com.goafanti.common.model.JpushEasemobAccount">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Mon Dec 25 14:46:37 CST 2017.
+    -->
+    insert into jpush_easemob_account
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        id,
+      </if>
+      <if test="uuid != null">
+        uuid,
+      </if>
+      <if test="registrationId != null">
+        registration_id,
+      </if>
+      <if test="uid != null">
+        uid,
+      </if>
+      <if test="tag != null">
+        tag,
+      </if>
+      <if test="groupId != null">
+        group_id,
+      </if>
+      <if test="lastLoginTime != null">
+        last_login_time,
+      </if>
+      <if test="easemobName != null">
+        easemob_name,
+      </if>
+      <if test="easemobPass != null">
+        easemob_pass,
+      </if>
+    </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        #{id,jdbcType=INTEGER},
+      </if>
+      <if test="uuid != null">
+        #{uuid,jdbcType=VARCHAR},
+      </if>
+      <if test="registrationId != null">
+        #{registrationId,jdbcType=VARCHAR},
+      </if>
+      <if test="uid != null">
+        #{uid,jdbcType=VARCHAR},
+      </if>
+      <if test="tag != null">
+        #{tag,jdbcType=VARCHAR},
+      </if>
+      <if test="groupId != null">
+        #{groupId,jdbcType=VARCHAR},
+      </if>
+      <if test="lastLoginTime != null">
+        #{lastLoginTime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="easemobName != null">
+        #{easemobName,jdbcType=VARCHAR},
+      </if>
+      <if test="easemobPass != null">
+        #{easemobPass,jdbcType=VARCHAR},
+      </if>
+    </trim>
+  </insert>
+  <select id="countByExample" parameterType="com.goafanti.common.model.JpushEasemobAccountExample" resultType="java.lang.Long">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Mon Dec 25 14:46:37 CST 2017.
+    -->
+    select count(*) from jpush_easemob_account
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </select>
+  <update id="updateByExampleSelective" parameterType="map">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Mon Dec 25 14:46:37 CST 2017.
+    -->
+    update jpush_easemob_account
+    <set>
+      <if test="record.id != null">
+        id = #{record.id,jdbcType=INTEGER},
+      </if>
+      <if test="record.uuid != null">
+        uuid = #{record.uuid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.registrationId != null">
+        registration_id = #{record.registrationId,jdbcType=VARCHAR},
+      </if>
+      <if test="record.uid != null">
+        uid = #{record.uid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.tag != null">
+        tag = #{record.tag,jdbcType=VARCHAR},
+      </if>
+      <if test="record.groupId != null">
+        group_id = #{record.groupId,jdbcType=VARCHAR},
+      </if>
+      <if test="record.lastLoginTime != null">
+        last_login_time = #{record.lastLoginTime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="record.easemobName != null">
+        easemob_name = #{record.easemobName,jdbcType=VARCHAR},
+      </if>
+      <if test="record.easemobPass != null">
+        easemob_pass = #{record.easemobPass,jdbcType=VARCHAR},
+      </if>
+    </set>
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByExample" parameterType="map">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Mon Dec 25 14:46:37 CST 2017.
+    -->
+    update jpush_easemob_account
+    set id = #{record.id,jdbcType=INTEGER},
+      uuid = #{record.uuid,jdbcType=VARCHAR},
+      registration_id = #{record.registrationId,jdbcType=VARCHAR},
+      uid = #{record.uid,jdbcType=VARCHAR},
+      tag = #{record.tag,jdbcType=VARCHAR},
+      group_id = #{record.groupId,jdbcType=VARCHAR},
+      last_login_time = #{record.lastLoginTime,jdbcType=TIMESTAMP},
+      easemob_name = #{record.easemobName,jdbcType=VARCHAR},
+      easemob_pass = #{record.easemobPass,jdbcType=VARCHAR}
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByPrimaryKeySelective" parameterType="com.goafanti.common.model.JpushEasemobAccount">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Mon Dec 25 14:46:37 CST 2017.
+    -->
+    update jpush_easemob_account
+    <set>
+      <if test="uuid != null">
+        uuid = #{uuid,jdbcType=VARCHAR},
+      </if>
+      <if test="registrationId != null">
+        registration_id = #{registrationId,jdbcType=VARCHAR},
+      </if>
+      <if test="uid != null">
+        uid = #{uid,jdbcType=VARCHAR},
+      </if>
+      <if test="tag != null">
+        tag = #{tag,jdbcType=VARCHAR},
+      </if>
+      <if test="groupId != null">
+        group_id = #{groupId,jdbcType=VARCHAR},
+      </if>
+      <if test="lastLoginTime != null">
+        last_login_time = #{lastLoginTime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="easemobName != null">
+        easemob_name = #{easemobName,jdbcType=VARCHAR},
+      </if>
+      <if test="easemobPass != null">
+        easemob_pass = #{easemobPass,jdbcType=VARCHAR},
+      </if>
+    </set>
+    where id = #{id,jdbcType=INTEGER}
+  </update>
+  <update id="updateByPrimaryKey" parameterType="com.goafanti.common.model.JpushEasemobAccount">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Mon Dec 25 14:46:37 CST 2017.
+    -->
+    update jpush_easemob_account
+    set uuid = #{uuid,jdbcType=VARCHAR},
+      registration_id = #{registrationId,jdbcType=VARCHAR},
+      uid = #{uid,jdbcType=VARCHAR},
+      tag = #{tag,jdbcType=VARCHAR},
+      group_id = #{groupId,jdbcType=VARCHAR},
+      last_login_time = #{lastLoginTime,jdbcType=TIMESTAMP},
+      easemob_name = #{easemobName,jdbcType=VARCHAR},
+      easemob_pass = #{easemobPass,jdbcType=VARCHAR}
+    where id = #{id,jdbcType=INTEGER}
+  </update>
+  <select id="selectSynAccByUid" parameterType="java.lang.String" resultMap="BaseResultMap">
+  	select 
+    <include refid="Base_Column_List" />
+    from jpush_easemob_account
+    where uid = #{uid,jdbcType=VARCHAR}
+  </select>
+  
+  
+  <select id="findJpushClientsByType" resultType="com.goafanti.user.bo.ClientListBo">
+  select jea.uid,
+  u.identify_name as name,u.society_tag as societyTag,u.create_time as createTime,c.contacts,c.contact_mobile as contactMobile,dg.name as provinceS,fg.name as industryS,
+  <if test="clientType!=null and clientType==0">
+  i.province as province,
+  </if>
+    <if test="clientType!=null and clientType==1">
+  i.licence_province as province,
+  </if>
+   <if test="clientType!=null and clientType==0">
+  i.industry as industry
+  </if>
+   <if test="clientType!=null and clientType==1">
+  i.field as field
+  </if>
+   from jpush_easemob_account jea
+   left join user u on u.id=jea.uid
+   <if test="clientType!=null and clientType==0">
+   left join user_identity i on i.uid =jea.uid
+   </if>
+   <if test="clientType!=null and clientType==1">
+   left join organization_identity i on i.uid =jea.uid
+   </if>
+   left join contract c on c.uid=u.id
+   <if test="clientType!=null and clientType==0">
+      left join district_glossory dg on dg.id=i.province
+   </if>
+    <if test="clientType!=null and clientType==1">
+      left join district_glossory dg on dg.id=i.licence_province
+   </if>
+    <if test="clientType!=null and clientType==0">
+      left join field_glossory fg on fg.id=i.industry
+   </if>
+    <if test="clientType!=null and clientType==1">
+      left join field_glossory fg on fg.id=i.field
+   </if>
+   where i.uid=jea.uid
+ 	<if test="page_sql!=null">
+		${page_sql}
+	</if>
+  </select>
+    <select id="findJpushClientsCountByType" resultType="java.lang.Integer">
+   select count(0)
+   from jpush_easemob_account jea
+   left join user u on u.id=jea.uid
+   <if test="clientType!=null and clientType==0">
+   left join user_identity i on i.uid =jea.uid
+   </if>
+   <if test="clientType!=null and clientType==1">
+   left join organization_identity i on i.uid =jea.uid
+   </if>
+   left join contract c on c.uid=u.id
+   where i.uid=jea.uid
+  </select>
+  
 </mapper>

+ 3 - 1
src/main/java/com/goafanti/common/mapper/JtBusinessCategoryMapper.xml

@@ -427,6 +427,7 @@ where
   <resultMap id="JtBusinessCategoryBoResult" type="com.goafanti.business.bo.JtBusinessCategoryBo">  
         <id column="name" property="topLevel" />  
         <id column="topLevelId" property="topLevelId" />
+        <id column="summary" property="summary"/>
         <collection column="topLevelId" ofType="com.goafanti.common.model.JtBusinessCategory" property="children" select="getCategoryBySuperId">
         </collection>  
     </resultMap>  
@@ -435,7 +436,8 @@ where
     select 
     name as topLevel,
     id as topLevelId,
-    img_url as topImg
+    img_url as topImg,
+    summary
     from jt_business_category
     where layer=1
     <if test="module!=null">

+ 44 - 25
src/main/java/com/goafanti/common/mapper/JtBusinessProjectMapper.xml

@@ -5,7 +5,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Thu Jul 19 16:49:39 CST 2018.
+      This element was generated on Wed Jul 25 08:54:01 CST 2018.
     -->
     <id column="id" jdbcType="VARCHAR" property="id" />
     <result column="name" jdbcType="VARCHAR" property="name" />
@@ -30,12 +30,13 @@
     <result column="audit_info" jdbcType="VARCHAR" property="auditInfo" />
     <result column="release_date" jdbcType="TIMESTAMP" property="releaseDate" />
     <result column="advertisement" jdbcType="VARCHAR" property="advertisement" />
+    <result column="tag" jdbcType="VARCHAR" property="tag" />
   </resultMap>
   <sql id="Example_Where_Clause">
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Thu Jul 19 16:49:39 CST 2018.
+      This element was generated on Wed Jul 25 08:54:01 CST 2018.
     -->
     <where>
       <foreach collection="oredCriteria" item="criteria" separator="or">
@@ -69,7 +70,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Thu Jul 19 16:49:39 CST 2018.
+      This element was generated on Wed Jul 25 08:54:01 CST 2018.
     -->
     <where>
       <foreach collection="example.oredCriteria" item="criteria" separator="or">
@@ -103,17 +104,17 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Thu Jul 19 16:49:39 CST 2018.
+      This element was generated on Wed Jul 25 08:54:01 CST 2018.
     -->
-     id, name, category_id as categoryId, number, price, activity_price as activityPrice, member_price as memberPrice, offset, activity_flag as activityFlag, 
+  id, name, category_id as categoryId, number, price, activity_price as activityPrice, member_price as memberPrice, offset, activity_flag as activityFlag, 
      introduce, province, city, create_time as createTime, min_img_url as minImgUrl, max_img_url as maxImgUrl, value, apply_conditions as applyConditions, 
-     owner_id as ownerId, is_hot as isHot, audit_status as auditStatus, audit_info as auditInfo, release_date as releaseDate, advertisement
+     owner_id as ownerId, is_hot as isHot, audit_status as auditStatus, audit_info as auditInfo, release_date as releaseDate, advertisement, tag
   </sql>
   <select id="selectByExample" parameterType="com.goafanti.common.model.JtBusinessProjectExample" resultMap="BaseResultMap">
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Thu Jul 19 16:49:39 CST 2018.
+      This element was generated on Wed Jul 25 08:54:01 CST 2018.
     -->
     select
     <if test="distinct">
@@ -132,7 +133,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Thu Jul 19 16:49:39 CST 2018.
+      This element was generated on Wed Jul 25 08:54:01 CST 2018.
     -->
     select 
     <include refid="Base_Column_List" />
@@ -143,7 +144,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Thu Jul 19 16:49:39 CST 2018.
+      This element was generated on Wed Jul 25 08:54:01 CST 2018.
     -->
     delete from jt_business_project
     where id = #{id,jdbcType=VARCHAR}
@@ -152,7 +153,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Thu Jul 19 16:49:39 CST 2018.
+      This element was generated on Wed Jul 25 08:54:01 CST 2018.
     -->
     delete from jt_business_project
     <if test="_parameter != null">
@@ -163,7 +164,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Thu Jul 19 16:49:39 CST 2018.
+      This element was generated on Wed Jul 25 08:54:01 CST 2018.
     -->
     insert into jt_business_project (id, name, category_id, 
       number, price, activity_price, 
@@ -172,7 +173,8 @@
       create_time, min_img_url, max_img_url, 
       value, apply_conditions, owner_id, 
       is_hot, audit_status, audit_info, 
-      release_date, advertisement)
+      release_date, advertisement, tag
+      )
     values (#{id,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, #{categoryId,jdbcType=VARCHAR}, 
       #{number,jdbcType=VARCHAR}, #{price,jdbcType=DECIMAL}, #{activityPrice,jdbcType=DECIMAL}, 
       #{memberPrice,jdbcType=DECIMAL}, #{offset,jdbcType=REAL}, #{activityFlag,jdbcType=INTEGER}, 
@@ -180,13 +182,14 @@
       #{createTime,jdbcType=TIMESTAMP}, #{minImgUrl,jdbcType=VARCHAR}, #{maxImgUrl,jdbcType=VARCHAR}, 
       #{value,jdbcType=VARCHAR}, #{applyConditions,jdbcType=VARCHAR}, #{ownerId,jdbcType=VARCHAR}, 
       #{isHot,jdbcType=INTEGER}, #{auditStatus,jdbcType=INTEGER}, #{auditInfo,jdbcType=VARCHAR}, 
-      #{releaseDate,jdbcType=TIMESTAMP}, #{advertisement,jdbcType=VARCHAR})
+      #{releaseDate,jdbcType=TIMESTAMP}, #{advertisement,jdbcType=VARCHAR}, #{tag,jdbcType=VARCHAR}
+      )
   </insert>
   <insert id="insertSelective" parameterType="com.goafanti.common.model.JtBusinessProject">
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Thu Jul 19 16:49:39 CST 2018.
+      This element was generated on Wed Jul 25 08:54:01 CST 2018.
     -->
     insert into jt_business_project
     <trim prefix="(" suffix=")" suffixOverrides=",">
@@ -259,6 +262,9 @@
       <if test="advertisement != null">
         advertisement,
       </if>
+      <if test="tag != null">
+        tag,
+      </if>
     </trim>
     <trim prefix="values (" suffix=")" suffixOverrides=",">
       <if test="id != null">
@@ -330,13 +336,16 @@
       <if test="advertisement != null">
         #{advertisement,jdbcType=VARCHAR},
       </if>
+      <if test="tag != null">
+        #{tag,jdbcType=VARCHAR},
+      </if>
     </trim>
   </insert>
   <select id="countByExample" parameterType="com.goafanti.common.model.JtBusinessProjectExample" resultType="java.lang.Long">
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Thu Jul 19 16:49:39 CST 2018.
+      This element was generated on Wed Jul 25 08:54:01 CST 2018.
     -->
     select count(*) from jt_business_project
     <if test="_parameter != null">
@@ -347,7 +356,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Thu Jul 19 16:49:39 CST 2018.
+      This element was generated on Wed Jul 25 08:54:01 CST 2018.
     -->
     update jt_business_project
     <set>
@@ -420,6 +429,9 @@
       <if test="record.advertisement != null">
         advertisement = #{record.advertisement,jdbcType=VARCHAR},
       </if>
+      <if test="record.tag != null">
+        tag = #{record.tag,jdbcType=VARCHAR},
+      </if>
     </set>
     <if test="_parameter != null">
       <include refid="Update_By_Example_Where_Clause" />
@@ -429,7 +441,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Thu Jul 19 16:49:39 CST 2018.
+      This element was generated on Wed Jul 25 08:54:01 CST 2018.
     -->
     update jt_business_project
     set id = #{record.id,jdbcType=VARCHAR},
@@ -454,7 +466,8 @@
       audit_status = #{record.auditStatus,jdbcType=INTEGER},
       audit_info = #{record.auditInfo,jdbcType=VARCHAR},
       release_date = #{record.releaseDate,jdbcType=TIMESTAMP},
-      advertisement = #{record.advertisement,jdbcType=VARCHAR}
+      advertisement = #{record.advertisement,jdbcType=VARCHAR},
+      tag = #{record.tag,jdbcType=VARCHAR}
     <if test="_parameter != null">
       <include refid="Update_By_Example_Where_Clause" />
     </if>
@@ -463,7 +476,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Thu Jul 19 16:49:39 CST 2018.
+      This element was generated on Wed Jul 25 08:54:01 CST 2018.
     -->
     update jt_business_project
     <set>
@@ -533,6 +546,9 @@
       <if test="advertisement != null">
         advertisement = #{advertisement,jdbcType=VARCHAR},
       </if>
+      <if test="tag != null">
+        tag = #{tag,jdbcType=VARCHAR},
+      </if>
     </set>
     where id = #{id,jdbcType=VARCHAR}
   </update>
@@ -540,7 +556,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Thu Jul 19 16:49:39 CST 2018.
+      This element was generated on Wed Jul 25 08:54:01 CST 2018.
     -->
     update jt_business_project
     set name = #{name,jdbcType=VARCHAR},
@@ -564,7 +580,8 @@
       audit_status = #{auditStatus,jdbcType=INTEGER},
       audit_info = #{auditInfo,jdbcType=VARCHAR},
       release_date = #{releaseDate,jdbcType=TIMESTAMP},
-      advertisement = #{advertisement,jdbcType=VARCHAR}
+      advertisement = #{advertisement,jdbcType=VARCHAR},
+      tag = #{tag,jdbcType=VARCHAR}
     where id = #{id,jdbcType=VARCHAR}
   </update>
   <select id="selectByPrimaryKeyWithModule" resultType="com.goafanti.business.bo.JtBusinessProjectResult">
@@ -572,7 +589,7 @@
         jtbp.id, jtbp.name, jtbp.category_id as categoryId, jtbp.number, jtbp.price, jtbp.activity_price as activityPrice, jtbp.member_price as memberPrice, jtbp.offset, 
         jtbp.activity_flag as activityFlag, 
     jtbp.introduce, jtbp.province, jtbp.city, jtbp.create_time as createTime, jtbp.min_img_url as minImgUrl, jtbp.max_img_url as maxImgUrl, jtbp.value, jtbp.apply_conditions as applyConditions, 
-    jtbp.owner_id as ownerId, jtbp.is_hot as isHot, jtbp.audit_status as auditStatus, jtbp.audit_info as auditInfo, jtbp.release_date as releaseDate,jtbc.module as module,jtbp.advertisement
+    jtbp.owner_id as ownerId, jtbp.is_hot as isHot, jtbp.audit_status as auditStatus, jtbp.audit_info as auditInfo, jtbp.release_date as releaseDate,jtbc.module as module,jtbp.advertisement,jtbp.tag
     from jt_business_project jtbp
     left join jt_business_category jtbc on jtbc.id =  jtbp.category_id
     where jtbp.id = #{id,jdbcType=VARCHAR}
@@ -620,7 +637,8 @@
 	  jtbp.release_Date as releaseDate,
 	  jtbp.advertisement,
 	  dct.dealCount as dealCount,
-	  u.identify_name as companyName
+	  u.identify_name as companyName,u.id as companyId,
+	  jtbp.tag
   from jt_business_project jtbp
   left join user u on u.id=jtbp.owner_id
   <if test="topId!=null">
@@ -698,7 +716,7 @@
   <select id="findProjectOrderByNumber" resultType="com.goafanti.common.model.JtBusinessProject">
   select
  <include refid="Base_Column_List" />
-  from jt_business_project 
+  from jt_business_project jtbp
   where audit_status=2
   order by create_time desc
   </select>
@@ -723,7 +741,8 @@
 	  jtbp.is_hot as isHot,
 	  jtbp.audit_status as auditStatus,
 	  jtbp.release_Date as releaseDate,
-	  jtbp.advertisement
+	  jtbp.advertisement,
+	  jtbp.tag
    from 
   jt_business_project jtbp
   left join project_interest pi on jtbp.id=pi.project_id

+ 1 - 1
src/main/java/com/goafanti/common/mapper/NewsMapper.xml

@@ -295,7 +295,7 @@
 			count(0)
 		from news a
 		where 
-		a.type != 1 and a.type != 2
+		(a.type = 0 or a.type = 99 or a.type =98)
 		<if test="provinceId != null">
 			and a.province_id = #{provinceId,jdbcType=INTEGER}
 		</if>

+ 11 - 2
src/main/java/com/goafanti/common/mapper/NewsMapperExt.xml

@@ -115,11 +115,20 @@
    <select id="findNewsCount" parameterType="String" resultType="java.lang.Integer">
   	select
   		count(1)
-  	from news
-  	where 1 =1
+  	from news n
+  	 	<if test="publishPage !=null">
+  	left join news_publish np on np.news_id= n.id
+  	</if>
+  	where (n.type =0 or n.type=98 or n.type=99)
+  	<if test="publishPage !=null">
+  	and np.publish_page =#{publishPage,jdbcType=VARCHAR}
+  	</if>
   	<if test="auditStatus != null">
   		and audit_status = #{auditStatus,jdbcType=INTEGER}
   	</if>
+  	<if test="releaseStatus != null">
+  		and release_status = #{releaseStatus,jdbcType=INTEGER}
+  	</if>
   	<if test="type != null">
   		and type = #{type,jdbcType=INTEGER}
   	</if>

+ 2 - 1
src/main/java/com/goafanti/common/mapper/OrganizationIdentityMapper.xml

@@ -1243,7 +1243,8 @@
 			b.org_code_url as orgCodeUrl,
 			b.org_code as orgCode,
 			b.business_scope as businessScope,
-			b.honor_picture as honorPicture
+			b.honor_picture as honorPicture,
+			b.qq
 		from
 			user a left join organization_identity b on
 			a.id = b.uid

+ 92 - 69
src/main/java/com/goafanti/common/model/JtBusinessProject.java

@@ -7,124 +7,129 @@ public class JtBusinessProject {
 
 	/**
 	 * This field was generated by MyBatis Generator. This field corresponds to the database column jt_business_project.id
-	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
+	 * @mbg.generated  Wed Jul 25 08:54:01 CST 2018
 	 */
 	private String id;
 	/**
 	 * This field was generated by MyBatis Generator. This field corresponds to the database column jt_business_project.name
-	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
+	 * @mbg.generated  Wed Jul 25 08:54:01 CST 2018
 	 */
 	private String name;
 	/**
 	 * This field was generated by MyBatis Generator. This field corresponds to the database column jt_business_project.category_id
-	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
+	 * @mbg.generated  Wed Jul 25 08:54:01 CST 2018
 	 */
 	private String categoryId;
 	/**
 	 * This field was generated by MyBatis Generator. This field corresponds to the database column jt_business_project.number
-	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
+	 * @mbg.generated  Wed Jul 25 08:54:01 CST 2018
 	 */
 	private String number;
 	/**
 	 * This field was generated by MyBatis Generator. This field corresponds to the database column jt_business_project.price
-	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
+	 * @mbg.generated  Wed Jul 25 08:54:01 CST 2018
 	 */
 	private BigDecimal price;
 	/**
 	 * This field was generated by MyBatis Generator. This field corresponds to the database column jt_business_project.activity_price
-	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
+	 * @mbg.generated  Wed Jul 25 08:54:01 CST 2018
 	 */
 	private BigDecimal activityPrice;
 	/**
 	 * This field was generated by MyBatis Generator. This field corresponds to the database column jt_business_project.member_price
-	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
+	 * @mbg.generated  Wed Jul 25 08:54:01 CST 2018
 	 */
 	private BigDecimal memberPrice;
 	/**
 	 * This field was generated by MyBatis Generator. This field corresponds to the database column jt_business_project.offset
-	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
+	 * @mbg.generated  Wed Jul 25 08:54:01 CST 2018
 	 */
 	private Float offset;
 	/**
 	 * This field was generated by MyBatis Generator. This field corresponds to the database column jt_business_project.activity_flag
-	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
+	 * @mbg.generated  Wed Jul 25 08:54:01 CST 2018
 	 */
 	private Integer activityFlag;
 	/**
 	 * This field was generated by MyBatis Generator. This field corresponds to the database column jt_business_project.introduce
-	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
+	 * @mbg.generated  Wed Jul 25 08:54:01 CST 2018
 	 */
 	private String introduce;
 	/**
 	 * This field was generated by MyBatis Generator. This field corresponds to the database column jt_business_project.province
-	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
+	 * @mbg.generated  Wed Jul 25 08:54:01 CST 2018
 	 */
 	private Integer province;
 	/**
 	 * This field was generated by MyBatis Generator. This field corresponds to the database column jt_business_project.city
-	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
+	 * @mbg.generated  Wed Jul 25 08:54:01 CST 2018
 	 */
 	private Integer city;
 	/**
 	 * This field was generated by MyBatis Generator. This field corresponds to the database column jt_business_project.create_time
-	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
+	 * @mbg.generated  Wed Jul 25 08:54:01 CST 2018
 	 */
 	private Date createTime;
 	/**
 	 * This field was generated by MyBatis Generator. This field corresponds to the database column jt_business_project.min_img_url
-	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
+	 * @mbg.generated  Wed Jul 25 08:54:01 CST 2018
 	 */
 	private String minImgUrl;
 	/**
 	 * This field was generated by MyBatis Generator. This field corresponds to the database column jt_business_project.max_img_url
-	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
+	 * @mbg.generated  Wed Jul 25 08:54:01 CST 2018
 	 */
 	private String maxImgUrl;
 	/**
 	 * This field was generated by MyBatis Generator. This field corresponds to the database column jt_business_project.value
-	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
+	 * @mbg.generated  Wed Jul 25 08:54:01 CST 2018
 	 */
 	private String value;
 	/**
 	 * This field was generated by MyBatis Generator. This field corresponds to the database column jt_business_project.apply_conditions
-	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
+	 * @mbg.generated  Wed Jul 25 08:54:01 CST 2018
 	 */
 	private String applyConditions;
 	/**
 	 * This field was generated by MyBatis Generator. This field corresponds to the database column jt_business_project.owner_id
-	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
+	 * @mbg.generated  Wed Jul 25 08:54:01 CST 2018
 	 */
 	private String ownerId;
 	/**
 	 * This field was generated by MyBatis Generator. This field corresponds to the database column jt_business_project.is_hot
-	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
+	 * @mbg.generated  Wed Jul 25 08:54:01 CST 2018
 	 */
 	private Integer isHot;
 	/**
 	 * This field was generated by MyBatis Generator. This field corresponds to the database column jt_business_project.audit_status
-	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
+	 * @mbg.generated  Wed Jul 25 08:54:01 CST 2018
 	 */
 	private Integer auditStatus;
 	/**
 	 * This field was generated by MyBatis Generator. This field corresponds to the database column jt_business_project.audit_info
-	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
+	 * @mbg.generated  Wed Jul 25 08:54:01 CST 2018
 	 */
 	private String auditInfo;
 	/**
 	 * This field was generated by MyBatis Generator. This field corresponds to the database column jt_business_project.release_date
-	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
+	 * @mbg.generated  Wed Jul 25 08:54:01 CST 2018
 	 */
 	private Date releaseDate;
 	/**
 	 * This field was generated by MyBatis Generator. This field corresponds to the database column jt_business_project.advertisement
-	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
+	 * @mbg.generated  Wed Jul 25 08:54:01 CST 2018
 	 */
 	private String advertisement;
+	/**
+	 * This field was generated by MyBatis Generator. This field corresponds to the database column jt_business_project.tag
+	 * @mbg.generated  Wed Jul 25 08:54:01 CST 2018
+	 */
+	private String tag;
 
 	/**
 	 * This method was generated by MyBatis Generator. This method returns the value of the database column jt_business_project.id
 	 * @return  the value of jt_business_project.id
-	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
+	 * @mbg.generated  Wed Jul 25 08:54:01 CST 2018
 	 */
 	public String getId() {
 		return id;
@@ -133,7 +138,7 @@ public class JtBusinessProject {
 	/**
 	 * This method was generated by MyBatis Generator. This method sets the value of the database column jt_business_project.id
 	 * @param id  the value for jt_business_project.id
-	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
+	 * @mbg.generated  Wed Jul 25 08:54:01 CST 2018
 	 */
 	public void setId(String id) {
 		this.id = id;
@@ -142,7 +147,7 @@ public class JtBusinessProject {
 	/**
 	 * This method was generated by MyBatis Generator. This method returns the value of the database column jt_business_project.name
 	 * @return  the value of jt_business_project.name
-	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
+	 * @mbg.generated  Wed Jul 25 08:54:01 CST 2018
 	 */
 	public String getName() {
 		return name;
@@ -151,7 +156,7 @@ public class JtBusinessProject {
 	/**
 	 * This method was generated by MyBatis Generator. This method sets the value of the database column jt_business_project.name
 	 * @param name  the value for jt_business_project.name
-	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
+	 * @mbg.generated  Wed Jul 25 08:54:01 CST 2018
 	 */
 	public void setName(String name) {
 		this.name = name;
@@ -160,7 +165,7 @@ public class JtBusinessProject {
 	/**
 	 * This method was generated by MyBatis Generator. This method returns the value of the database column jt_business_project.category_id
 	 * @return  the value of jt_business_project.category_id
-	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
+	 * @mbg.generated  Wed Jul 25 08:54:01 CST 2018
 	 */
 	public String getCategoryId() {
 		return categoryId;
@@ -169,7 +174,7 @@ public class JtBusinessProject {
 	/**
 	 * This method was generated by MyBatis Generator. This method sets the value of the database column jt_business_project.category_id
 	 * @param categoryId  the value for jt_business_project.category_id
-	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
+	 * @mbg.generated  Wed Jul 25 08:54:01 CST 2018
 	 */
 	public void setCategoryId(String categoryId) {
 		this.categoryId = categoryId;
@@ -178,7 +183,7 @@ public class JtBusinessProject {
 	/**
 	 * This method was generated by MyBatis Generator. This method returns the value of the database column jt_business_project.number
 	 * @return  the value of jt_business_project.number
-	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
+	 * @mbg.generated  Wed Jul 25 08:54:01 CST 2018
 	 */
 	public String getNumber() {
 		return number;
@@ -187,7 +192,7 @@ public class JtBusinessProject {
 	/**
 	 * This method was generated by MyBatis Generator. This method sets the value of the database column jt_business_project.number
 	 * @param number  the value for jt_business_project.number
-	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
+	 * @mbg.generated  Wed Jul 25 08:54:01 CST 2018
 	 */
 	public void setNumber(String number) {
 		this.number = number;
@@ -196,7 +201,7 @@ public class JtBusinessProject {
 	/**
 	 * This method was generated by MyBatis Generator. This method returns the value of the database column jt_business_project.price
 	 * @return  the value of jt_business_project.price
-	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
+	 * @mbg.generated  Wed Jul 25 08:54:01 CST 2018
 	 */
 	public BigDecimal getPrice() {
 		return price;
@@ -205,7 +210,7 @@ public class JtBusinessProject {
 	/**
 	 * This method was generated by MyBatis Generator. This method sets the value of the database column jt_business_project.price
 	 * @param price  the value for jt_business_project.price
-	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
+	 * @mbg.generated  Wed Jul 25 08:54:01 CST 2018
 	 */
 	public void setPrice(BigDecimal price) {
 		this.price = price;
@@ -214,7 +219,7 @@ public class JtBusinessProject {
 	/**
 	 * This method was generated by MyBatis Generator. This method returns the value of the database column jt_business_project.activity_price
 	 * @return  the value of jt_business_project.activity_price
-	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
+	 * @mbg.generated  Wed Jul 25 08:54:01 CST 2018
 	 */
 	public BigDecimal getActivityPrice() {
 		return activityPrice;
@@ -223,7 +228,7 @@ public class JtBusinessProject {
 	/**
 	 * This method was generated by MyBatis Generator. This method sets the value of the database column jt_business_project.activity_price
 	 * @param activityPrice  the value for jt_business_project.activity_price
-	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
+	 * @mbg.generated  Wed Jul 25 08:54:01 CST 2018
 	 */
 	public void setActivityPrice(BigDecimal activityPrice) {
 		this.activityPrice = activityPrice;
@@ -232,7 +237,7 @@ public class JtBusinessProject {
 	/**
 	 * This method was generated by MyBatis Generator. This method returns the value of the database column jt_business_project.member_price
 	 * @return  the value of jt_business_project.member_price
-	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
+	 * @mbg.generated  Wed Jul 25 08:54:01 CST 2018
 	 */
 	public BigDecimal getMemberPrice() {
 		return memberPrice;
@@ -241,7 +246,7 @@ public class JtBusinessProject {
 	/**
 	 * This method was generated by MyBatis Generator. This method sets the value of the database column jt_business_project.member_price
 	 * @param memberPrice  the value for jt_business_project.member_price
-	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
+	 * @mbg.generated  Wed Jul 25 08:54:01 CST 2018
 	 */
 	public void setMemberPrice(BigDecimal memberPrice) {
 		this.memberPrice = memberPrice;
@@ -250,7 +255,7 @@ public class JtBusinessProject {
 	/**
 	 * This method was generated by MyBatis Generator. This method returns the value of the database column jt_business_project.offset
 	 * @return  the value of jt_business_project.offset
-	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
+	 * @mbg.generated  Wed Jul 25 08:54:01 CST 2018
 	 */
 	public Float getOffset() {
 		return offset;
@@ -259,7 +264,7 @@ public class JtBusinessProject {
 	/**
 	 * This method was generated by MyBatis Generator. This method sets the value of the database column jt_business_project.offset
 	 * @param offset  the value for jt_business_project.offset
-	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
+	 * @mbg.generated  Wed Jul 25 08:54:01 CST 2018
 	 */
 	public void setOffset(Float offset) {
 		this.offset = offset;
@@ -268,7 +273,7 @@ public class JtBusinessProject {
 	/**
 	 * This method was generated by MyBatis Generator. This method returns the value of the database column jt_business_project.activity_flag
 	 * @return  the value of jt_business_project.activity_flag
-	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
+	 * @mbg.generated  Wed Jul 25 08:54:01 CST 2018
 	 */
 	public Integer getActivityFlag() {
 		return activityFlag;
@@ -277,7 +282,7 @@ public class JtBusinessProject {
 	/**
 	 * This method was generated by MyBatis Generator. This method sets the value of the database column jt_business_project.activity_flag
 	 * @param activityFlag  the value for jt_business_project.activity_flag
-	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
+	 * @mbg.generated  Wed Jul 25 08:54:01 CST 2018
 	 */
 	public void setActivityFlag(Integer activityFlag) {
 		this.activityFlag = activityFlag;
@@ -286,7 +291,7 @@ public class JtBusinessProject {
 	/**
 	 * This method was generated by MyBatis Generator. This method returns the value of the database column jt_business_project.introduce
 	 * @return  the value of jt_business_project.introduce
-	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
+	 * @mbg.generated  Wed Jul 25 08:54:01 CST 2018
 	 */
 	public String getIntroduce() {
 		return introduce;
@@ -295,7 +300,7 @@ public class JtBusinessProject {
 	/**
 	 * This method was generated by MyBatis Generator. This method sets the value of the database column jt_business_project.introduce
 	 * @param introduce  the value for jt_business_project.introduce
-	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
+	 * @mbg.generated  Wed Jul 25 08:54:01 CST 2018
 	 */
 	public void setIntroduce(String introduce) {
 		this.introduce = introduce;
@@ -304,7 +309,7 @@ public class JtBusinessProject {
 	/**
 	 * This method was generated by MyBatis Generator. This method returns the value of the database column jt_business_project.province
 	 * @return  the value of jt_business_project.province
-	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
+	 * @mbg.generated  Wed Jul 25 08:54:01 CST 2018
 	 */
 	public Integer getProvince() {
 		return province;
@@ -313,7 +318,7 @@ public class JtBusinessProject {
 	/**
 	 * This method was generated by MyBatis Generator. This method sets the value of the database column jt_business_project.province
 	 * @param province  the value for jt_business_project.province
-	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
+	 * @mbg.generated  Wed Jul 25 08:54:01 CST 2018
 	 */
 	public void setProvince(Integer province) {
 		this.province = province;
@@ -322,7 +327,7 @@ public class JtBusinessProject {
 	/**
 	 * This method was generated by MyBatis Generator. This method returns the value of the database column jt_business_project.city
 	 * @return  the value of jt_business_project.city
-	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
+	 * @mbg.generated  Wed Jul 25 08:54:01 CST 2018
 	 */
 	public Integer getCity() {
 		return city;
@@ -331,7 +336,7 @@ public class JtBusinessProject {
 	/**
 	 * This method was generated by MyBatis Generator. This method sets the value of the database column jt_business_project.city
 	 * @param city  the value for jt_business_project.city
-	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
+	 * @mbg.generated  Wed Jul 25 08:54:01 CST 2018
 	 */
 	public void setCity(Integer city) {
 		this.city = city;
@@ -340,7 +345,7 @@ public class JtBusinessProject {
 	/**
 	 * This method was generated by MyBatis Generator. This method returns the value of the database column jt_business_project.create_time
 	 * @return  the value of jt_business_project.create_time
-	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
+	 * @mbg.generated  Wed Jul 25 08:54:01 CST 2018
 	 */
 	public Date getCreateTime() {
 		return createTime;
@@ -349,7 +354,7 @@ public class JtBusinessProject {
 	/**
 	 * This method was generated by MyBatis Generator. This method sets the value of the database column jt_business_project.create_time
 	 * @param createTime  the value for jt_business_project.create_time
-	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
+	 * @mbg.generated  Wed Jul 25 08:54:01 CST 2018
 	 */
 	public void setCreateTime(Date createTime) {
 		this.createTime = createTime;
@@ -358,7 +363,7 @@ public class JtBusinessProject {
 	/**
 	 * This method was generated by MyBatis Generator. This method returns the value of the database column jt_business_project.min_img_url
 	 * @return  the value of jt_business_project.min_img_url
-	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
+	 * @mbg.generated  Wed Jul 25 08:54:01 CST 2018
 	 */
 	public String getMinImgUrl() {
 		return minImgUrl;
@@ -367,7 +372,7 @@ public class JtBusinessProject {
 	/**
 	 * This method was generated by MyBatis Generator. This method sets the value of the database column jt_business_project.min_img_url
 	 * @param minImgUrl  the value for jt_business_project.min_img_url
-	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
+	 * @mbg.generated  Wed Jul 25 08:54:01 CST 2018
 	 */
 	public void setMinImgUrl(String minImgUrl) {
 		this.minImgUrl = minImgUrl;
@@ -376,7 +381,7 @@ public class JtBusinessProject {
 	/**
 	 * This method was generated by MyBatis Generator. This method returns the value of the database column jt_business_project.max_img_url
 	 * @return  the value of jt_business_project.max_img_url
-	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
+	 * @mbg.generated  Wed Jul 25 08:54:01 CST 2018
 	 */
 	public String getMaxImgUrl() {
 		return maxImgUrl;
@@ -385,7 +390,7 @@ public class JtBusinessProject {
 	/**
 	 * This method was generated by MyBatis Generator. This method sets the value of the database column jt_business_project.max_img_url
 	 * @param maxImgUrl  the value for jt_business_project.max_img_url
-	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
+	 * @mbg.generated  Wed Jul 25 08:54:01 CST 2018
 	 */
 	public void setMaxImgUrl(String maxImgUrl) {
 		this.maxImgUrl = maxImgUrl;
@@ -394,7 +399,7 @@ public class JtBusinessProject {
 	/**
 	 * This method was generated by MyBatis Generator. This method returns the value of the database column jt_business_project.value
 	 * @return  the value of jt_business_project.value
-	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
+	 * @mbg.generated  Wed Jul 25 08:54:01 CST 2018
 	 */
 	public String getValue() {
 		return value;
@@ -403,7 +408,7 @@ public class JtBusinessProject {
 	/**
 	 * This method was generated by MyBatis Generator. This method sets the value of the database column jt_business_project.value
 	 * @param value  the value for jt_business_project.value
-	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
+	 * @mbg.generated  Wed Jul 25 08:54:01 CST 2018
 	 */
 	public void setValue(String value) {
 		this.value = value;
@@ -412,7 +417,7 @@ public class JtBusinessProject {
 	/**
 	 * This method was generated by MyBatis Generator. This method returns the value of the database column jt_business_project.apply_conditions
 	 * @return  the value of jt_business_project.apply_conditions
-	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
+	 * @mbg.generated  Wed Jul 25 08:54:01 CST 2018
 	 */
 	public String getApplyConditions() {
 		return applyConditions;
@@ -421,7 +426,7 @@ public class JtBusinessProject {
 	/**
 	 * This method was generated by MyBatis Generator. This method sets the value of the database column jt_business_project.apply_conditions
 	 * @param applyConditions  the value for jt_business_project.apply_conditions
-	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
+	 * @mbg.generated  Wed Jul 25 08:54:01 CST 2018
 	 */
 	public void setApplyConditions(String applyConditions) {
 		this.applyConditions = applyConditions;
@@ -430,7 +435,7 @@ public class JtBusinessProject {
 	/**
 	 * This method was generated by MyBatis Generator. This method returns the value of the database column jt_business_project.owner_id
 	 * @return  the value of jt_business_project.owner_id
-	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
+	 * @mbg.generated  Wed Jul 25 08:54:01 CST 2018
 	 */
 	public String getOwnerId() {
 		return ownerId;
@@ -439,7 +444,7 @@ public class JtBusinessProject {
 	/**
 	 * This method was generated by MyBatis Generator. This method sets the value of the database column jt_business_project.owner_id
 	 * @param ownerId  the value for jt_business_project.owner_id
-	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
+	 * @mbg.generated  Wed Jul 25 08:54:01 CST 2018
 	 */
 	public void setOwnerId(String ownerId) {
 		this.ownerId = ownerId;
@@ -448,7 +453,7 @@ public class JtBusinessProject {
 	/**
 	 * This method was generated by MyBatis Generator. This method returns the value of the database column jt_business_project.is_hot
 	 * @return  the value of jt_business_project.is_hot
-	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
+	 * @mbg.generated  Wed Jul 25 08:54:01 CST 2018
 	 */
 	public Integer getIsHot() {
 		return isHot;
@@ -457,7 +462,7 @@ public class JtBusinessProject {
 	/**
 	 * This method was generated by MyBatis Generator. This method sets the value of the database column jt_business_project.is_hot
 	 * @param isHot  the value for jt_business_project.is_hot
-	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
+	 * @mbg.generated  Wed Jul 25 08:54:01 CST 2018
 	 */
 	public void setIsHot(Integer isHot) {
 		this.isHot = isHot;
@@ -466,7 +471,7 @@ public class JtBusinessProject {
 	/**
 	 * This method was generated by MyBatis Generator. This method returns the value of the database column jt_business_project.audit_status
 	 * @return  the value of jt_business_project.audit_status
-	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
+	 * @mbg.generated  Wed Jul 25 08:54:01 CST 2018
 	 */
 	public Integer getAuditStatus() {
 		return auditStatus;
@@ -475,7 +480,7 @@ public class JtBusinessProject {
 	/**
 	 * This method was generated by MyBatis Generator. This method sets the value of the database column jt_business_project.audit_status
 	 * @param auditStatus  the value for jt_business_project.audit_status
-	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
+	 * @mbg.generated  Wed Jul 25 08:54:01 CST 2018
 	 */
 	public void setAuditStatus(Integer auditStatus) {
 		this.auditStatus = auditStatus;
@@ -484,7 +489,7 @@ public class JtBusinessProject {
 	/**
 	 * This method was generated by MyBatis Generator. This method returns the value of the database column jt_business_project.audit_info
 	 * @return  the value of jt_business_project.audit_info
-	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
+	 * @mbg.generated  Wed Jul 25 08:54:01 CST 2018
 	 */
 	public String getAuditInfo() {
 		return auditInfo;
@@ -493,7 +498,7 @@ public class JtBusinessProject {
 	/**
 	 * This method was generated by MyBatis Generator. This method sets the value of the database column jt_business_project.audit_info
 	 * @param auditInfo  the value for jt_business_project.audit_info
-	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
+	 * @mbg.generated  Wed Jul 25 08:54:01 CST 2018
 	 */
 	public void setAuditInfo(String auditInfo) {
 		this.auditInfo = auditInfo;
@@ -502,7 +507,7 @@ public class JtBusinessProject {
 	/**
 	 * This method was generated by MyBatis Generator. This method returns the value of the database column jt_business_project.release_date
 	 * @return  the value of jt_business_project.release_date
-	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
+	 * @mbg.generated  Wed Jul 25 08:54:01 CST 2018
 	 */
 	public Date getReleaseDate() {
 		return releaseDate;
@@ -511,7 +516,7 @@ public class JtBusinessProject {
 	/**
 	 * This method was generated by MyBatis Generator. This method sets the value of the database column jt_business_project.release_date
 	 * @param releaseDate  the value for jt_business_project.release_date
-	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
+	 * @mbg.generated  Wed Jul 25 08:54:01 CST 2018
 	 */
 	public void setReleaseDate(Date releaseDate) {
 		this.releaseDate = releaseDate;
@@ -520,7 +525,7 @@ public class JtBusinessProject {
 	/**
 	 * This method was generated by MyBatis Generator. This method returns the value of the database column jt_business_project.advertisement
 	 * @return  the value of jt_business_project.advertisement
-	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
+	 * @mbg.generated  Wed Jul 25 08:54:01 CST 2018
 	 */
 	public String getAdvertisement() {
 		return advertisement;
@@ -529,10 +534,28 @@ public class JtBusinessProject {
 	/**
 	 * This method was generated by MyBatis Generator. This method sets the value of the database column jt_business_project.advertisement
 	 * @param advertisement  the value for jt_business_project.advertisement
-	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
+	 * @mbg.generated  Wed Jul 25 08:54:01 CST 2018
 	 */
 	public void setAdvertisement(String advertisement) {
 		this.advertisement = advertisement;
+	}
+
+	/**
+	 * This method was generated by MyBatis Generator. This method returns the value of the database column jt_business_project.tag
+	 * @return  the value of jt_business_project.tag
+	 * @mbg.generated  Wed Jul 25 08:54:01 CST 2018
+	 */
+	public String getTag() {
+		return tag;
+	}
+
+	/**
+	 * This method was generated by MyBatis Generator. This method sets the value of the database column jt_business_project.tag
+	 * @param tag  the value for jt_business_project.tag
+	 * @mbg.generated  Wed Jul 25 08:54:01 CST 2018
+	 */
+	public void setTag(String tag) {
+		this.tag = tag;
 	}    
     
 }

+ 86 - 16
src/main/java/com/goafanti/common/model/JtBusinessProjectExample.java

@@ -8,23 +8,23 @@ import java.util.List;
 public class JtBusinessProjectExample {
     /**
 	 * This field was generated by MyBatis Generator. This field corresponds to the database table jt_business_project
-	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
+	 * @mbg.generated  Wed Jul 25 08:54:01 CST 2018
 	 */
 	protected String orderByClause;
 	/**
 	 * This field was generated by MyBatis Generator. This field corresponds to the database table jt_business_project
-	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
+	 * @mbg.generated  Wed Jul 25 08:54:01 CST 2018
 	 */
 	protected boolean distinct;
 	/**
 	 * This field was generated by MyBatis Generator. This field corresponds to the database table jt_business_project
-	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
+	 * @mbg.generated  Wed Jul 25 08:54:01 CST 2018
 	 */
 	protected List<Criteria> oredCriteria;
 
 	/**
 	 * This method was generated by MyBatis Generator. This method corresponds to the database table jt_business_project
-	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
+	 * @mbg.generated  Wed Jul 25 08:54:01 CST 2018
 	 */
 	public JtBusinessProjectExample() {
 		oredCriteria = new ArrayList<Criteria>();
@@ -32,7 +32,7 @@ public class JtBusinessProjectExample {
 
 	/**
 	 * This method was generated by MyBatis Generator. This method corresponds to the database table jt_business_project
-	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
+	 * @mbg.generated  Wed Jul 25 08:54:01 CST 2018
 	 */
 	public void setOrderByClause(String orderByClause) {
 		this.orderByClause = orderByClause;
@@ -40,7 +40,7 @@ public class JtBusinessProjectExample {
 
 	/**
 	 * This method was generated by MyBatis Generator. This method corresponds to the database table jt_business_project
-	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
+	 * @mbg.generated  Wed Jul 25 08:54:01 CST 2018
 	 */
 	public String getOrderByClause() {
 		return orderByClause;
@@ -48,7 +48,7 @@ public class JtBusinessProjectExample {
 
 	/**
 	 * This method was generated by MyBatis Generator. This method corresponds to the database table jt_business_project
-	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
+	 * @mbg.generated  Wed Jul 25 08:54:01 CST 2018
 	 */
 	public void setDistinct(boolean distinct) {
 		this.distinct = distinct;
@@ -56,7 +56,7 @@ public class JtBusinessProjectExample {
 
 	/**
 	 * This method was generated by MyBatis Generator. This method corresponds to the database table jt_business_project
-	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
+	 * @mbg.generated  Wed Jul 25 08:54:01 CST 2018
 	 */
 	public boolean isDistinct() {
 		return distinct;
@@ -64,7 +64,7 @@ public class JtBusinessProjectExample {
 
 	/**
 	 * This method was generated by MyBatis Generator. This method corresponds to the database table jt_business_project
-	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
+	 * @mbg.generated  Wed Jul 25 08:54:01 CST 2018
 	 */
 	public List<Criteria> getOredCriteria() {
 		return oredCriteria;
@@ -72,7 +72,7 @@ public class JtBusinessProjectExample {
 
 	/**
 	 * This method was generated by MyBatis Generator. This method corresponds to the database table jt_business_project
-	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
+	 * @mbg.generated  Wed Jul 25 08:54:01 CST 2018
 	 */
 	public void or(Criteria criteria) {
 		oredCriteria.add(criteria);
@@ -80,7 +80,7 @@ public class JtBusinessProjectExample {
 
 	/**
 	 * This method was generated by MyBatis Generator. This method corresponds to the database table jt_business_project
-	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
+	 * @mbg.generated  Wed Jul 25 08:54:01 CST 2018
 	 */
 	public Criteria or() {
 		Criteria criteria = createCriteriaInternal();
@@ -90,7 +90,7 @@ public class JtBusinessProjectExample {
 
 	/**
 	 * This method was generated by MyBatis Generator. This method corresponds to the database table jt_business_project
-	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
+	 * @mbg.generated  Wed Jul 25 08:54:01 CST 2018
 	 */
 	public Criteria createCriteria() {
 		Criteria criteria = createCriteriaInternal();
@@ -102,7 +102,7 @@ public class JtBusinessProjectExample {
 
 	/**
 	 * This method was generated by MyBatis Generator. This method corresponds to the database table jt_business_project
-	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
+	 * @mbg.generated  Wed Jul 25 08:54:01 CST 2018
 	 */
 	protected Criteria createCriteriaInternal() {
 		Criteria criteria = new Criteria();
@@ -111,7 +111,7 @@ public class JtBusinessProjectExample {
 
 	/**
 	 * This method was generated by MyBatis Generator. This method corresponds to the database table jt_business_project
-	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
+	 * @mbg.generated  Wed Jul 25 08:54:01 CST 2018
 	 */
 	public void clear() {
 		oredCriteria.clear();
@@ -121,7 +121,7 @@ public class JtBusinessProjectExample {
 
 	/**
 	 * This class was generated by MyBatis Generator. This class corresponds to the database table jt_business_project
-	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
+	 * @mbg.generated  Wed Jul 25 08:54:01 CST 2018
 	 */
 	protected abstract static class GeneratedCriteria {
 		protected List<Criterion> criteria;
@@ -1663,11 +1663,81 @@ public class JtBusinessProjectExample {
 			addCriterion("advertisement not between", value1, value2, "advertisement");
 			return (Criteria) this;
 		}
+
+		public Criteria andTagIsNull() {
+			addCriterion("tag is null");
+			return (Criteria) this;
+		}
+
+		public Criteria andTagIsNotNull() {
+			addCriterion("tag is not null");
+			return (Criteria) this;
+		}
+
+		public Criteria andTagEqualTo(String value) {
+			addCriterion("tag =", value, "tag");
+			return (Criteria) this;
+		}
+
+		public Criteria andTagNotEqualTo(String value) {
+			addCriterion("tag <>", value, "tag");
+			return (Criteria) this;
+		}
+
+		public Criteria andTagGreaterThan(String value) {
+			addCriterion("tag >", value, "tag");
+			return (Criteria) this;
+		}
+
+		public Criteria andTagGreaterThanOrEqualTo(String value) {
+			addCriterion("tag >=", value, "tag");
+			return (Criteria) this;
+		}
+
+		public Criteria andTagLessThan(String value) {
+			addCriterion("tag <", value, "tag");
+			return (Criteria) this;
+		}
+
+		public Criteria andTagLessThanOrEqualTo(String value) {
+			addCriterion("tag <=", value, "tag");
+			return (Criteria) this;
+		}
+
+		public Criteria andTagLike(String value) {
+			addCriterion("tag like", value, "tag");
+			return (Criteria) this;
+		}
+
+		public Criteria andTagNotLike(String value) {
+			addCriterion("tag not like", value, "tag");
+			return (Criteria) this;
+		}
+
+		public Criteria andTagIn(List<String> values) {
+			addCriterion("tag in", values, "tag");
+			return (Criteria) this;
+		}
+
+		public Criteria andTagNotIn(List<String> values) {
+			addCriterion("tag not in", values, "tag");
+			return (Criteria) this;
+		}
+
+		public Criteria andTagBetween(String value1, String value2) {
+			addCriterion("tag between", value1, value2, "tag");
+			return (Criteria) this;
+		}
+
+		public Criteria andTagNotBetween(String value1, String value2) {
+			addCriterion("tag not between", value1, value2, "tag");
+			return (Criteria) this;
+		}
 	}
 
 	/**
 	 * This class was generated by MyBatis Generator. This class corresponds to the database table jt_business_project
-	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
+	 * @mbg.generated  Wed Jul 25 08:54:01 CST 2018
 	 */
 	public static class Criterion {
 		private String condition;

+ 1 - 0
src/main/java/com/goafanti/common/model/News.java

@@ -175,6 +175,7 @@ public class News {
 	}
 
 	public String getTitleImg() {
+		if(titleImg!=null && !titleImg.contains("."))return null;
 		return titleImg;
 	}
 

+ 3 - 0
src/main/java/com/goafanti/news/service/NewsService.java

@@ -183,6 +183,9 @@ public class NewsService extends BaseMybatisDao<NewsMapper> {
 		return newsMapper.updateByPrimaryKeySelective(news);
 	}
 
+	/*
+	 * type(0-普通  99-公众号新闻  98-技淘百科)
+	 * */
 	@SuppressWarnings("unchecked")
 	public Pagination<News> listNews(Integer type, String title, String author, String startCreateTime,
 			String endCreateTime, String source, Integer hot, Integer pNo, Integer pSize,String auditStatus,String releaseStatus,String publishPage) {

+ 80 - 0
src/main/java/com/goafanti/user/bo/ClientListBo.java

@@ -0,0 +1,80 @@
+package com.goafanti.user.bo;
+
+import java.util.Date;
+
+public class ClientListBo {
+	String name;
+	String locationProvince ;
+	String contacts;
+	String contactMobile;
+	String societyTag;
+	Date createTime;
+	String industry;
+	String uid;
+	String locationProvinceS;
+	String industryS;
+	
+	public String getLocationProvince() {
+		return locationProvince;
+	}
+	public void setLocationProvince(String locationProvince) {
+		this.locationProvince = locationProvince;
+	}
+	public String getLocationProvinceS() {
+		return locationProvinceS;
+	}
+	public void setLocationProvinceS(String locationProvinceS) {
+		this.locationProvinceS = locationProvinceS;
+	}
+	public String getIndustryS() {
+		return industryS;
+	}
+	public void setIndustryS(String industryS) {
+		this.industryS = industryS;
+	}
+	public String getName() {
+		return name;
+	}
+	public void setName(String name) {
+		this.name = name;
+	}
+
+	public String getContacts() {
+		return contacts;
+	}
+	public void setContacts(String contacts) {
+		this.contacts = contacts;
+	}
+	public String getContactMobile() {
+		return contactMobile;
+	}
+	public void setContactMobile(String contactMobile) {
+		this.contactMobile = contactMobile;
+	}
+	public String getSocietyTag() {
+		return societyTag;
+	}
+	public void setSocietyTag(String societyTag) {
+		this.societyTag = societyTag;
+	}
+	public Date getCreateTime() {
+		return createTime;
+	}
+	public void setCreateTime(Date createTime) {
+		this.createTime = createTime;
+	}
+	public String getIndustry() {
+		return industry;
+	}
+	public void setIndustry(String industry) {
+		this.industry = industry;
+	}
+	public String getUid() {
+		return uid;
+	}
+	public void setUid(String uid) {
+		this.uid = uid;
+	}
+	
+
+}

+ 11 - 0
src/main/java/com/goafanti/user/service/JpushEasemobAccountService.java

@@ -0,0 +1,11 @@
+package com.goafanti.user.service;
+
+import org.springframework.stereotype.Service;
+
+import com.goafanti.core.mybatis.page.Pagination;
+import com.goafanti.user.bo.ClientListBo;
+
+
+public interface JpushEasemobAccountService { 
+	Pagination<ClientListBo> findJpushClientsByType(Integer type,Integer pageNo,Integer pageSize); 
+}

+ 27 - 0
src/main/java/com/goafanti/user/service/impl/JpushEasemobAccountServiceImpl.java

@@ -0,0 +1,27 @@
+package com.goafanti.user.service.impl;
+
+import java.util.HashMap;
+import java.util.Map;
+
+import org.springframework.stereotype.Service;
+
+import com.goafanti.common.dao.JpushEasemobAccountMapper;
+import com.goafanti.core.mybatis.BaseMybatisDao;
+import com.goafanti.core.mybatis.page.Pagination;
+import com.goafanti.user.bo.ClientListBo;
+import com.goafanti.user.service.JpushEasemobAccountService;
+@Service
+public class JpushEasemobAccountServiceImpl extends BaseMybatisDao<JpushEasemobAccountMapper> implements JpushEasemobAccountService{
+
+	@SuppressWarnings("unchecked")
+	@Override
+	public Pagination<ClientListBo> findJpushClientsByType(Integer type,Integer pageNo,Integer pageSize) {
+		// TODO Auto-generated method stub
+		if(pageNo==null||pageNo<1)pageNo=1;
+		if(pageSize==null||pageSize<1)pageSize=10;
+		Map<String, Object>params=new HashMap<>();
+		params.put("clientType", type);
+		return (Pagination<ClientListBo>) findPage("findJpushClientsByType", "findJpushClientsCountByType", params, pageNo, pageSize);
+	}
+
+}

+ 2 - 0
src/main/java/com/goafanti/user/service/impl/UserServiceImpl.java

@@ -12,6 +12,7 @@ import org.springframework.transaction.annotation.Transactional;
 
 import com.goafanti.app.bo.UserBasicInfo;
 import com.goafanti.common.constant.AFTConstants;
+import com.goafanti.common.dao.JpushEasemobAccountMapper;
 import com.goafanti.common.dao.OrganizationIdentityMapper;
 import com.goafanti.common.dao.UserIdentityMapper;
 import com.goafanti.common.dao.UserMapper;
@@ -19,6 +20,7 @@ import com.goafanti.common.model.User;
 import com.goafanti.core.mybatis.BaseMybatisDao;
 import com.goafanti.core.mybatis.page.Pagination;
 import com.goafanti.core.shiro.token.TokenManager;
+import com.goafanti.user.bo.ClientListBo;
 import com.goafanti.user.bo.OrgUnitNames;
 import com.goafanti.user.bo.UserBaseBo;
 import com.goafanti.user.bo.UserDownLoadBo;

+ 11 - 11
src/main/webapp/WEB-INF/views/common.html

@@ -59,19 +59,19 @@
 						<img th:src="${portalHost+'/img/index/index_webkit1.png'}" alt="">
 					</span>
 					<p>
-						<a href="#">最新发布</a>
+						<a th:href="@{/portal/service/patent#recentPublish}">最新发布</a>
 					</p>
 					<p>
-						<a href="#">专利服务</a>
+						<a th:href="@{/portal/service/patent#patentService}">专利服务</a>
 					</p>
 					<p>
-						<a href="#">商标服务</a>
+						<a th:href="@{/portal/service/patent#branchService}">商标服务</a>
 					</p>
 					<p>
-						<a href="#">版权服务</a>
+						<a th:href="@{/portal/service/patent#copyrightService}">版权服务</a>
 					</p>
 					<p>
-						<a href="#">知产百科</a>
+						<a th:href="@{/portal/service/patent#encyclopedias}">知产百科</a>
 					</p>
 
 				</li>
@@ -124,19 +124,19 @@
 						<img th:src="${portalHost+'/img/index/index_webkit4.png'}" alt="">
 					</span>
 					<p>
-						<a href="#">最新发布</a>
+						<a th:href="@{/portal/service/patent#recentPublish}">最新发布</a>
 					</p>
 					<p>
-						<a href="#">专利服务</a>
+						<a th:href="@{/portal/service/patent#patentService}">专利服务</a>
 					</p>
 					<p>
-						<a href="#">商标服务</a>
+						<a th:href="@{/portal/service/patent#branchService}">商标服务</a>
 					</p>
 					<p>
-						<a href="#">版权服务</a>
+						<a th:href="@{/portal/service/patent#copyrightService}">版权服务</a>
 					</p>
 					<p>
-						<a href="#">知产百科</a>
+						<a th:href="@{/portal/service/patent#encyclopedias}">知产百科</a>
 					</p>
 				</li>
 				<!-- <li>
@@ -187,7 +187,7 @@
                 <ul>
                     <li th:class="${subM}=='apply'?active:''" >
                     <div>
-                        <a th:href="@{/portal/service/serviceIndex}">知识产权申请</a>
+                        <a th:href="@{/portal/service/patent}">知识产权申请</a>
  
                        </div>
                     </li>

File diff suppressed because it is too large
+ 1 - 0
src/main/webapp/WEB-INF/views/portal/companyProfile.html


File diff suppressed because it is too large
+ 1 - 1
src/main/webapp/WEB-INF/views/portal/index.html


File diff suppressed because it is too large
+ 1 - 0
src/main/webapp/WEB-INF/views/portal/service/patent.html


File diff suppressed because it is too large
+ 1 - 1
src/main/webapp/WEB-INF/views/portal/service/serviceDetails.html


File diff suppressed because it is too large
+ 1 - 1
src/main/webapp/WEB-INF/views/portal/technologyTrading/tradingIndex.html