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
c323c4d1
Commit
c323c4d1
authored
Aug 28, 2024
by
332784038@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
接口补充
parent
2004daef
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
3 deletions
+18
-3
OrderCargoControlService.java
...r/service/orderCargoControl/OrderCargoControlService.java
+1
-1
OrderCargoControlServiceImpl.java
...rvice/orderCargoControl/OrderCargoControlServiceImpl.java
+1
-1
OrderCargoControlController.java
.../admin/orderCargoControl/OrderCargoControlController.java
+16
-1
No files found.
yudao-module-order/yudao-module-order-core/src/main/java/cn/iocoder/yudao/module/order/service/orderCargoControl/OrderCargoControlService.java
View file @
c323c4d1
...
@@ -162,5 +162,5 @@ public interface OrderCargoControlService extends IService<OrderCargoControlDO>
...
@@ -162,5 +162,5 @@ public interface OrderCargoControlService extends IService<OrderCargoControlDO>
*
*
* @param orderCargoControlApplyVO 控货订单审批业务申请信息
* @param orderCargoControlApplyVO 控货订单审批业务申请信息
*/
*/
void
orderCargoControl
Pick
Apply
(
OrderCargoControlApplyVO
orderCargoControlApplyVO
);
void
orderCargoControlApply
(
OrderCargoControlApplyVO
orderCargoControlApplyVO
);
}
}
yudao-module-order/yudao-module-order-core/src/main/java/cn/iocoder/yudao/module/order/service/orderCargoControl/OrderCargoControlServiceImpl.java
View file @
c323c4d1
...
@@ -547,7 +547,7 @@ public class OrderCargoControlServiceImpl extends AbstractService<OrderCargoCont
...
@@ -547,7 +547,7 @@ public class OrderCargoControlServiceImpl extends AbstractService<OrderCargoCont
}
}
@Override
@Override
public
void
orderCargoControl
Pick
Apply
(
OrderCargoControlApplyVO
orderCargoControlApplyVO
)
{
public
void
orderCargoControlApply
(
OrderCargoControlApplyVO
orderCargoControlApplyVO
)
{
LoginUser
loginUser
=
SecurityFrameworkUtils
.
getLoginUser
();
LoginUser
loginUser
=
SecurityFrameworkUtils
.
getLoginUser
();
Integer
userType
=
loginUser
!=
null
?
loginUser
.
getUserType
()
:
null
;
Integer
userType
=
loginUser
!=
null
?
loginUser
.
getUserType
()
:
null
;
Long
userId
=
loginUser
!=
null
?
loginUser
.
getId
()
:
null
;
Long
userId
=
loginUser
!=
null
?
loginUser
.
getId
()
:
null
;
...
...
yudao-module-order/yudao-module-order-rest/src/main/java/cn/iocoder/yudao/module/order/controller/admin/orderCargoControl/OrderCargoControlController.java
View file @
c323c4d1
...
@@ -11,6 +11,7 @@ import cn.iocoder.yudao.module.order.service.orderCargoControlPick.OrderCargoCon
...
@@ -11,6 +11,7 @@ import cn.iocoder.yudao.module.order.service.orderCargoControlPick.OrderCargoCon
import
cn.iocoder.yudao.module.order.vo.order.OrderBackPageVO
;
import
cn.iocoder.yudao.module.order.vo.order.OrderBackPageVO
;
import
cn.iocoder.yudao.module.order.vo.order.OrderQueryVO
;
import
cn.iocoder.yudao.module.order.vo.order.OrderQueryVO
;
import
cn.iocoder.yudao.module.order.vo.order.OrderSendSmsReqVO
;
import
cn.iocoder.yudao.module.order.vo.order.OrderSendSmsReqVO
;
import
cn.iocoder.yudao.module.order.vo.orderCargoControlPick.OrderCargoControlPickApplyVO
;
import
com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper
;
import
com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.*
;
import
org.springframework.web.bind.annotation.*
;
...
@@ -143,13 +144,27 @@ public class OrderCargoControlController {
...
@@ -143,13 +144,27 @@ public class OrderCargoControlController {
return
success
(
true
);
return
success
(
true
);
}
}
@PutMapping
(
"/update/apply"
)
@ApiOperation
(
"控货业务审批申请"
)
public
CommonResult
<
Boolean
>
orderCargoControlApply
(
@Valid
@RequestBody
OrderCargoControlApplyVO
orderCargoControlApplyVO
)
{
orderCargoControlService
.
orderCargoControlApply
(
orderCargoControlApplyVO
);
return
success
(
true
);
}
@GetMapping
(
"limit-update/info/{orderId}"
)
@ApiOperation
(
"根据订单ID查询控货订单放货限制修改审核详情"
)
@ApiImplicitParam
(
name
=
"orderId"
,
value
=
"订单ID"
,
required
=
true
,
example
=
"1024"
,
dataType
=
"Long"
)
public
CommonResult
<
OrderCargoControlApplyVO
>
approvalLimitUpdateOrderCargoControlByOrderId
(
@PathVariable
(
value
=
"orderId"
)
Long
orderId
)
{
OrderCargoControlApplyVO
applyVO
=
orderCargoControlService
.
approvalOrderCargoControlPickLimitUpdateByOrderId
(
orderId
);
return
success
(
applyVO
);
}
@GetMapping
(
"cancel/approval/{orderApprovalId}"
)
@GetMapping
(
"cancel/approval/{orderApprovalId}"
)
@ApiOperation
(
"根据审批id取消审批"
)
@ApiOperation
(
"根据审批id取消审批"
)
@ApiImplicitParams
({
@ApiImplicitParams
({
@ApiImplicitParam
(
name
=
"orderApprovalId"
,
value
=
"审批ID"
,
required
=
true
,
example
=
"1024"
,
dataType
=
"Long"
),
@ApiImplicitParam
(
name
=
"orderApprovalId"
,
value
=
"审批ID"
,
required
=
true
,
example
=
"1024"
,
dataType
=
"Long"
),
@ApiImplicitParam
(
name
=
"reason"
,
value
=
"取消原因"
,
required
=
true
,
example
=
"1024"
,
dataType
=
"String"
)
@ApiImplicitParam
(
name
=
"reason"
,
value
=
"取消原因"
,
required
=
true
,
example
=
"1024"
,
dataType
=
"String"
)
})
})
@Deprecated
public
CommonResult
<
Boolean
>
cancelApprovalByOrderApprovalId
(
@PathVariable
(
value
=
"orderApprovalId"
)
Long
orderApprovalId
,
public
CommonResult
<
Boolean
>
cancelApprovalByOrderApprovalId
(
@PathVariable
(
value
=
"orderApprovalId"
)
Long
orderApprovalId
,
@RequestParam
(
value
=
"reason"
)
String
reason
)
{
@RequestParam
(
value
=
"reason"
)
String
reason
)
{
orderCargoControlPickService
.
cancelApprovalByOrderApprovalId
(
orderApprovalId
,
reason
);
orderCargoControlPickService
.
cancelApprovalByOrderApprovalId
(
orderApprovalId
,
reason
);
...
...
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