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
c2493ac2
Commit
c2493ac2
authored
Feb 19, 2025
by
韩桐桐
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(jg):检验报告编号
parent
bf34b778
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
0 deletions
+7
-0
EquipInfoCylinderExcelDto.java
...mos/boot/module/jg/api/dto/EquipInfoCylinderExcelDto.java
+4
-0
IdxBizJgRegisterInfoServiceImpl.java
.../jg/biz/service/impl/IdxBizJgRegisterInfoServiceImpl.java
+1
-0
JgUseRegistrationServiceImpl.java
...ule/jg/biz/service/impl/JgUseRegistrationServiceImpl.java
+2
-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/EquipInfoCylinderExcelDto.java
View file @
c2493ac2
...
@@ -165,6 +165,10 @@ public class EquipInfoCylinderExcelDto extends BaseDto {
...
@@ -165,6 +165,10 @@ public class EquipInfoCylinderExcelDto extends BaseDto {
@DateTimeFormat
(
"yyyy-MM-dd"
)
@DateTimeFormat
(
"yyyy-MM-dd"
)
private
String
inspectDate
;
private
String
inspectDate
;
@ApiModelProperty
(
value
=
"检验报告编号"
)
@ExcelProperty
(
value
=
"检验报告编号"
)
private
String
inspectReportNo
;
//技术参数
//技术参数
@ExcelProperty
(
value
=
"额定质量(kg)"
,
index
=
28
)
@ExcelProperty
(
value
=
"额定质量(kg)"
,
index
=
28
)
@ApiModelProperty
(
value
=
"额定质量(kg)"
)
@ApiModelProperty
(
value
=
"额定质量(kg)"
)
...
...
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 @
c2493ac2
...
@@ -4263,6 +4263,7 @@ public class IdxBizJgRegisterInfoServiceImpl extends BaseService<IdxBizJgRegiste
...
@@ -4263,6 +4263,7 @@ public class IdxBizJgRegisterInfoServiceImpl extends BaseService<IdxBizJgRegiste
//checkInspectOrg(data.getInspectOrgCode(), result);//查询检验检测机构
//checkInspectOrg(data.getInspectOrgCode(), result);//查询检验检测机构
checkNotBlank
(
data
.
getInspectStaff
(),
"检测人员名称不能为空;"
,
result
);
checkNotBlank
(
data
.
getInspectStaff
(),
"检测人员名称不能为空;"
,
result
);
checkNotBlank
(
data
.
getInspectDate
(),
"检测日期不能为空;"
,
result
);
checkNotBlank
(
data
.
getInspectDate
(),
"检测日期不能为空;"
,
result
);
checkNotBlank
(
data
.
getInspectReportNo
(),
"检验报告编号不能为空;"
,
result
);
checkDateFormatCorrect
(
data
.
getInspectDate
(),
"检测日期格式不正确;"
,
result
);
checkDateFormatCorrect
(
data
.
getInspectDate
(),
"检测日期格式不正确;"
,
result
);
checkNotBlank
(
data
.
getSingleBottleVolume
(),
"单瓶容积不能为空;"
,
result
);
checkNotBlank
(
data
.
getSingleBottleVolume
(),
"单瓶容积不能为空;"
,
result
);
checkNotBlank
(
data
.
getChargingMedium
(),
"充装介质不能为空;"
,
result
);
checkNotBlank
(
data
.
getChargingMedium
(),
"充装介质不能为空;"
,
result
);
...
...
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 @
c2493ac2
...
@@ -3822,6 +3822,7 @@ public class JgUseRegistrationServiceImpl extends BaseService<JgUseRegistrationD
...
@@ -3822,6 +3822,7 @@ public class JgUseRegistrationServiceImpl extends BaseService<JgUseRegistrationD
inspectionDetectionInfo
.
setInspectStaff
(
MapUtil
.
getStr
(
map
,
"inspectStaff"
));
inspectionDetectionInfo
.
setInspectStaff
(
MapUtil
.
getStr
(
map
,
"inspectStaff"
));
inspectionDetectionInfo
.
setNextInspectDate
(!
StringUtils
.
isEmpty
(
map
.
get
(
"nextInspectDate"
))
?
DateUtil
.
parse
(
String
.
valueOf
(
map
.
get
(
"nextInspectDate"
)),
"yyyy-MM-dd"
)
:
null
);
inspectionDetectionInfo
.
setNextInspectDate
(!
StringUtils
.
isEmpty
(
map
.
get
(
"nextInspectDate"
))
?
DateUtil
.
parse
(
String
.
valueOf
(
map
.
get
(
"nextInspectDate"
)),
"yyyy-MM-dd"
)
:
null
);
inspectionDetectionInfo
.
setInspectReport
(
JSONObject
.
toJSONString
(
map
.
get
(
"inspectReport"
)));
inspectionDetectionInfo
.
setInspectReport
(
JSONObject
.
toJSONString
(
map
.
get
(
"inspectReport"
)));
inspectionDetectionInfo
.
setInspectReportNo
(
String
.
valueOf
(
map
.
get
(
"inspectReportNo"
)));
iIdxBizJgInspectionDetectionInfoService
.
saveOrUpdateData
(
inspectionDetectionInfo
);
iIdxBizJgInspectionDetectionInfoService
.
saveOrUpdateData
(
inspectionDetectionInfo
);
// 生成监管码 96333码
// 生成监管码 96333码
...
@@ -4174,6 +4175,7 @@ public class JgUseRegistrationServiceImpl extends BaseService<JgUseRegistrationD
...
@@ -4174,6 +4175,7 @@ public class JgUseRegistrationServiceImpl extends BaseService<JgUseRegistrationD
inspectionDetectionInfo
.
setInspectStaff
(
String
.
valueOf
(
map
.
get
(
"inspectStaff"
)));
inspectionDetectionInfo
.
setInspectStaff
(
String
.
valueOf
(
map
.
get
(
"inspectStaff"
)));
inspectionDetectionInfo
.
setNextInspectDate
(!
StringUtils
.
isEmpty
(
map
.
get
(
"nextInspectDate"
))
?
DateUtil
.
parse
(
String
.
valueOf
(
map
.
get
(
"nextInspectDate"
)),
"yyyy-MM-dd"
)
:
null
);
inspectionDetectionInfo
.
setNextInspectDate
(!
StringUtils
.
isEmpty
(
map
.
get
(
"nextInspectDate"
))
?
DateUtil
.
parse
(
String
.
valueOf
(
map
.
get
(
"nextInspectDate"
)),
"yyyy-MM-dd"
)
:
null
);
inspectionDetectionInfo
.
setInspectReport
(
JSONObject
.
toJSONString
(
map
.
get
(
"inspectReport"
)));
inspectionDetectionInfo
.
setInspectReport
(
JSONObject
.
toJSONString
(
map
.
get
(
"inspectReport"
)));
inspectionDetectionInfo
.
setInspectReportNo
(
String
.
valueOf
(
map
.
get
(
"inspectReportNo"
)));
iIdxBizJgInspectionDetectionInfoService
.
saveOrUpdateData
(
inspectionDetectionInfo
);
iIdxBizJgInspectionDetectionInfoService
.
saveOrUpdateData
(
inspectionDetectionInfo
);
// 暂存历史表
// 暂存历史表
updateHistory
(
map
,
record
,
String
.
valueOf
(
jgUseRegistration
.
getSequenceNbr
()),
jgUseRegistration
.
getSupervisoryCode
());
updateHistory
(
map
,
record
,
String
.
valueOf
(
jgUseRegistration
.
getSequenceNbr
()),
jgUseRegistration
.
getSupervisoryCode
());
...
...
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