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
cdd907f2
Commit
cdd907f2
authored
Jan 30, 2024
by
zhangsen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
安装告知添加字段、 业务不完整,补充业务
parent
74edffcc
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
51 additions
and
0 deletions
+51
-0
JgInstallationNoticeDto.java
.../amos/boot/module/jg/api/dto/JgInstallationNoticeDto.java
+10
-0
JgInstallationNotice.java
.../amos/boot/module/jg/api/entity/JgInstallationNotice.java
+12
-0
JgInstallationNoticeServiceImpl.java
.../jg/biz/service/impl/JgInstallationNoticeServiceImpl.java
+29
-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/JgInstallationNoticeDto.java
View file @
cdd907f2
...
@@ -266,4 +266,14 @@ public class JgInstallationNoticeDto extends BaseDto {
...
@@ -266,4 +266,14 @@ public class JgInstallationNoticeDto extends BaseDto {
private
String
transferToUserIds
;
private
String
transferToUserIds
;
/**
* 属地监管部门code
*/
private
String
orgBranchCode
;
/**
* '属地监管部门name'
*/
private
String
orgBranchName
;
}
}
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/java/com/yeejoin/amos/boot/module/jg/api/entity/JgInstallationNotice.java
View file @
cdd907f2
...
@@ -429,4 +429,16 @@ public class JgInstallationNotice extends BaseEntity {
...
@@ -429,4 +429,16 @@ public class JgInstallationNotice extends BaseEntity {
@TableField
(
value
=
"transfer_to_user_ids"
)
@TableField
(
value
=
"transfer_to_user_ids"
)
private
String
transferToUserIds
;
private
String
transferToUserIds
;
/**
* 属地监管部门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-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/service/impl/JgInstallationNoticeServiceImpl.java
View file @
cdd907f2
...
@@ -5,6 +5,7 @@ import com.alibaba.fastjson.JSON;
...
@@ -5,6 +5,7 @@ import com.alibaba.fastjson.JSON;
import
com.alibaba.fastjson.JSONArray
;
import
com.alibaba.fastjson.JSONArray
;
import
com.alibaba.fastjson.JSONObject
;
import
com.alibaba.fastjson.JSONObject
;
import
com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper
;
import
com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper
;
import
com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yeejoin.amos.boot.biz.common.bo.ReginParams
;
import
com.yeejoin.amos.boot.biz.common.bo.ReginParams
;
import
com.yeejoin.amos.boot.biz.common.dao.mapper.DataDictionaryMapper
;
import
com.yeejoin.amos.boot.biz.common.dao.mapper.DataDictionaryMapper
;
...
@@ -124,6 +125,9 @@ public class JgInstallationNoticeServiceImpl extends BaseService<JgInstallationN
...
@@ -124,6 +125,9 @@ public class JgInstallationNoticeServiceImpl extends BaseService<JgInstallationN
SupervisoryCodeInfoMapper
supervisoryCodeInfoMapper
;
SupervisoryCodeInfoMapper
supervisoryCodeInfoMapper
;
@Autowired
@Autowired
SuperviseInfoMapper
superviseInfoMapper
;
@Autowired
IIdxBizJgConstructionInfoService
constructionInfoService
;
IIdxBizJgConstructionInfoService
constructionInfoService
;
@Autowired
@Autowired
...
@@ -184,6 +188,9 @@ public class JgInstallationNoticeServiceImpl extends BaseService<JgInstallationN
...
@@ -184,6 +188,9 @@ public class JgInstallationNoticeServiceImpl extends BaseService<JgInstallationN
if
(!
ValidationUtil
.
isEmpty
(
notice
.
getFactoryUseSiteStreet
())
&&
!
ValidationUtil
.
isEmpty
(
notice
.
getStreetName
()))
{
if
(!
ValidationUtil
.
isEmpty
(
notice
.
getFactoryUseSiteStreet
())
&&
!
ValidationUtil
.
isEmpty
(
notice
.
getStreetName
()))
{
installationInfo
.
put
(
"factoryUseSiteStreet"
,
notice
.
getFactoryUseSiteStreet
()
+
"_"
+
notice
.
getStreetName
());
installationInfo
.
put
(
"factoryUseSiteStreet"
,
notice
.
getFactoryUseSiteStreet
()
+
"_"
+
notice
.
getStreetName
());
}
}
if
(!
ValidationUtil
.
isEmpty
(
notice
.
getOrgBranchCode
())
&&
!
ValidationUtil
.
isEmpty
(
notice
.
getOrgBranchName
()))
{
installationInfo
.
put
(
"orgBranchCode"
,
notice
.
getOrgBranchCode
()
+
"_"
+
notice
.
getOrgBranchName
());
}
String
[]
fields
=
{
"productPhoto"
,
"designDoc"
,
"designStandard"
,
"factoryStandard"
,
String
[]
fields
=
{
"productPhoto"
,
"designDoc"
,
"designStandard"
,
"factoryStandard"
,
"productQualityYieldProve"
,
"insUseMaintainExplain"
,
"inspectReport"
,
"productQualityYieldProve"
,
"insUseMaintainExplain"
,
"inspectReport"
,
...
@@ -703,6 +710,15 @@ public class JgInstallationNoticeServiceImpl extends BaseService<JgInstallationN
...
@@ -703,6 +710,15 @@ public class JgInstallationNoticeServiceImpl extends BaseService<JgInstallationN
}
}
}
}
String
branchCodeString
=
model
.
getOrgBranchCode
();
if
(!
ObjectUtils
.
isEmpty
(
branchCodeString
))
{
String
[]
branchCodeStringList
=
branchCodeString
.
split
(
"_"
);
if
(
branchCodeStringList
.
length
>
1
)
{
model
.
setOrgBranchCode
(
branchCodeStringList
[
0
]);
model
.
setOrgBranchName
(
branchCodeStringList
[
1
]);
}
}
// 分割单位
// 分割单位
String
useUnitId
=
model
.
getUseUnitCreditCode
();
String
useUnitId
=
model
.
getUseUnitCreditCode
();
if
(!
ObjectUtils
.
isEmpty
(
useUnitId
))
{
if
(!
ObjectUtils
.
isEmpty
(
useUnitId
))
{
...
@@ -860,6 +876,19 @@ public class JgInstallationNoticeServiceImpl extends BaseService<JgInstallationN
...
@@ -860,6 +876,19 @@ public class JgInstallationNoticeServiceImpl extends BaseService<JgInstallationN
useInfo
.
setIsNotXiXian
(
jgInstallationNotice
.
getIsXixian
()
==
null
?
"0"
:
jgInstallationNotice
.
getIsXixian
());
useInfo
.
setIsNotXiXian
(
jgInstallationNotice
.
getIsXixian
()
==
null
?
"0"
:
jgInstallationNotice
.
getIsXixian
());
useInfoService
.
saveOrUpdateData
(
useInfo
);
useInfoService
.
saveOrUpdateData
(
useInfo
);
}
}
// 修改属地
LambdaUpdateWrapper
<
SuperviseInfo
>
lambdaUpdateWrapper
=
new
LambdaUpdateWrapper
<>();
lambdaUpdateWrapper
.
eq
(
SuperviseInfo:
:
getRecord
,
jgRelationEquip
.
getEquId
());
SuperviseInfo
superviseInfo
=
new
SuperviseInfo
();
superviseInfo
.
setOrgBranchName
(
jgInstallationNotice
.
getOrgBranchName
());
superviseInfo
.
setOrgBranchCode
(
jgInstallationNotice
.
getOrgBranchCode
());
superviseInfoMapper
.
update
(
superviseInfo
,
lambdaUpdateWrapper
);
HashMap
<
String
,
Object
>
hashMap
=
new
HashMap
<>();
Map
<
String
,
Map
<
String
,
Object
>>
superMap
=
new
HashMap
<>();
hashMap
.
put
(
"ORG_BRANCH_CODE"
,
jgInstallationNotice
.
getOrgBranchCode
());
hashMap
.
put
(
"ORG_BRANCH_NAME"
,
jgInstallationNotice
.
getOrgBranchCode
());
superMap
.
put
(
jgRelationEquip
.
getEquId
(),
hashMap
);
tzsServiceFeignClient
.
commonUpdateEsDataByIds
(
superMap
);
// 上个代办改为已办
// 上个代办改为已办
HashMap
<
String
,
Object
>
taskMap
=
new
HashMap
<>();
HashMap
<
String
,
Object
>
taskMap
=
new
HashMap
<>();
taskMap
.
put
(
"taskStatus"
,
FlowStatusEnum
.
TO_BE_FINISHED
.
getCode
());
taskMap
.
put
(
"taskStatus"
,
FlowStatusEnum
.
TO_BE_FINISHED
.
getCode
());
...
...
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