yujian
2019-01-22 b7bdd1798eaeb784ad5131bf5847f292df33466c
精选库代码优化
6个文件已修改
1个文件已添加
522 ■■■■■ 已修改文件
fanli/src/main/java/com/yeshi/fanli/controller/admin/QualityFactoryAdminController.java 97 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
fanli/src/main/java/com/yeshi/fanli/dao/mybatis/lable/QualityFactoryMapper.java 49 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
fanli/src/main/java/com/yeshi/fanli/mapping/lable/QualityFactoryMapper.xml 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
fanli/src/main/java/com/yeshi/fanli/service/impl/lable/QualityFactoryServiceImpl.java 25 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
fanli/src/main/java/com/yeshi/fanli/service/inter/lable/QualityFactoryService.java 39 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
fanli/src/main/java/com/yeshi/fanli/util/taobao/TaoKeApiUtil.java 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
fanli/src/main/java/com/yeshi/fanli/vo/quality/QualityFactoryVO.java 299 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
fanli/src/main/java/com/yeshi/fanli/controller/admin/QualityFactoryAdminController.java
@@ -40,6 +40,7 @@
import com.yeshi.fanli.util.StringUtil;
import com.yeshi.fanli.util.taobao.TaoBaoUtil;
import com.yeshi.fanli.util.taobao.TaoKeApiUtil;
import com.yeshi.fanli.vo.quality.QualityFactoryVO;
@Controller
@RequestMapping("admin/new/api/v1/qualityFactory")
@@ -223,44 +224,12 @@
    }
    /**
     *
     * @param callback
     * @param pageIndex
     * @param key
     *            搜索
     * @param totalSales
     *            销售量
     * @param price
     *            价格
     * @param tkRate
     *            佣金比例
     * @param goodsSource
     * @param days
     * @param startZkPrice
     * @param endZkPrice
     * @param startBiz30day
     * @param endBiz30day
     * @param startWeight
     * @param endWeight
     * @param startTkRate
     * @param endTkRate
     * @param startAmount
     * @param endAmount
     * @param hasCoupon
     * @param freeShipment
     * @param isPrepay
     * @param payRate30
     * @param goodRate
     * @param rfdRate
     * 查询
     * @param out
     */
    @RequestMapping(value = "query")
    public void query(String callback, Integer pageIndex,Integer pageSize, String key, Integer sort, Integer goodsSource,
            Integer days, Integer startZkPrice, Integer endZkPrice, Integer startBiz30day,
            Integer endBiz30day, Integer startWeight, Integer endWeight, Integer startTkRate,
            Integer endTkRate, Integer startAmount, Integer endAmount, Integer hasCoupon,
            Integer freeShipment, Integer isPrepay, Integer payRate30, Integer goodRate, Integer rfdRate,
            Integer startPropor, Integer endPropor,Long gcid, Integer keyType, PrintWriter out) {
    public void query(String callback, Integer pageIndex,Integer pageSize,  Integer sort,
            QualityFactoryVO qualityFactoryVO, PrintWriter out) {
        try {
            if (pageSize == null)
@@ -305,11 +274,14 @@
                }
            }
            
            qualityFactoryVO.setPrice(price);
            qualityFactoryVO.setTkRate(tkRate);
            qualityFactoryVO.setTotalSales(totalSales);
            qualityFactoryVO.setPropor(propor);
            qualityFactoryVO.setStart((pageIndex - 1) * pageSize);
            qualityFactoryVO.setCount(pageSize);
            List<QualityFactory> selectionList = qualityFactoryService.query((pageIndex - 1) * pageSize, pageSize, key, totalSales,
                    price, tkRate, propor, goodsSource, days, startZkPrice, endZkPrice, startBiz30day, endBiz30day,
                    startWeight, endWeight, startTkRate, endTkRate, startAmount, endAmount, hasCoupon,
                    freeShipment, isPrepay, payRate30, goodRate, rfdRate, startPropor,  endPropor, gcid, keyType);
            List<QualityFactory> selectionList = qualityFactoryService.query(qualityFactoryVO);
            /* 暂无数据显示 */
            if (selectionList == null || selectionList.size() == 0) {
@@ -319,10 +291,7 @@
            /* 有数据:处理返回格式 */
            long count = qualityFactoryService.queryCount(key, goodsSource, days, startZkPrice, endZkPrice, startBiz30day,
                    endBiz30day, startWeight, endWeight, startTkRate, endTkRate, startAmount,
                    endAmount, hasCoupon, freeShipment, isPrepay, payRate30, goodRate, rfdRate,
                    startPropor, endPropor, gcid, keyType);
            long count = qualityFactoryService.queryCount(qualityFactoryVO);
            int totalPage = (int) (count % pageSize == 0 ? count / pageSize : count / pageSize + 1);
@@ -360,7 +329,13 @@
                        if (auctionIdBuf != null && auctionIdBuf.length() > 0) {
                            String auctionIds = auctionIdBuf.toString();
                            String ids = auctionIds.substring(0, auctionIds.length() -1);
                            List<TaoBaoGoodsBrief> list = TaoKeApiUtil.getBatchGoodsInfos(ids);
                            List<TaoBaoGoodsBrief> list = null;
                            try {
                                list = TaoKeApiUtil.getBatchGoodsInfos(ids);
                            } catch (Exception e) {
                                e.printStackTrace();
                            }
                            if (list != null && list.size() > 0) {
                                goodsBriefList.addAll(list);
                            }
@@ -373,7 +348,13 @@
                        // 大于40参数
                        String auctionIds = auctionIdBuf.toString();
                        String ids = auctionIds.substring(0, auctionIds.length() -1);
                        List<TaoBaoGoodsBrief> list = TaoKeApiUtil.getBatchGoodsInfos(ids);
                        List<TaoBaoGoodsBrief> list = null;
                        try {
                            list = TaoKeApiUtil.getBatchGoodsInfos(ids);
                        } catch (Exception e) {
                            e.printStackTrace();
                        }
                        if (list != null && list.size() > 0) {
                            goodsBriefList.addAll(list);
                        }
@@ -385,7 +366,13 @@
                        // 最后一个
                        String auctionIds = auctionIdBuf.toString();
                        String ids = auctionIds.substring(0, auctionIds.length() -1);
                        List<TaoBaoGoodsBrief> list = TaoKeApiUtil.getBatchGoodsInfos(ids);
                        List<TaoBaoGoodsBrief> list = null;
                        try {
                            list = TaoKeApiUtil.getBatchGoodsInfos(ids);
                        } catch (Exception e) {
                            e.printStackTrace();
                        }
                        if (list != null && list.size() > 0) {
                            goodsBriefList.addAll(list);
                        }
@@ -476,11 +463,11 @@
                
                
                
                // TODO /* 券后价--计算 */
                 /* 券后价--计算 */
                BigDecimal couponPrice = TaoBaoUtil.getAfterUseCouplePrice(taoBaoGoodsBrief);
                map.put("couponPrice", couponPrice);
                // TODO /* 预计收益: 公司、用户 */
                /* 预计收益: 公司、用户 */
                BigDecimal tkRateBrief = taoBaoGoodsBrief.getTkRate();
                BigDecimal zkPrice = taoBaoGoodsBrief.getZkPrice();
                BigDecimal profit = MoneyBigDecimalUtil.mul(tkRateBrief, zkPrice);
@@ -634,7 +621,6 @@
            }
        } catch (Exception e) {
            // TODO Auto-generated catch block
            e.printStackTrace();
            out.print(JsonUtil.loadJSONP(callback, JsonUtil.loadFalseResult("操作异常")));
        }
@@ -663,7 +649,6 @@
            }
        } catch (Exception e) {
            // TODO Auto-generated catch block
            e.printStackTrace();
            out.print(JsonUtil.loadJSONP(callback, JsonUtil.loadFalseResult("操作异常")));
        }
