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
2f3c0df6
Commit
2f3c0df6
authored
Aug 25, 2025
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(jg): 设备管理
1.设备、编辑、大编辑、使用登记增加,大型游乐设施增加AB级字段
parent
edcad4e8
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
47 additions
and
2 deletions
+47
-2
ESEquipmentCategoryDto.java
...os/boot/module/common/api/dto/ESEquipmentCategoryDto.java
+6
-0
EquipRegisterChangeDataDto.java
...os/boot/module/jg/api/dto/EquipRegisterChangeDataDto.java
+3
-0
JgUseRegistrationMapper.xml
...api/src/main/resources/mapper/JgUseRegistrationMapper.xml
+2
-1
EquipChangeDataUpdateServiceImpl.java
.../edit/process/equip/EquipChangeDataUpdateServiceImpl.java
+2
-0
TagTypeHandler.java
...s/boot/module/jg/biz/edit/typeHandler/TagTypeHandler.java
+25
-0
IdxBizJgRegisterInfo.java
...amos/boot/module/ymt/api/entity/IdxBizJgRegisterInfo.java
+7
-0
CategoryOtherInfoMapper.xml
...api/src/main/resources/mapper/CategoryOtherInfoMapper.xml
+2
-1
No files found.
amos-boot-system-tzs/amos-boot-module-common/amos-boot-module-common-api/src/main/java/com/yeejoin/amos/boot/module/common/api/dto/ESEquipmentCategoryDto.java
View file @
2f3c0df6
...
...
@@ -202,4 +202,10 @@ public class ESEquipmentCategoryDto {
*/
@Field
(
type
=
FieldType
.
Long
)
private
Long
CREATE_DATE
;
/**
* 标签
*/
@Field
(
type
=
FieldType
.
Keyword
)
private
String
tag1
;
}
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/java/com/yeejoin/amos/boot/module/jg/api/dto/EquipRegisterChangeDataDto.java
View file @
2f3c0df6
...
...
@@ -45,4 +45,7 @@ public class EquipRegisterChangeDataDto extends BaseChangeDataDto {
@FieldDisplayDefine
(
value
=
"安装资料是否完整齐全"
,
typeHandler
=
"isCompleteTypeHandler"
)
private
String
installationIsComplete
;
@FieldDisplayDefine
(
value
=
"设备标签"
,
typeHandler
=
"tagTypeHandler"
)
private
String
tag1
;
}
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/resources/mapper/JgUseRegistrationMapper.xml
View file @
2f3c0df6
...
...
@@ -773,7 +773,8 @@
jfi.FACT_SUPERVISION_INSPECTION_REPORT as factSupervisionInspectionReport,
jfi.BOILER_ENERGY_EFFICIENCY_CERTIFICATE as boilerEnergyEfficiencyCertificate,
jfi.FACTORY_IS_COMPLETE as factoryIsComplete,
jri.WHETHER_SKID_MOUNTED_PRESSURE_VESSEL as whetherSkidMountedPressureVessel
jri.WHETHER_SKID_MOUNTED_PRESSURE_VESSEL as whetherSkidMountedPressureVessel,
jri.tag1
from idx_biz_jg_register_info jri
LEFT JOIN idx_biz_jg_factory_info jfi on jri.RECORD = jfi.RECORD
where jri.RECORD = #{id}
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/edit/process/equip/EquipChangeDataUpdateServiceImpl.java
View file @
2f3c0df6
...
...
@@ -63,6 +63,7 @@ public class EquipChangeDataUpdateServiceImpl {
updateWrapper
.
set
(
IdxBizJgRegisterInfo:
:
getProductPhoto
,
registerChangeDataDto
.
getProductPhoto
());
updateWrapper
.
set
(
IdxBizJgRegisterInfo:
:
getOtherAccessoriesReg
,
registerChangeDataDto
.
getOtherAccessoriesReg
());
updateWrapper
.
set
(
IdxBizJgRegisterInfo:
:
getInstallationIsComplete
,
registerChangeDataDto
.
getInstallationIsComplete
());
updateWrapper
.
set
(
IdxBizJgRegisterInfo:
:
getTag1
,
registerChangeDataDto
.
getTag1
());
idxBizJgRegisterInfoMapper
.
update
(
null
,
updateWrapper
);
updateRegisterEsData
(
record
,
registerChangeDataDto
);
}
...
...
@@ -143,6 +144,7 @@ public class EquipChangeDataUpdateServiceImpl {
esEquipmentCategoryDto
.
setEQU_TYPE
(
registerChangeDataDto
.
getEquType
());
esEquipmentCategoryDto
.
setEQU_CATEGORY_CODE
(
registerChangeDataDto
.
getEquCategory
());
esEquipmentCategoryDto
.
setEQU_DEFINE_CODE
(
registerChangeDataDto
.
getEquDefine
());
esEquipmentCategoryDto
.
setTag1
(
registerChangeDataDto
.
getTag1
());
// 冗余设备类别名称
if
(
StringUtils
.
isEmpty
(
registerChangeDataDto
.
getEquCategory
()))
{
esEquipmentCategoryDto
.
setEQU_CATEGORY
(
null
);
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/edit/typeHandler/TagTypeHandler.java
0 → 100644
View file @
2f3c0df6
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jg
.
biz
.
edit
.
typeHandler
;
import
com.yeejoin.amos.boot.biz.common.typeHandler.TypeHandler
;
import
org.springframework.stereotype.Component
;
import
java.util.HashMap
;
import
java.util.Map
;
/**
* 标签处理器处理器
*/
@Component
(
"tagTypeHandler"
)
public
class
TagTypeHandler
implements
TypeHandler
<
String
>
{
private
static
final
Map
<
String
,
String
>
CODE_NAME_MAP
=
new
HashMap
<
String
,
String
>();
static
{
CODE_NAME_MAP
.
put
(
"1"
,
"A类"
);
CODE_NAME_MAP
.
put
(
"2"
,
"B类"
);
}
@Override
public
String
handle
(
String
value
)
{
return
CODE_NAME_MAP
.
get
(
value
);
}
}
amos-boot-system-tzs/amos-boot-module-ymt/amos-boot-module-ymt-api/src/main/java/com/yeejoin/amos/boot/module/ymt/api/entity/IdxBizJgRegisterInfo.java
View file @
2f3c0df6
...
...
@@ -257,4 +257,11 @@ public class IdxBizJgRegisterInfo extends TzsBaseEntity implements IBaseChangeDa
*/
@TableField
(
"\"IS_COMPLETE_XA\""
)
private
String
isCompleteXa
;
/**
* 通用标签
*/
@TableField
(
"\"TAG1\""
)
@FieldDisplayDefine
(
value
=
"设备标签"
,
typeHandler
=
"tagTypeHandler"
)
private
String
tag1
;
}
amos-boot-system-tzs/amos-boot-module-ymt/amos-boot-module-ymt-api/src/main/resources/mapper/CategoryOtherInfoMapper.xml
View file @
2f3c0df6
...
...
@@ -110,7 +110,8 @@
WHETHER_VEHICLE_CYLINDER,
WHETHER_SKID_MOUNTED_PRESSURE_VESSEL,
DATE_FORMAT(PRODUCE_DATE, '%Y-%m-%d %H:%i:%s') as PRODUCE_DATE,
PROJECT_CONTRAPTION
PROJECT_CONTRAPTION,
TAG1
from idx_biz_view_jg_all
WHERE SEQUENCE_NBR = #{id}
</select>
...
...
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