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
e6427156
Commit
e6427156
authored
Jan 07, 2025
by
chenzhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代扣优化项 批量生成 批量上传 采集问题处理
parent
52016072
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
23 additions
and
9 deletions
+23
-9
GoLangDataAcquisitionServiceImpl.java
...i/face/service/impl/GoLangDataAcquisitionServiceImpl.java
+10
-2
SunlightServiceImpl.java
...i/householdapi/face/service/impl/SunlightServiceImpl.java
+8
-2
StatisticsHomepageMapper.xml
.../main/resources/mapper/mysql/StatisticsHomepageMapper.xml
+1
-1
IcbcWithholdController.java
...ot/module/hygf/biz/controller/IcbcWithholdController.java
+2
-2
StatisticsHomepageServiceImpl.java
.../hygf/biz/service/impl/StatisticsHomepageServiceImpl.java
+2
-2
No files found.
amos-boot-data/amos-boot-data-housepvapi/src/main/java/com/yeejoin/amos/api/householdapi/face/service/impl/GoLangDataAcquisitionServiceImpl.java
View file @
e6427156
...
...
@@ -200,8 +200,16 @@ public class GoLangDataAcquisitionServiceImpl implements GoLangDataAcquisitionSe
}
else
{
jpStation
.
setMonthGenerate
(
golangStationDetail
.
getMonthenergy
());
}
jpStation
.
setYearGenerate
(
golangStationDetail
.
getYearenergy
()
*
GoLangConstant
.
mwhTokwh
);
jpStation
.
setAccumulatedPower
(
golangStationDetail
.
getAllenergy
()
*
GoLangConstant
.
mwhTokwh
);
if
(!
golangStationDetail
.
getYearenergystr
().
toLowerCase
().
equals
(
"kwh"
))
{
jpStation
.
setYearGenerate
(
golangStationDetail
.
getYearenergy
()
*
GoLangConstant
.
mwhTokwh
);
}
else
{
jpStation
.
setYearGenerate
(
golangStationDetail
.
getYearenergy
());
}
if
(!
golangStationDetail
.
getAllenergystr
().
toLowerCase
().
equals
(
"kwh"
))
{
jpStation
.
setAccumulatedPower
(
golangStationDetail
.
getAllenergy
()
*
GoLangConstant
.
mwhTokwh
);
}
else
{
jpStation
.
setAccumulatedPower
(
golangStationDetail
.
getAllenergy
()
);
}
jpStation
.
setDayIncome
(
golangStationDetail
.
getDayincome
());
jpStation
.
setMonthIncome
(
golangStationDetail
.
getMonthincome
());
jpStation
.
setYearIncome
(
golangStationDetail
.
getYearincome
());
...
...
amos-boot-data/amos-boot-data-housepvapi/src/main/java/com/yeejoin/amos/api/householdapi/face/service/impl/SunlightServiceImpl.java
View file @
e6427156
...
...
@@ -283,8 +283,14 @@ public class SunlightServiceImpl implements SunlightService {
if
(
map5
!=
null
&&
map5
.
get
(
"unit"
)
!=
null
&&
!
map5
.
get
(
"unit"
).
isEmpty
()
&&
!
"--"
.
equals
(
map5
.
get
(
"value"
)))
{
if
(!
map5
.
get
(
"unit"
).
equals
(
""
)){
jpStation
.
setCumulativeIncome
(
SunlightUtil
.
sy
.
get
(
String
.
valueOf
(
map5
.
get
(
"unit"
)))
*
Double
.
valueOf
(
String
.
valueOf
(
map5
.
get
(
"value"
))));
// 累计收益
try
{
jpStation
.
setCumulativeIncome
(
SunlightUtil
.
sy
.
get
(
String
.
valueOf
(
map5
.
get
(
"unit"
)))
*
Double
.
valueOf
(
String
.
valueOf
(
map5
.
get
(
"value"
))));
// 累计收益
}
catch
(
Exception
e
){
//此处出现异常 直接赋值0.0 异常原因基本为厂商赋值问题
jpStation
.
setCumulativeIncome
(
0.0
);
}
}
else
{
jpStation
.
setCumulativeIncome
(
0.0
);
}
...
...
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/resources/mapper/mysql/StatisticsHomepageMapper.xml
View file @
e6427156
...
...
@@ -279,7 +279,7 @@
WHEN info.`status` = '审核通过' THEN
'待放款'
WHEN info.`status` = '待融资审核' THEN
'
待审核
'
'
已推送
'
WHEN info.`status` = '审核不通过' or info.`status` = '重新验收' THEN
'未通过'
WHEN info.`status` = '放款完成' THEN
...
...
amos-boot-system-jxiop/amos-boot-module-hygf-biz/src/main/java/com/yeejoin/amos/boot/module/hygf/biz/controller/IcbcWithholdController.java
View file @
e6427156
...
...
@@ -208,9 +208,9 @@ public class IcbcWithholdController extends BaseController {
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
" 聚富通代扣信息文件批量上传"
,
notes
=
" 聚富通代扣信息文件批量上传"
)
@GetMapping
(
value
=
"/sftpUploadAndUnzipFiles"
)
@Transactional
public
ResponseModel
sftpUploadAndUnzipFiles
(
List
<
Long
>
ids
)
throws
Exception
{
public
ResponseModel
sftpUploadAndUnzipFiles
(
IcbcWithholdDto
model
)
throws
Exception
{
ReginParams
reginParams
=
getSelectedOrgInfo
();
icbcWithholdServiceImpl
.
sftpUploadAndUnzipFiles
(
ids
,
reginParams
.
getUserModel
().
getRealName
());
icbcWithholdServiceImpl
.
sftpUploadAndUnzipFiles
(
model
.
getIds
()
,
reginParams
.
getUserModel
().
getRealName
());
return
CommonResponseNewUtil
.
success
();
}
/**
...
...
amos-boot-system-jxiop/amos-boot-module-hygf-biz/src/main/java/com/yeejoin/amos/boot/module/hygf/biz/service/impl/StatisticsHomepageServiceImpl.java
View file @
e6427156
...
...
@@ -107,11 +107,11 @@ public class StatisticsHomepageServiceImpl {
List
<
String
>
surveKeys
=
new
ArrayList
<>(
Arrays
.
asList
(
"未通过"
,
"未勘察"
,
"已完成(法务审核)"
,
"设计待审核"
,
"投融待审核"
,
"法务待审核"
));
List
<
String
>
contractKeys
=
new
ArrayList
<>(
Arrays
.
asList
(
"双方已签署"
,
"农户已签署"
,
"未签署"
,
"已作废"
));
List
<
String
>
workOrder
=
new
ArrayList
<>(
Arrays
.
asList
(
"未通过"
,
"施工资料上传"
,
"完工登记"
,
"经销商工程待审核"
,
"片区运营待审核"
,
"工程待审核"
,
"设计待审核"
,
"已完成"
,
"整改待审核"
,
"待整改"
));
List
<
String
>
preparationMoneyKeys
=
new
ArrayList
<>(
Arrays
.
asList
(
"待发货"
,
"已收货"
,
"
已发
货"
));
List
<
String
>
preparationMoneyKeys
=
new
ArrayList
<>(
Arrays
.
asList
(
"待发货"
,
"已收货"
,
"
待收
货"
));
List
<
String
>
desionKeys
=
new
ArrayList
<>(
Arrays
.
asList
(
"施工图已上传"
,
"典设图已上传"
));
List
<
String
>
gridKeys
=
new
ArrayList
<>(
Arrays
.
asList
(
"待登记"
,
"审核中"
,
"已完成"
,
"未通过"
,
"整改待审核"
,
"待整改"
));
List
<
String
>
acceptanceKeys
=
new
ArrayList
<>(
Arrays
.
asList
(
"待提交"
,
"已完成"
,
"审核中"
,
"整改待审核"
,
"待整改"
,
"未通过"
));
List
<
String
>
financingKeys
=
new
ArrayList
<>(
Arrays
.
asList
(
"未通过"
,
"已放款"
,
"放款完成"
,
"
待审核
"
,
"待推送"
,
"待放款"
));
List
<
String
>
financingKeys
=
new
ArrayList
<>(
Arrays
.
asList
(
"未通过"
,
"已放款"
,
"放款完成"
,
"
已推送
"
,
"待推送"
,
"待放款"
));
List
<
Map
<
String
,
Object
>>
list
=
new
ArrayList
<>();
switch
(
type
){
case
"surey"
:
...
...
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