## bug425 物流管理菜单下订单类型转枚举
This commit is contained in:
parent
83136f1387
commit
5b169701a0
|
@ -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);
|
||||
|
|
|
@ -36,8 +36,6 @@ public class DeliverUnhandledVO {
|
|||
/**
|
||||
* 订单类型(EOrderType)
|
||||
*/
|
||||
@JsonIgnore
|
||||
@Transaction(transactionKey = EnumsPrefixConstants.ORDER_TYPE)
|
||||
private Integer orderType;
|
||||
/**
|
||||
* 订单类型显示
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue