| | |
| | | import com.yeshi.fanli.service.inter.msg.MsgOrderDetailService;
|
| | | import com.yeshi.fanli.service.inter.msg.UserOrderMsgNotificationService;
|
| | | import com.yeshi.fanli.service.inter.taobao.TaoBaoWeiQuanOrderService;
|
| | | import com.yeshi.fanli.util.Constant;
|
| | |
|
| | | @Service
|
| | | public class TaoBaoWeiQuanOrderServiceImpl implements TaoBaoWeiQuanOrderService {
|
| | |
| | | for (MsgOrderDetail msg : msgList) {
|
| | | if (msg.getType() == MsgTypeOrderTypeEnum.fanli) {
|
| | | userOrderMsgNotificationService.orderFanLiStateChanged(msg.getUser().getId(),
|
| | | order.getOrderId(), null, null, CommonOrder.STATE_WQ);
|
| | | order.getOrderId(),Constant.SOURCE_TYPE_TAOBAO, null, null, CommonOrder.STATE_WQ);
|
| | | } else if (msg.getType() == MsgTypeOrderTypeEnum.invite) {
|
| | | userOrderMsgNotificationService.orderInviteStateChanged(msg.getUser().getId(),
|
| | | order.getOrderId(), null, null, CommonOrder.STATE_WQ);
|
| | | order.getOrderId(), Constant.SOURCE_TYPE_TAOBAO,null, null, CommonOrder.STATE_WQ);
|
| | | } else if (msg.getType() == MsgTypeOrderTypeEnum.share) {
|
| | | userOrderMsgNotificationService.orderShareStateChanged(msg.getUser().getId(),
|
| | | order.getOrderId(), null, null, CommonOrder.STATE_WQ);
|
| | | order.getOrderId(),Constant.SOURCE_TYPE_TAOBAO, null, null, CommonOrder.STATE_WQ);
|
| | | }
|
| | | }
|
| | | }
|