提交修
This commit is contained in:
parent
4c90d8ab13
commit
7b946e5056
@ -79,6 +79,10 @@ public enum ActionEnums {
|
|||||||
|
|
||||||
Admin_Seller_Reject_Draw("Admin_Seller_Reject_Draw", "卖家拒绝提现", "/mm/draw/reject",
|
Admin_Seller_Reject_Draw("Admin_Seller_Reject_Draw", "卖家拒绝提现", "/mm/draw/reject",
|
||||||
AwardStatusEnums.draw_failed.getStatus()),
|
AwardStatusEnums.draw_failed.getStatus()),
|
||||||
|
|
||||||
|
Admin_Track_Logistics("Admin_Track_Logistics", "admin查看物流", "/mm/logistics/query", null),
|
||||||
|
|
||||||
|
App_Track_Logistics("Admin_Track_Logistics", "app查看物流", "/app/logistics/query", null),
|
||||||
;
|
;
|
||||||
/***
|
/***
|
||||||
* 取消按钮
|
* 取消按钮
|
||||||
|
|||||||
@ -27,6 +27,7 @@ public abstract class AbstractOrderAction {
|
|||||||
new DeliveredAction(),
|
new DeliveredAction(),
|
||||||
new ShippedAction(),
|
new ShippedAction(),
|
||||||
new ToShippingAction(),
|
new ToShippingAction(),
|
||||||
|
new TrackLogisticsAction(),
|
||||||
new UnShippingAction()
|
new UnShippingAction()
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
@ -0,0 +1,20 @@
|
|||||||
|
package com.heyu.api.data.service.impl.order;
|
||||||
|
|
||||||
|
import com.heyu.api.data.entity.vv.VvTradeOrderLineEntity;
|
||||||
|
import com.heyu.api.data.enums.ActionEnums;
|
||||||
|
import com.heyu.api.data.service.impl.AbstractOrderAction;
|
||||||
|
import com.heyu.api.data.utils.StringUtils;
|
||||||
|
|
||||||
|
public class TrackLogisticsAction extends AbstractOrderAction {
|
||||||
|
@Override
|
||||||
|
public ActionEnums getAction(VvTradeOrderLineEntity vvTradeOrderLineEntity, boolean isApp) {
|
||||||
|
if (StringUtils.isNotEmpty(vvTradeOrderLineEntity.getTrackNumber())) {
|
||||||
|
if (isApp) {
|
||||||
|
return ActionEnums.App_Track_Logistics;
|
||||||
|
} else {
|
||||||
|
return ActionEnums.Admin_Track_Logistics;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user