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
cdc71791
Commit
cdc71791
authored
Jul 09, 2024
by
chenzhao
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/developer' into developer
parents
f7547b00
bcc73203
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
1 deletion
+7
-1
UserDataJBDto.java
.../yeejoin/amos/boot/module/hygf/api/dto/UserDataJBDto.java
+1
-0
PeasantHouseholdMapper.xml
...rc/main/resources/mapper/mysql/PeasantHouseholdMapper.xml
+1
-1
PersonnelBusinessServiceImpl.java
...e/hygf/biz/service/impl/PersonnelBusinessServiceImpl.java
+5
-0
No files found.
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/java/com/yeejoin/amos/boot/module/hygf/api/dto/UserDataJBDto.java
View file @
cdc71791
...
...
@@ -33,4 +33,5 @@ public class UserDataJBDto {
* 是否有业务操作
*/
private
Boolean
hasOperationRecords
;
private
List
<
Long
>
role
;
}
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/resources/mapper/mysql/PeasantHouseholdMapper.xml
View file @
cdc71791
...
...
@@ -69,7 +69,7 @@ on hygf_document_station.preparation_money_id=hygf_preparation_money.sequence_nb
and developer_code = #{developerCode}
</if>
<if
test=
"peasantHouseholdNo!=null and peasantHouseholdNo !=''"
>
and peasant_household_no
= #{peasantHouseholdNo}
and peasant_household_no
like concat ('%',#{peasantHouseholdNo},'%')
</if>
ORDER BY creation_time DESC
</select>
...
...
amos-boot-system-jxiop/amos-boot-module-hygf-biz/src/main/java/com/yeejoin/amos/boot/module/hygf/biz/service/impl/PersonnelBusinessServiceImpl.java
View file @
cdc71791
...
...
@@ -505,6 +505,7 @@ public class PersonnelBusinessServiceImpl extends BaseService<PersonnelBusinessD
Boolean
hasOperationRecords
=
hasOperationRecords
(
id
);
userDataZHDto
.
setHasOperationRecords
(
hasOperationRecords
);
userDataJBDto
.
setHasOperationRecords
(
hasOperationRecords
);
userDataJBDto
.
setRole
(
JSONArray
.
parseArray
(
publicAgencyUse
.
getRole
(),
long
.
class
));
return
new
UserDataDto
(
userDataZHDto
,
userDataJBDto
,
userDataZZDto
);
}
...
...
@@ -529,6 +530,10 @@ public class PersonnelBusinessServiceImpl extends BaseService<PersonnelBusinessD
List
<
String
>
tableName
=
personnelBusinessMapper
.
selectHygfTableName
();
if
(
CollectionUtil
.
isNotEmpty
(
tableName
))
{
for
(
String
table
:
tableName
)
{
// 排除人员业务信息表, 经销商人员信息, 人员消息
if
(
"hygf_personnel_business"
.
equals
(
table
)
||
"hygf_unit_info"
.
equals
(
table
)
||
"hygf_user_message"
.
equals
(
table
))
{
continue
;
}
int
count
=
personnelBusinessMapper
.
countByUserId
(
table
,
userId
);
if
(
count
>
0
)
{
operateRecord
=
true
;
...
...
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