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
e34cd1ea
Commit
e34cd1ea
authored
Jul 09, 2024
by
chenzhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复派工单子部门数据选择不到
parent
019dda7c
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
PeasantHouseholdMapper.java
...s/boot/module/hygf/api/mapper/PeasantHouseholdMapper.java
+1
-1
PeasantHouseholdMapper.xml
...rc/main/resources/mapper/mysql/PeasantHouseholdMapper.xml
+1
-1
UnitInfoController.java
...s/boot/module/hygf/biz/controller/UnitInfoController.java
+1
-1
UnitInfoServiceImpl.java
...oot/module/hygf/biz/service/impl/UnitInfoServiceImpl.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/PeasantHouseholdMapper.java
View file @
e34cd1ea
...
@@ -21,7 +21,7 @@ public interface PeasantHouseholdMapper extends BaseMapper<PeasantHousehold> {
...
@@ -21,7 +21,7 @@ public interface PeasantHouseholdMapper extends BaseMapper<PeasantHousehold> {
@Param
(
"ownersName"
)
String
ownersName
,
@Param
(
"ownersName"
)
String
ownersName
,
@Param
(
"ids"
)
String
ids
@Param
(
"ids"
)
String
ids
);
);
List
<
PeasantHousehold
>
selectPeasantHouseholdListsg
(
@Param
(
"
developerId"
)
Long
developerId
,
List
<
PeasantHousehold
>
selectPeasantHouseholdListsg
(
@Param
(
"
unitInfoCode"
)
String
unitInfoCode
,
@Param
(
"regionalCompaniesSeq"
)
Long
regionalCompaniesSeq
,
@Param
(
"regionalCompaniesSeq"
)
Long
regionalCompaniesSeq
,
@Param
(
"peasantHouseholdNo"
)
String
peasantHouseholdNo
,
@Param
(
"peasantHouseholdNo"
)
String
peasantHouseholdNo
,
@Param
(
"ownersName"
)
String
ownersName
,
@Param
(
"ownersName"
)
String
ownersName
,
...
...
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/resources/mapper/mysql/PeasantHouseholdMapper.xml
View file @
e34cd1ea
...
@@ -32,7 +32,7 @@ on hygf_document_station.preparation_money_id=hygf_preparation_money.sequence_nb
...
@@ -32,7 +32,7 @@ on hygf_document_station.preparation_money_id=hygf_preparation_money.sequence_nb
FROM hygf_peasant_household
FROM hygf_peasant_household
where
where
hygf_peasant_household.construction_state='备货完成'
hygf_peasant_household.construction_state='备货完成'
and hygf_peasant_household.developer_id
=#{developerId}
and hygf_peasant_household.developer_id
like concat('%',#{developerId},'%')
and hygf_peasant_household.regional_companies_seq=#{regionalCompaniesSeq}
and hygf_peasant_household.regional_companies_seq=#{regionalCompaniesSeq}
and hygf_peasant_household.sequence_nbr not in (
and hygf_peasant_household.sequence_nbr not in (
select hygf_work_order_power_station.peasant_household_id from hygf_work_order_power_station
select hygf_work_order_power_station.peasant_household_id from hygf_work_order_power_station
...
...
amos-boot-system-jxiop/amos-boot-module-hygf-biz/src/main/java/com/yeejoin/amos/boot/module/hygf/biz/controller/UnitInfoController.java
View file @
e34cd1ea
...
@@ -904,7 +904,7 @@ public ResponseModel< List<Map<String,Object>> > getRegionalCompanieByuser(
...
@@ -904,7 +904,7 @@ public ResponseModel< List<Map<String,Object>> > getRegionalCompanieByuser(
)
{
)
{
UserUnitInformationDto
userUnitInformationDto
=
personnelBusinessMapper
.
getUserUnitInformationDto
(
getUserInfo
().
getUserId
());
UserUnitInformationDto
userUnitInformationDto
=
personnelBusinessMapper
.
getUserUnitInformationDto
(
getUserInfo
().
getUserId
());
return
ResponseHelper
.
buildResponse
(
unitInfoServiceImpl
.
selectPeasantHouseholdListsg
(
userUnitInformationDto
.
getAmosDealer
Id
(),
regionalCompaniesSeq
,
current
,
size
,
peasantHouseholdNo
,
ownersName
,
ids
));
return
ResponseHelper
.
buildResponse
(
unitInfoServiceImpl
.
selectPeasantHouseholdListsg
(
userUnitInformationDto
.
getAmosDealer
OrgCode
(),
regionalCompaniesSeq
,
current
,
size
,
peasantHouseholdNo
,
ownersName
,
ids
));
}
}
}
}
amos-boot-system-jxiop/amos-boot-module-hygf-biz/src/main/java/com/yeejoin/amos/boot/module/hygf/biz/service/impl/UnitInfoServiceImpl.java
View file @
e34cd1ea
...
@@ -1054,7 +1054,7 @@ public class UnitInfoServiceImpl extends BaseService<UnitInfoDto,UnitInfo,UnitIn
...
@@ -1054,7 +1054,7 @@ public class UnitInfoServiceImpl extends BaseService<UnitInfoDto,UnitInfo,UnitIn
pagenew
.
setRecords
(
page
.
getList
());
pagenew
.
setRecords
(
page
.
getList
());
return
pagenew
;
return
pagenew
;
}
}
public
Page
<
PeasantHousehold
>
selectPeasantHouseholdListsg
(
Long
unitInfoId
,
public
Page
<
PeasantHousehold
>
selectPeasantHouseholdListsg
(
String
unitInfoCode
,
Long
regionalCompaniesSeq
,
Long
regionalCompaniesSeq
,
int
pageNum
,
int
pageNum
,
int
pageSize
,
int
pageSize
,
...
@@ -1062,7 +1062,7 @@ public class UnitInfoServiceImpl extends BaseService<UnitInfoDto,UnitInfo,UnitIn
...
@@ -1062,7 +1062,7 @@ public class UnitInfoServiceImpl extends BaseService<UnitInfoDto,UnitInfo,UnitIn
String
ownersName
,
String
ownersName
,
String
ids
){
String
ids
){
PageHelper
.
startPage
(
pageNum
,
pageSize
);
PageHelper
.
startPage
(
pageNum
,
pageSize
);
List
<
PeasantHousehold
>
list
=
peasantHouseholdMapper
.
selectPeasantHouseholdListsg
(
unitInfo
Id
,
regionalCompaniesSeq
,
peasantHouseholdNo
,
ownersName
,
ids
);
List
<
PeasantHousehold
>
list
=
peasantHouseholdMapper
.
selectPeasantHouseholdListsg
(
unitInfo
Code
,
regionalCompaniesSeq
,
peasantHouseholdNo
,
ownersName
,
ids
);
PageInfo
<
PeasantHousehold
>
page
=
new
PageInfo
(
list
);
PageInfo
<
PeasantHousehold
>
page
=
new
PageInfo
(
list
);
Page
<
PeasantHousehold
>
pagenew
=
new
Page
<
PeasantHousehold
>();
Page
<
PeasantHousehold
>
pagenew
=
new
Page
<
PeasantHousehold
>();
pagenew
.
setCurrent
(
pageNum
);
pagenew
.
setCurrent
(
pageNum
);
...
...
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