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
d4a3d7e9
Commit
d4a3d7e9
authored
May 30, 2024
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.1.合并刘林安全追溯逻辑代码代码
parent
a6274b33
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
2 deletions
+11
-2
JyjcInspectionApplicationServiceImpl.java
...iz/service/impl/JyjcInspectionApplicationServiceImpl.java
+11
-2
No files found.
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 @
d4a3d7e9
...
@@ -550,7 +550,7 @@ public class JyjcInspectionApplicationServiceImpl extends BaseService<JyjcInspec
...
@@ -550,7 +550,7 @@ public class JyjcInspectionApplicationServiceImpl extends BaseService<JyjcInspec
throw
new
BadRequest
(
"当前流程已经被执行!请重新打开页面查看并执行!"
);
throw
new
BadRequest
(
"当前流程已经被执行!请重新打开页面查看并执行!"
);
}
}
// 流程执行时,状态及权限校验
// 流程执行时,状态及权限校验
commonService
.
checkForExecuteFlow
(
nextTaskId
,
instanceId
);
//
commonService.checkForExecuteFlow(nextTaskId, instanceId);
Long
sequenceNbr
=
Long
.
parseLong
(
params
.
get
(
"sequenceNbr"
)
+
""
);
Long
sequenceNbr
=
Long
.
parseLong
(
params
.
get
(
"sequenceNbr"
)
+
""
);
JyjcInspectionApplication
entity
=
this
.
getBaseMapper
().
selectById
(
sequenceNbr
);
JyjcInspectionApplication
entity
=
this
.
getBaseMapper
().
selectById
(
sequenceNbr
);
//组装信息
//组装信息
...
@@ -623,7 +623,7 @@ public class JyjcInspectionApplicationServiceImpl extends BaseService<JyjcInspec
...
@@ -623,7 +623,7 @@ public class JyjcInspectionApplicationServiceImpl extends BaseService<JyjcInspec
inspectionResultService
.
saveOrUpdateBatch
(
resultModels
);
inspectionResultService
.
saveOrUpdateBatch
(
resultModels
);
// 报检信息推送
// 报检信息推送
this
.
pushInspectionApplication
(
model
);
this
.
pushInspectionApplication
(
model
);
jgFeignClient
.
saveBatchResume
(
jgResumeInfoDtoList
);
this
.
saveBatchResume
(
jgResumeInfoDtoList
);
// 更新流程中的流程数据
// 更新流程中的流程数据
commonService
.
saveExecuteFlowData2Redis
(
model
.
getInstanceId
(),
this
.
buildInstanceRuntimeData
(
entity
));
commonService
.
saveExecuteFlowData2Redis
(
model
.
getInstanceId
(),
this
.
buildInstanceRuntimeData
(
entity
));
}
catch
(
InterruptedException
e
)
{
}
catch
(
InterruptedException
e
)
{
...
@@ -635,6 +635,15 @@ public class JyjcInspectionApplicationServiceImpl extends BaseService<JyjcInspec
...
@@ -635,6 +635,15 @@ public class JyjcInspectionApplicationServiceImpl extends BaseService<JyjcInspec
}
}
}
}
private
void
saveBatchResume
(
List
<
JgResumeInfoDto
>
jgResumeInfoDtoList
){
try
{
jgFeignClient
.
saveBatchResume
(
jgResumeInfoDtoList
);
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
}
}
private
void
setResultTypeByBizType
(
JyjcInspectionResult
resultModel
,
String
bizType
)
{
private
void
setResultTypeByBizType
(
JyjcInspectionResult
resultModel
,
String
bizType
)
{
// 由于一个检验检测单位可以申请开通检验、检测两个申请,即确定一个 开通申请的维度为:单位编码 + 开通业务类型
// 由于一个检验检测单位可以申请开通检验、检测两个申请,即确定一个 开通申请的维度为:单位编码 + 开通业务类型
// 但是表里面放的使用单位的公司编码,导致无法匹配到正确的开通申请,故按照单位编码+ 开通类型 + 状态查询开通申请
// 但是表里面放的使用单位的公司编码,导致无法匹配到正确的开通申请,故按照单位编码+ 开通类型 + 状态查询开通申请
...
...
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