瀏覽代碼

业务项目管理

anderx 8 年之前
父節點
當前提交
bfec53ab42

+ 404 - 0
src/main/java/com/goafanti/admin/bo/ProjectSizeBo.java

@@ -0,0 +1,404 @@
+package com.goafanti.admin.bo;
+
+import java.math.BigDecimal;
+import java.util.Date;
+
+public class ProjectSizeBo {
+
+	    /**
+	     *
+	     * This field was generated by MyBatis Generator.
+	     * This field corresponds to the database column project_size.id
+	     *
+	     * @mbg.generated Mon Dec 04 09:52:04 CST 2017
+	     */
+	    private String id;
+
+	    /**
+	     *
+	     * This field was generated by MyBatis Generator.
+	     * This field corresponds to the database column project_size.create_id
+	     *
+	     * @mbg.generated Mon Dec 04 09:52:04 CST 2017
+	     */
+	    private String createId;
+
+	    /**
+	     *
+	     * This field was generated by MyBatis Generator.
+	     * This field corresponds to the database column project_size.create_time
+	     *
+	     * @mbg.generated Mon Dec 04 09:52:04 CST 2017
+	     */
+	    private Date createTime;
+
+	    /**
+	     *
+	     * This field was generated by MyBatis Generator.
+	     * This field corresponds to the database column project_size.update_time
+	     *
+	     * @mbg.generated Mon Dec 04 09:52:04 CST 2017
+	     */
+	    private Date updateTime;
+
+	    /**
+	     *
+	     * This field was generated by MyBatis Generator.
+	     * This field corresponds to the database column project_size.pid
+	     *
+	     * @mbg.generated Mon Dec 04 09:52:04 CST 2017
+	     */
+	    private String pid;
+
+	    /**
+	     *
+	     * This field was generated by MyBatis Generator.
+	     * This field corresponds to the database column project_size.pname
+	     *
+	     * @mbg.generated Mon Dec 04 09:52:04 CST 2017
+	     */
+	    private String pname;
+
+	    /**
+	     *
+	     * This field was generated by MyBatis Generator.
+	     * This field corresponds to the database column project_size.price
+	     *
+	     * @mbg.generated Mon Dec 04 09:52:04 CST 2017
+	     */
+	    private BigDecimal price;
+
+	    /**
+	     *
+	     * This field was generated by MyBatis Generator.
+	     * This field corresponds to the database column project_size.offset
+	     *
+	     * @mbg.generated Mon Dec 04 09:52:04 CST 2017
+	     */
+	    private BigDecimal offset;
+
+	    /**
+	     *
+	     * This field was generated by MyBatis Generator.
+	     * This field corresponds to the database column project_size.activity_price
+	     *
+	     * @mbg.generated Mon Dec 04 09:52:04 CST 2017
+	     */
+	    private BigDecimal activityPrice;
+
+	    /**
+	     *
+	     * This field was generated by MyBatis Generator.
+	     * This field corresponds to the database column project_size.activity_flag
+	     *
+	     * @mbg.generated Mon Dec 04 09:52:04 CST 2017
+	     */
+	    private String activityFlag;
+
+	    /**
+	     *
+	     * This field was generated by MyBatis Generator.
+	     * This field corresponds to the database column project_size.member_price
+	     *
+	     * @mbg.generated Mon Dec 04 09:52:04 CST 2017
+	     */
+	    private BigDecimal memberPrice;
+
+	    /**
+	     *
+	     * This field was generated by MyBatis Generator.
+	     * This field corresponds to the database column project_size.status
+	     *
+	     * @mbg.generated Mon Dec 04 09:52:04 CST 2017
+	     */
+	    private Integer status;
+
+	    /**
+	     * This method was generated by MyBatis Generator.
+	     * This method returns the value of the database column project_size.id
+	     *
+	     * @return the value of project_size.id
+	     *
+	     * @mbg.generated Mon Dec 04 09:52:04 CST 2017
+	     */
+	    public String getId() {
+	        return id;
+	    }
+
+	    /**
+	     * This method was generated by MyBatis Generator.
+	     * This method sets the value of the database column project_size.id
+	     *
+	     * @param id the value for project_size.id
+	     *
+	     * @mbg.generated Mon Dec 04 09:52:04 CST 2017
+	     */
+	    public void setId(String id) {
+	        this.id = id;
+	    }
+
+	    /**
+	     * This method was generated by MyBatis Generator.
+	     * This method returns the value of the database column project_size.create_id
+	     *
+	     * @return the value of project_size.create_id
+	     *
+	     * @mbg.generated Mon Dec 04 09:52:04 CST 2017
+	     */
+	    public String getCreateId() {
+	        return createId;
+	    }
+
+	    /**
+	     * This method was generated by MyBatis Generator.
+	     * This method sets the value of the database column project_size.create_id
+	     *
+	     * @param createId the value for project_size.create_id
+	     *
+	     * @mbg.generated Mon Dec 04 09:52:04 CST 2017
+	     */
+	    public void setCreateId(String createId) {
+	        this.createId = createId;
+	    }
+
+	    /**
+	     * This method was generated by MyBatis Generator.
+	     * This method returns the value of the database column project_size.create_time
+	     *
+	     * @return the value of project_size.create_time
+	     *
+	     * @mbg.generated Mon Dec 04 09:52:04 CST 2017
+	     */
+	    public Date getCreateTime() {
+	        return createTime;
+	    }
+
+	    /**
+	     * This method was generated by MyBatis Generator.
+	     * This method sets the value of the database column project_size.create_time
+	     *
+	     * @param createTime the value for project_size.create_time
+	     *
+	     * @mbg.generated Mon Dec 04 09:52:04 CST 2017
+	     */
+	    public void setCreateTime(Date createTime) {
+	        this.createTime = createTime;
+	    }
+
+	    /**
+	     * This method was generated by MyBatis Generator.
+	     * This method returns the value of the database column project_size.update_time
+	     *
+	     * @return the value of project_size.update_time
+	     *
+	     * @mbg.generated Mon Dec 04 09:52:04 CST 2017
+	     */
+	    public Date getUpdateTime() {
+	        return updateTime;
+	    }
+
+	    /**
+	     * This method was generated by MyBatis Generator.
+	     * This method sets the value of the database column project_size.update_time
+	     *
+	     * @param updateTime the value for project_size.update_time
+	     *
+	     * @mbg.generated Mon Dec 04 09:52:04 CST 2017
+	     */
+	    public void setUpdateTime(Date updateTime) {
+	        this.updateTime = updateTime;
+	    }
+
+	    /**
+	     * This method was generated by MyBatis Generator.
+	     * This method returns the value of the database column project_size.pid
+	     *
+	     * @return the value of project_size.pid
+	     *
+	     * @mbg.generated Mon Dec 04 09:52:04 CST 2017
+	     */
+	    public String getPid() {
+	        return pid;
+	    }
+
+	    /**
+	     * This method was generated by MyBatis Generator.
+	     * This method sets the value of the database column project_size.pid
+	     *
+	     * @param pid the value for project_size.pid
+	     *
+	     * @mbg.generated Mon Dec 04 09:52:04 CST 2017
+	     */
+	    public void setPid(String pid) {
+	        this.pid = pid;
+	    }
+
+	    /**
+	     * This method was generated by MyBatis Generator.
+	     * This method returns the value of the database column project_size.pname
+	     *
+	     * @return the value of project_size.pname
+	     *
+	     * @mbg.generated Mon Dec 04 09:52:04 CST 2017
+	     */
+	    public String getPname() {
+	        return pname;
+	    }
+
+	    /**
+	     * This method was generated by MyBatis Generator.
+	     * This method sets the value of the database column project_size.pname
+	     *
+	     * @param pname the value for project_size.pname
+	     *
+	     * @mbg.generated Mon Dec 04 09:52:04 CST 2017
+	     */
+	    public void setPname(String pname) {
+	        this.pname = pname;
+	    }
+
+	    /**
+	     * This method was generated by MyBatis Generator.
+	     * This method returns the value of the database column project_size.price
+	     *
+	     * @return the value of project_size.price
+	     *
+	     * @mbg.generated Mon Dec 04 09:52:04 CST 2017
+	     */
+	    public BigDecimal getPrice() {
+	        return price;
+	    }
+
+	    /**
+	     * This method was generated by MyBatis Generator.
+	     * This method sets the value of the database column project_size.price
+	     *
+	     * @param price the value for project_size.price
+	     *
+	     * @mbg.generated Mon Dec 04 09:52:04 CST 2017
+	     */
+	    public void setPrice(BigDecimal price) {
+	        this.price = price;
+	    }
+
+	    /**
+	     * This method was generated by MyBatis Generator.
+	     * This method returns the value of the database column project_size.offset
+	     *
+	     * @return the value of project_size.offset
+	     *
+	     * @mbg.generated Mon Dec 04 09:52:04 CST 2017
+	     */
+	    public BigDecimal getOffset() {
+	        return offset;
+	    }
+
+	    /**
+	     * This method was generated by MyBatis Generator.
+	     * This method sets the value of the database column project_size.offset
+	     *
+	     * @param offset the value for project_size.offset
+	     *
+	     * @mbg.generated Mon Dec 04 09:52:04 CST 2017
+	     */
+	    public void setOffset(BigDecimal offset) {
+	        this.offset = offset;
+	    }
+
+	    /**
+	     * This method was generated by MyBatis Generator.
+	     * This method returns the value of the database column project_size.activity_price
+	     *
+	     * @return the value of project_size.activity_price
+	     *
+	     * @mbg.generated Mon Dec 04 09:52:04 CST 2017
+	     */
+	    public BigDecimal getActivityPrice() {
+	        return activityPrice;
+	    }
+
+	    /**
+	     * This method was generated by MyBatis Generator.
+	     * This method sets the value of the database column project_size.activity_price
+	     *
+	     * @param activityPrice the value for project_size.activity_price
+	     *
+	     * @mbg.generated Mon Dec 04 09:52:04 CST 2017
+	     */
+	    public void setActivityPrice(BigDecimal activityPrice) {
+	        this.activityPrice = activityPrice;
+	    }
+
+	    /**
+	     * This method was generated by MyBatis Generator.
+	     * This method returns the value of the database column project_size.activity_flag
+	     *
+	     * @return the value of project_size.activity_flag
+	     *
+	     * @mbg.generated Mon Dec 04 09:52:04 CST 2017
+	     */
+	    public String getActivityFlag() {
+	        return activityFlag;
+	    }
+
+	    /**
+	     * This method was generated by MyBatis Generator.
+	     * This method sets the value of the database column project_size.activity_flag
+	     *
+	     * @param activityFlag the value for project_size.activity_flag
+	     *
+	     * @mbg.generated Mon Dec 04 09:52:04 CST 2017
+	     */
+	    public void setActivityFlag(String activityFlag) {
+	        this.activityFlag = activityFlag;
+	    }
+
+	    /**
+	     * This method was generated by MyBatis Generator.
+	     * This method returns the value of the database column project_size.member_price
+	     *
+	     * @return the value of project_size.member_price
+	     *
+	     * @mbg.generated Mon Dec 04 09:52:04 CST 2017
+	     */
+	    public BigDecimal getMemberPrice() {
+	        return memberPrice;
+	    }
+
+	    /**
+	     * This method was generated by MyBatis Generator.
+	     * This method sets the value of the database column project_size.member_price
+	     *
+	     * @param memberPrice the value for project_size.member_price
+	     *
+	     * @mbg.generated Mon Dec 04 09:52:04 CST 2017
+	     */
+	    public void setMemberPrice(BigDecimal memberPrice) {
+	        this.memberPrice = memberPrice;
+	    }
+
+	    /**
+	     * This method was generated by MyBatis Generator.
+	     * This method returns the value of the database column project_size.status
+	     *
+	     * @return the value of project_size.status
+	     *
+	     * @mbg.generated Mon Dec 04 09:52:04 CST 2017
+	     */
+	    public Integer getStatus() {
+	        return status;
+	    }
+
+	    /**
+	     * This method was generated by MyBatis Generator.
+	     * This method sets the value of the database column project_size.status
+	     *
+	     * @param status the value for project_size.status
+	     *
+	     * @mbg.generated Mon Dec 04 09:52:04 CST 2017
+	     */
+	    public void setStatus(Integer status) {
+	        this.status = status;
+	    }
+	}
+

