Authored by mali

寄存定时通知 下架功能

... ... @@ -18,6 +18,7 @@ import java.util.stream.Collectors;
import javax.annotation.Resource;
import com.yohobuy.ufo.model.order.constants.*;
import org.apache.commons.collections.CollectionUtils;
import org.apache.commons.lang3.StringUtils;
import org.elasticsearch.common.collect.Lists;
... ... @@ -124,9 +125,6 @@ import com.yohobuy.ufo.model.order.common.EnumQualityCheckType;
import com.yohobuy.ufo.model.order.common.OperateTypeEnum;
import com.yohobuy.ufo.model.order.common.OrderAttributes;
import com.yohobuy.ufo.model.order.common.OrderStatus;
import com.yohobuy.ufo.model.order.constants.ExpressCompanyEnum;
import com.yohobuy.ufo.model.order.constants.IdentifyCenterEnum;
import com.yohobuy.ufo.model.order.constants.RegionEnum;
import com.yohobuy.ufo.model.order.req.BuyerOrderCancelReq;
import com.yohobuy.ufo.model.order.req.BuyerOrderMetaUpdateReq;
import com.yohobuy.ufo.model.order.resp.BuyerOrderResp;
... ... @@ -308,27 +306,6 @@ public class BuyerOrderServiceImpl implements IBuyerOrderService, ApplicationCon
//问题单
private static final Byte QC_STATUS_PROBLEM = 3;
//待入库
private static final Byte DEPOSIT_STATUS_WAIT_TO_IN = 0;
//在库
private static final Byte DEPOSIT_STATUS_IN_STORAGE = 1;
//待出库(召回)
private static final Byte DEPOSIT_STATUS_WAIT_TO_OUT_FOR_REBACK = 2;
//待出库(售出)
private static final Byte DEPOSIT_STATUS_WAIT_TO_OUT_FOR_SALE = 3;
//待出库(已出库)
private static final Byte DEPOSIT_STATUS_ALREADY_BE_OUT = 4;
//下架
private static final Integer ORDER_STATUS_LOWER_SHELF = 0;
//上架
private static final Integer ORDER_STATUS_UPPER_SHLEF = 1;
//待处理
private static final List<Byte> receivedList = Lists.newArrayList(Constant.BUYER_ORDER_STATUS_ALLOCATING.getByteVal(),//卖家已发货
Constant.BUYER_ORDER_STATUS_PLATFORM_RECEIVE.getByteVal()); //平台质检中
... ... @@ -1355,8 +1332,8 @@ public class BuyerOrderServiceImpl implements IBuyerOrderService, ApplicationCon
record.setOwnerUid(buyerOrder.getUid());
record.setOrderCode(buyerOrder.getOrderCode());
record.setSkup(skup);
record.setStatus(DEPOSIT_STATUS_WAIT_TO_IN);
record.setOrderStatus(ORDER_STATUS_LOWER_SHELF);
record.setStatus(StorageDepositStatusEnum.HAS_IN.getCode());
record.setOrderStatus(DepositOrderStatusEnum.ORDER_STATUS_DOWN.getCode());
record.setUpdateTime(DateUtil.getCurrentTimeSeconds());
record.setCreateTime(DateUtil.getCurrentTimeSeconds());
record.setEditPid(new UserHelper().getUserId());
... ...