Authored by hugufei

fix bug

... ... @@ -17,10 +17,12 @@ public class PressMySqlService {
private ProductMapper productMapper;
public Map<String, Object> pressProductTable(String brandIds, int size) {
long begin = System.currentTimeMillis();
List<String> brandIdList = Arrays.asList(brandIds.split(","));
List<Integer> skns = productMapper.selectBrandNewestSkns(brandIdList, 1, size);
Map<String, Object> results = new HashMap<String, Object>();
results.put("skns", skns);
results.put("cost", System.currentTimeMillis()-begin);
return results;
}
... ...