Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-api-boot-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lanbaoming
jiedao-api-boot-master
Commits
ee61b999
Commit
ee61b999
authored
Oct 31, 2024
by
zhengyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
校验订单审批是否存在互斥类型接口方法名称修改
parent
0b1a937f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
OrderController.java
.../module/order/controller/admin/order/OrderController.java
+1
-1
No files found.
yudao-module-order/yudao-module-order-rest/src/main/java/cn/iocoder/yudao/module/order/controller/admin/order/OrderController.java
View file @
ee61b999
...
@@ -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
)){
// 没有配置相关审批类型则不做校验
// 没有配置相关审批类型则不做校验
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment