Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
T
topsun-bpm
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
鲁鑫
topsun-bpm
Commits
685dce8e
Commit
685dce8e
authored
Dec 19, 2023
by
wanghang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
二次保存
parent
6884559a
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
16 deletions
+11
-16
ProofingApplyApplicationImpl.java
...oofing/application/impl/ProofingApplyApplicationImpl.java
+3
-11
ProofingApplyController.java
...u/topsun/proofing/controller/ProofingApplyController.java
+2
-0
ProofingMakeVo.class
...com/huigou/topsun/proofing/domain/vo/ProofingMakeVo.class
+0
-0
proofingApply.xml
...n/target/classes/config/topsun/proofing/proofingApply.xml
+6
-5
No files found.
topsun/src/main/java/com/huigou/topsun/proofing/application/impl/ProofingApplyApplicationImpl.java
View file @
685dce8e
...
@@ -64,8 +64,8 @@ public class ProofingApplyApplicationImpl extends FlowBroker implements Proofing
...
@@ -64,8 +64,8 @@ public class ProofingApplyApplicationImpl extends FlowBroker implements Proofing
}
}
@SneakyThrows
@SneakyThrows
//
@Transactional(propagation = Propagation.REQUIRES_NEW)
@Transactional
(
propagation
=
Propagation
.
REQUIRES_NEW
)
@Transactional
(
propagation
=
Propagation
.
NEVER
)
//
@Transactional(propagation = Propagation.NEVER)
@Override
@Override
protected
String
saveBizAndApprovalData
()
{
protected
String
saveBizAndApprovalData
()
{
super
.
saveBizAndApprovalData
();
super
.
saveBizAndApprovalData
();
...
@@ -75,15 +75,7 @@ public class ProofingApplyApplicationImpl extends FlowBroker implements Proofing
...
@@ -75,15 +75,7 @@ public class ProofingApplyApplicationImpl extends FlowBroker implements Proofing
}
else
{
}
else
{
proofingApply
=
(
ProofingApplyBaseInfo
)
commonDomainService
.
loadAndFillinProperties
(
proofingApply
);
proofingApply
=
(
ProofingApplyBaseInfo
)
commonDomainService
.
loadAndFillinProperties
(
proofingApply
);
}
}
//二次保存不添加id
if
(
proofingApply
.
getId
()
==
null
||
proofingApply
.
getId
().
isEmpty
())
{
String
id
=
UUID
.
randomUUID
().
toString
().
replace
(
"-"
,
""
);
proofingApply
.
setProofingApplyId
(
id
);
}
else
{
ProofingApplyBaseInfo
one
=
this
.
loadProofingApplyById
(
proofingApply
.
getId
());
proofingApply
.
setProofingApplyId
(
one
.
getProofingApplyId
());
}
//如果录入了ng重新打样原因,则更改状态为不通过
//如果录入了ng重新打样原因,则更改状态为不通过
if
(!
StringUtil
.
isBlank
(
proofingApply
.
getProofingApplyNgReReason
())){
if
(!
StringUtil
.
isBlank
(
proofingApply
.
getProofingApplyNgReReason
())){
proofingApply
.
setProofingApplyApplicationStatus
(
"2"
);
proofingApply
.
setProofingApplyApplicationStatus
(
"2"
);
...
...
topsun/src/main/java/com/huigou/topsun/proofing/controller/ProofingApplyController.java
View file @
685dce8e
...
@@ -71,6 +71,8 @@ public class ProofingApplyController extends CommonController {
...
@@ -71,6 +71,8 @@ public class ProofingApplyController extends CommonController {
Operator
operator
=
getOperator
();
//获取当前操作员的详情信息
Operator
operator
=
getOperator
();
//获取当前操作员的详情信息
proofingApply
.
setDefaultValues
(
new
OrgUnit
(
operator
.
getFullId
(),
operator
.
getFullName
()));
proofingApply
.
setDefaultValues
(
new
OrgUnit
(
operator
.
getFullId
(),
operator
.
getFullName
()));
proofingApply
.
setProofingApplyNo
(
proofingApply
.
getBillCode
());
//将生成的单号赋予实体类对应字段
proofingApply
.
setProofingApplyNo
(
proofingApply
.
getBillCode
());
//将生成的单号赋予实体类对应字段
String
id
=
UUID
.
randomUUID
().
toString
().
replace
(
"-"
,
""
);
proofingApply
.
setProofingApplyId
(
id
);
return
forward
(
"proofingApply"
,
proofingApply
);
return
forward
(
"proofingApply"
,
proofingApply
);
}
}
...
...
topsun/target/classes/com/huigou/topsun/proofing/domain/vo/ProofingMakeVo.class
View file @
685dce8e
No preview for this file type
topsun/target/classes/config/topsun/proofing/proofingApply.xml
View file @
685dce8e
...
@@ -3,12 +3,13 @@
...
@@ -3,12 +3,13 @@
<query
name=
"slicedQuery"
table=
"proofing_apply"
>
<query
name=
"slicedQuery"
table=
"proofing_apply"
>
<sql-query>
<sql-query>
select t.* from proofing_apply_base_info t where 1=1
select t.* from proofing_apply_base_info t
<!-- where 1=1-->
</sql-query>
</sql-query>
<permissions
>
<!-- <permissions>--
>
<permission
column=
"person_member_id"
symbol=
"half_like"
alias=
"t"
kind=
"personId"
/
>
<!-- <permission column="person_member_id" symbol="half_like" alias="t" kind="personId"/>--
>
<permission
column=
"full_id"
symbol=
"half_like"
alias=
"t"
kind=
"fullId"
manageType=
"demoQueryLeave,admin"
/
>
<!-- <permission column="full_id" symbol="half_like" alias="t" kind="fullId" manageType="demoQueryLeave,admin"/>--
>
</permissions
>
<!-- </permissions>--
>
</query>
</query>
...
...
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