|
|
@@ -4077,7 +4077,7 @@ public class GoodsServiceImpl implements GoodsService {
|
|
|
}
|
|
|
Integer addend = 60 * 60 * 24 * 1000;
|
|
|
endDate = new java.sql.Date(endDate.getTime() + addend);
|
|
|
- StringBuffer sql = new StringBuffer("select br_name_en as brand, count(1) as count from product$brand where br_createtime >= ? and br_createtime < ? group by br_name_en");
|
|
|
+ StringBuffer sql = new StringBuffer("select br_name_en as brand, count(1) as count from product$brand where br_modifytime >= ? and br_modifytime < ? group by br_name_en");
|
|
|
StringBuffer countSql = new StringBuffer("select count(1) from (").append(sql).append(") as a");
|
|
|
Integer count = commonDao.queryForObject(countSql.toString(), Integer.class, startDate, endDate);
|
|
|
// 分页参数
|