Showing
1 changed file
with
2 additions
and
3 deletions
1 | package com.yohoufo.order.service.impl; | 1 | package com.yohoufo.order.service.impl; |
2 | 2 | ||
3 | +import com.yoho.core.dal.datasource.annotation.Database; | ||
3 | import com.yohobuy.ufo.model.order.common.OrderStatus; | 4 | import com.yohobuy.ufo.model.order.common.OrderStatus; |
4 | -import com.yohobuy.ufo.model.order.constants.RegionEnum; | ||
5 | import com.yohoufo.common.alarm.EventBusPublisher; | 5 | import com.yohoufo.common.alarm.EventBusPublisher; |
6 | import com.yohoufo.common.alarm.SmsAlarmEvent; | 6 | import com.yohoufo.common.alarm.SmsAlarmEvent; |
7 | import com.yohoufo.common.exception.UfoServiceException; | 7 | import com.yohoufo.common.exception.UfoServiceException; |
@@ -10,7 +10,6 @@ import com.yohoufo.dal.order.BuyerOrderMapper; | @@ -10,7 +10,6 @@ import com.yohoufo.dal.order.BuyerOrderMapper; | ||
10 | import com.yohoufo.order.constants.ClientSpecialSemanticCode; | 10 | import com.yohoufo.order.constants.ClientSpecialSemanticCode; |
11 | import com.yohoufo.order.convert.builder.AlarmEventBuilder; | 11 | import com.yohoufo.order.convert.builder.AlarmEventBuilder; |
12 | import com.yohoufo.order.service.proxy.UserProxyService; | 12 | import com.yohoufo.order.service.proxy.UserProxyService; |
13 | -import com.yohoufo.order.service.seller.support.SkupTypeCodeSupport; | ||
14 | import com.yohoufo.order.utils.LoggerUtils; | 13 | import com.yohoufo.order.utils.LoggerUtils; |
15 | import com.yohoufo.order.utils.SellerGoodsHelper; | 14 | import com.yohoufo.order.utils.SellerGoodsHelper; |
16 | import org.apache.commons.lang3.StringUtils; | 15 | import org.apache.commons.lang3.StringUtils; |
@@ -63,7 +62,7 @@ public class ShoppingRiskWatchDog { | @@ -63,7 +62,7 @@ public class ShoppingRiskWatchDog { | ||
63 | } | 62 | } |
64 | } | 63 | } |
65 | 64 | ||
66 | - | 65 | + @Database(DataSource="ufo_order") |
67 | public void checkAlipayBlackUser(int uid, String alipayUid){ | 66 | public void checkAlipayBlackUser(int uid, String alipayUid){ |
68 | if (StringUtils.isBlank(alipayUid)){ | 67 | if (StringUtils.isBlank(alipayUid)){ |
69 | logger.warn("in checkAlipayBlackUser alipayUid null, uid {}", uid); | 68 | logger.warn("in checkAlipayBlackUser alipayUid null, uid {}", uid); |
-
Please register or login to post a comment