+ 38 - 0
src/main/java/com/goafanti/admin/controller/BusinessProjectController.java

@@ -0,0 +1,38 @@
+package com.goafanti.admin.controller;
+
+
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RequestMethod;
+import org.springframework.web.bind.annotation.RestController;
+
+import com.goafanti.admin.service.BusinessProjectService;
+import com.goafanti.common.bo.Result;
+import com.goafanti.common.constant.ErrorConstants;
+import com.goafanti.common.controller.BaseController;
+import com.goafanti.common.utils.StringUtils;
+
+@RestController
+@RequestMapping("open/api/admin/ProjectSize")
+public class BusinessProjectController extends BaseController{
+	
+	BusinessProjectService businessprojectService;
+	
+	/**
+	 * 新增项目
+	 */
+	@RequestMapping(value = "/addProject" , method = RequestMethod.POST)
+	public Result addProject(String bname,String cid,String country,String province,String city,String district) {
+		Result res=new Result();
+		if (StringUtils.isBlank(bname)) {
+			res.getError().add(buildError(ErrorConstants.PARAM_EMPTY_ERROR, "项目名称名称为空", "项目名称"));
+			return res;
+		}
+		if (StringUtils.isBlank(cid)) {
+			res.getError().add(buildError(ErrorConstants.PARAM_EMPTY_ERROR, "所属品类为空", "所属品类"));
+			return res;
+		}
+		res.setData(businessprojectService.insert(bname, cid, country,province,city,district));
+		return res;
+	}
+
+}

+ 5 - 0
src/main/java/com/goafanti/admin/service/BusinessProjectService.java

@@ -0,0 +1,5 @@
+package com.goafanti.admin.service;
+
+public interface BusinessProjectService {
+	int insert(String bname,String cid,String country,String province,String city,String district);
+}

+ 33 - 0
src/main/java/com/goafanti/admin/service/impl/BusinessProjectServiceImpl.java

@@ -0,0 +1,33 @@
+package com.goafanti.admin.service.impl;
+
+import java.util.Date;
+import java.util.UUID;
+
+import com.goafanti.admin.service.BusinessProjectService;
+
+import com.goafanti.common.dao.BusinessProjectMapper;
+import com.goafanti.common.model.BusinessProject;
+
+import com.goafanti.core.shiro.token.TokenManager;
+
+public class BusinessProjectServiceImpl implements BusinessProjectService {
+	BusinessProjectMapper businessProjectMapper;
+	@Override
+	public int insert(String bname, String cid, String country, String province, String city, String district) {
+		BusinessProject bp=new BusinessProject();
+		bp.setId(UUID.randomUUID().toString());
+		bp.setBname(bname);
+		bp.setCountry(country);
+		if (1!=Integer.valueOf(country)) {
+			bp.setProvince(province);
+			bp.setCity(city);
+			bp.setDistrict(district);
+		}
+		bp.setCreateId(TokenManager.getAdminId());
+		bp.setCreateTime(new Date());
+		bp.setStatus("0");
+
+		return businessProjectMapper.insert(bp);
+	}
+
+}

+ 76 - 0
src/main/java/com/goafanti/common/dao/BusinessProjectMapper.java

