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
1eb2574c
Commit
1eb2574c
authored
Jul 08, 2024
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
检验检测:
1.电梯检测增加报检规则 2.自动作废描述修改
parent
f07b4c2a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
9 deletions
+14
-9
OpenApplicationTimingDiscardJob.java
.../module/jyjc/biz/job/OpenApplicationTimingDiscardJob.java
+1
-1
JyjcOpeningApplicationServiceImpl.java
...c/biz/service/impl/JyjcOpeningApplicationServiceImpl.java
+9
-6
application-dev.properties
...le-jyjc-biz/src/main/resources/application-dev.properties
+4
-2
No files found.
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-biz/src/main/java/com/yeejoin/amos/boot/module/jyjc/biz/job/OpenApplicationTimingDiscardJob.java
View file @
1eb2574c
...
@@ -39,7 +39,7 @@ public class OpenApplicationTimingDiscardJob {
...
@@ -39,7 +39,7 @@ public class OpenApplicationTimingDiscardJob {
if
(
CollectionUtils
.
isNotEmpty
(
longs
))
{
if
(
CollectionUtils
.
isNotEmpty
(
longs
))
{
for
(
Long
aLong
:
longs
)
{
for
(
Long
aLong
:
longs
)
{
String
remark
=
"
到期
作废"
;
String
remark
=
"
许可到期,系统自动
作废"
;
jyjcOpeningApplicationServiceImpl
.
doDiscard
(
aLong
,
remark
);
jyjcOpeningApplicationServiceImpl
.
doDiscard
(
aLong
,
remark
);
}
}
...
...
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-biz/src/main/java/com/yeejoin/amos/boot/module/jyjc/biz/service/impl/JyjcOpeningApplicationServiceImpl.java
View file @
1eb2574c
...
@@ -316,7 +316,7 @@ public class JyjcOpeningApplicationServiceImpl extends BaseService<JyjcOpeningAp
...
@@ -316,7 +316,7 @@ public class JyjcOpeningApplicationServiceImpl extends BaseService<JyjcOpeningAp
LambdaUpdateWrapper
<
JyjcOpeningApplication
>
updateWrapper
=
new
LambdaUpdateWrapper
<>();
LambdaUpdateWrapper
<
JyjcOpeningApplication
>
updateWrapper
=
new
LambdaUpdateWrapper
<>();
updateWrapper
.
set
(
JyjcOpeningApplication:
:
getStatus
,
FlowStatusEnum
.
TO_BE_DISCARD
.
getCode
())
updateWrapper
.
set
(
JyjcOpeningApplication:
:
getStatus
,
FlowStatusEnum
.
TO_BE_DISCARD
.
getCode
())
.
set
(
JyjcOpeningApplication:
:
getStatusName
,
FlowStatusEnum
.
TO_BE_DISCARD
.
getName
())
.
set
(
JyjcOpeningApplication:
:
getStatusName
,
FlowStatusEnum
.
TO_BE_DISCARD
.
getName
())
.
set
(
JyjcOpeningApplication:
:
getRemark
,
"
到期
作废"
)
.
set
(
JyjcOpeningApplication:
:
getRemark
,
"
新开通申请生效,原有开通申请自动
作废"
)
.
in
(
org
.
typroject
.
tyboot
.
core
.
rdbms
.
orm
.
entity
.
BaseEntity
::
getSequenceNbr
,
ids
);
.
in
(
org
.
typroject
.
tyboot
.
core
.
rdbms
.
orm
.
entity
.
BaseEntity
::
getSequenceNbr
,
ids
);
this
.
update
(
updateWrapper
);
this
.
update
(
updateWrapper
);
}
}
...
@@ -453,18 +453,21 @@ public class JyjcOpeningApplicationServiceImpl extends BaseService<JyjcOpeningAp
...
@@ -453,18 +453,21 @@ public class JyjcOpeningApplicationServiceImpl extends BaseService<JyjcOpeningAp
}
}
private
void
setBaseUnitLicences
(
String
unitCode
,
JyjcOpeningApplicationModel
jyjcOpeningApplicationModel
,
boolean
isNeedFilter
)
{
private
void
setBaseUnitLicences
(
String
unitCode
,
JyjcOpeningApplicationModel
jyjcOpeningApplicationModel
,
boolean
isNeedFilter
)
{
List
<
BaseUnitLicence
>
baseUnitLicences
=
baseUnitLicenceMapper
.
selectList
(
new
LambdaQueryWrapper
<
BaseUnitLicence
>().
eq
(
BaseUnitLicence:
:
getUnitCode
,
unitCode
).
in
(
BaseUnitLicence:
:
getCertTypeCode
,
Arrays
.
asList
(
jyCertTypeCode
,
jcCertTypeCode
)));
List
<
BaseUnitLicence
>
baseUnitLicences
=
baseUnitLicenceMapper
.
selectList
(
new
LambdaQueryWrapper
<
BaseUnitLicence
>()
List
<
TzBaseUnitLicenceDto
>
baseUnitLicencesDtos
=
baseUnitLicences
.
stream
().
map
(
l
->
{
.
eq
(
BaseUnitLicence:
:
getUnitCode
,
unitCode
)
.
gt
(
BaseUnitLicence:
:
getExpiryDate
,
new
Date
())
.
in
(
BaseUnitLicence:
:
getCertTypeCode
,
Arrays
.
asList
(
jyCertTypeCode
,
jcCertTypeCode
)));
List
<
TzBaseUnitLicenceDto
>
licences
=
baseUnitLicences
.
stream
().
map
(
l
->
{
TzBaseUnitLicenceDto
licenceDto
=
new
TzBaseUnitLicenceDto
();
TzBaseUnitLicenceDto
licenceDto
=
new
TzBaseUnitLicenceDto
();
BeanUtil
.
copyProperties
(
l
,
licenceDto
);
BeanUtil
.
copyProperties
(
l
,
licenceDto
);
licenceDto
.
setCertTypeCode
(
this
.
castCode2Str
(
l
.
getCertTypeCode
()));
licenceDto
.
setCertTypeCode
(
this
.
castCode2Str
(
l
.
getCertTypeCode
()));
return
licenceDto
;
return
licenceDto
;
}).
collect
(
Collectors
.
toList
());
}).
collect
(
Collectors
.
toList
());
if
(
isNeedFilter
)
{
if
(
isNeedFilter
)
{
baseUnitLicencesDtos
=
baseUnitLicencesDto
s
.
stream
().
filter
(
u
->
u
.
getCertTypeCode
().
equals
(
jyjcOpeningApplicationModel
.
getOpenBizType
())).
collect
(
Collectors
.
toList
());
licences
=
licence
s
.
stream
().
filter
(
u
->
u
.
getCertTypeCode
().
equals
(
jyjcOpeningApplicationModel
.
getOpenBizType
())).
collect
(
Collectors
.
toList
());
jyjcOpeningApplicationModel
.
setBaseUnitLicences
(
baseUnitLicencesDto
s
);
jyjcOpeningApplicationModel
.
setBaseUnitLicences
(
licence
s
);
}
else
{
}
else
{
jyjcOpeningApplicationModel
.
setBaseUnitLicences
(
baseUnitLicencesDto
s
);
jyjcOpeningApplicationModel
.
setBaseUnitLicences
(
licence
s
);
}
}
}
}
...
...
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-biz/src/main/resources/application-dev.properties
View file @
1eb2574c
...
@@ -67,4 +67,6 @@ inspection.rule.enabled.AZJDJY=true
...
@@ -67,4 +67,6 @@ inspection.rule.enabled.AZJDJY=true
#改造监督检验是否启用规则:true-启用,false-不启用
#改造监督检验是否启用规则:true-启用,false-不启用
inspection.rule.enabled.GZJDJY
=
true
inspection.rule.enabled.GZJDJY
=
true
#维修监督检验是否启用规则:true-启用,false-不启用
#维修监督检验是否启用规则:true-启用,false-不启用
inspection.rule.enabled.WXJDJY
=
true
inspection.rule.enabled.WXJDJY
=
true
\ No newline at end of file
#电梯检测是否启用规则:true-启用,false-不启用
inspection.rule.enabled.DTJC
=
true
\ No newline at end of file
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