Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
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
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
项目统一框架
amos-boot-biz
Commits
ba51de05
Commit
ba51de05
authored
Feb 07, 2025
by
韩桐桐
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(jg):BUG 25436 使用登记、施工告知中筛选条件缺少属地监管部门筛选条件
parent
0deca752
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
48 additions
and
0 deletions
+48
-0
JgUseRegistrationDto.java
...oin/amos/boot/module/jg/api/dto/JgUseRegistrationDto.java
+3
-0
JgUseRegistration.java
...oin/amos/boot/module/jg/api/entity/JgUseRegistration.java
+12
-0
JgInstallationNoticeMapper.xml
.../src/main/resources/mapper/JgInstallationNoticeMapper.xml
+3
-0
JgUseRegistrationMapper.xml
...api/src/main/resources/mapper/JgUseRegistrationMapper.xml
+4
-0
DataDockServiceImpl.java
.../boot/module/jg/biz/service/impl/DataDockServiceImpl.java
+2
-0
JgUseRegistrationServiceImpl.java
...ule/jg/biz/service/impl/JgUseRegistrationServiceImpl.java
+24
-0
No files found.
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/java/com/yeejoin/amos/boot/module/jg/api/dto/JgUseRegistrationDto.java
View file @
ba51de05
...
...
@@ -183,4 +183,7 @@ public class JgUseRegistrationDto extends BaseDto {
@ApiModelProperty
(
value
=
" 监察处置机构代码"
)
private
String
supervisionOrgCode
;
@ApiModelProperty
(
value
=
"属地监管机构代码"
)
private
String
orgBranchCode
;
}
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/java/com/yeejoin/amos/boot/module/jg/api/entity/JgUseRegistration.java
View file @
ba51de05
...
...
@@ -274,4 +274,16 @@ public class JgUseRegistration extends BaseEntity {
@TableField
(
"origin_project_contraption_ids"
)
private
String
originProjectContraptionIds
;
/**
* 属地监管部门code
*/
@TableField
(
value
=
"org_branch_code"
)
private
String
orgBranchCode
;
/**
* 属地监管部门name
*/
@TableField
(
value
=
"org_branch_name"
)
private
String
orgBranchName
;
}
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/resources/mapper/JgInstallationNoticeMapper.xml
View file @
ba51de05
...
...
@@ -73,6 +73,9 @@
<if
test=
"param.useUnitCreditCode != null and param.useUnitCreditCode != ''"
>
AND isn.use_unit_credit_code = #{param.useUnitCreditCode}
</if>
<if
test=
"param.orgBranchCode != null and param.orgBranchCode != ''"
>
AND isn.org_branch_code LIKE concat(#{param.orgBranchCode},'%')
</if>
</if>
<if
test=
"type == 'supervision'"
>
<choose>
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/resources/mapper/JgUseRegistrationMapper.xml
View file @
ba51de05
...
...
@@ -55,6 +55,7 @@
ur.audit_status as auditStatus,
date_format(ur.reg_date,'%Y-%m-%d') as regDate,
ur.use_unit_name as useUnitName,
ur.org_branch_code as orgBranchCode,
ur.status,
ur.receive_org_name as receiveOrgName,
ur.use_address as place,
...
...
@@ -181,6 +182,9 @@
<if
test=
"dto.useUnitCode != null and dto.useUnitCode != ''"
>
and use_unit_credit_code = #{dto.useUnitCode}
</if>
<if
test=
"dto.orgBranchCode != null and dto.orgBranchCode != ''"
>
and orgBranchCode like concat(#{dto.orgBranchCode},'%')
</if>
<if
test=
"dto.auditPassDateStart != null and dto.auditPassDateEnd != null"
>
AND auditPassDate BETWEEN #{dto.auditPassDateStart} AND #{dto.auditPassDateEnd}
</if>
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/service/impl/DataDockServiceImpl.java
View file @
ba51de05
...
...
@@ -1863,6 +1863,8 @@ public class DataDockServiceImpl {
.
setCreateUserName
(
paramsDto
.
getExecUserName
())
.
setProjectContraptionId
(
String
.
valueOf
(
proCon
.
getSequenceNbr
()))
.
setProjectContraption
(
paramsDto
.
getProjectContraption
())
.
setOrgBranchCode
(
paramsDto
.
getOrgBranchCode
())
.
setOrgBranchName
(
paramsDto
.
getOrgBranchName
())
.
setRegDate
(
new
Date
());
useReg
.
setSequenceNbr
(
useRegseq
);
jgUseRegistrationServiceImpl
.
save
(
useReg
);
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/service/impl/JgUseRegistrationServiceImpl.java
View file @
ba51de05
...
...
@@ -606,6 +606,14 @@ public class JgUseRegistrationServiceImpl extends BaseService<JgUseRegistrationD
}
});
}
// 属地监管部门
Optional
.
ofNullable
(
map
.
get
(
"orgBranchCode"
).
toString
())
.
filter
(
code
->
code
.
contains
(
"_"
))
.
map
(
code
->
code
.
split
(
"_"
))
.
ifPresent
(
splitOrgBranchCode
->
{
jgUseRegistration
.
setOrgBranchCode
(
splitOrgBranchCode
[
0
]);
jgUseRegistration
.
setOrgBranchName
(
splitOrgBranchCode
[
1
]);
});
jgUseRegistration
.
setUseAddress
(
jgUseRegistration
.
getUseAddress
()
+
map
.
get
(
"address"
));
if
(
map
.
containsKey
(
"type"
)
&&
"edit"
.
equals
(
String
.
valueOf
(
map
.
get
(
"type"
))))
{
jgUseRegistration
.
setUseUnitCreditCode
(
null
);
...
...
@@ -829,6 +837,14 @@ public class JgUseRegistrationServiceImpl extends BaseService<JgUseRegistrationD
useRegistration
.
setReceiveCompanyCode
(
result
.
getCompanyCode
());
useRegistration
.
setReceiveOrgName
(
splitReceiveOrgCode
[
1
]);
});
// 属地监管部门
Optional
.
ofNullable
(
useRegistration
.
getOrgBranchCode
())
.
filter
(
code
->
code
.
contains
(
"_"
))
.
map
(
code
->
code
.
split
(
"_"
))
.
ifPresent
(
splitOrgBranchCode
->
{
useRegistration
.
setOrgBranchCode
(
splitOrgBranchCode
[
0
]);
useRegistration
.
setOrgBranchName
(
splitOrgBranchCode
[
1
]);
});
// 安全管理员
Optional
.
ofNullable
(
map
.
getString
(
"safetyManager"
))
...
...
@@ -3591,6 +3607,14 @@ public class JgUseRegistrationServiceImpl extends BaseService<JgUseRegistrationD
});
useStreetName
=
atomicUseStreet
.
get
();
}
// 属地监管部门
Optional
.
ofNullable
(
map
.
get
(
"orgBranchCode"
).
toString
())
.
filter
(
code
->
code
.
contains
(
"_"
))
.
map
(
code
->
code
.
split
(
"_"
))
.
ifPresent
(
splitOrgBranchCode
->
{
jgUseRegistration
.
setOrgBranchCode
(
splitOrgBranchCode
[
0
]);
jgUseRegistration
.
setOrgBranchName
(
splitOrgBranchCode
[
1
]);
});
jgUseRegistration
.
setUseAddress
(
jgUseRegistration
.
getUseAddress
()
+
map
.
get
(
"address"
));
if
(
map
.
containsKey
(
"edit"
)
&&
"1"
.
equals
(
String
.
valueOf
(
map
.
get
(
"edit"
))))
{
...
...
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