Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dsk-cr20g
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
dsk-cr20g
Commits
6cc2a1d7
Commit
6cc2a1d7
authored
Aug 24, 2023
by
yht15023815643
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev20230707' of
http://192.168.60.201/root/dsk-operate-sys
into dev20230707
parents
21c4cd5a
ff8ee477
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
3 deletions
+14
-3
EnterpriseBussinessClientProjectPageBody.java
...omain/model/EnterpriseBussinessClientProjectPageBody.java
+5
-0
EnterpriseBussinessSupplierProjectPageBody.java
...ain/model/EnterpriseBussinessSupplierProjectPageBody.java
+6
-0
BusinessInfoMapper.xml
...src/main/resources/mapper/business/BusinessInfoMapper.xml
+2
-2
CustomerMapper.xml
.../main/resources/mapper/system/customer/CustomerMapper.xml
+1
-1
No files found.
dsk-common/src/main/java/com/dsk/common/core/domain/model/EnterpriseBussinessClientProjectPageBody.java
View file @
6cc2a1d7
...
...
@@ -57,5 +57,10 @@ public class EnterpriseBussinessClientProjectPageBody extends BasePage {
*/
private
Double
amountEnd
;
/*
* 排序字段:1金额倒序,2金额正序,3时间倒序,4时间正序,5次数倒序,6次数正序
*/
private
Integer
sort
=
3
;
}
dsk-common/src/main/java/com/dsk/common/core/domain/model/EnterpriseBussinessSupplierProjectPageBody.java
View file @
6cc2a1d7
...
...
@@ -57,4 +57,10 @@ public class EnterpriseBussinessSupplierProjectPageBody extends BasePage {
* 金额止
*/
private
Double
amountEnd
;
/*
* 排序字段:1金额倒序,2金额正序,3时间倒序,4时间正序,5次数倒序,6次数正序
*/
private
Integer
sort
=
3
;
}
dsk-system/src/main/resources/mapper/business/BusinessInfoMapper.xml
View file @
6cc2a1d7
...
...
@@ -391,14 +391,14 @@
<select
id=
"selectAmountAnalyze"
resultType=
"com.dsk.system.domain.business.vo.BusinessAnalyzeVo"
>
select
bi.amount_source,count(bi.id) businessCount,
sum(bi.investment_amount
) totalAmount
bi.amount_source,count(bi.id) businessCount,
ROUND(sum(bi.investment_amount), 4
) totalAmount
<include
refid=
"businessSearchSql"
/>
group by bi.amount_source
</select>
<select
id=
"selectTypeAnalyze"
resultType=
"com.dsk.system.domain.business.vo.BusinessAnalyzeVo"
>
select
bi.project_type,count(bi.id) businessCount,sum(bi.investment_amount
) totalAmount
bi.project_type,count(bi.id) businessCount, ROUND(sum(bi.investment_amount), 4
) totalAmount
<include
refid=
"businessSearchSql"
/>
group by bi.project_type
</select>
...
...
dsk-system/src/main/resources/mapper/system/customer/CustomerMapper.xml
View file @
6cc2a1d7
...
...
@@ -112,7 +112,7 @@
<select
id=
"selectCooperationTop"
resultType=
"com.dsk.system.domain.customer.vo.CustomerAnalyzeVo"
>
select
ct.customer_id, ct.company_name, ct.company_id, ct.uip_id, count(bi.id) businessCount,
sum(bi.investment_amount
) totalAmount
ROUND(sum(bi.investment_amount), 4
) totalAmount
from customer ct
join customer_user ctu on ct.customer_id = ctu.customer_id
left join business_info bi on (bi.customer_id = ct.customer_id and bi.status = 2)
...
...
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