Commit ee61b999 authored by zhengyi's avatar zhengyi

校验订单审批是否存在互斥类型接口方法名称修改

parent 0b1a937f
...@@ -867,7 +867,7 @@ public class OrderController { ...@@ -867,7 +867,7 @@ public class OrderController {
@ApiImplicitParam(name = "orderItemIdList", value = "订单项id列表(针对品名的审批需要传此参数)", required = false, example = "1024", dataTypeClass = List.class), @ApiImplicitParam(name = "orderItemIdList", value = "订单项id列表(针对品名的审批需要传此参数)", required = false, example = "1024", dataTypeClass = List.class),
@ApiImplicitParam(name = "approvalType", value = "审批类型:见字典表", required = true, example = "1024", dataTypeClass = Integer.class) @ApiImplicitParam(name = "approvalType", value = "审批类型:见字典表", required = true, example = "1024", dataTypeClass = Integer.class)
}) })
public CommonResult<Boolean> getDestCountryByOrderId(Long orderId, List<Long> orderItemIdList, Integer approvalType) { public CommonResult<Boolean> approvalTypeCheck(Long orderId, List<Long> orderItemIdList, Integer approvalType) {
OrderApprovalTypeEnum approvalTypeEnum = OrderApprovalTypeEnum.valueOf(approvalType); OrderApprovalTypeEnum approvalTypeEnum = OrderApprovalTypeEnum.valueOf(approvalType);
if (Objects.isNull(approvalTypeEnum)){ if (Objects.isNull(approvalTypeEnum)){
// 没有配置相关审批类型则不做校验 // 没有配置相关审批类型则不做校验
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment