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
780220d2
Commit
780220d2
authored
Dec 19, 2023
by
litengwei
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/develop_tzs_register' into develop_tzs_register
parents
1343ddea
95f49a34
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
34 additions
and
25 deletions
+34
-25
IdxBizJgRegisterInfoServiceImpl.java
.../jg/biz/service/impl/IdxBizJgRegisterInfoServiceImpl.java
+0
-12
JyjcInspectionApplicationEquipModel.java
...e/jyjc/api/model/JyjcInspectionApplicationEquipModel.java
+6
-0
JyjcInspectionApplicationModel.java
...module/jyjc/api/model/JyjcInspectionApplicationModel.java
+1
-1
JyjcInspectionApplicationServiceImpl.java
...iz/service/impl/JyjcInspectionApplicationServiceImpl.java
+23
-12
ESEquipmentCategoryDto.java
.../amos/boot/module/ymt/api/dto/ESEquipmentCategoryDto.java
+3
-0
CategoryOtherInfoMapper.xml
...api/src/main/resources/mapper/CategoryOtherInfoMapper.xml
+1
-0
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 @
780220d2
...
@@ -575,18 +575,6 @@ public class IdxBizJgRegisterInfoServiceImpl extends BaseService<IdxBizJgRegiste
...
@@ -575,18 +575,6 @@ public class IdxBizJgRegisterInfoServiceImpl extends BaseService<IdxBizJgRegiste
String
status
=
ConstructionEnum
.
getName
.
get
(
integer
);
String
status
=
ConstructionEnum
.
getName
.
get
(
integer
);
dto2
.
put
(
CONSTRUCTIONTYPE
,
status
);
dto2
.
put
(
CONSTRUCTIONTYPE
,
status
);
}
}
if
(!
ValidationUtil
.
isEmpty
(
dto2
.
get
(
EQUDEFINE
)))
{
//转化设备品种名称
String
code
=
dto2
.
get
(
EQUDEFINE
).
toString
();
List
<
EquipmentCategory
>
equipmentCategoryList
=
commonService
.
getEquipmentCategoryList
(
code
,
null
);
if
(!
ValidationUtil
.
isEmpty
(
equipmentCategoryList
))
{
String
name
=
equipmentCategoryList
.
get
(
0
).
getName
();
dto2
.
put
(
EQUDEFINE
,
name
);
}
else
{
dto2
.
put
(
EQUDEFINE
,
code
);
}
dto2
.
put
(
EQUDEFINECODE
,
code
);
}
list
.
add
(
dto2
);
list
.
add
(
dto2
);
}
}
totle
=
response
.
getInternalResponse
().
hits
().
getTotalHits
().
value
;
totle
=
response
.
getInternalResponse
().
hits
().
getTotalHits
().
value
;
...
...
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-api/src/main/java/com/yeejoin/amos/boot/module/jyjc/api/model/JyjcInspectionApplicationEquipModel.java
View file @
780220d2
...
@@ -34,6 +34,8 @@ public class JyjcInspectionApplicationEquipModel extends BaseModel {
...
@@ -34,6 +34,8 @@ public class JyjcInspectionApplicationEquipModel extends BaseModel {
@ApiModelProperty
(
value
=
"设备类别"
)
@ApiModelProperty
(
value
=
"设备类别"
)
private
String
equCategory
;
private
String
equCategory
;
@ApiModelProperty
(
value
=
"设备类别Code"
)
private
String
equCategoryCode
;
@ApiModelProperty
(
value
=
"设备类别名称"
)
@ApiModelProperty
(
value
=
"设备类别名称"
)
private
String
equCategoryName
;
private
String
equCategoryName
;
...
@@ -52,12 +54,16 @@ public class JyjcInspectionApplicationEquipModel extends BaseModel {
...
@@ -52,12 +54,16 @@ public class JyjcInspectionApplicationEquipModel extends BaseModel {
@ApiModelProperty
(
value
=
"设备种类"
)
@ApiModelProperty
(
value
=
"设备种类"
)
private
String
equList
;
private
String
equList
;
@ApiModelProperty
(
value
=
"设备种类Code"
)
private
String
equListCode
;
@ApiModelProperty
(
value
=
"设备种类名称"
)
@ApiModelProperty
(
value
=
"设备种类名称"
)
private
String
equListName
;
private
String
equListName
;
@ApiModelProperty
(
value
=
"设备品种"
)
@ApiModelProperty
(
value
=
"设备品种"
)
private
String
equDefine
;
private
String
equDefine
;
@ApiModelProperty
(
value
=
"设备品种Code"
)
private
String
equDefineCode
;
@ApiModelProperty
(
value
=
"使用登记证编号"
)
@ApiModelProperty
(
value
=
"使用登记证编号"
)
private
String
useOrgCode
;
private
String
useOrgCode
;
...
...
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-api/src/main/java/com/yeejoin/amos/boot/module/jyjc/api/model/JyjcInspectionApplicationModel.java
View file @
780220d2
...
@@ -108,7 +108,7 @@ public class JyjcInspectionApplicationModel extends BaseModel {
...
@@ -108,7 +108,7 @@ public class JyjcInspectionApplicationModel extends BaseModel {
@ApiModelProperty
(
value
=
"产品质量证明书"
)
@ApiModelProperty
(
value
=
"产品质量证明书"
)
private
List
<
Map
<
String
,
Object
>>
cpzl
;
private
List
<
Map
<
String
,
Object
>>
cpzl
;
@ApiModelProperty
(
value
=
"施工自行检查报告"
)
@ApiModelProperty
(
value
=
"施工自行检查报告"
)
private
List
<
Map
<
String
,
Object
>>
sgzx
;
private
List
<
Map
<
String
,
Object
>>
sgzx
bg
;
@ApiModelProperty
(
value
=
"施工合同或证明"
)
@ApiModelProperty
(
value
=
"施工合同或证明"
)
private
List
<
Map
<
String
,
Object
>>
sght
;
private
List
<
Map
<
String
,
Object
>>
sght
;
@ApiModelProperty
(
value
=
"施工方案/施工设计文件"
)
@ApiModelProperty
(
value
=
"施工方案/施工设计文件"
)
...
...
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/JyjcInspectionApplicationServiceImpl.java
View file @
780220d2
...
@@ -137,22 +137,28 @@ public class JyjcInspectionApplicationServiceImpl extends BaseService<JyjcInspec
...
@@ -137,22 +137,28 @@ public class JyjcInspectionApplicationServiceImpl extends BaseService<JyjcInspec
}
else
{
}
else
{
model
.
setWorkflowRole
(
role
);
model
.
setWorkflowRole
(
role
);
}
}
// endregion
model
=
this
.
createWithModel
(
model
);
List
<
JyjcInspectionApplicationEquip
>
equipInfos
=
new
ArrayList
<>();
//保存报检装备监管码
if
(
null
!=
model
.
getEquip
()
&&
model
.
getEquip
().
size
()
>
0
)
{
if
(
null
!=
model
.
getEquip
()
&&
model
.
getEquip
().
size
()
>
0
)
{
List
<
JyjcInspectionApplicationEquipModel
>
equips
=
JSONObject
.
parseArray
(
JSON
.
toJSONString
(
model
.
getEquip
()),
JyjcInspectionApplicationEquipModel
.
class
);
List
<
JyjcInspectionApplicationEquipModel
>
equips
=
JSONObject
.
parseArray
(
JSON
.
toJSONString
(
model
.
getEquip
()),
JyjcInspectionApplicationEquipModel
.
class
);
for
(
JyjcInspectionApplicationEquipModel
equip
:
equips
)
{
for
(
JyjcInspectionApplicationEquipModel
equip
:
equips
)
{
JyjcInspectionApplicationEquip
equipInfo
=
new
JyjcInspectionApplicationEquip
();
JyjcInspectionApplicationEquip
equipInfo
=
new
JyjcInspectionApplicationEquip
();
equipInfo
.
setEquDefine
(
equip
.
getEquDefine
());
equipInfo
.
setEquDefine
(
equip
.
getEquDefine
Code
());
equipInfo
.
setEquList
(
equip
.
getEquList
());
equipInfo
.
setEquList
(
equip
.
getEquList
Code
());
equipInfo
.
setEquipUnicode
(
equip
.
getSupervisoryCode
());
equipInfo
.
setEquipUnicode
(
equip
.
getSupervisoryCode
());
equipInfo
.
setEquCategory
(
equip
.
getEquCategory
Nam
e
());
equipInfo
.
setEquCategory
(
equip
.
getEquCategory
Cod
e
());
equipInfo
.
setApplicationSeq
(
model
.
getSequenceNbr
());
//
equipInfo.setApplicationSeq(model.getSequenceNbr());
jyjcInspectionApplicationEquipService
.
save
(
equipInfo
);
equipInfos
.
add
(
equipInfo
);
}
}
}
}
model
.
setNumberOfEquip
(
equipInfos
.
size
());
// endregion
model
=
this
.
createWithModel
(
model
);
//保存报检装备监管码
for
(
JyjcInspectionApplicationEquip
equipInfo
:
equipInfos
)
{
equipInfo
.
setApplicationSeq
(
model
.
getSequenceNbr
());
}
applicationEquipService
.
saveBatch
(
equipInfos
);
// Map<String, Object> map = BeanUtil.beanToMap(model);
// Map<String, Object> map = BeanUtil.beanToMap(model);
// 附件保存
// 附件保存
List
<
String
>
enumNameList
=
DocumentEnum
.
getEnumNameList
();
List
<
String
>
enumNameList
=
DocumentEnum
.
getEnumNameList
();
...
@@ -180,12 +186,14 @@ public class JyjcInspectionApplicationServiceImpl extends BaseService<JyjcInspec
...
@@ -180,12 +186,14 @@ public class JyjcInspectionApplicationServiceImpl extends BaseService<JyjcInspec
// List<Map<String, Object>> equip = model.getEquip();
// List<Map<String, Object>> equip = model.getEquip();
// List<String> jgm = equip.stream().map(e -> e.get("equipUnicode").toString()).collect(Collectors.toList());
// List<String> jgm = equip.stream().map(e -> e.get("equipUnicode").toString()).collect(Collectors.toList());
List
<
JyjcInspectionApplicationEquipModel
>
equips
=
JSONObject
.
parseArray
(
JSON
.
toJSONString
(
model
.
getEquip
()),
JyjcInspectionApplicationEquipModel
.
class
);
List
<
JyjcInspectionApplicationEquipModel
>
equips
=
JSONObject
.
parseArray
(
JSON
.
toJSONString
(
model
.
getEquip
()),
JyjcInspectionApplicationEquipModel
.
class
);
int
num
=
equips
.
size
();
model
.
setNumberOfEquip
(
num
);
for
(
JyjcInspectionApplicationEquipModel
equip
:
equips
)
{
for
(
JyjcInspectionApplicationEquipModel
equip
:
equips
)
{
JyjcInspectionApplicationEquip
equipInfo
=
new
JyjcInspectionApplicationEquip
();
JyjcInspectionApplicationEquip
equipInfo
=
new
JyjcInspectionApplicationEquip
();
equipInfo
.
setEquDefine
(
equip
.
getEquDefine
());
equipInfo
.
setEquDefine
(
equip
.
getEquDefine
Code
());
equipInfo
.
setEquList
(
equip
.
getEquList
());
equipInfo
.
setEquList
(
equip
.
getEquList
Code
());
equipInfo
.
setEquipUnicode
(
equip
.
getSupervisoryCode
());
equipInfo
.
setEquipUnicode
(
equip
.
getSupervisoryCode
());
equipInfo
.
setEquCategory
(
equip
.
getEquCategory
Nam
e
());
equipInfo
.
setEquCategory
(
equip
.
getEquCategory
Cod
e
());
equipInfo
.
setApplicationSeq
(
model
.
getSequenceNbr
());
equipInfo
.
setApplicationSeq
(
model
.
getSequenceNbr
());
jyjcInspectionApplicationEquipService
.
save
(
equipInfo
);
jyjcInspectionApplicationEquipService
.
save
(
equipInfo
);
}
}
...
@@ -342,6 +350,7 @@ public class JyjcInspectionApplicationServiceImpl extends BaseService<JyjcInspec
...
@@ -342,6 +350,7 @@ public class JyjcInspectionApplicationServiceImpl extends BaseService<JyjcInspec
resultModel
.
setResultStatus
(
ResultStatusEnum
.
NO_RESULT
.
getCode
());
resultModel
.
setResultStatus
(
ResultStatusEnum
.
NO_RESULT
.
getCode
());
resultModel
.
setApplicationDate
(
inspectionApplicationModel
.
getApplicationDate
());
resultModel
.
setApplicationDate
(
inspectionApplicationModel
.
getApplicationDate
());
resultModel
.
setResultType
(
inspectionApplicationModel
.
getResultType
());
resultModel
.
setResultType
(
inspectionApplicationModel
.
getResultType
());
resultModel
.
setInspectionType
(
applicationEquipModels
.
get
(
i
).
getInspectionType
());
// 解析设备
// 解析设备
resultModel
.
setBizType
(
inspectionApplicationModel
.
getBizType
());
resultModel
.
setBizType
(
inspectionApplicationModel
.
getBizType
());
resultModel
.
setResultNo
(
codes
.
get
(
i
));
resultModel
.
setResultNo
(
codes
.
get
(
i
));
...
@@ -458,6 +467,7 @@ public class JyjcInspectionApplicationServiceImpl extends BaseService<JyjcInspec
...
@@ -458,6 +467,7 @@ public class JyjcInspectionApplicationServiceImpl extends BaseService<JyjcInspec
entity
.
setWorkflowRole
(
role
);
entity
.
setWorkflowRole
(
role
);
}
}
entity
.
setStatus
(
status
);
entity
.
setStatus
(
status
);
entity
.
setAcceptDate
(
new
Date
());
this
.
updateById
(
entity
);
this
.
updateById
(
entity
);
}
}
}
}
\ No newline at end of file
amos-boot-system-tzs/amos-boot-module-ymt/amos-boot-module-ymt-api/src/main/java/com/yeejoin/amos/boot/module/ymt/api/dto/ESEquipmentCategoryDto.java
View file @
780220d2
...
@@ -113,6 +113,9 @@ public class ESEquipmentCategoryDto {
...
@@ -113,6 +113,9 @@ public class ESEquipmentCategoryDto {
private
String
EQU_DEFINE
;
private
String
EQU_DEFINE
;
@Field
(
type
=
FieldType
.
Text
)
@Field
(
type
=
FieldType
.
Text
)
private
String
EQU_DEFINE_CODE
;
@Field
(
type
=
FieldType
.
Text
)
private
String
PRODUCT_NAME
;
private
String
PRODUCT_NAME
;
@Field
(
type
=
FieldType
.
Text
)
@Field
(
type
=
FieldType
.
Text
)
...
...
amos-boot-system-tzs/amos-boot-module-ymt/amos-boot-module-ymt-api/src/main/resources/mapper/CategoryOtherInfoMapper.xml
View file @
780220d2
...
@@ -97,6 +97,7 @@
...
@@ -97,6 +97,7 @@
USC_UNIT_NAME,
USC_UNIT_NAME,
DATE_FORMAT(USC_DATE, '%Y-%m-%d %H:%i:%s') as USC_DATE,
DATE_FORMAT(USC_DATE, '%Y-%m-%d %H:%i:%s') as USC_DATE,
EQU_DEFINE,
EQU_DEFINE,
EQU_DEFINE_CODE,
PRODUCT_NAME,
PRODUCT_NAME,
BRAND_NAME,
BRAND_NAME,
EQU_TYPE,
EQU_TYPE,
...
...
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