订单列表页新增 第三方平台类型字段

This commit is contained in:
Lemon
2024-01-20 15:01:36 +08:00
parent 8ed2ab56f2
commit 6c33ad6760
3 changed files with 14 additions and 2 deletions

View File

@@ -25,6 +25,7 @@ import com.jsowell.common.enums.MemberWalletEnum;
import com.jsowell.common.enums.adapay.AdapayStatusEnum;
import com.jsowell.common.enums.adapay.MerchantDelayModeEnum;
import com.jsowell.common.enums.thirdparty.ThirdPartyOperatorIdEnum;
import com.jsowell.common.enums.thirdparty.ThirdPlatformTypeEnum;
import com.jsowell.common.enums.ykc.*;
import com.jsowell.common.exception.BusinessException;
import com.jsowell.common.util.DateUtils;
@@ -246,7 +247,11 @@ public class OrderBasicInfoServiceImpl implements OrderBasicInfoService {
if (StringUtils.isNotBlank(chargeStartTime) && StringUtils.isNotBlank(chargeEndTime)) {
orderListVO.setChargingTime(DateUtils.getDatePoor(DateUtils.parseDate(chargeEndTime), DateUtils.parseDate(chargeStartTime)));
}
String thirdPartyType = orderListVO.getThirdPartyType();
if(StringUtils.isNotBlank(thirdPartyType)) {
String label = ThirdPlatformTypeEnum.getLabelByCode(thirdPartyType);
orderListVO.setThirdPartyType(label + "启动");
}
}
batchQueryFeeAmt(orderListVOS);

View File

@@ -112,11 +112,17 @@ public class OrderListVO {
private String vinCode;
/**
* 启动方式0-后管启动1-用户app启动
* 启动方式0-后管启动1-用户app启动2-卡启动3-离线卡启动; 4-第三方平台启动; 5-车辆vin码启动
*/
@Excel(name = "启动方式", dictType = "start_mode")
private String startMode;
/**
* 第三方平台类型
*/
@Excel(name = "第三方平台类型", dictType = "third_party_type")
private String thirdPartyType;
/**
* 支付方式(1-余额支付3-白名单支付4-微信支付5-支付宝支付)
*/