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
19950051
Commit
19950051
authored
Sep 10, 2025
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(检验检测): 使用单位自行录入检验结果
1.打印日志 2.自行录入可录入制造监督检验报告
parent
6d8eb148
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
3 deletions
+11
-3
BizCommonConstant.java
...n/amos/boot/module/jyjc/api/common/BizCommonConstant.java
+5
-0
JyjcInspectionResultMapper.xml
.../src/main/resources/mapper/JyjcInspectionResultMapper.xml
+3
-3
JyjcInspectionResultServiceImpl.java
...yjc/biz/service/impl/JyjcInspectionResultServiceImpl.java
+3
-0
No files found.
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-api/src/main/java/com/yeejoin/amos/boot/module/jyjc/api/common/BizCommonConstant.java
View file @
19950051
...
...
@@ -55,4 +55,9 @@ public interface BizCommonConstant {
String
JS_YFP_YQR
=
"66192"
;
String
FACTORY_NUM
=
"FACTORY_NUM"
;
/**
* 检验类型:制造监督检验
*/
String
INSPECT_TYPE_ZZ
=
"ZZJDJY"
;
}
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-api/src/main/resources/mapper/JyjcInspectionResultMapper.xml
View file @
19950051
...
...
@@ -254,10 +254,10 @@
</choose>
<choose>
<when
test=
"companyType == '使用单位'"
>
and
res.biz_type in ('firstinspect','entrust', 'detection
')
and
(res.biz_type in ('firstinspect','entrust', 'detection') or res.result_type = 'useUnitEntry
')
</when>
<when
test=
"companyType == '安装改造维修单位'"
>
and res.biz_type
=
'supervise'
and res.biz_type
in
'supervise'
</when>
<when
test=
"companyType == '检验机构'"
>
and res.biz_type != 'detection'
...
...
@@ -317,7 +317,7 @@
</choose>
<choose>
<when
test=
"companyType == '使用单位'"
>
and
res.biz_type in ('firstinspect','entrust', 'detection
')
and
(res.biz_type in ('firstinspect','entrust', 'detection') or res.result_type = 'useUnitEntry
')
</when>
<when
test=
"companyType == '安装改造维修单位'"
>
and res.biz_type = 'supervise'
...
...
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/JyjcInspectionResultServiceImpl.java
View file @
19950051
...
...
@@ -25,6 +25,7 @@ import com.yeejoin.amos.boot.module.common.biz.refresh.DataRefreshEvent;
import
com.yeejoin.amos.boot.module.jg.api.dto.DynamicColumnDto
;
import
com.yeejoin.amos.boot.module.jg.api.mapper.CommonMapper
;
import
com.yeejoin.amos.boot.module.jg.api.vo.SortVo
;
import
com.yeejoin.amos.boot.module.jyjc.api.common.BizCommonConstant
;
import
com.yeejoin.amos.boot.module.jyjc.api.common.StringUtil
;
import
com.yeejoin.amos.boot.module.jyjc.api.dto.PipelineInspectionResultDto
;
import
com.yeejoin.amos.boot.module.jyjc.api.dto.PipelineResultItemDto
;
...
...
@@ -767,6 +768,8 @@ public class JyjcInspectionResultServiceImpl extends BaseService<JyjcInspectionR
.
setIsExistNc
(
null
)
.
setSafetyLevel
(
Objects
.
toString
(
equ
.
getOrDefault
(
"safetyLevel"
,
""
)))
.
setManageType
(
"single"
);
// 制造监督检验系统没管,归到监督检验
jyjcInspectionResult
.
setBizType
(
BizCommonConstant
.
INSPECT_TYPE_ZZ
.
equals
(
jyjcInspectionResult
.
getInspectionType
())
?
"supervise"
:
jyjcInspectionResult
.
getBizType
());
jyjcInspectionResult
.
setSequenceNbr
(
resSeq
);
jyjcInspectionResult
.
setRecDate
(
new
Date
());
jyjcInspectionResult
.
setRecUserId
(
RequestContext
.
getExeUserId
());
...
...
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