Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-zx-biz
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
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
Jobs
Commits
Open sidebar
项目统一框架
一体化_户用光伏项目代码
amos-boot-zx-biz
Commits
e34d397d
Commit
e34d397d
authored
Nov 01, 2024
by
chenzhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
统计首页开发
parent
accf7639
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
StatisticsHomepageMapper.java
...boot/module/hygf/api/mapper/StatisticsHomepageMapper.java
+1
-1
StatisticsHomepageMapper.xml
.../main/resources/mapper/mysql/StatisticsHomepageMapper.xml
+6
-6
No files found.
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/java/com/yeejoin/amos/boot/module/hygf/api/mapper/StatisticsHomepageMapper.java
View file @
e34d397d
...
@@ -24,7 +24,7 @@ public interface StatisticsHomepageMapper {
...
@@ -24,7 +24,7 @@ public interface StatisticsHomepageMapper {
public
List
<
Map
<
String
,
Object
>>
gridStatusTotal
(
@RequestParam
(
value
=
"developerCode"
)
String
developerCode
,
@RequestParam
(
value
=
"regionalCompaniesCode"
)
String
regionalCompaniesCode
,
@RequestParam
(
value
=
"province"
)
String
province
,
@RequestParam
(
value
=
"city"
)
String
city
,
@RequestParam
(
value
=
"district"
)
String
district
);
public
List
<
Map
<
String
,
Object
>>
gridStatusTotal
(
@RequestParam
(
value
=
"developerCode"
)
String
developerCode
,
@RequestParam
(
value
=
"regionalCompaniesCode"
)
String
regionalCompaniesCode
,
@RequestParam
(
value
=
"province"
)
String
province
,
@RequestParam
(
value
=
"city"
)
String
city
,
@RequestParam
(
value
=
"district"
)
String
district
);
@UserEmpower
(
field
={
"hygf_peasant_household.regional_companies_code"
},
dealerField
={
"hygf_peasant_household.developer_code"
}
,
fieldConditions
={
"eq"
}
,
relationship
=
"and"
)
@UserEmpower
(
field
={
"hygf_peasant_household.regional_companies_code"
},
dealerField
={
"hygf_peasant_household.developer_code"
}
,
fieldConditions
={
"eq"
}
,
relationship
=
"and"
)
public
List
<
Map
<
String
,
Object
>>
acceptanceStatusTotal
(
@RequestParam
(
value
=
"developerCode"
)
String
developerCode
,
@RequestParam
(
value
=
"regionalCompaniesCode"
)
String
regionalCompaniesCode
,
@RequestParam
(
value
=
"province"
)
String
province
,
@RequestParam
(
value
=
"city"
)
String
city
,
@RequestParam
(
value
=
"district"
)
String
district
);
public
List
<
Map
<
String
,
Object
>>
acceptanceStatusTotal
(
@RequestParam
(
value
=
"developerCode"
)
String
developerCode
,
@RequestParam
(
value
=
"regionalCompaniesCode"
)
String
regionalCompaniesCode
,
@RequestParam
(
value
=
"province"
)
String
province
,
@RequestParam
(
value
=
"city"
)
String
city
,
@RequestParam
(
value
=
"district"
)
String
district
);
@UserEmpower
(
field
={
"h
ygf_peasant_household
.regional_companies_code"
},
dealerField
={
"hygf_peasant_household.developer_code"
}
,
fieldConditions
={
"eq"
}
,
relationship
=
"and"
)
@UserEmpower
(
field
={
"h
ph
.regional_companies_code"
},
dealerField
={
"hygf_peasant_household.developer_code"
}
,
fieldConditions
={
"eq"
}
,
relationship
=
"and"
)
public
List
<
Map
<
String
,
Object
>>
financingStatusTotal
(
@RequestParam
(
value
=
"developerCode"
)
String
developerCode
,
@RequestParam
(
value
=
"regionalCompaniesCode"
)
String
regionalCompaniesCode
,
@RequestParam
(
value
=
"province"
)
String
province
,
@RequestParam
(
value
=
"city"
)
String
city
,
@RequestParam
(
value
=
"district"
)
String
district
);
public
List
<
Map
<
String
,
Object
>>
financingStatusTotal
(
@RequestParam
(
value
=
"developerCode"
)
String
developerCode
,
@RequestParam
(
value
=
"regionalCompaniesCode"
)
String
regionalCompaniesCode
,
@RequestParam
(
value
=
"province"
)
String
province
,
@RequestParam
(
value
=
"city"
)
String
city
,
@RequestParam
(
value
=
"district"
)
String
district
);
@UserEmpower
(
field
={
"hygf_peasant_household.regional_companies_code"
},
dealerField
={
"hygf_peasant_household.developer_code"
}
,
fieldConditions
={
"eq"
}
,
relationship
=
"and"
)
@UserEmpower
(
field
={
"hygf_peasant_household.regional_companies_code"
},
dealerField
={
"hygf_peasant_household.developer_code"
}
,
fieldConditions
={
"eq"
}
,
relationship
=
"and"
)
public
List
<
Map
<
String
,
Object
>>
inverterTotal
(
@RequestParam
(
value
=
"developerCode"
)
String
developerCode
,
@RequestParam
(
value
=
"regionalCompaniesCode"
)
String
regionalCompaniesCode
,
@RequestParam
(
value
=
"province"
)
String
province
,
@RequestParam
(
value
=
"city"
)
String
city
,
@RequestParam
(
value
=
"district"
)
String
district
,
@RequestParam
(
value
=
"regions"
)
List
<
String
>
regions
);
public
List
<
Map
<
String
,
Object
>>
inverterTotal
(
@RequestParam
(
value
=
"developerCode"
)
String
developerCode
,
@RequestParam
(
value
=
"regionalCompaniesCode"
)
String
regionalCompaniesCode
,
@RequestParam
(
value
=
"province"
)
String
province
,
@RequestParam
(
value
=
"city"
)
String
city
,
@RequestParam
(
value
=
"district"
)
String
district
,
@RequestParam
(
value
=
"regions"
)
List
<
String
>
regions
);
...
...
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/resources/mapper/mysql/StatisticsHomepageMapper.xml
View file @
e34d397d
...
@@ -255,7 +255,7 @@
...
@@ -255,7 +255,7 @@
'放款完成' ELSE '待推送'
'放款完成' ELSE '待推送'
END AS statusText,
END AS statusText,
SUM( info.disbursement_money ) AS disbursementMoney,
SUM( info.disbursement_money ) AS disbursementMoney,
SUM( ei.real_scale
) AS realScale
ROUND(COALESCE(SUM( ei.real_scale ),0),2
) AS realScale
FROM
FROM
`hygf_peasant_household` hph
`hygf_peasant_household` hph
LEFT JOIN hygf_financing_info info ON info.peasant_household_id = hph.sequence_nbr
LEFT JOIN hygf_financing_info info ON info.peasant_household_id = hph.sequence_nbr
...
@@ -264,19 +264,19 @@
...
@@ -264,19 +264,19 @@
WHERE
WHERE
hph.construction_state = '验收完成'
hph.construction_state = '验收完成'
<if
test=
"developerCode != null and developerCode != ''"
>
<if
test=
"developerCode != null and developerCode != ''"
>
AND h
ygf_peasant_household
.developer_code = #{developerCode}
AND h
ph
.developer_code = #{developerCode}
</if>
</if>
<if
test=
"regionalCompaniesCode != null and regionalCompaniesCode != ''"
>
<if
test=
"regionalCompaniesCode != null and regionalCompaniesCode != ''"
>
AND h
ygf_peasant_household
.regional_companies_code = #{regionalCompaniesCode}
AND h
ph
.regional_companies_code = #{regionalCompaniesCode}
</if>
</if>
<if
test=
"province != null and province != ''"
>
<if
test=
"province != null and province != ''"
>
AND h
ygf_peasant_household
.project_address LIKE CONCAT ('%',#{province},'%')
AND h
ph
.project_address LIKE CONCAT ('%',#{province},'%')
</if>
</if>
<if
test=
"city != null and city != ''"
>
<if
test=
"city != null and city != ''"
>
AND h
ygf_peasant_household
.project_address LIKE CONCAT ('%',#{city},'%')
AND h
ph
.project_address LIKE CONCAT ('%',#{city},'%')
</if>
</if>
<if
test=
"district != null and district != ''"
>
<if
test=
"district != null and district != ''"
>
AND h
ygf_peasant_household
.project_address LIKE CONCAT ('%',#{district},'%')
AND h
ph
.project_address LIKE CONCAT ('%',#{district},'%')
</if>
</if>
GROUP BY
GROUP BY
STATUS
STATUS
...
...
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