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
86b5d7bf
Commit
86b5d7bf
authored
Sep 20, 2024
by
chenzhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
质押关系 省份变更
parent
487a5c38
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
26 additions
and
8 deletions
+26
-8
FinancingRegionalMapper.java
.../boot/module/hygf/api/mapper/FinancingRegionalMapper.java
+1
-1
FinancingInfoMapper.xml
...i/src/main/resources/mapper/mysql/FinancingInfoMapper.xml
+2
-1
FinancingRegionalMapper.xml
...c/main/resources/mapper/mysql/FinancingRegionalMapper.xml
+8
-0
JpStationMapper.xml
...f-api/src/main/resources/mapper/mysql/JpStationMapper.xml
+1
-1
FinancingRegionalController.java
...dule/hygf/biz/controller/FinancingRegionalController.java
+7
-3
JpStationController.java
.../boot/module/hygf/biz/controller/JpStationController.java
+5
-0
FinancingRegionalServiceImpl.java
...e/hygf/biz/service/impl/FinancingRegionalServiceImpl.java
+2
-2
No files found.
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/java/com/yeejoin/amos/boot/module/hygf/api/mapper/FinancingRegionalMapper.java
View file @
86b5d7bf
...
...
@@ -15,6 +15,6 @@ import java.util.List;
public
interface
FinancingRegionalMapper
extends
BaseMapper
<
FinancingRegional
>
{
@UserEmpower
(
field
={
"regional_companies_code"
}
,
dealerField
={
"regional_companies_code"
},
fieldConditions
={
"in"
,
"in"
}
,
relationship
=
"and"
,
specific
=
false
)
List
<
FinancingRegional
>
queryDataForPage
();
List
<
FinancingRegional
>
queryDataForPage
(
String
regionalCompaniesName
,
String
province
);
}
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/resources/mapper/mysql/FinancingInfoMapper.xml
View file @
86b5d7bf
...
...
@@ -17,7 +17,8 @@
hygf_unit_info.head_phone responsibleUserPhone,
CONCAT(info.disbursement_money,'') as disbursementMoney,
hph.regional_companies_code,
hph.developer_code
hph.developer_code,
info.financing_companies_name financingCompaniesName
FROM
`hygf_peasant_household` hph
LEFT JOIN hygf_financing_info info ON info.peasant_household_id = hph.sequence_nbr
...
...
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/resources/mapper/mysql/FinancingRegionalMapper.xml
View file @
86b5d7bf
...
...
@@ -4,6 +4,14 @@
<select
id=
"queryDataForPage"
resultType=
"com.yeejoin.amos.boot.module.hygf.api.entity.FinancingRegional"
>
select * from hygf_financing_regional
<where>
<if
test=
"regionalCompaniesName != null and regionalCompaniesName != ''"
>
and hygf_financing_regional.regional_companies_name = #{regionalCompaniesName}
</if>
<if
test=
"province != null and province != ''"
>
and hygf_financing_regional.province = #{province}
</if>
</where>
</select>
</mapper>
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/resources/mapper/mysql/JpStationMapper.xml
View file @
86b5d7bf
...
...
@@ -258,7 +258,7 @@
FROM
systemctl_region sr
WHERE
sr.REGION_
COD
E = #{province}
sr.REGION_
NAM
E = #{province}
UNION ALL
SELECT
h.SEQUENCE_NBR
...
...
amos-boot-system-jxiop/amos-boot-module-hygf-biz/src/main/java/com/yeejoin/amos/boot/module/hygf/biz/controller/FinancingRegionalController.java
View file @
86b5d7bf
...
...
@@ -107,10 +107,14 @@ public class FinancingRegionalController extends BaseController {
@GetMapping
(
value
=
"/page"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"融资机构区域公司绑定表分页查询"
,
notes
=
"融资机构区域公司绑定表分页查询"
)
@UserLimits
public
ResponseModel
<
Page
<
FinancingRegional
>>
queryForPage
(
@RequestParam
(
value
=
"current"
)
int
current
,
@RequestParam
(
value
=
"size"
)
int
size
)
{
public
ResponseModel
<
Page
<
FinancingRegional
>>
queryForPage
(
@RequestParam
(
value
=
"current"
)
int
current
,
@RequestParam
(
value
=
"size"
)
int
size
,
@RequestParam
(
value
=
"regionalCompaniesName"
,
required
=
false
)
String
regionalCompaniesName
,
@RequestParam
(
value
=
"province"
,
required
=
false
)
String
province
return
ResponseHelper
.
buildResponse
(
financingRegionalServiceImpl
.
queryForFinancingRegionalPage
(
current
,
size
));
)
{
return
ResponseHelper
.
buildResponse
(
financingRegionalServiceImpl
.
queryForFinancingRegionalPage
(
current
,
size
,
regionalCompaniesName
,
province
));
}
/**
...
...
amos-boot-system-jxiop/amos-boot-module-hygf-biz/src/main/java/com/yeejoin/amos/boot/module/hygf/biz/controller/JpStationController.java
View file @
86b5d7bf
...
...
@@ -12,6 +12,8 @@ import com.yeejoin.amos.boot.module.hygf.api.dto.JpStationDto;
import
com.yeejoin.amos.boot.module.hygf.api.dto.PowerStationStatistics
;
import
com.yeejoin.amos.boot.module.hygf.api.entity.*
;
import
com.yeejoin.amos.boot.module.hygf.api.mapper.*
;
import
com.yeejoin.amos.boot.module.hygf.api.util.CommonResponseNewUtil
;
import
com.yeejoin.amos.boot.module.hygf.api.util.CommonResponseUtil
;
import
com.yeejoin.amos.boot.module.hygf.biz.service.impl.DayGenerateServiceImpl
;
import
com.yeejoin.amos.boot.module.hygf.biz.service.impl.JpStationServiceImpl
;
import
io.swagger.annotations.Api
;
...
...
@@ -442,6 +444,9 @@ public class JpStationController extends BaseController {
@GetMapping
(
value
=
"/getRegionByProvince"
)
@UserLimits
public
ResponseModel
<
List
<
Map
<
String
,
String
>>>
getRegionByProvince
(
String
province
)
{
if
(
StringUtils
.
isEmpty
(
province
)){
return
CommonResponseNewUtil
.
success
();
}
List
<
String
>
ids
=
jpStationMapper
.
getRegionNode
(
province
);
...
...
amos-boot-system-jxiop/amos-boot-module-hygf-biz/src/main/java/com/yeejoin/amos/boot/module/hygf/biz/service/impl/FinancingRegionalServiceImpl.java
View file @
86b5d7bf
...
...
@@ -37,10 +37,10 @@ public class FinancingRegionalServiceImpl extends BaseService<FinancingRegionalD
/**
* 分页查询
*/
public
Page
<
FinancingRegional
>
queryForFinancingRegionalPage
(
int
current
,
int
size
)
{
public
Page
<
FinancingRegional
>
queryForFinancingRegionalPage
(
int
current
,
int
size
,
String
regionalCompaniesName
,
String
province
)
{
Page
<
FinancingRegional
>
page
=
new
Page
<>();
PageHelper
.
startPage
(
current
,
size
);
List
<
FinancingRegional
>
list
=
this
.
getBaseMapper
().
queryDataForPage
();
List
<
FinancingRegional
>
list
=
this
.
getBaseMapper
().
queryDataForPage
(
regionalCompaniesName
,
province
);
PageInfo
<
FinancingRegional
>
pageInfo
=
new
PageInfo
<>(
list
);
page
.
setSize
(
pageInfo
.
getSize
());
...
...
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