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
212b17f5
Commit
212b17f5
authored
Dec 05, 2024
by
Smile
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'jd_dev' of
http://110.41.143.128:8081/lanbaoming/jiedao-api-boot-master
into jd_dev
parents
2651fee0
b03ec1ee
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
0 deletions
+20
-0
OrderAirController.java
...dule/order/controller/admin/order/OrderAirController.java
+20
-0
No files found.
yudao-module-order/yudao-module-order-rest/src/main/java/cn/iocoder/yudao/module/order/controller/admin/order/OrderAirController.java
View file @
212b17f5
...
...
@@ -143,6 +143,26 @@ public class OrderAirController {
return
success
(
pageResult
);
}
@GetMapping
(
"/data/scope/can/shipment/count"
)
@ApiOperation
(
"数据权限范围可出订单列表数量统计"
)
public
CommonResult
<
Long
>
dataScopeCanShipmentCount
()
{
OrderQueryVO
query
=
new
OrderQueryVO
();
LoginUser
loginUser
=
SecurityFrameworkUtils
.
getLoginUser
();
if
(
Objects
.
isNull
(
loginUser
)){
return
error
(
ErrorCodeConstants
.
USER_NOT_EXISTS
);
}
List
<
RoleRespDTO
>
roleRespDTOS
=
roleApi
.
getRoles
(
loginUser
.
getRoleIds
());
if
(
Objects
.
isNull
(
roleRespDTOS
)){
return
error
(
ROLE_NOT_EXISTS
);
}
addDataScopeQuery
(
query
,
loginUser
,
roleRespDTOS
);
query
.
setUserType
(
UserTypeEnum
.
ADMIN
.
getValue
());
query
.
setAirShipment
(
12
);
// 可出
long
count
=
orderQueryService
.
orderCount
(
query
);
return
success
(
count
);
}
@GetMapping
(
"/ready-stock-processing/shipment/page"
)
@ApiOperation
(
"备货中订单列表"
)
public
CommonResult
<
PageResult
<
OrderBackPageVO
>>
readyStockProcessingShipmentPage
(
OrderQueryVO
query
,
PageVO
page
)
{
...
...
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