...
|
...
|
@@ -4,6 +4,7 @@ import com.alibaba.fastjson.JSONObject; |
|
|
import com.yohobuy.ufo.model.order.bo.ButtonShowBo;
|
|
|
import com.yohobuy.ufo.model.order.bo.DepositDetailBo;
|
|
|
import com.yohobuy.ufo.model.order.bo.DepositProductBo;
|
|
|
import com.yohobuy.ufo.model.order.constants.DepositOrderStatusEnum;
|
|
|
import com.yohobuy.ufo.model.order.constants.StorageDepositStatusEnum;
|
|
|
import com.yohobuy.ufo.model.order.resp.PageResp;
|
|
|
import com.yohoufo.common.exception.UfoServiceException;
|
...
|
...
|
@@ -302,29 +303,11 @@ public class DepositServiceImpl implements DepositService { |
|
|
}
|
|
|
|
|
|
private String getBackStatusName(Integer code) {
|
|
|
if (code == null) {
|
|
|
return "";
|
|
|
}
|
|
|
if (code == 2 || code == 3) {
|
|
|
return "待寄回";
|
|
|
}
|
|
|
if (code == 4) {
|
|
|
return "已寄回";
|
|
|
}
|
|
|
return "";
|
|
|
return StorageDepositStatusEnum.getAppStatusNameByCode(code);
|
|
|
}
|
|
|
|
|
|
private String getOrderStatusName(Integer code) {
|
|
|
if (code == null) {
|
|
|
return "";
|
|
|
}
|
|
|
if (code == 0) {
|
|
|
return "下架";
|
|
|
}
|
|
|
if (code == 1) {
|
|
|
return "出售中";
|
|
|
}
|
|
|
return "";
|
|
|
return DepositOrderStatusEnum.getStatusNameByCode(code);
|
|
|
}
|
|
|
|
|
|
private int getRemainDay(Integer endTime) {
|
...
|
...
|
|