Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
peizhen-java
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PeiZhen-Java
peizhen-java
Commits
12669a4a
Commit
12669a4a
authored
Dec 06, 2023
by
sdif
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改对账单
parent
61ffdc38
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
3 deletions
+15
-3
pz-admin/src/main/java/com/pz/web/controller/system/DataViewController.java
+2
-0
pz-admin/src/main/java/com/pz/web/controller/system/EmployeesDivideController.java
+2
-0
pz-system/src/main/java/com/pz/system/domain/vo/DataOrderVo.java
+9
-3
pz-system/src/main/resources/mapper/merchant/EmployeesDivideMapper.xml
+2
-0
No files found.
pz-admin/src/main/java/com/pz/web/controller/system/DataViewController.java
View file @
12669a4a
...
@@ -119,9 +119,11 @@ public class DataViewController extends BaseController {
...
@@ -119,9 +119,11 @@ public class DataViewController extends BaseController {
}
}
return
R
.
ok
(
iTotalOrderService
.
platformRevenue
(
dataViewBo
));
return
R
.
ok
(
iTotalOrderService
.
platformRevenue
(
dataViewBo
));
}
}
/**
/**
* 平台收益/机构收益
* 平台收益/机构收益
*/
*/
@SaIgnore
@GetMapping
(
"/platformRevenueDiv"
)
@GetMapping
(
"/platformRevenueDiv"
)
public
R
<
DataOrderVo
>
platformRevenueDiv
(
DataViewBo
dataViewBo
)
{
public
R
<
DataOrderVo
>
platformRevenueDiv
(
DataViewBo
dataViewBo
)
{
Long
roleId
=
getLoginUser
().
getRoleId
();
Long
roleId
=
getLoginUser
().
getRoleId
();
...
...
pz-admin/src/main/java/com/pz/web/controller/system/EmployeesDivideController.java
View file @
12669a4a
...
@@ -3,6 +3,7 @@ package com.pz.web.controller.system;
...
@@ -3,6 +3,7 @@ package com.pz.web.controller.system;
import
java.util.List
;
import
java.util.List
;
import
java.util.Arrays
;
import
java.util.Arrays
;
import
cn.dev33.satoken.annotation.SaIgnore
;
import
lombok.RequiredArgsConstructor
;
import
lombok.RequiredArgsConstructor
;
import
javax.servlet.http.HttpServletResponse
;
import
javax.servlet.http.HttpServletResponse
;
import
javax.validation.constraints.*
;
import
javax.validation.constraints.*
;
...
@@ -40,6 +41,7 @@ public class EmployeesDivideController extends BaseController {
...
@@ -40,6 +41,7 @@ public class EmployeesDivideController extends BaseController {
/**
/**
* 查询订单分成记录列表
* 查询订单分成记录列表
*/
*/
@SaIgnore
@SaCheckPermission
(
"merchant:divide:list"
)
@SaCheckPermission
(
"merchant:divide:list"
)
@GetMapping
(
"/list"
)
@GetMapping
(
"/list"
)
public
TableDataInfo
<
EmployeesDivideVo
>
list
(
EmployeesDivideBo
bo
,
PageQuery
pageQuery
)
{
public
TableDataInfo
<
EmployeesDivideVo
>
list
(
EmployeesDivideBo
bo
,
PageQuery
pageQuery
)
{
...
...
pz-system/src/main/java/com/pz/system/domain/vo/DataOrderVo.java
View file @
12669a4a
...
@@ -10,10 +10,16 @@ public class DataOrderVo implements Serializable {
...
@@ -10,10 +10,16 @@ public class DataOrderVo implements Serializable {
* 总数量
* 总数量
*/
*/
private
double
dataSum
;
private
double
dataSum
;
/**
* 订单金额
*/
private
double
orderPrice
;
private
double
orderPrice
;
/**
* 机构分成
*/
private
double
dividePrice
;
private
double
dividePrice
;
/**
* 平台分成
*/
private
double
dividePriceAdmin
;
private
double
dividePriceAdmin
;
}
}
pz-system/src/main/resources/mapper/merchant/EmployeesDivideMapper.xml
View file @
12669a4a
...
@@ -36,6 +36,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -36,6 +36,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
left JOIN sys_user s ON s.user_id = t.uid
left JOIN sys_user s ON s.user_id = t.uid
left JOIN city ci on ci.id = t.city_id
left JOIN city ci on ci.id = t.city_id
left join services se on se.id = t.service_id
left join services se on se.id = t.service_id
<where>
<if
test=
"bo.orderSn != null and bo.orderSn != ''"
>
<if
test=
"bo.orderSn != null and bo.orderSn != ''"
>
and t.order_sn LIKE CONCAT('%', #{bo.orderSn}, '%')
and t.order_sn LIKE CONCAT('%', #{bo.orderSn}, '%')
</if>
</if>
...
@@ -57,6 +58,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -57,6 +58,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if
test=
"bo.companyId != null "
>
<if
test=
"bo.companyId != null "
>
and ed.company_id = #{bo.companyId}
and ed.company_id = #{bo.companyId}
</if>
</if>
</where>
</select>
</select>
...
...
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