@@ -0,0 +1,76 @@
+package com.goafanti.common.dao;
+
+import com.goafanti.common.model.BusinessProject;
+import com.goafanti.common.model.BusinessProjectExample;
+import java.util.List;
+import org.apache.ibatis.annotations.Param;
+
+public interface BusinessProjectMapper {
+
+	/**
+	 * This method was generated by MyBatis Generator. This method corresponds to the database table business_project
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	long countByExample(BusinessProjectExample example);
+
+	/**
+	 * This method was generated by MyBatis Generator. This method corresponds to the database table business_project
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	int deleteByExample(BusinessProjectExample example);
+
+	/**
+	 * This method was generated by MyBatis Generator. This method corresponds to the database table business_project
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	int deleteByPrimaryKey(String id);
+
+	/**
+	 * This method was generated by MyBatis Generator. This method corresponds to the database table business_project
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	int insert(BusinessProject record);
+
+	/**
+	 * This method was generated by MyBatis Generator. This method corresponds to the database table business_project
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	int insertSelective(BusinessProject record);
+
+	/**
+	 * This method was generated by MyBatis Generator. This method corresponds to the database table business_project
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	List<BusinessProject> selectByExample(BusinessProjectExample example);
+
+	/**
+	 * This method was generated by MyBatis Generator. This method corresponds to the database table business_project
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	BusinessProject selectByPrimaryKey(String id);
+
+	/**
+	 * This method was generated by MyBatis Generator. This method corresponds to the database table business_project
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	int updateByExampleSelective(@Param("record") BusinessProject record,
+			@Param("example") BusinessProjectExample example);
+
+	/**
+	 * This method was generated by MyBatis Generator. This method corresponds to the database table business_project
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	int updateByExample(@Param("record") BusinessProject record, @Param("example") BusinessProjectExample example);
+
+	/**
+	 * This method was generated by MyBatis Generator. This method corresponds to the database table business_project
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	int updateByPrimaryKeySelective(BusinessProject record);
+
+	/**
+	 * This method was generated by MyBatis Generator. This method corresponds to the database table business_project
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	int updateByPrimaryKey(BusinessProject record);
+}

+ 75 - 0
src/main/java/com/goafanti/common/dao/ProjectSizeMapper.java

@@ -0,0 +1,75 @@
+package com.goafanti.common.dao;
+
+import com.goafanti.common.model.ProjectSize;
+import com.goafanti.common.model.ProjectSizeExample;
+import java.util.List;
+import org.apache.ibatis.annotations.Param;
+
+public interface ProjectSizeMapper {
+
+	/**
+	 * This method was generated by MyBatis Generator. This method corresponds to the database table project_size
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	long countByExample(ProjectSizeExample example);
+
+	/**
+	 * This method was generated by MyBatis Generator. This method corresponds to the database table project_size
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	int deleteByExample(ProjectSizeExample example);
+
+	/**
+	 * This method was generated by MyBatis Generator. This method corresponds to the database table project_size
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	int deleteByPrimaryKey(String id);
+
+	/**
+	 * This method was generated by MyBatis Generator. This method corresponds to the database table project_size
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	int insert(ProjectSize record);
+
+	/**
+	 * This method was generated by MyBatis Generator. This method corresponds to the database table project_size
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	int insertSelective(ProjectSize record);
+
+	/**
+	 * This method was generated by MyBatis Generator. This method corresponds to the database table project_size
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	List<ProjectSize> selectByExample(ProjectSizeExample example);
+
+	/**
+	 * This method was generated by MyBatis Generator. This method corresponds to the database table project_size
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	ProjectSize selectByPrimaryKey(String id);
+
+	/**
+	 * This method was generated by MyBatis Generator. This method corresponds to the database table project_size
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	int updateByExampleSelective(@Param("record") ProjectSize record, @Param("example") ProjectSizeExample example);
+
+	/**
+	 * This method was generated by MyBatis Generator. This method corresponds to the database table project_size
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	int updateByExample(@Param("record") ProjectSize record, @Param("example") ProjectSizeExample example);
+
+	/**
+	 * This method was generated by MyBatis Generator. This method corresponds to the database table project_size
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	int updateByPrimaryKeySelective(ProjectSize record);
+
+	/**
+	 * This method was generated by MyBatis Generator. This method corresponds to the database table project_size
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	int updateByPrimaryKey(ProjectSize record);
+}

+ 540 - 0
src/main/java/com/goafanti/common/mapper/BusinessProjectMapper.xml

@@ -0,0 +1,540 @@
+<?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.BusinessProjectMapper">
+  <resultMap id="BaseResultMap" type="com.goafanti.common.model.BusinessProject">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Mon Dec 04 15:29:25 CST 2017.
+    -->
+    <id column="id" jdbcType="VARCHAR" property="id" />
+    <result column="create_id" jdbcType="VARCHAR" property="createId" />
+    <result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
+    <result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
+    <result column="delete_sign" jdbcType="INTEGER" property="deleteSign" />
+    <result column="bname" jdbcType="VARCHAR" property="bname" />
+    <result column="cid" jdbcType="VARCHAR" property="cid" />
+    <result column="price" jdbcType="DECIMAL" property="price" />
+    <result column="offset" jdbcType="DECIMAL" property="offset" />
+    <result column="activity_price" jdbcType="DECIMAL" property="activityPrice" />
+    <result column="activity_flag" jdbcType="VARCHAR" property="activityFlag" />
+    <result column="member_price" jdbcType="DECIMAL" property="memberPrice" />
+    <result column="introduce" jdbcType="VARCHAR" property="introduce" />
+    <result column="status" jdbcType="VARCHAR" property="status" />
+    <result column="country" jdbcType="VARCHAR" property="country" />
+    <result column="province" jdbcType="VARCHAR" property="province" />
+    <result column="city" jdbcType="VARCHAR" property="city" />
+    <result column="district" jdbcType="VARCHAR" property="district" />
+    <result column="principal_id" jdbcType="VARCHAR" property="principalId" />
+    <result column="Value_effect" jdbcType="VARCHAR" property="valueEffect" />
+    <result column="client_size" jdbcType="VARCHAR" property="clientSize" />
+  </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 04 15:29:25 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 04 15:29:25 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 04 15:29:25 CST 2017.
+    -->
+    id, create_id, create_time, update_time, delete_sign, bname, cid, price, offset, 
+    activity_price, activity_flag, member_price, introduce, status, country, province, 
+    city, district, principal_id, Value_effect, client_size
+  </sql>
+  <select id="selectByExample" parameterType="com.goafanti.common.model.BusinessProjectExample" resultMap="BaseResultMap">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Mon Dec 04 15:29:25 CST 2017.
+    -->
+    select
+    <if test="distinct">
+      distinct
+    </if>
+    <include refid="Base_Column_List" />
+    from business_project
+    <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.String" resultMap="BaseResultMap">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Mon Dec 04 15:29:25 CST 2017.
+    -->
+    select 
+    <include refid="Base_Column_List" />
+    from business_project
+    where 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 Mon Dec 04 15:29:25 CST 2017.
+    -->
+    delete from business_project
+    where id = #{id,jdbcType=VARCHAR}
+  </delete>
+  <delete id="deleteByExample" parameterType="com.goafanti.common.model.BusinessProjectExample">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Mon Dec 04 15:29:25 CST 2017.
+    -->
+    delete from business_project
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  <insert id="insert" parameterType="com.goafanti.common.model.BusinessProject">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Mon Dec 04 15:29:25 CST 2017.
+    -->
+    insert into business_project (id, create_id, create_time, 
+      update_time, delete_sign, bname, 
+      cid, price, offset, 
+      activity_price, activity_flag, member_price, 
+      introduce, status, country, 
+      province, city, district, 
+      principal_id, Value_effect, client_size
+      )
+    values (#{id,jdbcType=VARCHAR}, #{createId,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, 
+      #{updateTime,jdbcType=TIMESTAMP}, #{deleteSign,jdbcType=INTEGER}, #{bname,jdbcType=VARCHAR}, 
+      #{cid,jdbcType=VARCHAR}, #{price,jdbcType=DECIMAL}, #{offset,jdbcType=DECIMAL}, 
+      #{activityPrice,jdbcType=DECIMAL}, #{activityFlag,jdbcType=VARCHAR}, #{memberPrice,jdbcType=DECIMAL}, 
+      #{introduce,jdbcType=VARCHAR}, #{status,jdbcType=VARCHAR}, #{country,jdbcType=VARCHAR}, 
+      #{province,jdbcType=VARCHAR}, #{city,jdbcType=VARCHAR}, #{district,jdbcType=VARCHAR}, 
+      #{principalId,jdbcType=VARCHAR}, #{valueEffect,jdbcType=VARCHAR}, #{clientSize,jdbcType=VARCHAR}
+      )
+  </insert>
+  <insert id="insertSelective" parameterType="com.goafanti.common.model.BusinessProject">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Mon Dec 04 15:29:25 CST 2017.
+    -->
+    insert into business_project
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        id,
+      </if>
+      <if test="createId != null">
+        create_id,
+      </if>
+      <if test="createTime != null">
+        create_time,
+      </if>
+      <if test="updateTime != null">
+        update_time,
+      </if>
+      <if test="deleteSign != null">
+        delete_sign,
+      </if>
+      <if test="bname != null">
+        bname,
+      </if>
+      <if test="cid != null">
+        cid,
+      </if>
+      <if test="price != null">
+        price,
+      </if>
+      <if test="offset != null">
+        offset,
+      </if>
+      <if test="activityPrice != null">
+        activity_price,
+      </if>
+      <if test="activityFlag != null">
+        activity_flag,
+      </if>
+      <if test="memberPrice != null">
+        member_price,
+      </if>
+      <if test="introduce != null">
+        introduce,
+      </if>
+      <if test="status != null">
+        status,
+      </if>
+      <if test="country != null">
+        country,
+      </if>
+      <if test="province != null">
+        province,
+      </if>
+      <if test="city != null">
+        city,
+      </if>
+      <if test="district != null">
+        district,
+      </if>
+      <if test="principalId != null">
+        principal_id,
+      </if>
+      <if test="valueEffect != null">
+        Value_effect,
+      </if>
+      <if test="clientSize != null">
+        client_size,
+      </if>
+    </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        #{id,jdbcType=VARCHAR},
+      </if>
+      <if test="createId != null">
+        #{createId,jdbcType=VARCHAR},
+      </if>
+      <if test="createTime != null">
+        #{createTime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="updateTime != null">
+        #{updateTime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="deleteSign != null">
+        #{deleteSign,jdbcType=INTEGER},
+      </if>
+      <if test="bname != null">
+        #{bname,jdbcType=VARCHAR},
+      </if>
+      <if test="cid != null">
+        #{cid,jdbcType=VARCHAR},
+      </if>
+      <if test="price != null">
+        #{price,jdbcType=DECIMAL},
+      </if>
+      <if test="offset != null">
+        #{offset,jdbcType=DECIMAL},
+      </if>
+      <if test="activityPrice != null">
+        #{activityPrice,jdbcType=DECIMAL},
+      </if>
+      <if test="activityFlag != null">
+        #{activityFlag,jdbcType=VARCHAR},
+      </if>
+      <if test="memberPrice != null">
+        #{memberPrice,jdbcType=DECIMAL},
+      </if>
+      <if test="introduce != null">
+        #{introduce,jdbcType=VARCHAR},
+      </if>
+      <if test="status != null">
+        #{status,jdbcType=VARCHAR},
+      </if>
+      <if test="country != null">
+        #{country,jdbcType=VARCHAR},
+      </if>
+      <if test="province != null">
+        #{province,jdbcType=VARCHAR},
+      </if>
+      <if test="city != null">
+        #{city,jdbcType=VARCHAR},
+      </if>
+      <if test="district != null">
+        #{district,jdbcType=VARCHAR},
+      </if>
+      <if test="principalId != null">
+        #{principalId,jdbcType=VARCHAR},
+      </if>
+      <if test="valueEffect != null">
+        #{valueEffect,jdbcType=VARCHAR},
+      </if>
+      <if test="clientSize != null">
+        #{clientSize,jdbcType=VARCHAR},
+      </if>
+    </trim>
+  </insert>
+  <select id="countByExample" parameterType="com.goafanti.common.model.BusinessProjectExample" 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 04 15:29:25 CST 2017.
+    -->
+    select count(*) from business_project
+    <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 04 15:29:25 CST 2017.
+    -->
+    update business_project
+    <set>
+      <if test="record.id != null">
+        id = #{record.id,jdbcType=VARCHAR},
+      </if>
+      <if test="record.createId != null">
+        create_id = #{record.createId,jdbcType=VARCHAR},
+      </if>
+      <if test="record.createTime != null">
+        create_time = #{record.createTime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="record.updateTime != null">
+        update_time = #{record.updateTime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="record.deleteSign != null">
+        delete_sign = #{record.deleteSign,jdbcType=INTEGER},
+      </if>
+      <if test="record.bname != null">
+        bname = #{record.bname,jdbcType=VARCHAR},
+      </if>
+      <if test="record.cid != null">
+        cid = #{record.cid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.price != null">
+        price = #{record.price,jdbcType=DECIMAL},
+      </if>
+      <if test="record.offset != null">
+        offset = #{record.offset,jdbcType=DECIMAL},
+      </if>
+      <if test="record.activityPrice != null">
+        activity_price = #{record.activityPrice,jdbcType=DECIMAL},
+      </if>
+      <if test="record.activityFlag != null">
+        activity_flag = #{record.activityFlag,jdbcType=VARCHAR},
+      </if>
+      <if test="record.memberPrice != null">
+        member_price = #{record.memberPrice,jdbcType=DECIMAL},
+      </if>
+      <if test="record.introduce != null">
+        introduce = #{record.introduce,jdbcType=VARCHAR},
+      </if>
+      <if test="record.status != null">
+        status = #{record.status,jdbcType=VARCHAR},
+      </if>
+      <if test="record.country != null">
+        country = #{record.country,jdbcType=VARCHAR},
+      </if>
+      <if test="record.province != null">
+        province = #{record.province,jdbcType=VARCHAR},
+      </if>
+      <if test="record.city != null">
+        city = #{record.city,jdbcType=VARCHAR},
+      </if>
+      <if test="record.district != null">
+        district = #{record.district,jdbcType=VARCHAR},
+      </if>
+      <if test="record.principalId != null">
+        principal_id = #{record.principalId,jdbcType=VARCHAR},
+      </if>
+      <if test="record.valueEffect != null">
+        Value_effect = #{record.valueEffect,jdbcType=VARCHAR},
+      </if>
+      <if test="record.clientSize != null">
+        client_size = #{record.clientSize,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 04 15:29:25 CST 2017.
+    -->
+    update business_project
+    set id = #{record.id,jdbcType=VARCHAR},
+      create_id = #{record.createId,jdbcType=VARCHAR},
+      create_time = #{record.createTime,jdbcType=TIMESTAMP},
+      update_time = #{record.updateTime,jdbcType=TIMESTAMP},
+      delete_sign = #{record.deleteSign,jdbcType=INTEGER},
+      bname = #{record.bname,jdbcType=VARCHAR},
+      cid = #{record.cid,jdbcType=VARCHAR},
+      price = #{record.price,jdbcType=DECIMAL},
+      offset = #{record.offset,jdbcType=DECIMAL},
+      activity_price = #{record.activityPrice,jdbcType=DECIMAL},
+      activity_flag = #{record.activityFlag,jdbcType=VARCHAR},
+      member_price = #{record.memberPrice,jdbcType=DECIMAL},
+      introduce = #{record.introduce,jdbcType=VARCHAR},
+      status = #{record.status,jdbcType=VARCHAR},
+      country = #{record.country,jdbcType=VARCHAR},
+      province = #{record.province,jdbcType=VARCHAR},
+      city = #{record.city,jdbcType=VARCHAR},
+      district = #{record.district,jdbcType=VARCHAR},
+      principal_id = #{record.principalId,jdbcType=VARCHAR},
+      Value_effect = #{record.valueEffect,jdbcType=VARCHAR},
+      client_size = #{record.clientSize,jdbcType=VARCHAR}
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByPrimaryKeySelective" parameterType="com.goafanti.common.model.BusinessProject">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Mon Dec 04 15:29:25 CST 2017.
+    -->
+    update business_project
+    <set>
+      <if test="createId != null">
+        create_id = #{createId,jdbcType=VARCHAR},
+      </if>
+      <if test="createTime != null">
+        create_time = #{createTime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="updateTime != null">
+        update_time = #{updateTime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="deleteSign != null">
+        delete_sign = #{deleteSign,jdbcType=INTEGER},
+      </if>
+      <if test="bname != null">
+        bname = #{bname,jdbcType=VARCHAR},
+      </if>
+      <if test="cid != null">
+        cid = #{cid,jdbcType=VARCHAR},
+      </if>
+      <if test="price != null">
+        price = #{price,jdbcType=DECIMAL},
+      </if>
+      <if test="offset != null">
+        offset = #{offset,jdbcType=DECIMAL},
+      </if>
+      <if test="activityPrice != null">
+        activity_price = #{activityPrice,jdbcType=DECIMAL},
+      </if>
+      <if test="activityFlag != null">
+        activity_flag = #{activityFlag,jdbcType=VARCHAR},
+      </if>
+      <if test="memberPrice != null">
+        member_price = #{memberPrice,jdbcType=DECIMAL},
+      </if>
+      <if test="introduce != null">
+        introduce = #{introduce,jdbcType=VARCHAR},
+      </if>
+      <if test="status != null">
+        status = #{status,jdbcType=VARCHAR},
+      </if>
+      <if test="country != null">
+        country = #{country,jdbcType=VARCHAR},
+      </if>
+      <if test="province != null">
+        province = #{province,jdbcType=VARCHAR},
+      </if>
+      <if test="city != null">
+        city = #{city,jdbcType=VARCHAR},
+      </if>
+      <if test="district != null">
+        district = #{district,jdbcType=VARCHAR},
+      </if>
+      <if test="principalId != null">
+        principal_id = #{principalId,jdbcType=VARCHAR},
+      </if>
+      <if test="valueEffect != null">
+        Value_effect = #{valueEffect,jdbcType=VARCHAR},
+      </if>
+      <if test="clientSize != null">
+        client_size = #{clientSize,jdbcType=VARCHAR},
+      </if>
+    </set>
+    where id = #{id,jdbcType=VARCHAR}
+  </update>
+  <update id="updateByPrimaryKey" parameterType="com.goafanti.common.model.BusinessProject">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Mon Dec 04 15:29:25 CST 2017.
+    -->
+    update business_project
+    set create_id = #{createId,jdbcType=VARCHAR},
+      create_time = #{createTime,jdbcType=TIMESTAMP},
+      update_time = #{updateTime,jdbcType=TIMESTAMP},
+      delete_sign = #{deleteSign,jdbcType=INTEGER},
+      bname = #{bname,jdbcType=VARCHAR},
+      cid = #{cid,jdbcType=VARCHAR},
+      price = #{price,jdbcType=DECIMAL},
+      offset = #{offset,jdbcType=DECIMAL},
+      activity_price = #{activityPrice,jdbcType=DECIMAL},
+      activity_flag = #{activityFlag,jdbcType=VARCHAR},
+      member_price = #{memberPrice,jdbcType=DECIMAL},
+      introduce = #{introduce,jdbcType=VARCHAR},
+      status = #{status,jdbcType=VARCHAR},
+      country = #{country,jdbcType=VARCHAR},
+      province = #{province,jdbcType=VARCHAR},
+      city = #{city,jdbcType=VARCHAR},
+      district = #{district,jdbcType=VARCHAR},
+      principal_id = #{principalId,jdbcType=VARCHAR},
+      Value_effect = #{valueEffect,jdbcType=VARCHAR},
+      client_size = #{clientSize,jdbcType=VARCHAR}
+    where id = #{id,jdbcType=VARCHAR}
+  </update>
+</mapper>

+ 398 - 0
src/main/java/com/goafanti/common/mapper/ProjectSizeMapper.xml

@@ -0,0 +1,398 @@
+<?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.ProjectSizeMapper">
+  <resultMap id="BaseResultMap" type="com.goafanti.common.model.ProjectSize">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Mon Dec 04 15:29:25 CST 2017.
+    -->
+    <id column="id" jdbcType="VARCHAR" property="id" />
+    <result column="create_id" jdbcType="VARCHAR" property="createId" />
+    <result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
+    <result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
+    <result column="pid" jdbcType="VARCHAR" property="pid" />
+    <result column="pname" jdbcType="VARCHAR" property="pname" />
+    <result column="price" jdbcType="DECIMAL" property="price" />
+    <result column="offset" jdbcType="DECIMAL" property="offset" />
+    <result column="activity_price" jdbcType="DECIMAL" property="activityPrice" />
+    <result column="activity_flag" jdbcType="VARCHAR" property="activityFlag" />
+    <result column="member_price" jdbcType="DECIMAL" property="memberPrice" />
+    <result column="status" jdbcType="INTEGER" property="status" />
+  </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 04 15:29:25 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 04 15:29:25 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 04 15:29:25 CST 2017.
+    -->
+    id, create_id, create_time, update_time, pid, pname, price, offset, activity_price, 
+    activity_flag, member_price, status
+  </sql>
+  <select id="selectByExample" parameterType="com.goafanti.common.model.ProjectSizeExample" resultMap="BaseResultMap">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Mon Dec 04 15:29:25 CST 2017.
+    -->
+    select
+    <if test="distinct">
+      distinct
+    </if>
+    <include refid="Base_Column_List" />
+    from project_size
+    <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.String" resultMap="BaseResultMap">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Mon Dec 04 15:29:25 CST 2017.
+    -->
+    select 
+    <include refid="Base_Column_List" />
+    from project_size
+    where 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 Mon Dec 04 15:29:25 CST 2017.
+    -->
+    delete from project_size
+    where id = #{id,jdbcType=VARCHAR}
+  </delete>
+  <delete id="deleteByExample" parameterType="com.goafanti.common.model.ProjectSizeExample">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Mon Dec 04 15:29:25 CST 2017.
+    -->
+    delete from project_size
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  <insert id="insert" parameterType="com.goafanti.common.model.ProjectSize">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Mon Dec 04 15:29:25 CST 2017.
+    -->
+    insert into project_size (id, create_id, create_time, 
+      update_time, pid, pname, 
+      price, offset, activity_price, 
+      activity_flag, member_price, status
+      )
+    values (#{id,jdbcType=VARCHAR}, #{createId,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, 
+      #{updateTime,jdbcType=TIMESTAMP}, #{pid,jdbcType=VARCHAR}, #{pname,jdbcType=VARCHAR}, 
+      #{price,jdbcType=DECIMAL}, #{offset,jdbcType=DECIMAL}, #{activityPrice,jdbcType=DECIMAL}, 
+      #{activityFlag,jdbcType=VARCHAR}, #{memberPrice,jdbcType=DECIMAL}, #{status,jdbcType=INTEGER}
+      )
+  </insert>
+  <insert id="insertSelective" parameterType="com.goafanti.common.model.ProjectSize">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Mon Dec 04 15:29:25 CST 2017.
+    -->
+    insert into project_size
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        id,
+      </if>
+      <if test="createId != null">
+        create_id,
+      </if>
+      <if test="createTime != null">
+        create_time,
+      </if>
+      <if test="updateTime != null">
+        update_time,
+      </if>
+      <if test="pid != null">
+        pid,
+      </if>
+      <if test="pname != null">
+        pname,
+      </if>
+      <if test="price != null">
+        price,
+      </if>
+      <if test="offset != null">
+        offset,
+      </if>
+      <if test="activityPrice != null">
+        activity_price,
+      </if>
+      <if test="activityFlag != null">
+        activity_flag,
+      </if>
+      <if test="memberPrice != null">
+        member_price,
+      </if>
+      <if test="status != null">
+        status,
+      </if>
+    </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        #{id,jdbcType=VARCHAR},
+      </if>
+      <if test="createId != null">
+        #{createId,jdbcType=VARCHAR},
+      </if>
+      <if test="createTime != null">
+        #{createTime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="updateTime != null">
+        #{updateTime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="pid != null">
+        #{pid,jdbcType=VARCHAR},
+      </if>
+      <if test="pname != null">
+        #{pname,jdbcType=VARCHAR},
+      </if>
+      <if test="price != null">
+        #{price,jdbcType=DECIMAL},
+      </if>
+      <if test="offset != null">
+        #{offset,jdbcType=DECIMAL},
+      </if>
+      <if test="activityPrice != null">
+        #{activityPrice,jdbcType=DECIMAL},
+      </if>
+      <if test="activityFlag != null">
+        #{activityFlag,jdbcType=VARCHAR},
+      </if>
+      <if test="memberPrice != null">
+        #{memberPrice,jdbcType=DECIMAL},
+      </if>
+      <if test="status != null">
+        #{status,jdbcType=INTEGER},
+      </if>
+    </trim>
+  </insert>
+  <select id="countByExample" parameterType="com.goafanti.common.model.ProjectSizeExample" 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 04 15:29:25 CST 2017.
+    -->
+    select count(*) from project_size
+    <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 04 15:29:25 CST 2017.
+    -->
+    update project_size
+    <set>
+      <if test="record.id != null">
+        id = #{record.id,jdbcType=VARCHAR},
+      </if>
+      <if test="record.createId != null">
+        create_id = #{record.createId,jdbcType=VARCHAR},
+      </if>
+      <if test="record.createTime != null">
+        create_time = #{record.createTime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="record.updateTime != null">
+        update_time = #{record.updateTime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="record.pid != null">
+        pid = #{record.pid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.pname != null">
+        pname = #{record.pname,jdbcType=VARCHAR},
+      </if>
+      <if test="record.price != null">
+        price = #{record.price,jdbcType=DECIMAL},
+      </if>
+      <if test="record.offset != null">
+        offset = #{record.offset,jdbcType=DECIMAL},
+      </if>
+      <if test="record.activityPrice != null">
+        activity_price = #{record.activityPrice,jdbcType=DECIMAL},
+      </if>
+      <if test="record.activityFlag != null">
+        activity_flag = #{record.activityFlag,jdbcType=VARCHAR},
+      </if>
+      <if test="record.memberPrice != null">
+        member_price = #{record.memberPrice,jdbcType=DECIMAL},
+      </if>
+      <if test="record.status != null">
+        status = #{record.status,jdbcType=INTEGER},
+      </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 04 15:29:25 CST 2017.
+    -->
+    update project_size
+    set id = #{record.id,jdbcType=VARCHAR},
+      create_id = #{record.createId,jdbcType=VARCHAR},
+      create_time = #{record.createTime,jdbcType=TIMESTAMP},
+      update_time = #{record.updateTime,jdbcType=TIMESTAMP},
+      pid = #{record.pid,jdbcType=VARCHAR},
+      pname = #{record.pname,jdbcType=VARCHAR},
+      price = #{record.price,jdbcType=DECIMAL},
+      offset = #{record.offset,jdbcType=DECIMAL},
+      activity_price = #{record.activityPrice,jdbcType=DECIMAL},
+      activity_flag = #{record.activityFlag,jdbcType=VARCHAR},
+      member_price = #{record.memberPrice,jdbcType=DECIMAL},
+      status = #{record.status,jdbcType=INTEGER}
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByPrimaryKeySelective" parameterType="com.goafanti.common.model.ProjectSize">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Mon Dec 04 15:29:25 CST 2017.
+    -->
+    update project_size
+    <set>
+      <if test="createId != null">
+        create_id = #{createId,jdbcType=VARCHAR},
+      </if>
+      <if test="createTime != null">
+        create_time = #{createTime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="updateTime != null">
+        update_time = #{updateTime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="pid != null">
+        pid = #{pid,jdbcType=VARCHAR},
+      </if>
+      <if test="pname != null">
+        pname = #{pname,jdbcType=VARCHAR},
+      </if>
+      <if test="price != null">
+        price = #{price,jdbcType=DECIMAL},
+      </if>
+      <if test="offset != null">
+        offset = #{offset,jdbcType=DECIMAL},
+      </if>
+      <if test="activityPrice != null">
+        activity_price = #{activityPrice,jdbcType=DECIMAL},
+      </if>
+      <if test="activityFlag != null">
+        activity_flag = #{activityFlag,jdbcType=VARCHAR},
+      </if>
+      <if test="memberPrice != null">
+        member_price = #{memberPrice,jdbcType=DECIMAL},
+      </if>
+      <if test="status != null">
+        status = #{status,jdbcType=INTEGER},
+      </if>
+    </set>
+    where id = #{id,jdbcType=VARCHAR}
+  </update>
+  <update id="updateByPrimaryKey" parameterType="com.goafanti.common.model.ProjectSize">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Mon Dec 04 15:29:25 CST 2017.
+    -->
+    update project_size
+    set create_id = #{createId,jdbcType=VARCHAR},
+      create_time = #{createTime,jdbcType=TIMESTAMP},
+      update_time = #{updateTime,jdbcType=TIMESTAMP},
+      pid = #{pid,jdbcType=VARCHAR},
+      pname = #{pname,jdbcType=VARCHAR},
+      price = #{price,jdbcType=DECIMAL},
+      offset = #{offset,jdbcType=DECIMAL},
+      activity_price = #{activityPrice,jdbcType=DECIMAL},
+      activity_flag = #{activityFlag,jdbcType=VARCHAR},
+      member_price = #{memberPrice,jdbcType=DECIMAL},
+      status = #{status,jdbcType=INTEGER}
+    where id = #{id,jdbcType=VARCHAR}
+  </update>
+</mapper>

+ 491 - 0
src/main/java/com/goafanti/common/model/BusinessProject.java

@@ -0,0 +1,491 @@
+package com.goafanti.common.model;
+
+import java.math.BigDecimal;
+import java.util.Date;
+
+public class BusinessProject {
+
+	/**
+	 * This field was generated by MyBatis Generator. This field corresponds to the database column business_project.id
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	private String id;
+	/**
+	 * This field was generated by MyBatis Generator. This field corresponds to the database column business_project.create_id
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	private String createId;
+	/**
+	 * This field was generated by MyBatis Generator. This field corresponds to the database column business_project.create_time
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	private Date createTime;
+	/**
+	 * This field was generated by MyBatis Generator. This field corresponds to the database column business_project.update_time
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	private Date updateTime;
+	/**
+	 * This field was generated by MyBatis Generator. This field corresponds to the database column business_project.delete_sign
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	private Integer deleteSign;
+	/**
+	 * This field was generated by MyBatis Generator. This field corresponds to the database column business_project.bname
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	private String bname;
+	/**
+	 * This field was generated by MyBatis Generator. This field corresponds to the database column business_project.cid
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	private String cid;
+	/**
+	 * This field was generated by MyBatis Generator. This field corresponds to the database column business_project.price
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	private BigDecimal price;
+	/**
+	 * This field was generated by MyBatis Generator. This field corresponds to the database column business_project.offset
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	private BigDecimal offset;
+	/**
+	 * This field was generated by MyBatis Generator. This field corresponds to the database column business_project.activity_price
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	private BigDecimal activityPrice;
+	/**
+	 * This field was generated by MyBatis Generator. This field corresponds to the database column business_project.activity_flag
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	private String activityFlag;
+	/**
+	 * This field was generated by MyBatis Generator. This field corresponds to the database column business_project.member_price
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	private BigDecimal memberPrice;
+	/**
+	 * This field was generated by MyBatis Generator. This field corresponds to the database column business_project.introduce
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	private String introduce;
+	/**
+	 * This field was generated by MyBatis Generator. This field corresponds to the database column business_project.status
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	private String status;
+	/**
+	 * This field was generated by MyBatis Generator. This field corresponds to the database column business_project.country
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	private String country;
+	/**
+	 * This field was generated by MyBatis Generator. This field corresponds to the database column business_project.province
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	private String province;
+	/**
+	 * This field was generated by MyBatis Generator. This field corresponds to the database column business_project.city
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	private String city;
+	/**
+	 * This field was generated by MyBatis Generator. This field corresponds to the database column business_project.district
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	private String district;
+	/**
+	 * This field was generated by MyBatis Generator. This field corresponds to the database column business_project.principal_id
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	private String principalId;
+	/**
+	 * This field was generated by MyBatis Generator. This field corresponds to the database column business_project.Value_effect
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	private String valueEffect;
+	/**
+	 * This field was generated by MyBatis Generator. This field corresponds to the database column business_project.client_size
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	private String clientSize;
+
+	/**
+	 * This method was generated by MyBatis Generator. This method returns the value of the database column business_project.id
+	 * @return  the value of business_project.id
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	public String getId() {
+		return id;
+	}
+
+	/**
+	 * This method was generated by MyBatis Generator. This method sets the value of the database column business_project.id
+	 * @param id  the value for business_project.id
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	public void setId(String id) {
+		this.id = id;
+	}
+
+	/**
+	 * This method was generated by MyBatis Generator. This method returns the value of the database column business_project.create_id
+	 * @return  the value of business_project.create_id
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	public String getCreateId() {
+		return createId;
+	}
+
+	/**
+	 * This method was generated by MyBatis Generator. This method sets the value of the database column business_project.create_id
+	 * @param createId  the value for business_project.create_id
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	public void setCreateId(String createId) {
+		this.createId = createId;
+	}
+
+	/**
+	 * This method was generated by MyBatis Generator. This method returns the value of the database column business_project.create_time
+	 * @return  the value of business_project.create_time
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	public Date getCreateTime() {
+		return createTime;
+	}
+
+	/**
+	 * This method was generated by MyBatis Generator. This method sets the value of the database column business_project.create_time
+	 * @param createTime  the value for business_project.create_time
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	public void setCreateTime(Date createTime) {
+		this.createTime = createTime;
+	}
+
+	/**
+	 * This method was generated by MyBatis Generator. This method returns the value of the database column business_project.update_time
+	 * @return  the value of business_project.update_time
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	public Date getUpdateTime() {
+		return updateTime;
+	}
+
+	/**
+	 * This method was generated by MyBatis Generator. This method sets the value of the database column business_project.update_time
+	 * @param updateTime  the value for business_project.update_time
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	public void setUpdateTime(Date updateTime) {
+		this.updateTime = updateTime;
+	}
+
+	/**
+	 * This method was generated by MyBatis Generator. This method returns the value of the database column business_project.delete_sign
+	 * @return  the value of business_project.delete_sign
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	public Integer getDeleteSign() {
+		return deleteSign;
+	}
+
+	/**
+	 * This method was generated by MyBatis Generator. This method sets the value of the database column business_project.delete_sign
+	 * @param deleteSign  the value for business_project.delete_sign
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	public void setDeleteSign(Integer deleteSign) {
+		this.deleteSign = deleteSign;
+	}
+
+	/**
+	 * This method was generated by MyBatis Generator. This method returns the value of the database column business_project.bname
+	 * @return  the value of business_project.bname
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	public String getBname() {
+		return bname;
+	}
+
+	/**
+	 * This method was generated by MyBatis Generator. This method sets the value of the database column business_project.bname
+	 * @param bname  the value for business_project.bname
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	public void setBname(String bname) {
+		this.bname = bname;
+	}
+
+	/**
+	 * This method was generated by MyBatis Generator. This method returns the value of the database column business_project.cid
+	 * @return  the value of business_project.cid
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	public String getCid() {
+		return cid;
+	}
+
+	/**
+	 * This method was generated by MyBatis Generator. This method sets the value of the database column business_project.cid
+	 * @param cid  the value for business_project.cid
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	public void setCid(String cid) {
+		this.cid = cid;
+	}
+
+	/**
+	 * This method was generated by MyBatis Generator. This method returns the value of the database column business_project.price
+	 * @return  the value of business_project.price
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	public BigDecimal getPrice() {
+		return price;
+	}
+
+	/**
+	 * This method was generated by MyBatis Generator. This method sets the value of the database column business_project.price
+	 * @param price  the value for business_project.price
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	public void setPrice(BigDecimal price) {
+		this.price = price;
+	}
+
+	/**
+	 * This method was generated by MyBatis Generator. This method returns the value of the database column business_project.offset
+	 * @return  the value of business_project.offset
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	public BigDecimal getOffset() {
+		return offset;
+	}
+
+	/**
+	 * This method was generated by MyBatis Generator. This method sets the value of the database column business_project.offset
+	 * @param offset  the value for business_project.offset
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	public void setOffset(BigDecimal offset) {
+		this.offset = offset;
+	}
+
+	/**
+	 * This method was generated by MyBatis Generator. This method returns the value of the database column business_project.activity_price
+	 * @return  the value of business_project.activity_price
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	public BigDecimal getActivityPrice() {
+		return activityPrice;
+	}
+
+	/**
+	 * This method was generated by MyBatis Generator. This method sets the value of the database column business_project.activity_price
+	 * @param activityPrice  the value for business_project.activity_price
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	public void setActivityPrice(BigDecimal activityPrice) {
+		this.activityPrice = activityPrice;
+	}
+
+	/**
+	 * This method was generated by MyBatis Generator. This method returns the value of the database column business_project.activity_flag
+	 * @return  the value of business_project.activity_flag
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	public String getActivityFlag() {
+		return activityFlag;
+	}
+
+	/**
+	 * This method was generated by MyBatis Generator. This method sets the value of the database column business_project.activity_flag
+	 * @param activityFlag  the value for business_project.activity_flag
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	public void setActivityFlag(String activityFlag) {
+		this.activityFlag = activityFlag;
+	}
+
+	/**
+	 * This method was generated by MyBatis Generator. This method returns the value of the database column business_project.member_price
+	 * @return  the value of business_project.member_price
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	public BigDecimal getMemberPrice() {
+		return memberPrice;
+	}
+
+	/**
+	 * This method was generated by MyBatis Generator. This method sets the value of the database column business_project.member_price
+	 * @param memberPrice  the value for business_project.member_price
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	public void setMemberPrice(BigDecimal memberPrice) {
+		this.memberPrice = memberPrice;
+	}
+
+	/**
+	 * This method was generated by MyBatis Generator. This method returns the value of the database column business_project.introduce
+	 * @return  the value of business_project.introduce
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	public String getIntroduce() {
+		return introduce;
+	}
+
+	/**
+	 * This method was generated by MyBatis Generator. This method sets the value of the database column business_project.introduce
+	 * @param introduce  the value for business_project.introduce
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	public void setIntroduce(String introduce) {
+		this.introduce = introduce;
+	}
+
+	/**
+	 * This method was generated by MyBatis Generator. This method returns the value of the database column business_project.status
+	 * @return  the value of business_project.status
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	public String getStatus() {
+		return status;
+	}
+
+	/**
+	 * This method was generated by MyBatis Generator. This method sets the value of the database column business_project.status
+	 * @param status  the value for business_project.status
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	public void setStatus(String status) {
+		this.status = status;
+	}
+
+	/**
+	 * This method was generated by MyBatis Generator. This method returns the value of the database column business_project.country
+	 * @return  the value of business_project.country
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	public String getCountry() {
+		return country;
+	}
+
+	/**
+	 * This method was generated by MyBatis Generator. This method sets the value of the database column business_project.country
+	 * @param country  the value for business_project.country
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	public void setCountry(String country) {
+		this.country = country;
+	}
+
+	/**
+	 * This method was generated by MyBatis Generator. This method returns the value of the database column business_project.province
+	 * @return  the value of business_project.province
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	public String getProvince() {
+		return province;
+	}
+
+	/**
+	 * This method was generated by MyBatis Generator. This method sets the value of the database column business_project.province
+	 * @param province  the value for business_project.province
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	public void setProvince(String province) {
+		this.province = province;
+	}
+
+	/**
+	 * This method was generated by MyBatis Generator. This method returns the value of the database column business_project.city
+	 * @return  the value of business_project.city
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	public String getCity() {
+		return city;
+	}
+
+	/**
+	 * This method was generated by MyBatis Generator. This method sets the value of the database column business_project.city
+	 * @param city  the value for business_project.city
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	public void setCity(String city) {
+		this.city = city;
+	}
+
+	/**
+	 * This method was generated by MyBatis Generator. This method returns the value of the database column business_project.district
+	 * @return  the value of business_project.district
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	public String getDistrict() {
+		return district;
+	}
+
+	/**
+	 * This method was generated by MyBatis Generator. This method sets the value of the database column business_project.district
+	 * @param district  the value for business_project.district
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	public void setDistrict(String district) {
+		this.district = district;
+	}
+
+	/**
+	 * This method was generated by MyBatis Generator. This method returns the value of the database column business_project.principal_id
+	 * @return  the value of business_project.principal_id
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	public String getPrincipalId() {
+		return principalId;
+	}
+
+	/**
+	 * This method was generated by MyBatis Generator. This method sets the value of the database column business_project.principal_id
+	 * @param principalId  the value for business_project.principal_id
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	public void setPrincipalId(String principalId) {
+		this.principalId = principalId;
+	}
+
+	/**
+	 * This method was generated by MyBatis Generator. This method returns the value of the database column business_project.Value_effect
+	 * @return  the value of business_project.Value_effect
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	public String getValueEffect() {
+		return valueEffect;
+	}
+
+	/**
+	 * This method was generated by MyBatis Generator. This method sets the value of the database column business_project.Value_effect
+	 * @param valueEffect  the value for business_project.Value_effect
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	public void setValueEffect(String valueEffect) {
+		this.valueEffect = valueEffect;
+	}
+
+	/**
+	 * This method was generated by MyBatis Generator. This method returns the value of the database column business_project.client_size
+	 * @return  the value of business_project.client_size
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	public String getClientSize() {
+		return clientSize;
+	}
+
+	/**
+	 * This method was generated by MyBatis Generator. This method sets the value of the database column business_project.client_size
+	 * @param clientSize  the value for business_project.client_size
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	public void setClientSize(String clientSize) {
+		this.clientSize = clientSize;
+	}
+}

File diff suppressed because it is too large
+ 1663 - 0
src/main/java/com/goafanti/common/model/BusinessProjectExample.java


+ 284 - 0
src/main/java/com/goafanti/common/model/ProjectSize.java

@@ -0,0 +1,284 @@
+package com.goafanti.common.model;
+
+import java.math.BigDecimal;
+import java.util.Date;
+
+public class ProjectSize {
+
+	/**
+	 * This field was generated by MyBatis Generator. This field corresponds to the database column project_size.id
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	private String id;
+	/**
+	 * This field was generated by MyBatis Generator. This field corresponds to the database column project_size.create_id
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	private String createId;
+	/**
+	 * This field was generated by MyBatis Generator. This field corresponds to the database column project_size.create_time
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	private Date createTime;
+	/**
+	 * This field was generated by MyBatis Generator. This field corresponds to the database column project_size.update_time
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	private Date updateTime;
+	/**
+	 * This field was generated by MyBatis Generator. This field corresponds to the database column project_size.pid
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	private String pid;
+	/**
+	 * This field was generated by MyBatis Generator. This field corresponds to the database column project_size.pname
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	private String pname;
+	/**
+	 * This field was generated by MyBatis Generator. This field corresponds to the database column project_size.price
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	private BigDecimal price;
+	/**
+	 * This field was generated by MyBatis Generator. This field corresponds to the database column project_size.offset
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	private BigDecimal offset;
+	/**
+	 * This field was generated by MyBatis Generator. This field corresponds to the database column project_size.activity_price
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	private BigDecimal activityPrice;
+	/**
+	 * This field was generated by MyBatis Generator. This field corresponds to the database column project_size.activity_flag
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	private String activityFlag;
+	/**
+	 * This field was generated by MyBatis Generator. This field corresponds to the database column project_size.member_price
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	private BigDecimal memberPrice;
+	/**
+	 * This field was generated by MyBatis Generator. This field corresponds to the database column project_size.status
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	private Integer status;
+
+	/**
+	 * This method was generated by MyBatis Generator. This method returns the value of the database column project_size.id
+	 * @return  the value of project_size.id
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	public String getId() {
+		return id;
+	}
+
+	/**
+	 * This method was generated by MyBatis Generator. This method sets the value of the database column project_size.id
+	 * @param id  the value for project_size.id
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	public void setId(String id) {
+		this.id = id;
+	}
+
+	/**
+	 * This method was generated by MyBatis Generator. This method returns the value of the database column project_size.create_id
+	 * @return  the value of project_size.create_id
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	public String getCreateId() {
+		return createId;
+	}
+
+	/**
+	 * This method was generated by MyBatis Generator. This method sets the value of the database column project_size.create_id
+	 * @param createId  the value for project_size.create_id
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	public void setCreateId(String createId) {
+		this.createId = createId;
+	}
+
+	/**
+	 * This method was generated by MyBatis Generator. This method returns the value of the database column project_size.create_time
+	 * @return  the value of project_size.create_time
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	public Date getCreateTime() {
+		return createTime;
+	}
+
+	/**
+	 * This method was generated by MyBatis Generator. This method sets the value of the database column project_size.create_time
+	 * @param createTime  the value for project_size.create_time
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	public void setCreateTime(Date createTime) {
+		this.createTime = createTime;
+	}
+
+	/**
+	 * This method was generated by MyBatis Generator. This method returns the value of the database column project_size.update_time
+	 * @return  the value of project_size.update_time
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	public Date getUpdateTime() {
+		return updateTime;
+	}
+
+	/**
+	 * This method was generated by MyBatis Generator. This method sets the value of the database column project_size.update_time
+	 * @param updateTime  the value for project_size.update_time
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	public void setUpdateTime(Date updateTime) {
+		this.updateTime = updateTime;
+	}
+
+	/**
+	 * This method was generated by MyBatis Generator. This method returns the value of the database column project_size.pid
+	 * @return  the value of project_size.pid
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	public String getPid() {
+		return pid;
+	}
+
+	/**
+	 * This method was generated by MyBatis Generator. This method sets the value of the database column project_size.pid
+	 * @param pid  the value for project_size.pid
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	public void setPid(String pid) {
+		this.pid = pid;
+	}
+
+	/**
+	 * This method was generated by MyBatis Generator. This method returns the value of the database column project_size.pname
+	 * @return  the value of project_size.pname
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	public String getPname() {
+		return pname;
+	}
+
+	/**
+	 * This method was generated by MyBatis Generator. This method sets the value of the database column project_size.pname
+	 * @param pname  the value for project_size.pname
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	public void setPname(String pname) {
+		this.pname = pname;
+	}
+
+	/**
+	 * This method was generated by MyBatis Generator. This method returns the value of the database column project_size.price
+	 * @return  the value of project_size.price
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	public BigDecimal getPrice() {
+		return price;
+	}
+
+	/**
+	 * This method was generated by MyBatis Generator. This method sets the value of the database column project_size.price
+	 * @param price  the value for project_size.price
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	public void setPrice(BigDecimal price) {
+		this.price = price;
+	}
+
+	/**
+	 * This method was generated by MyBatis Generator. This method returns the value of the database column project_size.offset
+	 * @return  the value of project_size.offset
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	public BigDecimal getOffset() {
+		return offset;
+	}
+
+	/**
+	 * This method was generated by MyBatis Generator. This method sets the value of the database column project_size.offset
+	 * @param offset  the value for project_size.offset
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	public void setOffset(BigDecimal offset) {
+		this.offset = offset;
+	}
+
+	/**
+	 * This method was generated by MyBatis Generator. This method returns the value of the database column project_size.activity_price
+	 * @return  the value of project_size.activity_price
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	public BigDecimal getActivityPrice() {
+		return activityPrice;
+	}
+
+	/**
+	 * This method was generated by MyBatis Generator. This method sets the value of the database column project_size.activity_price
+	 * @param activityPrice  the value for project_size.activity_price
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	public void setActivityPrice(BigDecimal activityPrice) {
+		this.activityPrice = activityPrice;
+	}
+
+	/**
+	 * This method was generated by MyBatis Generator. This method returns the value of the database column project_size.activity_flag
+	 * @return  the value of project_size.activity_flag
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	public String getActivityFlag() {
+		return activityFlag;
+	}
+
+	/**
+	 * This method was generated by MyBatis Generator. This method sets the value of the database column project_size.activity_flag
+	 * @param activityFlag  the value for project_size.activity_flag
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	public void setActivityFlag(String activityFlag) {
+		this.activityFlag = activityFlag;
+	}
+
+	/**
+	 * This method was generated by MyBatis Generator. This method returns the value of the database column project_size.member_price
+	 * @return  the value of project_size.member_price
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	public BigDecimal getMemberPrice() {
+		return memberPrice;
+	}
+
+	/**
+	 * This method was generated by MyBatis Generator. This method sets the value of the database column project_size.member_price
+	 * @param memberPrice  the value for project_size.member_price
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	public void setMemberPrice(BigDecimal memberPrice) {
+		this.memberPrice = memberPrice;
+	}
+
+	/**
+	 * This method was generated by MyBatis Generator. This method returns the value of the database column project_size.status
+	 * @return  the value of project_size.status
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	public Integer getStatus() {
+		return status;
+	}
+
+	/**
+	 * This method was generated by MyBatis Generator. This method sets the value of the database column project_size.status
+	 * @param status  the value for project_size.status
+	 * @mbg.generated  Mon Dec 04 15:29:25 CST 2017
+	 */
+	public void setStatus(Integer status) {
+		this.status = status;
+	}
+}

File diff suppressed because it is too large
+ 1033 - 0
src/main/java/com/goafanti/common/model/ProjectSizeExample.java