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
a7d3710d
Commit
a7d3710d
authored
Sep 13, 2024
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.历史登记时增加96333码的选择性录入
parent
d0579b7f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
IdxBizJgRegisterInfoServiceImpl.java
.../jg/biz/service/impl/IdxBizJgRegisterInfoServiceImpl.java
+10
-10
No files found.
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/IdxBizJgRegisterInfoServiceImpl.java
View file @
a7d3710d
...
@@ -2342,17 +2342,17 @@ public class IdxBizJgRegisterInfoServiceImpl extends BaseService<IdxBizJgRegiste
...
@@ -2342,17 +2342,17 @@ public class IdxBizJgRegisterInfoServiceImpl extends BaseService<IdxBizJgRegiste
if
(
isCopy
)
{
if
(
isCopy
)
{
// 设备状态置空
// 设备状态置空
useInfo
.
setEquState
(
null
);
useInfo
.
setEquState
(
""
);
// 如果为安改维单位复制设备,则将使用单位信息置空
// 如果为安改维单位复制设备,则将使用单位信息置空
if
(
companyTypeStr
.
equals
(
CompanyTypeEnum
.
CONSTRUCTION
.
getCode
()))
{
if
(
companyTypeStr
.
equals
(
CompanyTypeEnum
.
CONSTRUCTION
.
getCode
()))
{
useInfo
.
setUseUnitCreditCode
(
null
);
useInfo
.
setUseUnitCreditCode
(
""
);
useInfo
.
setUseUnitName
(
null
);
useInfo
.
setUseUnitName
(
""
);
}
}
// 如果既为安改维单位又是使用单位,则将厂车、起重机械-流动式起重机、压力容器-气瓶安改维单位信息置空
// 如果既为安改维单位又是使用单位,则将厂车、起重机械-流动式起重机、压力容器-气瓶安改维单位信息置空
if
(
companyTypeStr
.
contains
(
CompanyTypeEnum
.
CONSTRUCTION
.
getCode
())
&&
companyTypeStr
.
contains
(
CompanyTypeEnum
.
USE
.
getCode
()))
{
if
(
companyTypeStr
.
contains
(
CompanyTypeEnum
.
CONSTRUCTION
.
getCode
())
&&
companyTypeStr
.
contains
(
CompanyTypeEnum
.
USE
.
getCode
()))
{
if
(!
registerInfo
.
getEquList
().
equals
(
"5000"
)
&&
!
registerInfo
.
getEquCategory
().
equals
(
"4400"
)
&&
!
registerInfo
.
getEquCategory
().
equals
(
"2300"
))
{
if
(!
registerInfo
.
getEquList
().
equals
(
"5000"
)
&&
!
registerInfo
.
getEquCategory
().
equals
(
"4400"
)
&&
!
registerInfo
.
getEquCategory
().
equals
(
"2300"
))
{
constructionInfo
.
setUscUnitCreditCode
(
null
);
constructionInfo
.
setUscUnitCreditCode
(
""
);
constructionInfo
.
setUscUnitName
(
null
);
constructionInfo
.
setUscUnitName
(
""
);
}
}
}
}
}
}
...
@@ -2386,14 +2386,14 @@ public class IdxBizJgRegisterInfoServiceImpl extends BaseService<IdxBizJgRegiste
...
@@ -2386,14 +2386,14 @@ public class IdxBizJgRegisterInfoServiceImpl extends BaseService<IdxBizJgRegiste
if
(
isCopy
)
{
if
(
isCopy
)
{
if
(
companyTypeStr
.
equals
(
CompanyTypeEnum
.
USE
.
getCode
())
||
companyTypeStr
.
equals
(
CompanyTypeEnum
.
INDIVIDUAL
.
getCode
()))
{
if
(
companyTypeStr
.
equals
(
CompanyTypeEnum
.
USE
.
getCode
())
||
companyTypeStr
.
equals
(
CompanyTypeEnum
.
INDIVIDUAL
.
getCode
()))
{
constructionInfo
.
setUscUnitCreditCode
(
null
);
constructionInfo
.
setUscUnitCreditCode
(
""
);
constructionInfo
.
setUscUnitName
(
null
);
constructionInfo
.
setUscUnitName
(
""
);
}
}
// 如果既为安改维单位又是使用单位,则将厂车、起重机械-流动式起重机、压力容器-气瓶安改维单位信息置空
// 如果既为安改维单位又是使用单位,则将厂车、起重机械-流动式起重机、压力容器-气瓶安改维单位信息置空
if
(
companyTypeStr
.
contains
(
CompanyTypeEnum
.
CONSTRUCTION
.
getCode
())
&&
companyTypeStr
.
contains
(
CompanyTypeEnum
.
USE
.
getCode
()))
{
if
(
companyTypeStr
.
contains
(
CompanyTypeEnum
.
CONSTRUCTION
.
getCode
())
&&
companyTypeStr
.
contains
(
CompanyTypeEnum
.
USE
.
getCode
()))
{
if
(
registerInfo
.
getEquList
().
equals
(
"5000"
)
||
registerInfo
.
getEquCategory
().
equals
(
"4400"
)
||
registerInfo
.
getEquCategory
().
equals
(
"2300"
))
{
if
(
registerInfo
.
getEquList
().
equals
(
"5000"
)
||
registerInfo
.
getEquCategory
().
equals
(
"4400"
)
||
registerInfo
.
getEquCategory
().
equals
(
"2300"
))
{
constructionInfo
.
setUscUnitCreditCode
(
null
);
constructionInfo
.
setUscUnitCreditCode
(
""
);
constructionInfo
.
setUscUnitName
(
null
);
constructionInfo
.
setUscUnitName
(
""
);
}
}
}
}
}
}
...
@@ -2409,7 +2409,7 @@ public class IdxBizJgRegisterInfoServiceImpl extends BaseService<IdxBizJgRegiste
...
@@ -2409,7 +2409,7 @@ public class IdxBizJgRegisterInfoServiceImpl extends BaseService<IdxBizJgRegiste
// 补丁:saveOrUpdate在update数据时不会更新字段为null的字段,但是编辑设备的代码时,从有改成无,equCode解析成null,但是此时需要将equcode删掉
// 补丁:saveOrUpdate在update数据时不会更新字段为null的字段,但是编辑设备的代码时,从有改成无,equCode解析成null,但是此时需要将equcode删掉
registerInfo
.
setEquCode
(
ObjectUtils
.
isEmpty
(
registerInfo
.
getEquCode
())
?
""
:
registerInfo
.
getEquCode
());
registerInfo
.
setEquCode
(
ObjectUtils
.
isEmpty
(
registerInfo
.
getEquCode
())
?
""
:
registerInfo
.
getEquCode
());
// copy设备 =》 使用登记证号置空
// copy设备 =》 使用登记证号置空
registerInfo
.
setUseOrgCode
(
isCopy
?
null
:
registerInfo
.
getUseOrgCode
());
registerInfo
.
setUseOrgCode
(
isCopy
?
""
:
registerInfo
.
getUseOrgCode
());
this
.
saveOrUpdate
(
registerInfo
);
this
.
saveOrUpdate
(
registerInfo
);
// 维保备案
// 维保备案
...
...
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