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
7a5df0b4
Commit
7a5df0b4
authored
Nov 11, 2024
by
朱晨阳
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改接口
parent
2729f501
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
34 additions
and
10 deletions
+34
-10
HouseholdContractPageDto.java
...os/boot/module/hygf/api/dto/HouseholdContractPageDto.java
+2
-0
AcceptanceCheckMapper.xml
...src/main/resources/mapper/mysql/AcceptanceCheckMapper.xml
+5
-2
BasicGridAcceptanceMapper.xml
...main/resources/mapper/mysql/BasicGridAcceptanceMapper.xml
+5
-2
FinancingInfoMapper.xml
...i/src/main/resources/mapper/mysql/FinancingInfoMapper.xml
+6
-1
HouseholdContractMapper.xml
...c/main/resources/mapper/mysql/HouseholdContractMapper.xml
+6
-0
WorkOrderMapper.xml
...f-api/src/main/resources/mapper/mysql/WorkOrderMapper.xml
+5
-2
FinancingInfoController.java
...t/module/hygf/biz/controller/FinancingInfoController.java
+3
-2
FinancingInfoServiceImpl.java
...odule/hygf/biz/service/impl/FinancingInfoServiceImpl.java
+2
-1
No files found.
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/java/com/yeejoin/amos/boot/module/hygf/api/dto/HouseholdContractPageDto.java
View file @
7a5df0b4
...
...
@@ -27,6 +27,8 @@ public class HouseholdContractPageDto extends Page<HouseholdContract> {
*/
private
String
status
;
private
String
projectAddress
;
/**
* 农户id
*/
...
...
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/resources/mapper/mysql/AcceptanceCheckMapper.xml
View file @
7a5df0b4
...
...
@@ -56,8 +56,11 @@
<if
test=
"map.formType != null and map.formType!=''"
>
AND hbga.acceptance_check_status IN ('2', '3', '4')
</if>
<if
test=
"map.projectAddress != null and map.projectAddress!=''"
>
AND hph.project_address_name LIKE concat(concat('%', #{map.projectAddress}), '%')
<if
test=
"map.projectAddress != null and map.projectAddress != '' and map.projectAddress.contains('/'.toString())"
>
AND hph.project_address_name LIKE CONCAT('%', #{map.projectAddress}, '%')
</if>
<if
test=
"map.projectAddress != null and map.projectAddress != '' and !map.projectAddress.contains('/'.toString())"
>
AND REPLACE(hph.project_address_name, '/', '') LIKE CONCAT('%', #{map.projectAddress}, '%')
</if>
<if
test=
"map.type != null"
>
and ( (hbga.basic_grid_node is not null AND hbga.basic_grid_node != 'jxsAdmin')
...
...
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/resources/mapper/mysql/BasicGridAcceptanceMapper.xml
View file @
7a5df0b4
...
...
@@ -64,8 +64,11 @@
<if
test=
"map.formType != null and map.formType!=''"
>
AND hbga.grid_status IN ('2', '3', '4')
</if>
<if
test=
"map.projectAddress != null and map.projectAddress!=''"
>
AND hph.project_address_name LIKE concat(concat('%', #{map.projectAddress}), '%')
<if
test=
"map.projectAddress != null and map.projectAddress != '' and map.projectAddress.contains('/'.toString())"
>
AND hph.project_address_name LIKE CONCAT('%', #{map.projectAddress}, '%')
</if>
<if
test=
"map.projectAddress != null and map.projectAddress != '' and !map.projectAddress.contains('/'.toString())"
>
AND REPLACE(hph.project_address_name, '/', '') LIKE CONCAT('%', #{map.projectAddress}, '%')
</if>
<if
test=
"map.type != null"
>
AND ( (hbga.basic_grid_node IS NOT NULL AND hbga.basic_grid_node != 'jxsAdmin' )
...
...
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/resources/mapper/mysql/FinancingInfoMapper.xml
View file @
7a5df0b4
...
...
@@ -50,7 +50,12 @@
<if
test=
"params.peasantHouseholdNo != null and params.peasantHouseholdNo !='' "
>
and hph.peasant_household_no = #{params.peasantHouseholdNo}
</if>
<if
test=
"params.projectAddress != null and params.projectAddress != '' and params.projectAddress.contains('/'.toString())"
>
AND concat(hph.project_address_name,hph.project_address_detail) LIKE CONCAT('%', #{params.projectAddress}, '%')
</if>
<if
test=
"params.projectAddress != null and params.projectAddress != '' and !params.projectAddress.contains('/'.toString())"
>
AND REPLACE(concat(hph.project_address_name,hph.project_address_detail), '/', '') LIKE CONCAT('%', #{params.projectAddress}, '%')
</if>
</where>
ORDER BY
info.rec_date DESC ,hph.sequence_nbr DESC ) as sta
...
...
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/resources/mapper/mysql/HouseholdContractMapper.xml
View file @
7a5df0b4
...
...
@@ -18,6 +18,12 @@
<if
test=
"dto.status != null and dto.status !=''"
>
and hygf_household_contract.status = #{dto.status}
</if>
<if
test=
"dto.projectAddress != null and dto.projectAddress != '' and dto.projectAddress.contains('/'.toString())"
>
AND hygf_household_contract.project_address_name LIKE CONCAT('%', #{dto.projectAddress}, '%')
</if>
<if
test=
"dto.projectAddress != null and dto.projectAddress != '' and !dto.projectAddress.contains('/'.toString())"
>
AND REPLACE(hygf_household_contract.project_address_name, '/', '') LIKE CONCAT('%', #{dto.projectAddress}, '%')
</if>
<if
test=
"dto.name != null and dto.name !='' "
>
and hygf_household_contract.name like concat('%',#{dto.name},'%')
</if>
...
...
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/resources/mapper/mysql/WorkOrderMapper.xml
View file @
7a5df0b4
...
...
@@ -117,8 +117,11 @@
or hygf_work_order_power_station.power_station_engineering_status is not null
)
</if>
<if
test=
"dto.projectAddressName!=null and dto.projectAddressName!=''"
>
and hygf_peasant_household.project_address_name like concat(concat('%',#{dto.projectAddressName}),'%')
<if
test=
"dto.projectAddressName != null and dto.projectAddressName != '' and dto.projectAddressName.contains('/'.toString())"
>
AND hygf_peasant_household.project_address_name LIKE CONCAT('%', #{dto.projectAddressName}, '%')
</if>
<if
test=
"dto.projectAddressName != null and dto.projectAddressName != '' and !dto.projectAddressName.contains('/'.toString())"
>
AND REPLACE(hygf_peasant_household.project_address_name, '/', '') LIKE CONCAT('%', #{dto.projectAddressName}, '%')
</if>
<if
test=
"dto.peasantHouseholdNo!=null and dto.peasantHouseholdNo!=''"
>
and hygf_peasant_household.peasant_household_no like concat(concat('%',#{dto.peasantHouseholdNo}),'%')
...
...
amos-boot-system-jxiop/amos-boot-module-hygf-biz/src/main/java/com/yeejoin/amos/boot/module/hygf/biz/controller/FinancingInfoController.java
View file @
7a5df0b4
...
...
@@ -166,11 +166,12 @@ public class FinancingInfoController extends BaseController {
@RequestParam
(
value
=
"region"
,
required
=
false
)
String
region
,
@RequestParam
(
value
=
"batchNo"
,
required
=
false
)
String
batchNo
,
@RequestParam
(
value
=
"isHistory"
,
required
=
false
)
String
isHistory
,
@RequestParam
(
value
=
"ownersName"
,
required
=
false
)
String
ownersName
){
@RequestParam
(
value
=
"ownersName"
,
required
=
false
)
String
ownersName
,
@RequestParam
(
value
=
"projectAddress"
,
required
=
false
)
String
projectAddress
){
Page
<
Map
<
String
,
Object
>>
page
=
new
Page
<
Map
<
String
,
Object
>>();
page
.
setCurrent
(
current
);
page
.
setSize
(
size
);
return
ResponseHelper
.
buildResponse
(
financingInfoServiceImpl
.
queryForFinancingInfoPage
(
page
,
type
,
status
,
regionalCompaniesCode
,
ownersName
,
region
,
batchNo
,
isHistory
));
return
ResponseHelper
.
buildResponse
(
financingInfoServiceImpl
.
queryForFinancingInfoPage
(
page
,
type
,
status
,
regionalCompaniesCode
,
ownersName
,
region
,
batchNo
,
isHistory
,
projectAddress
));
}
/**
...
...
amos-boot-system-jxiop/amos-boot-module-hygf-biz/src/main/java/com/yeejoin/amos/boot/module/hygf/biz/service/impl/FinancingInfoServiceImpl.java
View file @
7a5df0b4
...
...
@@ -87,7 +87,7 @@ public class FinancingInfoServiceImpl extends BaseService<FinancingInfoDto, Fina
private
RedisLockUtil
redisLockUtil
;
@UserLimits
public
Page
<
Map
<
String
,
Object
>>
queryForFinancingInfoPage
(
Page
<
Map
<
String
,
Object
>>
page
,
String
type
,
String
status
,
String
regionalCompaniesCode
,
String
ownersName
,
String
region
,
String
batchNo
,
String
isHistory
)
{
public
Page
<
Map
<
String
,
Object
>>
queryForFinancingInfoPage
(
Page
<
Map
<
String
,
Object
>>
page
,
String
type
,
String
status
,
String
regionalCompaniesCode
,
String
ownersName
,
String
region
,
String
batchNo
,
String
isHistory
,
String
projectAddress
)
{
StdUserEmpower
orgCode
=
(
StdUserEmpower
)
redisUtils
.
get
(
"Emp_"
+
RedisKey
.
buildReginKey
(
RequestContext
.
getExeUserId
(),
RequestContext
.
getToken
()));
ReginParams
reginParams
=
JSON
.
parseObject
(
redisUtils
.
get
(
RedisKey
.
buildReginKey
(
RequestContext
.
getExeUserId
(),
RequestContext
.
getToken
())).
toString
(),
ReginParams
.
class
);
List
<
String
>
amosOrgCodes
=
orgCode
.
getAmosOrgCode
();
...
...
@@ -101,6 +101,7 @@ public class FinancingInfoServiceImpl extends BaseService<FinancingInfoDto, Fina
params
.
put
(
"batchNo"
,
batchNo
);
params
.
put
(
"isHistory"
,
isHistory
);
params
.
put
(
"region"
,
region
);
params
.
put
(
"projectAddress"
,
projectAddress
);
// 1 投融人员 2.融资 3经销商管理员
switch
(
type
)
{
case
"1"
:
...
...
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