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
7a3b0d9f
Commit
7a3b0d9f
authored
Jan 08, 2026
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(jg): 压力管道后续业务
1.启用停用管道大编辑逻辑
parent
d70a50ec
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
6 deletions
+11
-6
DefaultBizDataChangeHandler.java
.../jg/biz/edit/process/biz/DefaultBizDataChangeHandler.java
+2
-3
EnableDisableDataChangeHandler.java
...ess/biz/enableDisable/EnableDisableDataChangeHandler.java
+9
-3
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/edit/process/biz/DefaultBizDataChangeHandler.java
View file @
7a3b0d9f
...
...
@@ -65,10 +65,9 @@ public abstract class DefaultBizDataChangeHandler<U extends BaseBizDataChangeEve
}
/**
* 是否需要暂存数据-暂存保存数据到json--管道专用
*
* 管道专用-是否需要暂存数据-暂存保存数据到json
* @param applyNo 单据号
* @return
yes-存json;no
-实时存库
* @return
true-存json;false
-实时存库
*/
protected
Boolean
requiresTemporarySave
(
String
applyNo
)
{
return
!
bizIsFinished
(
applyNo
);
...
...
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/biz/enableDisable/EnableDisableDataChangeHandler.java
View file @
7a3b0d9f
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jg
.
biz
.
edit
.
process
.
biz
.
enableDisable
;
import
com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper
;
import
com.google.common.collect.Sets
;
import
com.yeejoin.amos.boot.biz.common.entity.BaseEntity
;
import
com.yeejoin.amos.boot.module.common.biz.event.CommonPublisher
;
import
com.yeejoin.amos.boot.module.jg.api.dto.FieldChangeMeta
;
...
...
@@ -52,9 +53,8 @@ public class EnableDisableDataChangeHandler extends DefaultBizDataChangeHandler<
}
/**
* 管道专用
* 管道专用
-判断数据是实时落库,还是先存到json
* @param applyNo 单据号
* 判断数据是实时落库,还是先存到json
* @return 是否需要临时存储
*/
@Override
...
...
@@ -70,7 +70,13 @@ public class EnableDisableDataChangeHandler extends DefaultBizDataChangeHandler<
@Override
public
Set
<
String
>
getProjectContraptionIds
(
String
applyNo
)
{
return
Collections
.
emptySet
();
JgEnableDisable
jgEnableDisable
=
enableDisableEditUpdateService
.
getEnableDisableService
()
.
getOne
(
new
LambdaQueryWrapper
<
JgEnableDisable
>().
eq
(
JgEnableDisable:
:
getApplyNo
,
applyNo
)
.
select
(
BaseEntity:
:
getSequenceNbr
,
JgEnableDisable:
:
getProjectContraptionId
));
Set
<
String
>
pIds
=
Sets
.
newHashSet
(
jgEnableDisable
.
getProjectContraptionId
());
pIds
.
remove
(
null
);
pIds
.
remove
(
""
);
return
pIds
;
}
@Override
...
...
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