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
6cd2d9d2
Commit
6cd2d9d2
authored
Aug 27, 2025
by
hcing
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/develop_tzs_register' into develop_tzs_register
parents
214e1f12
2d2e4591
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
26 additions
and
19 deletions
+26
-19
JgChangeRegistrationUnitDto.java
...s/boot/module/jg/api/dto/JgChangeRegistrationUnitDto.java
+3
-1
JgChangeRegistrationUnit.java
...s/boot/module/jg/api/entity/JgChangeRegistrationUnit.java
+7
-1
JgVehicleInformationMapper.java
...boot/module/jg/api/mapper/JgVehicleInformationMapper.java
+1
-1
JgChangeRegistrationUnitServiceImpl.java
...biz/service/impl/JgChangeRegistrationUnitServiceImpl.java
+0
-0
JgMaintenanceContractServiceImpl.java
...jg/biz/service/impl/JgMaintenanceContractServiceImpl.java
+0
-16
JgUseRegistrationServiceImpl.java
...ule/jg/biz/service/impl/JgUseRegistrationServiceImpl.java
+15
-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/JgChangeRegistrationUnitDto.java
View file @
6cd2d9d2
...
@@ -214,7 +214,9 @@ public class JgChangeRegistrationUnitDto extends BaseDto {
...
@@ -214,7 +214,9 @@ public class JgChangeRegistrationUnitDto extends BaseDto {
@ApiModelProperty
(
value
=
"详细地址"
)
@ApiModelProperty
(
value
=
"详细地址"
)
private
String
address
;
private
String
address
;
@ApiModelProperty
(
value
=
"属地监管部门"
)
@ApiModelProperty
(
value
=
"属地监管部门
code
"
)
private
String
orgBranchCode
;
private
String
orgBranchCode
;
@ApiModelProperty
(
value
=
"属地监管部门"
)
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/JgChangeRegistrationUnit.java
View file @
6cd2d9d2
...
@@ -321,8 +321,14 @@ public class JgChangeRegistrationUnit extends BaseEntity {
...
@@ -321,8 +321,14 @@ public class JgChangeRegistrationUnit extends BaseEntity {
private
String
address
;
private
String
address
;
/**
/**
* 属地监管部门
* 属地监管部门
code
*/
*/
@TableField
(
value
=
"org_branch_code"
)
@TableField
(
value
=
"org_branch_code"
)
private
String
orgBranchCode
;
private
String
orgBranchCode
;
/**
* 属地监管部门
*/
@TableField
(
value
=
"org_branch_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/mapper/JgVehicleInformationMapper.java
View file @
6cd2d9d2
...
@@ -54,5 +54,5 @@ public interface JgVehicleInformationMapper extends BaseMapper<JgVehicleInformat
...
@@ -54,5 +54,5 @@ public interface JgVehicleInformationMapper extends BaseMapper<JgVehicleInformat
List
<
Map
<
String
,
Object
>>
getVehicleInfoOfPassWithEquId
();
List
<
Map
<
String
,
Object
>>
getVehicleInfoOfPassWithEquId
();
List
<
ReminderItemDto
>
queryUnitVehiclesForReminderList
(
List
<
String
>
records
);
List
<
ReminderItemDto
>
queryUnitVehiclesForReminderList
(
@Param
(
"records"
)
List
<
String
>
records
);
}
}
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/JgChangeRegistrationUnitServiceImpl.java
View file @
6cd2d9d2
This diff is collapsed.
Click to expand it.
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/JgMaintenanceContractServiceImpl.java
View file @
6cd2d9d2
...
@@ -789,22 +789,6 @@ public class JgMaintenanceContractServiceImpl extends BaseService<JgMaintenanceC
...
@@ -789,22 +789,6 @@ public class JgMaintenanceContractServiceImpl extends BaseService<JgMaintenanceC
.
set
(
IdxBizJgUseInfo:
:
getSafetyManager
,
jgMaintenanceContract
.
getMaintenanceManagerName
())
.
set
(
IdxBizJgUseInfo:
:
getSafetyManager
,
jgMaintenanceContract
.
getMaintenanceManagerName
())
.
set
(
IdxBizJgUseInfo:
:
getPhone
,
jgMaintenanceContract
.
getMaintenanceManagerPhone
()));
.
set
(
IdxBizJgUseInfo:
:
getPhone
,
jgMaintenanceContract
.
getMaintenanceManagerPhone
()));
}
}
jgResumeInfoService
.
saveBatchResume
(
list
.
stream
()
.
map
(
v
->
JgResumeInfoDto
.
builder
()
.
applyNo
(
jgMaintenanceContract
.
getApplyNo
())
.
businessType
(
BusinessTypeEnum
.
JG_MAINTENANCE_RECORD
.
getName
())
.
businessId
(
String
.
valueOf
(
jgMaintenanceContract
.
getSequenceNbr
()))
.
equId
(
String
.
valueOf
(
v
.
getEquId
()))
.
approvalUnit
(
jgMaintenanceContract
.
getReceiveOrgName
())
.
approvalUnitCode
(
jgMaintenanceContract
.
getReceiveOrgCode
())
.
status
(
"正常"
)
.
changeContent
(
BusinessTypeEnum
.
JG_MAINTENANCE_RECORD
.
getName
()
+
"业务办理"
)
.
routePath
(
taskV2Model
.
getRoutePath
())
.
build
())
.
collect
(
Collectors
.
toList
())
);
idxBizJgMaintenanceRecordInfoService
.
saveBatch
(
maintenanceRecordInfoList
);
idxBizJgMaintenanceRecordInfoService
.
saveBatch
(
maintenanceRecordInfoList
);
// 维保备案后更新安全追溯对应设备状态
// 维保备案后更新安全追溯对应设备状态
emqKeeper
.
getMqttClient
().
publish
(
SafetyProblemTypeEnum
.
WBBA
.
getTopic
(),
JSON
.
toJSONBytes
(
maintenanceRecordInfoList
),
2
,
false
);
emqKeeper
.
getMqttClient
().
publish
(
SafetyProblemTypeEnum
.
WBBA
.
getTopic
(),
JSON
.
toJSONBytes
(
maintenanceRecordInfoList
),
2
,
false
);
...
...
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 @
6cd2d9d2
...
@@ -1809,6 +1809,7 @@ public class JgUseRegistrationServiceImpl extends BaseService<JgUseRegistrationD
...
@@ -1809,6 +1809,7 @@ public class JgUseRegistrationServiceImpl extends BaseService<JgUseRegistrationD
changeRecordEq
.
setEquId
(
registerInfo
.
getRecord
());
//设备主键
changeRecordEq
.
setEquId
(
registerInfo
.
getRecord
());
//设备主键
changeRecordEq
.
setProductCode
(
idxBizJgFactoryInfo
.
getFactoryNum
());
changeRecordEq
.
setProductCode
(
idxBizJgFactoryInfo
.
getFactoryNum
());
certificateChangeRecordEqService
.
save
(
changeRecordEq
);
certificateChangeRecordEqService
.
save
(
changeRecordEq
);
this
.
createResume
(
jgUseRegistration
,
registerInfo
.
getRecord
(),
taskV2Model
.
getRoutePath
());
});
});
eventPublisher
.
publish
(
new
EquipCreateOrEditEvent
(
this
,
BusinessTypeEnum
.
JG_USAGE_REGISTRATION
.
name
(),
Sets
.
newHashSet
(
registerInfo
.
getRecord
()),
EquipCreateOrEditEvent
.
EquipType
.
equip
));
eventPublisher
.
publish
(
new
EquipCreateOrEditEvent
(
this
,
BusinessTypeEnum
.
JG_USAGE_REGISTRATION
.
name
(),
Sets
.
newHashSet
(
registerInfo
.
getRecord
()),
EquipCreateOrEditEvent
.
EquipType
.
equip
));
}
}
...
@@ -1817,6 +1818,20 @@ public class JgUseRegistrationServiceImpl extends BaseService<JgUseRegistrationD
...
@@ -1817,6 +1818,20 @@ public class JgUseRegistrationServiceImpl extends BaseService<JgUseRegistrationD
return
jgUseRegistration
;
return
jgUseRegistration
;
}
}
private
void
createResume
(
JgUseRegistration
jgUseRegistration
,
String
equId
,
String
routePath
)
{
jgResumeInfoService
.
createWithModel
(
JgResumeInfoDto
.
builder
()
.
applyNo
(
jgUseRegistration
.
getApplyNo
())
.
businessType
(
BusinessTypeEnum
.
JG_USAGE_REGISTRATION
.
getName
())
.
businessId
(
jgUseRegistration
.
getSequenceNbr
()
+
""
)
.
equId
(
equId
)
.
approvalUnit
(
jgUseRegistration
.
getReceiveOrgName
())
.
approvalUnitCode
(
jgUseRegistration
.
getReceiveOrgCode
())
.
status
(
"正常"
)
.
routePath
(
routePath
)
.
changeContent
(
BusinessTypeEnum
.
JG_USAGE_REGISTRATION
.
getName
()
+
"业务办理"
)
.
build
());
}
private
HashMap
<
String
,
Map
<
String
,
Object
>>
processMapData
(
Long
sequenceNbr
,
JSONObject
mapData
,
JgUseRegistration
jgUseRegistration
,
private
HashMap
<
String
,
Map
<
String
,
Object
>>
processMapData
(
Long
sequenceNbr
,
JSONObject
mapData
,
JgUseRegistration
jgUseRegistration
,
JgRegistrationHistory
jgRegistrationHistory
,
IdxBizJgRegisterInfo
registerInfo
,
IdxBizJgOtherInfo
otherInfo
,
JgRegistrationHistory
jgRegistrationHistory
,
IdxBizJgRegisterInfo
registerInfo
,
IdxBizJgOtherInfo
otherInfo
,
TaskV2Model
taskV2Model
,
JSONObject
jsonObject
,
Boolean
flag
,
String
useRegistrationCode
,
TaskV2Model
taskV2Model
,
JSONObject
jsonObject
,
Boolean
flag
,
String
useRegistrationCode
,
...
...
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