## bug425 物流管理菜单下订单类型转枚举

This commit is contained in:
zhangheng 2025-09-30 09:43:04 +08:00
parent 83136f1387
commit 5b169701a0
3 changed files with 5 additions and 3 deletions

View File

@ -124,6 +124,8 @@ public class SaDeliverUnhandledController extends BaseController {
for (DeliverUnhandledVO deliverUnhandled : resultList) {
// 省市区处理
OrderUtil.handleOrderAddress(areaMap, deliverUnhandled);
// 订单类型枚举转换
deliverUnhandled.setOrderTypeVal(EOrderType.getLabelByValue(deliverUnhandled.getOrderType()));
}
}
return getDataTable(resultList);

View File

@ -36,8 +36,6 @@ public class DeliverUnhandledVO {
/**
* 订单类型EOrderType
*/
@JsonIgnore
@Transaction(transactionKey = EnumsPrefixConstants.ORDER_TYPE)
private Integer orderType;
/**
* 订单类型显示

View File

@ -603,7 +603,7 @@ public class SaOrderController extends ParentOrderController {
// 获取管理员权限角色地区范围体系列表团队列表
UserAuthorityDTO userAuthorityDTO = iUserServiceApi.getUserAuthority(SecurityUtils.getUserId()).getData();
param.setAreaScopeList(userAuthorityDTO.getRoleAreaScopeList());
param.setAreaScopeList(userAuthorityDTO.getRoleAreaScopeList());
param.setVertexIdList(userAuthorityDTO.getVertexIdList());
param.setTeamList(userAuthorityDTO.getUserTeamList());
@ -622,6 +622,8 @@ public class SaOrderController extends ParentOrderController {
if (vo.getRecCounty() != null) {
vo.setRecCountyName(areaMap.get(vo.getRecCounty()));
}
// 订单类型枚举转换
vo.setOrderTypeVal(EOrderType.getLabelByValue(vo.getOrderType()));
}
return getDataTable(resultList);
}