| | |
| | | qualityFactoryMapper.updateWeight(weight, time);
|
| | | }
|
| | |
|
| | | @Override
|
| | | public long queryNeedUpdateCount() {
|
| | | return qualityFactoryMapper.countQueryNeedUpdate();
|
| | | }
|
| | |
|
| | | @Override
|
| | | public List<Long> queryNeedUpdate(long start, int count, int hour) {
|
| | | return qualityFactoryMapper.queryNeedUpdate(start, count, hour);
|
| | | }
|
| | |
|
| | | /**
|
| | | * 获取缓存
|
| | |
| | | }
|
| | |
|
| | | @Override
|
| | | @Transactional
|
| | | public void autoInsertOrUpadateStorage(BoutiqueAutoRule autoRule, List<TaoBaoGoodsBrief> goodsList, List<Label> listLabs) {
|
| | |
|
| | | if (goodsList == null || goodsList.size() == 0) {
|
| | |
| | | for (TaoBaoGoodsBrief goodsBrief : goodsList) {
|
| | | listAuctionId.add(goodsBrief.getAuctionId());
|
| | | }
|
| | | List<Long> listHas = taoBaoGoodsBriefService.listExistById(listAuctionId);
|
| | |
|
| | | |
| | | List<Long> listHas = new ArrayList<Long>();
|
| | | if (listAuctionId.size() > 0) {
|
| | | listHas = taoBaoGoodsBriefService.listExistById(listAuctionId);
|
| | | }
|
| | |
|
| | |
|
| | | // 遍历商品
|