|
@@ -4200,6 +4200,8 @@ public class GoodsServiceImpl implements GoodsService {
|
|
|
@Override
|
|
@Override
|
|
|
public void exportKindProductsCount(Date startTime, Date endTime, HttpServletResponse response) throws Exception {
|
|
public void exportKindProductsCount(Date startTime, Date endTime, HttpServletResponse response) throws Exception {
|
|
|
logger.info("批量导出类目", System.currentTimeMillis() + "开始时间");
|
|
logger.info("批量导出类目", System.currentTimeMillis() + "开始时间");
|
|
|
|
|
+ jdbcTemplate.execute("drop temporary table temp_kind");
|
|
|
|
|
+
|
|
|
StringBuffer where = new StringBuffer(" from products where pr_kind is not null");
|
|
StringBuffer where = new StringBuffer(" from products where pr_kind is not null");
|
|
|
if (null != startTime) {
|
|
if (null != startTime) {
|
|
|
where.append(" and pr_create_time >= '").append(new java.sql.Date(startTime.getTime())).append("' ");
|
|
where.append(" and pr_create_time >= '").append(new java.sql.Date(startTime.getTime())).append("' ");
|