Authored by wangnan

优化mqlinster代码结构

Showing 10 changed files with 10 additions and 10 deletions
1 -package com.yoho.search.consumer.index.increment.db; 1 +package com.yoho.search.consumer.index.increment.database;
2 2
3 import com.rabbitmq.client.Channel; 3 import com.rabbitmq.client.Channel;
4 import com.yoho.search.base.utils.ConvertUtils; 4 import com.yoho.search.base.utils.ConvertUtils;
1 -package com.yoho.search.consumer.index.increment.db; 1 +package com.yoho.search.consumer.index.increment.database;
2 2
3 import com.rabbitmq.client.Channel; 3 import com.rabbitmq.client.Channel;
4 import com.yoho.search.base.utils.ConvertUtils; 4 import com.yoho.search.base.utils.ConvertUtils;
1 -package com.yoho.search.consumer.index.increment.db; 1 +package com.yoho.search.consumer.index.increment.database;
2 2
3 import com.rabbitmq.client.Channel; 3 import com.rabbitmq.client.Channel;
4 import com.yoho.search.base.utils.ConvertUtils; 4 import com.yoho.search.base.utils.ConvertUtils;
1 -package com.yoho.search.consumer.index.increment.db; 1 +package com.yoho.search.consumer.index.increment.database;
2 2
3 import com.rabbitmq.client.Channel; 3 import com.rabbitmq.client.Channel;
4 import com.yoho.search.base.utils.ConvertUtils; 4 import com.yoho.search.base.utils.ConvertUtils;
1 -package com.yoho.search.consumer.index.increment.db; 1 +package com.yoho.search.consumer.index.increment.database;
2 2
3 import com.rabbitmq.client.Channel; 3 import com.rabbitmq.client.Channel;
4 import com.yoho.search.base.utils.ConvertUtils; 4 import com.yoho.search.base.utils.ConvertUtils;
1 -package com.yoho.search.consumer.index.increment.db; 1 +package com.yoho.search.consumer.index.increment.database;
2 2
3 import com.rabbitmq.client.Channel; 3 import com.rabbitmq.client.Channel;
4 import com.yoho.search.base.utils.ConvertUtils; 4 import com.yoho.search.base.utils.ConvertUtils;
1 -package com.yoho.search.consumer.index.increment.db; 1 +package com.yoho.search.consumer.index.increment.database;
2 2
3 import com.rabbitmq.client.Channel; 3 import com.rabbitmq.client.Channel;
4 import com.yoho.search.base.utils.ConvertUtils; 4 import com.yoho.search.base.utils.ConvertUtils;
1 -package com.yoho.search.consumer.index.increment.db; 1 +package com.yoho.search.consumer.index.increment.database;
2 2
3 import com.rabbitmq.client.Channel; 3 import com.rabbitmq.client.Channel;
4 import com.yoho.search.base.utils.ConvertUtils; 4 import com.yoho.search.base.utils.ConvertUtils;
1 -package com.yoho.search.consumer.index.increment.db; 1 +package com.yoho.search.consumer.index.increment.database;
2 2
3 import com.rabbitmq.client.Channel; 3 import com.rabbitmq.client.Channel;
4 import com.yoho.search.base.utils.ConvertUtils; 4 import com.yoho.search.base.utils.ConvertUtils;
@@ -66,7 +66,7 @@ public class ForbidenSortBrandLogicService { @@ -66,7 +66,7 @@ public class ForbidenSortBrandLogicService {
66 } 66 }
67 brandIds.add(forbiddenSortBrand.getBrandId()); 67 brandIds.add(forbiddenSortBrand.getBrandId());
68 } 68 }
69 - //remove from db 69 + //remove from database
70 forbiddenSortBrandMapper.deleteAll(); 70 forbiddenSortBrandMapper.deleteAll();
71 long begin = System.currentTimeMillis(); 71 long begin = System.currentTimeMillis();
72 logger.info("deleteAll forbiddenSortBrand success [cost={}]", (System.currentTimeMillis() - begin)); 72 logger.info("deleteAll forbiddenSortBrand success [cost={}]", (System.currentTimeMillis() - begin));