Quellcode durchsuchen

营销首页统计开发

anderx vor 2 Jahren
Ursprung
Commit
c73a8568f1

+ 4 - 5
src/main/java/com/goafanti/admin/service/AdminService.java

@@ -1,13 +1,12 @@
 package com.goafanti.admin.service;
 
-import java.util.List;
-import java.util.Map;
-
 import com.goafanti.admin.bo.*;
-import com.goafanti.admin.bo.DepCountBo;
 import com.goafanti.common.model.Admin;
 import com.goafanti.core.mybatis.page.Pagination;
 
+import java.util.List;
+import java.util.Map;
+
 public interface AdminService {
 
 	List<Admin> selectAllAdmin();
@@ -86,5 +85,5 @@ public interface AdminService {
 	DepCountBo selectAllUser(String depId, String startTime, String endTime, String aName);
 
 
-
+    Object pushStatistics();
 }

+ 42 - 20
src/main/java/com/goafanti/admin/service/impl/AdminServiceImpl.java

@@ -1,28 +1,15 @@
 package com.goafanti.admin.service.impl;
 
-import java.util.*;
-
-import javax.annotation.Resource;
-
+import com.goafanti.admin.bo.*;
+import com.goafanti.admin.service.AdminService;
 import com.goafanti.admin.service.DepartmentService;
 import com.goafanti.admin.service.NewAdminService;
+import com.goafanti.common.constant.AFTConstants;
 import com.goafanti.common.dao.*;
 import com.goafanti.common.error.BusinessException;
-import com.goafanti.common.model.Department;
-import com.goafanti.common.utils.RedisUtil;
-import org.springframework.beans.BeanUtils;
-import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.stereotype.Service;
-
-import com.goafanti.admin.bo.AdminContacts;
-import com.goafanti.admin.bo.AdminCustomerBo;
-import com.goafanti.admin.bo.AdminCustomerDetailBo;
-import com.goafanti.admin.bo.AdminDetail;
-import com.goafanti.admin.bo.AdminListBo;
-import com.goafanti.admin.bo.DepCountBo;
-import com.goafanti.admin.service.AdminService;
-import com.goafanti.common.constant.AFTConstants;
 import com.goafanti.common.model.Admin;
+import com.goafanti.common.model.AdminUserCount;
+import com.goafanti.common.model.Department;
 import com.goafanti.common.model.UserBusiness;
 import com.goafanti.common.utils.LoggerUtils;
 import com.goafanti.common.utils.PasswordUtil;
@@ -32,6 +19,12 @@ import com.goafanti.core.mybatis.page.Pagination;
 import com.goafanti.core.shiro.token.TokenManager;
 import com.goafanti.customer.bo.BusinessListBo;
 import com.goafanti.organization.bo.OrganizationListOut;
+import org.springframework.beans.BeanUtils;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+
+import javax.annotation.Resource;
+import java.util.*;
 
 @Service
 public class AdminServiceImpl extends BaseMybatisDao<AdminMapper> implements AdminService {
@@ -55,9 +48,8 @@ public class AdminServiceImpl extends BaseMybatisDao<AdminMapper> implements Adm
 	private PasswordUtil					passwordUtil;
 	@Autowired
 	private NewAdminService newAdminService;
-
 	@Autowired
-	private RedisUtil	redisUtil;
+	private AdminUserCountMapper adminUserCountMapper;
 	@Override
 	public List<Admin> selectAllAdmin() {
 		return adminMapper.selectAllAdmin(null);
@@ -423,6 +415,8 @@ public class AdminServiceImpl extends BaseMybatisDao<AdminMapper> implements Adm
 		return acb;
 	}
 
+
+
 	private List<AdminCustomerBo> AllDepCount(List<Department> depIds, String startTime, String endTime,Integer seniorStaff) {
 		List<AdminCustomerBo> admins = adminMapper.selectByDeps(depIds,seniorStaff);
 		if(!admins.isEmpty()){
@@ -565,7 +559,35 @@ public class AdminServiceImpl extends BaseMybatisDao<AdminMapper> implements Adm
 	}
 
 
+	@Override
+	public Object pushStatistics() {
+		List<AdminUserCount> list =adminMapper.selectAllAdminPublicRelease();
+		List<AdminUserCount> list2 =adminMapper.selectAllAdminUserFollow();
+		List<AdminUserCount> list3 =adminMapper.selectAllAdminOrder();
+		for (AdminUserCount adminUserCount : list) {
+			for (AdminUserCount e : list2) {
+				if (adminUserCount.getAid().equals(e.getAid())&&adminUserCount.getDateTime().equals(e.getDateTime())){
+					adminUserCount.setFollowCount(e.getFollowCount());
+				}
+			}
+			for (AdminUserCount e : list3) {
+				if (adminUserCount.getAid().equals(e.getAid())&&adminUserCount.getDateTime().equals(e.getDateTime())){
+					adminUserCount.setOrderCount(e.getOrderCount());
+				}
+			}
+		}
+		publiAdminUserCount(list3);
+		return 1;
+	}
 
+	private void publiAdminUserCount(List<AdminUserCount> list) {
+		for (AdminUserCount e : list) {
+			int i=adminUserCountMapper.updateByAidAndDateSelective(e);
+			if (i==0){
+				adminUserCountMapper.insertSelective(e);
+			}
+		}
+	}
 
 
 }

+ 11 - 1
src/main/java/com/goafanti/admin/service/impl/AdminStatisticsServiceImpl.java

@@ -1,5 +1,6 @@
 package com.goafanti.admin.service.impl;
 
+import com.goafanti.admin.bo.AdminStatisticsBo;
 import com.goafanti.admin.service.AdminStatisticsService;
 import com.goafanti.common.constant.AFTConstants;
 import com.goafanti.common.dao.AdminMapper;
@@ -28,7 +29,16 @@ public class AdminStatisticsServiceImpl implements AdminStatisticsService {
     public Object info( String startTime, String endTime) {
         String aid=TokenManager.getAdminId();
         endTime=endTime+" 23:59:59";
-        return adminMapper.adminStatisticsInfo(aid,startTime,endTime);
+        AdminStatisticsBo adminStatisticsBo = adminMapper.adminStatisticsInfo(aid);
+        AdminStatisticsBo asb = adminMapper.adminStatisticsInfoByTime(aid, startTime, endTime);
+        adminStatisticsBo.setRangePrivateSum(asb.getRangePrivateSum());
+        adminStatisticsBo.setRangeSignSum(asb.getRangeSignSum());
+        adminStatisticsBo.setRangeChannelSum(asb.getRangeChannelSum());
+        adminStatisticsBo.setRangeFollowSum(asb.getFollowSum());
+        adminStatisticsBo.setRangeOrderSum(asb.getRangeOrderSum());
+        int rangePublicReleaseSum=adminMapper.adminStatisticsPublicReleaseByAidAndTime(aid, startTime, endTime);
+        adminStatisticsBo.setRangePublicReleaseSum(rangePublicReleaseSum);
+        return adminStatisticsBo;
     }
 
     @Override

+ 16 - 0
src/main/java/com/goafanti/common/controller/PublicController.java

@@ -763,10 +763,26 @@ public class PublicController extends CertifyApiController {
 	}
 
 
+	/**
+	 * 补充发票报销查询编号
+	 * @return
+	 */
 	@RequestMapping("/supplementCheckNo")
 	public Result supplementCheckNo() {
 		Result res=new Result();
 		res.data(expenseAccountService.pushSupplementCheckNo());
 		return res;
 	}
+
+
+	/**
+	 * 旧数据处理
+	 * @return
+	 */
+	@RequestMapping("/pushStatistics")
+	public Result pushStatistics() {
+		Result res=new Result();
+		res.data(adminService.pushStatistics());
+		return res;
+	}
 }

+ 10 - 2
src/main/java/com/goafanti/common/dao/AdminMapper.java

@@ -6,6 +6,7 @@ import com.goafanti.admin.bo.AdminListBo;
 import com.goafanti.admin.bo.AdminStatisticsBo;
 import com.goafanti.common.bo.AdminNoticeBo;
 import com.goafanti.common.model.Admin;
+import com.goafanti.common.model.AdminUserCount;
 import com.goafanti.common.model.Department;
 import com.goafanti.common.model.Role;
 import org.apache.ibatis.annotations.Param;
@@ -173,8 +174,8 @@ public interface AdminMapper {
 
 
     List<Integer> selectRoleTypeByid(String aid);
-
-    AdminStatisticsBo adminStatisticsInfo(@Param("aid") String aid, @Param("startTime") String startTime, @Param("endTime") String endTime);
+    AdminStatisticsBo adminStatisticsInfo(@Param("aid") String aid);
+    AdminStatisticsBo adminStatisticsInfoByTime(@Param("aid") String aid, @Param("startTime") String startTime, @Param("endTime") String endTime);
 
     List<Integer> thisMonthUserByType(@Param("list")List thisMonth, @Param("firstDay")String firstDay, @Param("endDay")String endDay,
                                     @Param("aid")String aid,@Param("type")Integer type);
@@ -184,4 +185,11 @@ public interface AdminMapper {
     List<Integer> thisMonthUserFollow(@Param("list")List thisMonth,@Param("firstDay")String firstDay, @Param("aid")String aid);
 
     List<Integer> thisMonthOrderSum(@Param("list")List thisMonth,@Param("firstDay")String firstDay, @Param("aid")String aid);
+
+    List<AdminUserCount> selectAllAdminPublicRelease();
+    List<AdminUserCount> selectAllAdminUserFollow();
+    List<AdminUserCount> selectAllAdminOrder();
+
+
+    int adminStatisticsPublicReleaseByAidAndTime(String aid, String startTime, String endTime);
 }

+ 19 - 0
src/main/java/com/goafanti/common/dao/AdminUserCountMapper.java

@@ -0,0 +1,19 @@
+package com.goafanti.common.dao;
+
+import com.goafanti.common.model.AdminUserCount;
+
+public interface AdminUserCountMapper {
+    int deleteByPrimaryKey(Integer id);
+
+    int insert(AdminUserCount record);
+
+    int insertSelective(AdminUserCount record);
+
+    AdminUserCount selectByPrimaryKey(Integer id);
+
+    int updateByPrimaryKeySelective(AdminUserCount record);
+
+    int updateByPrimaryKey(AdminUserCount record);
+
+    int updateByAidAndDateSelective(AdminUserCount e);
+}

+ 33 - 34
src/main/java/com/goafanti/common/mapper/AdminMapper.xml

@@ -1246,41 +1246,18 @@
     left join admin c on b.finance_id=c.id
     where a.id= #{aid}
   </select>
-    <select id="adminStatisticsInfo" resultType="com.goafanti.admin.bo.AdminStatisticsBo">
-      select *
-      from (  select  sum(if(share_type=0 and new_channel=0,1,0)) privateSum,
-      sum(if(share_type=0 and new_channel=1,1,0))channelSum, sum(if(share_type=2,1,0))signSum
-      from user where status =0 and source in(1,2,3)
-      and aid=  #{aid})a,
-      (select  sum(if(share_type=0 and  new_channel=0,1,0)) rangePrivateSum,
-      sum(if(share_type=0 and  new_channel=1,1,0))rangeChannelSum, sum(if(share_type=2,1,0))rangeSignSum
-      from user where status =0 and source in(1,2,3)
-      and aid=  #{aid}
-      and transfer_time BETWEEN   #{startTime} and   #{endTime})b,
-      ( select sum(1) publicReleaseSum
-      from public_release a left join public_release_details b on a.id=b.prid
-      where status =2 and a.aid =  #{aid})c,
-      (select sum(1) rangePublicReleaseSum
-      from public_release a left join public_release_details b on a.id=b.prid
-      where status =2 and a.aid =  #{aid}
-      and((a.release_start &gt;  #{startTime} and a.release_start &lt;  #{endTime})or
-      (a.release_end &gt;  #{startTime} and a.release_end &lt;  #{endTime})or
-      (a.release_start &lt;  #{startTime} and a.release_end &gt;  #{endTime})))d,
-      (  select sum(1) followSum from user_follow where aid=  #{aid})e,
-      (select sum(1) rangeFollowSum from user_follow where aid=  #{aid}
-      and create_time BETWEEN   #{startTime} and   #{endTime})f,
-      (  select sum(1)orderSum,sum(if(order_status=3 or order_status=5,1,0))rejectSum,
-      sum(if(delete_sign=2,1,0))changeSum from t_order_new where delete_sign in (0,2,3)
-      and process_status >0 and salesman_id =  #{aid})g,
-      ( select sum(1) rangeOrderSum from t_order_new where delete_sign in (0,2,3) and process_status >0
-      and salesman_id =  #{aid}
-      and create_time BETWEEN   #{startTime} and   #{endTime})h,
-      (select sum(if(b.project_status=2 or b.project_status =3 or b.project_status =29,1,0))projectStopSum ,
-      sum(if(b.check_status=1,1,0))projectCheckSum
-      from t_order_new a left join t_order_task b on a.order_no =b.order_no
-      where a.salesman_id =  #{aid})i
+  <select id="adminStatisticsInfo" resultType="com.goafanti.admin.bo.AdminStatisticsBo">
+    select sum(private_count)privateSum ,sum(channel_count)channelSum ,sum(sign_count)signSum ,
+           sum(public_release_count)publicReleaseSum ,sum(follow_count) followSum,sum(order_count) orderSum
+    from admin_user_count a where aid=#{aid} group by aid
+  </select>
 
-    </select>
+  <select id="adminStatisticsInfoByTime" resultType="com.goafanti.admin.bo.AdminStatisticsBo">
+    select sum(private_count)rangePrivateSum ,sum(channel_count)rangeChannelSum ,sum(sign_count)rangeSignSum ,
+           sum(follow_count) rangeFollowSum,sum(order_count) rangeOrdersum
+    from admin_user_count a where aid=#{aid} and  date_time BETWEEN #{startTime} and #{endTime}
+    group by aid
+  </select>
   <select id="thisMonthUserByType" resultType="java.lang.Integer">
     <foreach  collection="list" item="e"  index="index" separator="union all">
       select  ifnull(sum(1),0) counts from user a
@@ -1324,4 +1301,26 @@
       and create_time BETWEEN  #{firstDay} and  '${e} 23:59:59'
     </foreach>
   </select>
+  <select id="selectAllAdminPublicRelease" resultType="com.goafanti.common.model.AdminUserCount">
+    select aid,count(*)publicReleaseCount,DATE_FORMAT(a.release_start , '%Y-%m-%d') dateTime
+    from public_release a left join public_release_details b on a.id=b.prid
+    where status =2 group by aid,release_start
+  </select>
+  <select id="selectAllAdminUserFollow" resultType="com.goafanti.common.model.AdminUserCount">
+    select aid  ,count(*)followCount,DATE_FORMAT(create_time , '%Y-%m-%d') dateTime
+    from user_follow  group by aid,create_time
+  </select>
+  <select id="selectAllAdminOrder" resultType="com.goafanti.common.model.AdminUserCount">
+    select salesman_id aid ,count(*)orderCount,DATE_FORMAT(create_time , '%Y-%m-%d') dateTime
+    from t_order_new where delete_sign in (0,2,3) and process_status >0
+    group by salesman_id ,create_time
+  </select>
+  <select id="adminStatisticsPublicReleaseByAidAndTime" resultType="java.lang.Integer">
+    select sum(1) rangePublicReleaseSum
+     from public_release a left join public_release_details b on a.id=b.prid
+     where status =2 and a.aid =  #{aid}
+       and((a.release_start &gt;  #{startTime} and a.release_start &lt;  #{endTime})or
+           (a.release_end &gt;  #{startTime} and a.release_end &lt;  #{endTime})or
+           (a.release_start &lt;  #{startTime} and a.release_end &gt;  #{endTime}))
+  </select>
 </mapper>

+ 171 - 0
src/main/java/com/goafanti/common/mapper/AdminUserCountMapper.xml

@@ -0,0 +1,171 @@
+<?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.AdminUserCountMapper">
+  <resultMap id="BaseResultMap" type="com.goafanti.common.model.AdminUserCount">
+    <id column="id" jdbcType="INTEGER" property="id" />
+    <result column="aid" jdbcType="VARCHAR" property="aid" />
+    <result column="private_count" jdbcType="INTEGER" property="privateCount" />
+    <result column="sign_count" jdbcType="INTEGER" property="signCount" />
+    <result column="channel_count" jdbcType="INTEGER" property="channelCount" />
+    <result column="public_release_count" jdbcType="INTEGER" property="publicReleaseCount" />
+    <result column="follow_count" jdbcType="INTEGER" property="followCount" />
+    <result column="order_count" jdbcType="INTEGER" property="orderCount" />
+    <result column="date_time" jdbcType="DATE" property="dateTime" />
+    <result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
+  </resultMap>
+  <sql id="Base_Column_List">
+    id, aid, private_count, sign_count, channel_count, public_release_count, follow_count,
+    order_count, date_time, create_time
+  </sql>
+  <select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
+    select
+    <include refid="Base_Column_List" />
+    from admin_user_count
+    where id = #{id,jdbcType=INTEGER}
+  </select>
+  <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer">
+    delete from admin_user_count
+    where id = #{id,jdbcType=INTEGER}
+  </delete>
+  <insert id="insert" keyColumn="id" keyProperty="id" parameterType="com.goafanti.common.model.AdminUserCount" useGeneratedKeys="true">
+    insert into admin_user_count (aid, private_count, sign_count,
+      channel_count, public_release_count, follow_count,
+      order_count, date_time, create_time
+      )
+    values (#{aid,jdbcType=VARCHAR}, #{privateCount,jdbcType=INTEGER}, #{signCount,jdbcType=INTEGER},
+      #{channelCount,jdbcType=INTEGER}, #{publicReleaseCount,jdbcType=INTEGER}, #{followCount,jdbcType=INTEGER},
+      #{orderCount,jdbcType=INTEGER}, #{dateTime,jdbcType=DATE}, #{createTime,jdbcType=TIMESTAMP}
+      )
+  </insert>
+  <insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.goafanti.common.model.AdminUserCount" useGeneratedKeys="true">
+    insert into admin_user_count
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+      <if test="aid != null">
+        aid,
+      </if>
+      <if test="privateCount != null">
+        private_count,
+      </if>
+      <if test="signCount != null">
+        sign_count,
+      </if>
+      <if test="channelCount != null">
+        channel_count,
+      </if>
+      <if test="publicReleaseCount != null">
+        public_release_count,
+      </if>
+      <if test="followCount != null">
+        follow_count,
+      </if>
+      <if test="orderCount != null">
+        order_count,
+      </if>
+      <if test="dateTime != null">
+        date_time,
+      </if>
+      <if test="createTime != null">
+        create_time,
+      </if>
+    </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides=",">
+      <if test="aid != null">
+        #{aid,jdbcType=VARCHAR},
+      </if>
+      <if test="privateCount != null">
+        #{privateCount,jdbcType=INTEGER},
+      </if>
+      <if test="signCount != null">
+        #{signCount,jdbcType=INTEGER},
+      </if>
+      <if test="channelCount != null">
+        #{channelCount,jdbcType=INTEGER},
+      </if>
+      <if test="publicReleaseCount != null">
+        #{publicReleaseCount,jdbcType=INTEGER},
+      </if>
+      <if test="followCount != null">
+        #{followCount,jdbcType=INTEGER},
+      </if>
+      <if test="orderCount != null">
+        #{orderCount,jdbcType=INTEGER},
+      </if>
+      <if test="dateTime != null">
+        #{dateTime,jdbcType=DATE},
+      </if>
+      <if test="createTime != null">
+        #{createTime,jdbcType=TIMESTAMP},
+      </if>
+    </trim>
+  </insert>
+  <update id="updateByPrimaryKeySelective" parameterType="com.goafanti.common.model.AdminUserCount">
+    update admin_user_count
+    <set>
+      <if test="aid != null">
+        aid = #{aid,jdbcType=VARCHAR},
+      </if>
+      <if test="privateCount != null">
+        private_count = #{privateCount,jdbcType=INTEGER},
+      </if>
+      <if test="signCount != null">
+        sign_count = #{signCount,jdbcType=INTEGER},
+      </if>
+      <if test="channelCount != null">
+        channel_count = #{channelCount,jdbcType=INTEGER},
+      </if>
+      <if test="publicReleaseCount != null">
+        public_release_count = #{publicReleaseCount,jdbcType=INTEGER},
+      </if>
+      <if test="followCount != null">
+        follow_count = #{followCount,jdbcType=INTEGER},
+      </if>
+      <if test="orderCount != null">
+        order_count = #{orderCount,jdbcType=INTEGER},
+      </if>
+      <if test="dateTime != null">
+        date_time = #{dateTime,jdbcType=DATE},
+      </if>
+      <if test="createTime != null">
+        create_time = #{createTime,jdbcType=TIMESTAMP},
+      </if>
+    </set>
+    where id = #{id,jdbcType=INTEGER}
+  </update>
+  <update id="updateByPrimaryKey" parameterType="com.goafanti.common.model.AdminUserCount">
+    update admin_user_count
+    set aid = #{aid,jdbcType=VARCHAR},
+      private_count = #{privateCount,jdbcType=INTEGER},
+      sign_count = #{signCount,jdbcType=INTEGER},
+      channel_count = #{channelCount,jdbcType=INTEGER},
+      public_release_count = #{publicReleaseCount,jdbcType=INTEGER},
+      follow_count = #{followCount,jdbcType=INTEGER},
+      order_count = #{orderCount,jdbcType=INTEGER},
+      date_time = #{dateTime,jdbcType=DATE},
+      create_time = #{createTime,jdbcType=TIMESTAMP}
+    where id = #{id,jdbcType=INTEGER}
+  </update>
+    <update id="updateByAidAndDateSelective">
+      update admin_user_count
+      <set>
+        <if test="privateCount != null">
+          private_count = #{privateCount,jdbcType=INTEGER},
+        </if>
+        <if test="signCount != null">
+          sign_count = #{signCount,jdbcType=INTEGER},
+        </if>
+        <if test="channelCount != null">
+          channel_count = #{channelCount,jdbcType=INTEGER},
+        </if>
+        <if test="publicReleaseCount != null">
+          public_release_count = #{publicReleaseCount,jdbcType=INTEGER},
+        </if>
+        <if test="followCount != null">
+          follow_count = #{followCount,jdbcType=INTEGER},
+        </if>
+        <if test="orderCount != null">
+          order_count = #{orderCount,jdbcType=INTEGER},
+        </if>
+      </set>
+      where aid = #{aid,jdbcType=VARCHAR} and date_time = #{dateTime,jdbcType=DATE}
+    </update>
+</mapper>

+ 139 - 0
src/main/java/com/goafanti/common/model/AdminUserCount.java

@@ -0,0 +1,139 @@
+package com.goafanti.common.model;
+
+import java.io.Serializable;
+import java.util.Date;
+
+/**
+ * admin_user_count
+ * @author 
+ */
+public class AdminUserCount implements Serializable {
+    private Integer id;
+
+    /**
+     * 管理员编号
+     */
+    private String aid;
+
+    /**
+     * 私有数
+     */
+    private Integer privateCount;
+
+    /**
+     * 签单数
+     */
+    private Integer signCount;
+
+    /**
+     * 渠道数
+     */
+    private Integer channelCount;
+
+    /**
+     * 公出数
+     */
+    private Integer publicReleaseCount;
+
+    /**
+     * 跟进数
+     */
+    private Integer followCount;
+
+    /**
+     * 订单数
+     */
+    private Integer orderCount;
+
+    /**
+     * 日期
+     */
+    private Date dateTime;
+
+    /**
+     * 创建时间
+     */
+    private Date createTime;
+
+    private static final long serialVersionUID = 1L;
+
+    public Integer getId() {
+        return id;
+    }
+
+    public void setId(Integer id) {
+        this.id = id;
+    }
+
+    public String getAid() {
+        return aid;
+    }
+
+    public void setAid(String aid) {
+        this.aid = aid;
+    }
+
+    public Integer getPrivateCount() {
+        return privateCount;
+    }
+
+    public void setPrivateCount(Integer privateCount) {
+        this.privateCount = privateCount;
+    }
+
+    public Integer getSignCount() {
+        return signCount;
+    }
+
+    public void setSignCount(Integer signCount) {
+        this.signCount = signCount;
+    }
+
+    public Integer getChannelCount() {
+        return channelCount;
+    }
+
+    public void setChannelCount(Integer channelCount) {
+        this.channelCount = channelCount;
+    }
+
+    public Integer getPublicReleaseCount() {
+        return publicReleaseCount;
+    }
+
+    public void setPublicReleaseCount(Integer publicReleaseCount) {
+        this.publicReleaseCount = publicReleaseCount;
+    }
+
+    public Integer getFollowCount() {
+        return followCount;
+    }
+
+    public void setFollowCount(Integer followCount) {
+        this.followCount = followCount;
+    }
+
+    public Integer getOrderCount() {
+        return orderCount;
+    }
+
+    public void setOrderCount(Integer orderCount) {
+        this.orderCount = orderCount;
+    }
+
+    public Date getDateTime() {
+        return dateTime;
+    }
+
+    public void setDateTime(Date dateTime) {
+        this.dateTime = dateTime;
+    }
+
+    public Date getCreateTime() {
+        return createTime;
+    }
+
+    public void setCreateTime(Date createTime) {
+        this.createTime = createTime;
+    }
+}