@@ -710,7 +695,6 @@
            
        } catch (QualityFactoryException e) {
            // TODO Auto-generated catch block
            e.printStackTrace();
            out.print(JsonUtil.loadJSONP(callback, JsonUtil.loadFalseResult("操作异常")));
        }
@@ -780,7 +764,6 @@
            JsonUtil.printMode(out, callback, JsonUtil.loadTrueResult(data));
        } catch (Exception e) {
            // TODO Auto-generated catch block
            JsonUtil.printMode(out, callback, JsonUtil.loadFalseResult("操作异常"));
            e.printStackTrace();
        }
@@ -862,7 +845,6 @@
            JsonUtil.printMode(out, callback, JsonUtil.loadTrueResult(data));
        } catch (Exception e) {
            // TODO Auto-generated catch block
            JsonUtil.printMode(out, callback, JsonUtil.loadFalseResult("操作异常"));
            e.printStackTrace();
        }
@@ -881,13 +863,6 @@
    public void addBatchcGoodsLabel(String callback, String labIds, Long id, HttpServletRequest request, PrintWriter out) {
        try {
            // 获取当前操作用户
            AdminUser admin = (AdminUser) request.getSession().getAttribute(Constant.SESSION_ADMIN);
//            if (admin == null) {
//                out.print(JsonUtil.loadJSONP(callback, JsonUtil.loadFalseResult("当前账户失效,请重新登陆。")));
//                return;
//            }
            if (StringUtil.isNullOrEmpty(labIds)) {
                JsonUtil.printMode(out, callback, JsonUtil.loadFalseResult("未选择标签"));
                return;
@@ -908,6 +883,8 @@
            TaoBaoGoodsBrief taoBaoGoodsBrief = taoBaoGoodsBriefService.selectByPrimaryKey(id);
            // 获取当前操作用户
            AdminUser admin = (AdminUser) request.getSession().getAttribute(Constant.SESSION_ADMIN);
            labelGoodsService.addBatchByLabId(taoBaoGoodsBrief, labIdList, admin);
            JsonUtil.printMode(out, callback, JsonUtil.loadTrueResult("操作成功"));
fanli/src/main/java/com/yeshi/fanli/dao/mybatis/lable/QualityFactoryMapper.java
@@ -6,6 +6,7 @@
import org.apache.ibatis.annotations.Param;
import com.yeshi.fanli.entity.bus.lable.QualityFactory;
import com.yeshi.fanli.vo.quality.QualityFactoryVO;
public interface QualityFactoryMapper {
@@ -76,53 +77,9 @@
    long countQueryNeedUpdate();
    // 精选库查询
    List<QualityFactory> query(@Param("start") long start, @Param("count") int count, @Param("key") String key,
            // 排序字段 :销量、价格、佣金
            @Param("totalSales") Integer totalSales, @Param("price") Integer price, @Param("tkRate") Integer tkRate,
            // 商品来源、入库时间
            @Param("propor") Integer propor, @Param("goodsSource") Integer goodsSource, @Param("days") Integer days,
            // 在售价范围
            @Param("startZkPrice") Integer startZkPrice, @Param("endZkPrice") Integer endZkPrice,
            // 月销量范围
            @Param("startBiz30day") Integer startBiz30day, @Param("endBiz30day") Integer endBiz30day,
            // 权重范围
            @Param("startWeight") Integer startWeight, @Param("endWeight") Integer endWeight,
            // 佣金比例范围
            @Param("startTkRate") Integer startTkRate, @Param("endTkRate") Integer endTkRate,
            // 券面额:减多少
            @Param("startAmount") Integer startAmount, @Param("endAmount") Integer endAmount,
            // 是否: 优惠券 、包邮
            @Param("hasCoupon") Integer hasCoupon, @Param("freeShipment") Integer freeShipment,
            // 是否:消费者保障 、成交转化
            @Param("isPrepay") Integer isPrepay, @Param("payRate30") Integer payRate30,
            // 是否:好评率、 退款率
            @Param("goodRate") Integer goodRate, @Param("rfdRate") Integer rfdRate,
            // 券比例: 券面值/在售价
            @Param("startPropor") Integer startPropor, @Param("endPropor") Integer endPropor,
            // 类目id 搜索此类型
            @Param("gcid") Long gcid, @Param("keyType") Integer keyType);
    List<QualityFactory> query(QualityFactoryVO qualityFactoryVO);
    long queryCount(@Param("key") String key, @Param("goodsSource") Integer goodsSource, @Param("days") Integer days,
            // 在售价范围
            @Param("startZkPrice") Integer startZkPrice, @Param("endZkPrice") Integer endZkPrice,
            // 月销量范围
            @Param("startBiz30day") Integer startBiz30day, @Param("endBiz30day") Integer endBiz30day,
            // 权重范围
            @Param("startWeight") Integer startWeight, @Param("endWeight") Integer endWeight,
            // 佣金比例范围
            @Param("startTkRate") Integer startTkRate, @Param("endTkRate") Integer endTkRate,
            // 券面额:减多少
            @Param("startAmount") Integer startAmount, @Param("endAmount") Integer endAmount,
            // 是否: 优惠券 、包邮
            @Param("hasCoupon") Integer hasCoupon, @Param("freeShipment") Integer freeShipment,
            // 是否:消费者保障 、成交转化
            @Param("isPrepay") Integer isPrepay, @Param("payRate30") Integer payRate30,
            // 是否:好评率、 退款率
            @Param("goodRate") Integer goodRate, @Param("rfdRate") Integer rfdRate,
            // 券比例: 券面值/在售价
            @Param("startPropor") Integer startPropor, @Param("endPropor") Integer endPropor,
            // 类目id
            @Param("gcid") Long gcid, @Param("keyType") Integer keyType);
    long queryCount(QualityFactoryVO qualityFactoryVO);
    /**
     * 统计商品数量
fanli/src/main/java/com/yeshi/fanli/mapping/lable/QualityFactoryMapper.xml
@@ -298,7 +298,7 @@
    <!-- 查询精选商品信息 -->
    <select id="query" resultMap="ResultMap">
    <select id="query" parameterType="com.yeshi.fanli.vo.quality.QualityFactoryVO" resultMap="ResultMap">
        SELECT ts.* FROM (
        SELECT DISTINCT( tt.`sg_id`) AS id FROM
@@ -458,7 +458,7 @@
    </select>
    <select id="queryCount" resultType="java.lang.Long">
    <select id="queryCount" parameterType="com.yeshi.fanli.vo.quality.QualityFactoryVO"  resultType="java.lang.Long">
        <!-- 根据条件统计所有标签数量 -->
        SELECT count(ts.sg_id) FROM (
        SELECT DISTINCT( tt.`sg_id`) AS id FROM
fanli/src/main/java/com/yeshi/fanli/service/impl/lable/QualityFactoryServiceImpl.java
@@ -41,6 +41,7 @@
import com.yeshi.fanli.util.StringUtil;
import com.yeshi.fanli.util.taobao.TaoBaoUtil;
import com.yeshi.fanli.util.taobao.TaoKeApiUtil;
import com.yeshi.fanli.vo.quality.QualityFactoryVO;
@Service
public class QualityFactoryServiceImpl implements QualityFactoryService {
@@ -174,29 +175,13 @@
    }
    @Override
    public List<QualityFactory> query(long start, int count, String key, Integer totalSales, Integer price,
            Integer tkRate, Integer propor, Integer goodsSource, Integer days, Integer startZkPrice, Integer endZkPrice,
            Integer startBiz30day, Integer endBiz30day, Integer startWeight, Integer endWeight, Integer startTkRate,
            Integer endTkRate, Integer startAmount, Integer endAmount, Integer hasCoupon, Integer freeShipment,
            Integer isPrepay, Integer payRate30, Integer goodRate, Integer rfdRate, Integer startPropor,
            Integer endPropor, Long gcid, Integer keyType) throws QualityFactoryException {
        return qualityFactoryMapper.query(start, count, key, totalSales, price, tkRate, propor, goodsSource, days,
                startZkPrice, endZkPrice, startBiz30day, endBiz30day, startWeight, endWeight, startTkRate, endTkRate,
                startAmount, endAmount, hasCoupon, freeShipment, isPrepay, payRate30, goodRate, rfdRate, startPropor,
                endPropor, gcid, keyType);
    public List<QualityFactory> query(QualityFactoryVO qualityFactoryVO) throws QualityFactoryException {
        return qualityFactoryMapper.query(qualityFactoryVO);
    }
    @Override
    public long queryCount(String key, Integer goodsSource, Integer days, Integer startZkPrice, Integer endZkPrice,
            Integer startBiz30day, Integer endBiz30day, Integer startWeight, Integer endWeight, Integer startTkRate,
            Integer endTkRate, Integer startAmount, Integer endAmount, Integer hasCoupon, Integer freeShipment,
            Integer isPrepay, Integer payRate30, Integer goodRate, Integer rfdRate, Integer startPropor,
            Integer endPropor, Long gcid, Integer keyType) throws QualityFactoryException {
        return qualityFactoryMapper.queryCount(key, goodsSource, days, startZkPrice, endZkPrice, startBiz30day,
                endBiz30day, startWeight, endWeight, startTkRate, endTkRate, startAmount, endAmount, hasCoupon,
                freeShipment, isPrepay, payRate30, goodRate, rfdRate, startPropor, endPropor, gcid, keyType);
    public long queryCount(QualityFactoryVO qualityFactoryVO) throws QualityFactoryException {
        return qualityFactoryMapper.queryCount(qualityFactoryVO);
    }
    @Override
fanli/src/main/java/com/yeshi/fanli/service/inter/lable/QualityFactoryService.java
@@ -9,6 +9,7 @@
import com.yeshi.fanli.entity.common.AdminUser;
import com.yeshi.fanli.entity.taobao.TaoBaoGoodsBrief;
import com.yeshi.fanli.exception.QualityFactoryException;
import com.yeshi.fanli.vo.quality.QualityFactoryVO;
public interface QualityFactoryService {
@@ -89,45 +90,11 @@
    /**
     * 精选库商品筛选
     * 
     * @param start
     * @param count
     * @param key
     * @param totalSales
     * @param price
     * @param tkRate
     * @param goodsSource
     * @param days
     * @param startZkPrice
     * @param endZkPrice
     * @param startBiz30day
     * @param endBiz30day
     * @param startWeight
     * @param endWeight
     * @param startTkRate
     * @param endTkRate
     * @param startAmount
     * @param endAmount
     * @param hasCoupon
     * @param freeShipment
     * @param isPrepay
     * @param payRate30
     * @param goodRate
     * @param rfdRate
     * @return
     * @throws QualityFactoryException
     */
    public List<QualityFactory> query(long start, int count, String key, Integer totalSales, Integer price,
            Integer tkRate, Integer propor, Integer goodsSource, Integer days, Integer startZkPrice, Integer endZkPrice,
            Integer startBiz30day, Integer endBiz30day, Integer startWeight, Integer endWeight, Integer startTkRate,
            Integer endTkRate, Integer startAmount, Integer endAmount, Integer hasCoupon, Integer freeShipment,
            Integer isPrepay, Integer payRate30, Integer goodRate, Integer rfdRate, Integer startPropor,
            Integer endPropor, Long gcid, Integer keyType) throws QualityFactoryException;
    public List<QualityFactory> query(QualityFactoryVO qualityFactoryVO) throws QualityFactoryException;
    public long queryCount(String key, Integer goodsSource, Integer days, Integer startZkPrice, Integer endZkPrice,
            Integer startBiz30day, Integer endBiz30day, Integer startWeight, Integer endWeight, Integer startTkRate,
            Integer endTkRate, Integer startAmount, Integer endAmount, Integer hasCoupon, Integer freeShipment,
            Integer isPrepay, Integer payRate30, Integer goodRate, Integer rfdRate, Integer startPropor,
            Integer endPropor, Long gcid, Integer keyType) throws QualityFactoryException;
    public long queryCount(QualityFactoryVO qualityFactoryVO) throws QualityFactoryException;
    /**
     * 批量设置权重 + 随机权重
fanli/src/main/java/com/yeshi/fanli/util/taobao/TaoKeApiUtil.java
@@ -7,6 +7,8 @@
import java.util.List;
import java.util.Map;
import org.yeshi.utils.taobao.TbImgUtil;
import com.taobao.api.ApiException;
import com.yeshi.fanli.entity.taobao.RelateGoods;
import com.yeshi.fanli.entity.taobao.SearchFilter;
@@ -24,9 +26,6 @@
import com.yeshi.fanli.util.MoneyBigDecimalUtil;
import com.yeshi.fanli.util.StringUtil;
import com.yeshi.fanli.util.TimeUtil;
import org.fanli.TaoKeTest;
import org.yeshi.utils.taobao.TbImgUtil;
import net.sf.json.JSONArray;
import net.sf.json.JSONObject;
@@ -327,8 +326,8 @@
                if (item.optBoolean("free_shipment"))
                    goods.setFreeShipment(1);
                
                if("1".equalsIgnoreCase(item.optString("material_lib_type")))
                    TaoKeTest.count++;
                //if("1".equalsIgnoreCase(item.optString("material_lib_type")))
                //TaoKeTest.count++;
                goodsList.add(goods);
            }
        }
fanli/src/main/java/com/yeshi/fanli/vo/quality/QualityFactoryVO.java
New file
@@ -0,0 +1,299 @@
package com.yeshi.fanli.vo.quality;
import java.io.Serializable;
import com.yeshi.fanli.entity.bus.lable.QualityFactory;
public class QualityFactoryVO extends QualityFactory implements Serializable {
    private static final long serialVersionUID = 1L;
    /* 筛选字段 */
    private String key;
    // 精确筛选
    private Integer keyType;
    // 类目id 搜索此类型
    private Long gcid;
    // 券比例
    private Integer propor;
    // 入库天数
    private Integer days;
    // 是否消费者保障
    private Integer isPrepay;
    // 是否成交转化
    private Integer payRate30;
    // 是否好评率、
    private Integer goodRate;
    // 是否退款率
    private Integer rfdRate;
    // 是否优惠券 、
    private Integer hasCoupon;
    // 是否包邮
    private Integer freeShipment;
    // 在售价范围
    private Integer startZkPrice;
    private Integer endZkPrice;
    // 月销量范围
    private Integer startBiz30day;
    private Integer endBiz30day;
    // 权重范围
    private Integer startWeight;
    private Integer endWeight;
    // 佣金比例范围
    private Integer startTkRate;
    private Integer endTkRate;
    // 券面额:减多少
    private Integer startAmount;
    private Integer endAmount;
    // 券比例: 券面值/在售价
    private Integer startPropor;
    private Integer endPropor;
    /* 排序字段 : 1 正序 2倒序 */
    // 销量
    private Integer totalSales;
    // 价格
    private Integer price;
    // 佣金
    private Integer tkRate;
    // 起始位置
    private long start;
    // 总条数
    private int count;
    public String getKey() {
        return key;
    }
    public void setKey(String key) {
        this.key = key;
    }
    public Integer getKeyType() {
        return keyType;
    }
    public void setKeyType(Integer keyType) {
        this.keyType = keyType;
    }
    public Long getGcid() {
        return gcid;
    }
    public void setGcid(Long gcid) {
        this.gcid = gcid;
    }
    public Integer getPropor() {
        return propor;
    }
    public void setPropor(Integer propor) {
        this.propor = propor;
    }
    public Integer getDays() {
        return days;
    }
    public void setDays(Integer days) {
        this.days = days;
    }
    public Integer getIsPrepay() {
        return isPrepay;
    }
    public void setIsPrepay(Integer isPrepay) {
        this.isPrepay = isPrepay;
    }
    public Integer getPayRate30() {
        return payRate30;
    }
    public void setPayRate30(Integer payRate30) {
        this.payRate30 = payRate30;
    }
    public Integer getGoodRate() {
        return goodRate;
    }
    public void setGoodRate(Integer goodRate) {
        this.goodRate = goodRate;
    }
    public Integer getRfdRate() {
        return rfdRate;
    }
    public void setRfdRate(Integer rfdRate) {
        this.rfdRate = rfdRate;
    }
    public Integer getHasCoupon() {
        return hasCoupon;
    }
    public void setHasCoupon(Integer hasCoupon) {
        this.hasCoupon = hasCoupon;
    }
    public Integer getFreeShipment() {
        return freeShipment;
    }
    public void setFreeShipment(Integer freeShipment) {
        this.freeShipment = freeShipment;
    }
    public Integer getStartZkPrice() {
        return startZkPrice;
    }
    public void setStartZkPrice(Integer startZkPrice) {
        this.startZkPrice = startZkPrice;
    }
    public Integer getEndZkPrice() {
        return endZkPrice;
    }
    public void setEndZkPrice(Integer endZkPrice) {
        this.endZkPrice = endZkPrice;
    }
    public Integer getStartBiz30day() {
        return startBiz30day;
    }
    public void setStartBiz30day(Integer startBiz30day) {
        this.startBiz30day = startBiz30day;
    }
    public Integer getEndBiz30day() {
        return endBiz30day;
    }
    public void setEndBiz30day(Integer endBiz30day) {
        this.endBiz30day = endBiz30day;
    }
    public Integer getStartWeight() {
        return startWeight;
    }
    public void setStartWeight(Integer startWeight) {
        this.startWeight = startWeight;
    }
    public Integer getEndWeight() {
        return endWeight;
    }
    public void setEndWeight(Integer endWeight) {
        this.endWeight = endWeight;
    }
    public Integer getStartTkRate() {
        return startTkRate;
    }
    public void setStartTkRate(Integer startTkRate) {
        this.startTkRate = startTkRate;
    }
    public Integer getEndTkRate() {
        return endTkRate;
    }
    public void setEndTkRate(Integer endTkRate) {
        this.endTkRate = endTkRate;
    }
    public Integer getStartAmount() {
        return startAmount;
    }
    public void setStartAmount(Integer startAmount) {
        this.startAmount = startAmount;
    }
    public Integer getEndAmount() {
        return endAmount;
    }
    public void setEndAmount(Integer endAmount) {
        this.endAmount = endAmount;
    }
    public Integer getStartPropor() {
        return startPropor;
    }
    public void setStartPropor(Integer startPropor) {
        this.startPropor = startPropor;
    }
    public Integer getEndPropor() {
        return endPropor;
    }
    public void setEndPropor(Integer endPropor) {
        this.endPropor = endPropor;
    }
    public Integer getTotalSales() {
        return totalSales;
    }
    public void setTotalSales(Integer totalSales) {
        this.totalSales = totalSales;
    }
    public Integer getPrice() {
        return price;
    }
    public void setPrice(Integer price) {
        this.price = price;
    }
    public Integer getTkRate() {
        return tkRate;
    }
    public void setTkRate(Integer tkRate) {
        this.tkRate = tkRate;
    }
    public long getStart() {
        return start;
    }
    public void setStart(long start) {
        this.start = start;
    }
    public int getCount() {
        return count;
    }
    public void setCount(int count) {
        this.count = count;
    }
}