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
a2a108af
Commit
a2a108af
authored
Nov 08, 2024
by
zhengyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
补充费用申请的详情获取接口修改
parent
f05c1f2f
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
5 deletions
+14
-5
OrderFeeApplicationService.java
...odule/order/service/order/OrderFeeApplicationService.java
+1
-1
OrderFeeApplicationServiceImpl.java
...er/service/order/impl/OrderFeeApplicationServiceImpl.java
+11
-2
OrderFeeApplicationController.java
...in/orderFeeApplication/OrderFeeApplicationController.java
+2
-2
No files found.
yudao-module-order/yudao-module-order-core/src/main/java/cn/iocoder/yudao/module/order/service/order/OrderFeeApplicationService.java
View file @
a2a108af
...
@@ -99,5 +99,5 @@ public interface OrderFeeApplicationService extends IService<OrderFeeApplication
...
@@ -99,5 +99,5 @@ public interface OrderFeeApplicationService extends IService<OrderFeeApplication
void
cancelFeeApplication
(
OrderFeeApplicationUpdateReqVO
orderFeeApplicationUpdateReqVO
);
void
cancelFeeApplication
(
OrderFeeApplicationUpdateReqVO
orderFeeApplicationUpdateReqVO
);
OrderFeeApplication
D
O
getApprovalFeeApplication
(
Long
id
);
OrderFeeApplication
BackV
O
getApprovalFeeApplication
(
Long
id
);
}
}
yudao-module-order/yudao-module-order-core/src/main/java/cn/iocoder/yudao/module/order/service/order/impl/OrderFeeApplicationServiceImpl.java
View file @
a2a108af
...
@@ -595,13 +595,22 @@ public class OrderFeeApplicationServiceImpl extends AbstractService<OrderFeeAppl
...
@@ -595,13 +595,22 @@ public class OrderFeeApplicationServiceImpl extends AbstractService<OrderFeeAppl
}
}
@Override
@Override
public
OrderFeeApplication
D
O
getApprovalFeeApplication
(
Long
id
)
{
public
OrderFeeApplication
BackV
O
getApprovalFeeApplication
(
Long
id
)
{
OrderApprovalDO
orderApprovalDO
=
orderApprovalService
.
getApproval
(
id
);
OrderApprovalDO
orderApprovalDO
=
orderApprovalService
.
getApproval
(
id
);
if
(
Objects
.
isNull
(
orderApprovalDO
)){
if
(
Objects
.
isNull
(
orderApprovalDO
)){
throw
exception
(
ORDER_APPROVAL_INFO_NOT_FIND
);
throw
exception
(
ORDER_APPROVAL_INFO_NOT_FIND
);
}
}
// 这里已经将修改后的内容更新到原数据中去了
// 这里已经将修改后的内容更新到原数据中去了
OrderFeeApplicationDO
orderFeeApplicationDO
=
JSONObject
.
parseObject
(
orderApprovalDO
.
getDetails
(),
OrderFeeApplicationDO
.
class
);
OrderFeeApplicationDO
orderFeeApplicationDO
=
JSONObject
.
parseObject
(
orderApprovalDO
.
getDetails
(),
OrderFeeApplicationDO
.
class
);
return
orderFeeApplicationDO
;
orderFeeApplicationDO
.
setBpmProcessId
(
orderApprovalDO
.
getFormId
());
OrderFeeApplicationBackVO
convert
=
OrderFeeApplicationConvert
.
INSTANCE
.
convert
(
orderFeeApplicationDO
);
if
(
orderFeeApplicationDO
!=
null
)
{
OrderBackVO
order
=
orderQueryService
.
getOrder
(
orderFeeApplicationDO
.
getOrderId
());
LogisticsInfoDto
startInfoAndDestInfoByLineId
=
warehouseLineMapper
.
getStartInfoAndDestInfoByLineId
(
order
.
getLineId
());
convert
.
setStartWarehouse
(
startInfoAndDestInfoByLineId
.
getStartTitleZh
());
convert
.
setDestWarehouse
(
startInfoAndDestInfoByLineId
.
getDestTitleZh
());
convert
.
setOrderBackVO
(
order
);
}
return
convert
;
}
}
}
}
yudao-module-order/yudao-module-order-rest/src/main/java/cn/iocoder/yudao/module/order/controller/admin/orderFeeApplication/OrderFeeApplicationController.java
View file @
a2a108af
...
@@ -159,8 +159,8 @@ public class OrderFeeApplicationController {
...
@@ -159,8 +159,8 @@ public class OrderFeeApplicationController {
@ApiOperation
(
"获得订单审批费用申请"
)
@ApiOperation
(
"获得订单审批费用申请"
)
@ApiImplicitParam
(
name
=
"id"
,
value
=
"审批id"
,
required
=
true
,
example
=
"1024"
,
dataTypeClass
=
Long
.
class
)
@ApiImplicitParam
(
name
=
"id"
,
value
=
"审批id"
,
required
=
true
,
example
=
"1024"
,
dataTypeClass
=
Long
.
class
)
public
CommonResult
<
OrderFeeApplicationBackVO
>
getApprovalFeeApplication
(
@RequestParam
(
"id"
)
Long
id
)
{
public
CommonResult
<
OrderFeeApplicationBackVO
>
getApprovalFeeApplication
(
@RequestParam
(
"id"
)
Long
id
)
{
OrderFeeApplication
DO
feeApplication
=
feeApplicationService
.
getApprovalFeeApplication
(
id
);
OrderFeeApplication
BackVO
vo
=
feeApplicationService
.
getApprovalFeeApplication
(
id
);
return
success
(
OrderFeeApplicationConvert
.
INSTANCE
.
convert
(
feeApplication
)
);
return
success
(
vo
);
}
}
@GetMapping
(
"/getOrderByProcessId"
)
@GetMapping
(
"/getOrderByProcessId"
)
...
...
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