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
d4fa0cb4
Commit
d4fa0cb4
authored
Nov 08, 2024
by
zhengyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
补充费用申请的详情获取接口
parent
69affac7
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
0 deletions
+21
-0
OrderFeeApplicationService.java
...odule/order/service/order/OrderFeeApplicationService.java
+2
-0
OrderFeeApplicationServiceImpl.java
...er/service/order/impl/OrderFeeApplicationServiceImpl.java
+11
-0
OrderFeeApplicationController.java
...in/orderFeeApplication/OrderFeeApplicationController.java
+8
-0
No files found.
yudao-module-order/yudao-module-order-core/src/main/java/cn/iocoder/yudao/module/order/service/order/OrderFeeApplicationService.java
View file @
d4fa0cb4
...
@@ -98,4 +98,6 @@ public interface OrderFeeApplicationService extends IService<OrderFeeApplication
...
@@ -98,4 +98,6 @@ public interface OrderFeeApplicationService extends IService<OrderFeeApplication
List
<
OrderFeeApplicationBackVO
>
getBatchFeeByProcessId
(
String
processId
);
List
<
OrderFeeApplicationBackVO
>
getBatchFeeByProcessId
(
String
processId
);
void
cancelFeeApplication
(
OrderFeeApplicationUpdateReqVO
orderFeeApplicationUpdateReqVO
);
void
cancelFeeApplication
(
OrderFeeApplicationUpdateReqVO
orderFeeApplicationUpdateReqVO
);
OrderFeeApplicationDO
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 @
d4fa0cb4
...
@@ -593,4 +593,15 @@ public class OrderFeeApplicationServiceImpl extends AbstractService<OrderFeeAppl
...
@@ -593,4 +593,15 @@ public class OrderFeeApplicationServiceImpl extends AbstractService<OrderFeeAppl
//orderService.updateStatus(orderFeeApplicationDO.getOrderId(), null, null, null, null, null, 0, OrderApprovalTypeResultEnum.expense_apply_cancel.getDesc());
//orderService.updateStatus(orderFeeApplicationDO.getOrderId(), null, null, null, null, null, 0, OrderApprovalTypeResultEnum.expense_apply_cancel.getDesc());
// orderBusinessService.addOrderOperateLog(orderFeeApplicationUpdateReqVO.getOrderId(),"","取消费用申请","");
// orderBusinessService.addOrderOperateLog(orderFeeApplicationUpdateReqVO.getOrderId(),"","取消费用申请","");
}
}
@Override
public
OrderFeeApplicationDO
getApprovalFeeApplication
(
Long
id
)
{
OrderApprovalDO
orderApprovalDO
=
orderApprovalService
.
getApproval
(
id
);
if
(
Objects
.
isNull
(
orderApprovalDO
)){
throw
exception
(
ORDER_APPROVAL_INFO_NOT_FIND
);
}
// 这里已经将修改后的内容更新到原数据中去了
OrderFeeApplicationDO
orderFeeApplicationDO
=
JSONObject
.
parseObject
(
orderApprovalDO
.
getDetails
(),
OrderFeeApplicationDO
.
class
);
return
orderFeeApplicationDO
;
}
}
}
yudao-module-order/yudao-module-order-rest/src/main/java/cn/iocoder/yudao/module/order/controller/admin/orderFeeApplication/OrderFeeApplicationController.java
View file @
d4fa0cb4
...
@@ -155,6 +155,14 @@ public class OrderFeeApplicationController {
...
@@ -155,6 +155,14 @@ public class OrderFeeApplicationController {
return
success
(
OrderFeeApplicationConvert
.
INSTANCE
.
convert
(
feeApplication
));
return
success
(
OrderFeeApplicationConvert
.
INSTANCE
.
convert
(
feeApplication
));
}
}
@GetMapping
(
"/approval/get"
)
@ApiOperation
(
"获得订单费用申请"
)
@ApiImplicitParam
(
name
=
"id"
,
value
=
"审批id"
,
required
=
true
,
example
=
"1024"
,
dataTypeClass
=
Long
.
class
)
public
CommonResult
<
OrderFeeApplicationBackVO
>
getApprovalFeeApplication
(
@RequestParam
(
"id"
)
Long
id
)
{
OrderFeeApplicationDO
feeApplication
=
feeApplicationService
.
getApprovalFeeApplication
(
id
);
return
success
(
OrderFeeApplicationConvert
.
INSTANCE
.
convert
(
feeApplication
));
}
@GetMapping
(
"/getOrderByProcessId"
)
@GetMapping
(
"/getOrderByProcessId"
)
@ApiOperation
(
"根据流程ID获得订单信息"
)
@ApiOperation
(
"根据流程ID获得订单信息"
)
@ApiImplicitParam
(
name
=
"processId"
,
value
=
"流程编号"
,
required
=
true
,
example
=
"1024"
,
dataTypeClass
=
Long
.
class
)
@ApiImplicitParam
(
name
=
"processId"
,
value
=
"流程编号"
,
required
=
true
,
example
=
"1024"
,
dataTypeClass
=
Long
.
class
)
...
...
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