Browse Source

项目修改

liliang4869 7 years ago
parent
commit
6e48e55ac0

+ 1 - 2
GeneratorConfig.xml

@@ -10,7 +10,6 @@
    <javaModelGenerator targetPackage="com.goafanti.common.model" targetProject="jitao_server" />
    <sqlMapGenerator targetPackage="com.goafanti.common.mapper" targetProject="jitao_server" />
    <javaClientGenerator targetPackage="com.goafanti.common.dao" targetProject="jitao_server" type="XMLMAPPER" />
-   <table schema="aft" tableName="jt_commodity_comment"/>
-    <table schema="aft" tableName="jt_commodity_comment"/>
+   <table schema="aft" tableName="jt_business_project"/>
   </context>
 </generatorConfiguration>

+ 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) {
+	public Result getProjectList(String topId,String secondId,String name,Integer pageSize,Integer pageNo,Integer privateProject,Integer auditStatus,Integer module,Integer isHot) {
 		Result result=new Result();
-		result.setData(jtBusinessService.getProjects(topId,secondId,name,pageSize,pageNo,privateProject,auditStatus,module));
+		result.setData(jtBusinessService.getProjects(topId,secondId,name,pageSize,pageNo,privateProject,auditStatus,module,isHot));
 		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();
-	Pagination<JtBusinessProject>getProjects(String topId,String secondId,String name,Integer pageSize,Integer pageNo,Integer privateProject,Integer auditStatus,Integer module); 
+	Pagination<JtBusinessProject>getProjects(String topId,String secondId,String name,Integer pageSize,Integer pageNo,Integer privateProject,Integer auditStatus,Integer module,Integer isHot); 
 	int insertCategory(JtBusinessCategory jtBusinessCategory);
 	int deleteCategoryById(String id);
 	JtBusinessCategory getCategoryById(String id);

+ 5 - 1
src/main/java/com/goafanti/business/service/impl/JtBusinessServiceImpl.java

@@ -65,10 +65,13 @@ public class JtBusinessServiceImpl  extends BaseMybatisDao<JtBusinessProjectMapp
 		return jtBusinessCategoryMapper.getCategoryBoList();
 	}
 
+	/*
+	 * 登录用户0     项目列表页1  privateProject
+	 * */
 	@SuppressWarnings("unchecked")
 	@Override
 	public Pagination<JtBusinessProject> getProjects(String topId, String secondId, String name, Integer pageSize,
-			Integer pageNo,Integer privateProject,Integer auditStatus,Integer module) {
+			Integer pageNo,Integer privateProject,Integer auditStatus,Integer module,Integer isHot) {
 		// TODO Auto-generated method stub
 		if (pageNo == null || pageNo < 0) {
 			pageNo = 1;
@@ -87,6 +90,7 @@ if(auditStatus!=null ) {
 		if(privateProject!=null && privateProject ==0)
 		params.put("ownerId", TokenManager.getUserId());
 		if(module!=null)params.put("module", module);
+		if(isHot!=null)params.put("isHot", isHot);
 		return (Pagination<JtBusinessProject>)findPage("findJtBusinessProjectByPage","findJtBusinessCountByPage",params,pageNo,pageSize);
 	}
 	

+ 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  Fri Jul 06 18:31:16 CST 2018
+	 * @mbg.generated  Thu Jul 19 16:49:39 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  Fri Jul 06 18:31:16 CST 2018
+	 * @mbg.generated  Thu Jul 19 16:49:39 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  Fri Jul 06 18:31:16 CST 2018
+	 * @mbg.generated  Thu Jul 19 16:49:39 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  Fri Jul 06 18:31:16 CST 2018
+	 * @mbg.generated  Thu Jul 19 16:49:39 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  Fri Jul 06 18:31:16 CST 2018
+	 * @mbg.generated  Thu Jul 19 16:49:39 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  Fri Jul 06 18:31:16 CST 2018
+	 * @mbg.generated  Thu Jul 19 16:49:39 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  Fri Jul 06 18:31:16 CST 2018
+	 * @mbg.generated  Thu Jul 19 16:49:39 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  Fri Jul 06 18:31:16 CST 2018
+	 * @mbg.generated  Thu Jul 19 16:49:39 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  Fri Jul 06 18:31:16 CST 2018
+	 * @mbg.generated  Thu Jul 19 16:49:39 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  Fri Jul 06 18:31:16 CST 2018
+	 * @mbg.generated  Thu Jul 19 16:49:39 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  Fri Jul 06 18:31:16 CST 2018
+	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
 	 */
 	int updateByPrimaryKey(JtBusinessProject record);
 

+ 55 - 35
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 Fri Jul 06 18:31:16 CST 2018.
+      This element was generated on Thu Jul 19 16:49:39 CST 2018.
     -->
     <id column="id" jdbcType="VARCHAR" property="id" />
     <result column="name" jdbcType="VARCHAR" property="name" />
@@ -29,12 +29,13 @@
     <result column="audit_status" jdbcType="INTEGER" property="auditStatus" />
     <result column="audit_info" jdbcType="VARCHAR" property="auditInfo" />
     <result column="release_date" jdbcType="TIMESTAMP" property="releaseDate" />
+    <result column="advertisement" jdbcType="VARCHAR" property="advertisement" />
   </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 Fri Jul 06 18:31:16 CST 2018.
+      This element was generated on Thu Jul 19 16:49:39 CST 2018.
     -->
     <where>
       <foreach collection="oredCriteria" item="criteria" separator="or">
@@ -68,7 +69,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Fri Jul 06 18:31:16 CST 2018.
+      This element was generated on Thu Jul 19 16:49:39 CST 2018.
     -->
     <where>
       <foreach collection="example.oredCriteria" item="criteria" separator="or">
@@ -102,17 +103,17 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Fri Jul 06 18:31:16 CST 2018.
+      This element was generated on Thu Jul 19 16:49:39 CST 2018.
     -->
-    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
+     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
   </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 Fri Jul 06 18:31:16 CST 2018.
+      This element was generated on Thu Jul 19 16:49:39 CST 2018.
     -->
     select
     <if test="distinct">
@@ -131,28 +132,18 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Fri Jul 06 18:31:16 CST 2018.
+      This element was generated on Thu Jul 19 16:49:39 CST 2018.
     -->
     select 
     <include refid="Base_Column_List" />
     from jt_business_project
     where id = #{id,jdbcType=VARCHAR}
   </select>
-  <select id="selectByPrimaryKeyWithModule" resultType="com.goafanti.business.bo.JtBusinessProjectResult">
-    select 
-        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
-    from jt_business_project jtbp
-    left join jt_business_category jtbc on jtbc.id =  jtbp.category_id
-    where jtbp.id = #{id,jdbcType=VARCHAR}
-  </select>
   <delete id="deleteByPrimaryKey" parameterType="java.lang.String">
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Fri Jul 06 18:31:16 CST 2018.
+      This element was generated on Thu Jul 19 16:49:39 CST 2018.
     -->
     delete from jt_business_project
     where id = #{id,jdbcType=VARCHAR}
@@ -161,7 +152,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Fri Jul 06 18:31:16 CST 2018.
+      This element was generated on Thu Jul 19 16:49:39 CST 2018.
     -->
     delete from jt_business_project
     <if test="_parameter != null">
@@ -172,7 +163,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Fri Jul 06 18:31:16 CST 2018.
+      This element was generated on Thu Jul 19 16:49:39 CST 2018.
     -->
     insert into jt_business_project (id, name, category_id, 
       number, price, activity_price, 
@@ -181,7 +172,7 @@
       create_time, min_img_url, max_img_url, 
       value, apply_conditions, owner_id, 
       is_hot, audit_status, audit_info, 
-      release_date)
+      release_date, advertisement)
     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}, 
@@ -189,13 +180,13 @@
       #{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})
+      #{releaseDate,jdbcType=TIMESTAMP}, #{advertisement,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 Fri Jul 06 18:31:16 CST 2018.
+      This element was generated on Thu Jul 19 16:49:39 CST 2018.
     -->
     insert into jt_business_project
     <trim prefix="(" suffix=")" suffixOverrides=",">
@@ -265,6 +256,9 @@
       <if test="releaseDate != null">
         release_date,
       </if>
+      <if test="advertisement != null">
+        advertisement,
+      </if>
     </trim>
     <trim prefix="values (" suffix=")" suffixOverrides=",">
       <if test="id != null">
@@ -333,13 +327,16 @@
       <if test="releaseDate != null">
         #{releaseDate,jdbcType=TIMESTAMP},
       </if>
+      <if test="advertisement != null">
+        #{advertisement,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 Fri Jul 06 18:31:16 CST 2018.
+      This element was generated on Thu Jul 19 16:49:39 CST 2018.
     -->
     select count(*) from jt_business_project
     <if test="_parameter != null">
@@ -350,7 +347,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Fri Jul 06 18:31:16 CST 2018.
+      This element was generated on Thu Jul 19 16:49:39 CST 2018.
     -->
     update jt_business_project
     <set>
@@ -420,6 +417,9 @@
       <if test="record.releaseDate != null">
         release_date = #{record.releaseDate,jdbcType=TIMESTAMP},
       </if>
+      <if test="record.advertisement != null">
+        advertisement = #{record.advertisement,jdbcType=VARCHAR},
+      </if>
     </set>
     <if test="_parameter != null">
       <include refid="Update_By_Example_Where_Clause" />
@@ -429,7 +429,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Fri Jul 06 18:31:16 CST 2018.
+      This element was generated on Thu Jul 19 16:49:39 CST 2018.
     -->
     update jt_business_project
     set id = #{record.id,jdbcType=VARCHAR},
@@ -453,7 +453,8 @@
       is_hot = #{record.isHot,jdbcType=INTEGER},
       audit_status = #{record.auditStatus,jdbcType=INTEGER},
       audit_info = #{record.auditInfo,jdbcType=VARCHAR},
-      release_date = #{record.releaseDate,jdbcType=TIMESTAMP}
+      release_date = #{record.releaseDate,jdbcType=TIMESTAMP},
+      advertisement = #{record.advertisement,jdbcType=VARCHAR}
     <if test="_parameter != null">
       <include refid="Update_By_Example_Where_Clause" />
     </if>
@@ -462,7 +463,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Fri Jul 06 18:31:16 CST 2018.
+      This element was generated on Thu Jul 19 16:49:39 CST 2018.
     -->
     update jt_business_project
     <set>
@@ -529,6 +530,9 @@
       <if test="releaseDate != null">
         release_date = #{releaseDate,jdbcType=TIMESTAMP},
       </if>
+      <if test="advertisement != null">
+        advertisement = #{advertisement,jdbcType=VARCHAR},
+      </if>
     </set>
     where id = #{id,jdbcType=VARCHAR}
   </update>
@@ -536,7 +540,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Fri Jul 06 18:31:16 CST 2018.
+      This element was generated on Thu Jul 19 16:49:39 CST 2018.
     -->
     update jt_business_project
     set name = #{name,jdbcType=VARCHAR},
@@ -559,9 +563,20 @@
       is_hot = #{isHot,jdbcType=INTEGER},
       audit_status = #{auditStatus,jdbcType=INTEGER},
       audit_info = #{auditInfo,jdbcType=VARCHAR},
-      release_date = #{releaseDate,jdbcType=TIMESTAMP}
+      release_date = #{releaseDate,jdbcType=TIMESTAMP},
+      advertisement = #{advertisement,jdbcType=VARCHAR}
     where id = #{id,jdbcType=VARCHAR}
   </update>
+  <select id="selectByPrimaryKeyWithModule" resultType="com.goafanti.business.bo.JtBusinessProjectResult">
+    select 
+        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
+    from jt_business_project jtbp
+    left join jt_business_category jtbc on jtbc.id =  jtbp.category_id
+    where jtbp.id = #{id,jdbcType=VARCHAR}
+  </select>
   
    <select id="getBusinessProjectByCategoryId" resultType="com.goafanti.common.model.JtBusinessProject">
 	  select 
@@ -571,7 +586,10 @@
 	  	min_img_url as minImgUrl
 	 from 
 	  	jt_business_project
-	  	where category_id= #{id,jdbcType=VARCHAR} and audit_status=2
+	  	where  audit_status=2
+	  	<if test="id!=null">
+	  	and category_id= #{id,jdbcType=VARCHAR} 
+	  	</if>
 	  	<if test="isHot != null">
 	  		and is_hot = #{isHot,jdbcType=INTEGER}
 	  	</if>
@@ -599,7 +617,8 @@
 	  jtbp.apply_conditions as applyConditions,
 	  jtbp.is_hot as isHot,
 	  jtbp.audit_status as auditStatus,
-	  jtbp.release_Date as releaseDate
+	  jtbp.release_Date as releaseDate,
+	  jtbp.advertisement
   from jt_business_project jtbp
   <if test="topId!=null">
   left join jt_business_category jtbc on jtbc.super_id =#{topId,jdbcType=VARCHAR}
@@ -689,7 +708,8 @@
 	  jtbp.apply_conditions as applyConditions,
 	  jtbp.is_hot as isHot,
 	  jtbp.audit_status as auditStatus,
-	  jtbp.release_Date as releaseDate
+	  jtbp.release_Date as releaseDate,
+	  jtbp.advertisement
    from 
   jt_business_project jtbp
   left join project_interest pi on jtbp.id=pi.project_id

+ 89 - 66
src/main/java/com/goafanti/common/model/JtBusinessProject.java

@@ -7,119 +7,124 @@ public class JtBusinessProject {
 
 	/**
 	 * This field was generated by MyBatis Generator. This field corresponds to the database column jt_business_project.id
-	 * @mbg.generated  Fri Jul 06 18:31:16 CST 2018
+	 * @mbg.generated  Thu Jul 19 16:49:39 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  Fri Jul 06 18:31:16 CST 2018
+	 * @mbg.generated  Thu Jul 19 16:49:39 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  Fri Jul 06 18:31:16 CST 2018
+	 * @mbg.generated  Thu Jul 19 16:49:39 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  Fri Jul 06 18:31:16 CST 2018
+	 * @mbg.generated  Thu Jul 19 16:49:39 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  Fri Jul 06 18:31:16 CST 2018
+	 * @mbg.generated  Thu Jul 19 16:49:39 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  Fri Jul 06 18:31:16 CST 2018
+	 * @mbg.generated  Thu Jul 19 16:49:39 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  Fri Jul 06 18:31:16 CST 2018
+	 * @mbg.generated  Thu Jul 19 16:49:39 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  Fri Jul 06 18:31:16 CST 2018
+	 * @mbg.generated  Thu Jul 19 16:49:39 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  Fri Jul 06 18:31:16 CST 2018
+	 * @mbg.generated  Thu Jul 19 16:49:39 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  Fri Jul 06 18:31:16 CST 2018
+	 * @mbg.generated  Thu Jul 19 16:49:39 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  Fri Jul 06 18:31:16 CST 2018
+	 * @mbg.generated  Thu Jul 19 16:49:39 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  Fri Jul 06 18:31:16 CST 2018
+	 * @mbg.generated  Thu Jul 19 16:49:39 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  Fri Jul 06 18:31:16 CST 2018
+	 * @mbg.generated  Thu Jul 19 16:49:39 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  Fri Jul 06 18:31:16 CST 2018
+	 * @mbg.generated  Thu Jul 19 16:49:39 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  Fri Jul 06 18:31:16 CST 2018
+	 * @mbg.generated  Thu Jul 19 16:49:39 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  Fri Jul 06 18:31:16 CST 2018
+	 * @mbg.generated  Thu Jul 19 16:49:39 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  Fri Jul 06 18:31:16 CST 2018
+	 * @mbg.generated  Thu Jul 19 16:49:39 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  Fri Jul 06 18:31:16 CST 2018
+	 * @mbg.generated  Thu Jul 19 16:49:39 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  Fri Jul 06 18:31:16 CST 2018
+	 * @mbg.generated  Thu Jul 19 16:49:39 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  Fri Jul 06 18:31:16 CST 2018
+	 * @mbg.generated  Thu Jul 19 16:49:39 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  Fri Jul 06 18:31:16 CST 2018
+	 * @mbg.generated  Thu Jul 19 16:49:39 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  Fri Jul 06 18:31:16 CST 2018
+	 * @mbg.generated  Thu Jul 19 16:49:39 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
+	 */
+	private String advertisement;
 
 	/**
 	 * 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  Fri Jul 06 18:31:16 CST 2018
+	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
 	 */
 	public String getId() {
 		return id;
@@ -128,7 +133,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  Fri Jul 06 18:31:16 CST 2018
+	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
 	 */
 	public void setId(String id) {
 		this.id = id;
@@ -137,7 +142,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  Fri Jul 06 18:31:16 CST 2018
+	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
 	 */
 	public String getName() {
 		return name;
@@ -146,7 +151,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  Fri Jul 06 18:31:16 CST 2018
+	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
 	 */
 	public void setName(String name) {
 		this.name = name;
@@ -155,7 +160,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  Fri Jul 06 18:31:16 CST 2018
+	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
 	 */
 	public String getCategoryId() {
 		return categoryId;
@@ -164,7 +169,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  Fri Jul 06 18:31:16 CST 2018
+	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
 	 */
 	public void setCategoryId(String categoryId) {
 		this.categoryId = categoryId;
@@ -173,7 +178,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  Fri Jul 06 18:31:16 CST 2018
+	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
 	 */
 	public String getNumber() {
 		return number;
@@ -182,7 +187,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  Fri Jul 06 18:31:16 CST 2018
+	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
 	 */
 	public void setNumber(String number) {
 		this.number = number;
@@ -191,7 +196,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  Fri Jul 06 18:31:16 CST 2018
+	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
 	 */
 	public BigDecimal getPrice() {
 		return price;
@@ -200,7 +205,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  Fri Jul 06 18:31:16 CST 2018
+	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
 	 */
 	public void setPrice(BigDecimal price) {
 		this.price = price;
@@ -209,7 +214,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  Fri Jul 06 18:31:16 CST 2018
+	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
 	 */
 	public BigDecimal getActivityPrice() {
 		return activityPrice;
@@ -218,7 +223,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  Fri Jul 06 18:31:16 CST 2018
+	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
 	 */
 	public void setActivityPrice(BigDecimal activityPrice) {
 		this.activityPrice = activityPrice;
@@ -227,7 +232,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  Fri Jul 06 18:31:16 CST 2018
+	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
 	 */
 	public BigDecimal getMemberPrice() {
 		return memberPrice;
@@ -236,7 +241,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  Fri Jul 06 18:31:16 CST 2018
+	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
 	 */
 	public void setMemberPrice(BigDecimal memberPrice) {
 		this.memberPrice = memberPrice;
@@ -245,7 +250,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  Fri Jul 06 18:31:16 CST 2018
+	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
 	 */
 	public Float getOffset() {
 		return offset;
@@ -254,7 +259,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  Fri Jul 06 18:31:16 CST 2018
+	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
 	 */
 	public void setOffset(Float offset) {
 		this.offset = offset;
@@ -263,7 +268,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  Fri Jul 06 18:31:16 CST 2018
+	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
 	 */
 	public Integer getActivityFlag() {
 		return activityFlag;
@@ -272,7 +277,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  Fri Jul 06 18:31:16 CST 2018
+	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
 	 */
 	public void setActivityFlag(Integer activityFlag) {
 		this.activityFlag = activityFlag;
@@ -281,7 +286,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  Fri Jul 06 18:31:16 CST 2018
+	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
 	 */
 	public String getIntroduce() {
 		return introduce;
@@ -290,7 +295,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  Fri Jul 06 18:31:16 CST 2018
+	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
 	 */
 	public void setIntroduce(String introduce) {
 		this.introduce = introduce;
@@ -299,7 +304,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  Fri Jul 06 18:31:16 CST 2018
+	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
 	 */
 	public Integer getProvince() {
 		return province;
@@ -308,7 +313,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  Fri Jul 06 18:31:16 CST 2018
+	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
 	 */
 	public void setProvince(Integer province) {
 		this.province = province;
@@ -317,7 +322,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  Fri Jul 06 18:31:16 CST 2018
+	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
 	 */
 	public Integer getCity() {
 		return city;
@@ -326,7 +331,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  Fri Jul 06 18:31:16 CST 2018
+	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
 	 */
 	public void setCity(Integer city) {
 		this.city = city;
@@ -335,7 +340,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  Fri Jul 06 18:31:16 CST 2018
+	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
 	 */
 	public Date getCreateTime() {
 		return createTime;
@@ -344,7 +349,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  Fri Jul 06 18:31:16 CST 2018
+	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
 	 */
 	public void setCreateTime(Date createTime) {
 		this.createTime = createTime;
@@ -353,7 +358,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  Fri Jul 06 18:31:16 CST 2018
+	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
 	 */
 	public String getMinImgUrl() {
 		return minImgUrl;
@@ -362,7 +367,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  Fri Jul 06 18:31:16 CST 2018
+	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
 	 */
 	public void setMinImgUrl(String minImgUrl) {
 		this.minImgUrl = minImgUrl;
@@ -371,7 +376,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  Fri Jul 06 18:31:16 CST 2018
+	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
 	 */
 	public String getMaxImgUrl() {
 		return maxImgUrl;
@@ -380,7 +385,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  Fri Jul 06 18:31:16 CST 2018
+	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
 	 */
 	public void setMaxImgUrl(String maxImgUrl) {
 		this.maxImgUrl = maxImgUrl;
@@ -389,7 +394,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  Fri Jul 06 18:31:16 CST 2018
+	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
 	 */
 	public String getValue() {
 		return value;
@@ -398,7 +403,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  Fri Jul 06 18:31:16 CST 2018
+	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
 	 */
 	public void setValue(String value) {
 		this.value = value;
@@ -407,7 +412,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  Fri Jul 06 18:31:16 CST 2018
+	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
 	 */
 	public String getApplyConditions() {
 		return applyConditions;
@@ -416,7 +421,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  Fri Jul 06 18:31:16 CST 2018
+	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
 	 */
 	public void setApplyConditions(String applyConditions) {
 		this.applyConditions = applyConditions;
@@ -425,7 +430,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  Fri Jul 06 18:31:16 CST 2018
+	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
 	 */
 	public String getOwnerId() {
 		return ownerId;
@@ -434,7 +439,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  Fri Jul 06 18:31:16 CST 2018
+	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
 	 */
 	public void setOwnerId(String ownerId) {
 		this.ownerId = ownerId;
@@ -443,7 +448,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  Fri Jul 06 18:31:16 CST 2018
+	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
 	 */
 	public Integer getIsHot() {
 		return isHot;
@@ -452,7 +457,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  Fri Jul 06 18:31:16 CST 2018
+	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
 	 */
 	public void setIsHot(Integer isHot) {
 		this.isHot = isHot;
@@ -461,7 +466,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  Fri Jul 06 18:31:16 CST 2018
+	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
 	 */
 	public Integer getAuditStatus() {
 		return auditStatus;
@@ -470,7 +475,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  Fri Jul 06 18:31:16 CST 2018
+	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
 	 */
 	public void setAuditStatus(Integer auditStatus) {
 		this.auditStatus = auditStatus;
@@ -479,7 +484,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  Fri Jul 06 18:31:16 CST 2018
+	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
 	 */
 	public String getAuditInfo() {
 		return auditInfo;
@@ -488,7 +493,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  Fri Jul 06 18:31:16 CST 2018
+	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
 	 */
 	public void setAuditInfo(String auditInfo) {
 		this.auditInfo = auditInfo;
@@ -497,7 +502,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  Fri Jul 06 18:31:16 CST 2018
+	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
 	 */
 	public Date getReleaseDate() {
 		return releaseDate;
@@ -506,10 +511,28 @@ 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  Fri Jul 06 18:31:16 CST 2018
+	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
 	 */
 	public void setReleaseDate(Date releaseDate) {
 		this.releaseDate = releaseDate;
+	}
+
+	/**
+	 * 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
+	 */
+	public String getAdvertisement() {
+		return advertisement;
+	}
+
+	/**
+	 * 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
+	 */
+	public void setAdvertisement(String advertisement) {
+		this.advertisement = advertisement;
 	}    
     
 }

+ 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  Fri Jul 06 18:31:16 CST 2018
+	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
 	 */
 	protected String orderByClause;
 	/**
 	 * This field was generated by MyBatis Generator. This field corresponds to the database table jt_business_project
-	 * @mbg.generated  Fri Jul 06 18:31:16 CST 2018
+	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
 	 */
 	protected boolean distinct;
 	/**
 	 * This field was generated by MyBatis Generator. This field corresponds to the database table jt_business_project
-	 * @mbg.generated  Fri Jul 06 18:31:16 CST 2018
+	 * @mbg.generated  Thu Jul 19 16:49:39 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  Fri Jul 06 18:31:16 CST 2018
+	 * @mbg.generated  Thu Jul 19 16:49:39 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  Fri Jul 06 18:31:16 CST 2018
+	 * @mbg.generated  Thu Jul 19 16:49:39 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  Fri Jul 06 18:31:16 CST 2018
+	 * @mbg.generated  Thu Jul 19 16:49:39 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  Fri Jul 06 18:31:16 CST 2018
+	 * @mbg.generated  Thu Jul 19 16:49:39 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  Fri Jul 06 18:31:16 CST 2018
+	 * @mbg.generated  Thu Jul 19 16:49:39 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  Fri Jul 06 18:31:16 CST 2018
+	 * @mbg.generated  Thu Jul 19 16:49:39 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  Fri Jul 06 18:31:16 CST 2018
+	 * @mbg.generated  Thu Jul 19 16:49:39 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  Fri Jul 06 18:31:16 CST 2018
+	 * @mbg.generated  Thu Jul 19 16:49:39 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  Fri Jul 06 18:31:16 CST 2018
+	 * @mbg.generated  Thu Jul 19 16:49:39 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  Fri Jul 06 18:31:16 CST 2018
+	 * @mbg.generated  Thu Jul 19 16:49:39 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  Fri Jul 06 18:31:16 CST 2018
+	 * @mbg.generated  Thu Jul 19 16:49:39 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  Fri Jul 06 18:31:16 CST 2018
+	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
 	 */
 	protected abstract static class GeneratedCriteria {
 		protected List<Criterion> criteria;
@@ -1593,11 +1593,81 @@ public class JtBusinessProjectExample {
 			addCriterion("release_date not between", value1, value2, "releaseDate");
 			return (Criteria) this;
 		}
+
+		public Criteria andAdvertisementIsNull() {
+			addCriterion("advertisement is null");
+			return (Criteria) this;
+		}
+
+		public Criteria andAdvertisementIsNotNull() {
+			addCriterion("advertisement is not null");
+			return (Criteria) this;
+		}
+
+		public Criteria andAdvertisementEqualTo(String value) {
+			addCriterion("advertisement =", value, "advertisement");
+			return (Criteria) this;
+		}
+
+		public Criteria andAdvertisementNotEqualTo(String value) {
+			addCriterion("advertisement <>", value, "advertisement");
+			return (Criteria) this;
+		}
+
+		public Criteria andAdvertisementGreaterThan(String value) {
+			addCriterion("advertisement >", value, "advertisement");
+			return (Criteria) this;
+		}
+
+		public Criteria andAdvertisementGreaterThanOrEqualTo(String value) {
+			addCriterion("advertisement >=", value, "advertisement");
+			return (Criteria) this;
+		}
+
+		public Criteria andAdvertisementLessThan(String value) {
+			addCriterion("advertisement <", value, "advertisement");
+			return (Criteria) this;
+		}
+
+		public Criteria andAdvertisementLessThanOrEqualTo(String value) {
+			addCriterion("advertisement <=", value, "advertisement");
+			return (Criteria) this;
+		}
+
+		public Criteria andAdvertisementLike(String value) {
+			addCriterion("advertisement like", value, "advertisement");
+			return (Criteria) this;
+		}
+
+		public Criteria andAdvertisementNotLike(String value) {
+			addCriterion("advertisement not like", value, "advertisement");
+			return (Criteria) this;
+		}
+
+		public Criteria andAdvertisementIn(List<String> values) {
+			addCriterion("advertisement in", values, "advertisement");
+			return (Criteria) this;
+		}
+
+		public Criteria andAdvertisementNotIn(List<String> values) {
+			addCriterion("advertisement not in", values, "advertisement");
+			return (Criteria) this;
+		}
+
+		public Criteria andAdvertisementBetween(String value1, String value2) {
+			addCriterion("advertisement between", value1, value2, "advertisement");
+			return (Criteria) this;
+		}
+
+		public Criteria andAdvertisementNotBetween(String value1, String value2) {
+			addCriterion("advertisement not between", value1, value2, "advertisement");
+			return (Criteria) this;
+		}
 	}
 
 	/**
 	 * This class was generated by MyBatis Generator. This class corresponds to the database table jt_business_project
-	 * @mbg.generated  Fri Jul 06 18:31:16 CST 2018
+	 * @mbg.generated  Thu Jul 19 16:49:39 CST 2018
 	 */
 	public static class Criterion {
 		private String condition;