Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
P
precision-effect
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
耿迪迪
precision-effect
Commits
781cf58a
Commit
781cf58a
authored
Oct 07, 2023
by
王晓倩
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "交易单修改时自动转移支付bug"
This reverts commit
b3c0ff69
parent
b3c0ff69
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
TTradeProjectServiceImpl.java
.../zehong/system/service/impl/TTradeProjectServiceImpl.java
+2
-2
index.vue
precision-effect-web/src/views/trade/index.vue
+0
-2
No files found.
precision-effect-system/src/main/java/com/zehong/system/service/impl/TTradeProjectServiceImpl.java
View file @
781cf58a
...
...
@@ -165,8 +165,8 @@ public class TTradeProjectServiceImpl implements ITTradeProjectService
public
int
updateTTradeProject
(
TTradeProject
tTradeProject
)
{
TTradeProject
trade
=
tTradeProjectMapper
.
selectTTradeProjectById
(
tTradeProject
.
getTradeId
());
// 转移支付:新增交易转移信息,更新交易单
。(交易单新增或修改时状态值为null)
if
(
tTradeProject
.
getTradeStatus
()
!=
null
&&
tTradeProject
.
getTradeDeptId
()!=
null
&&
tTradeProject
.
getTradeTransactor
()!=
null
){
// 转移支付:新增交易转移信息,更新交易单
if
(
"0"
.
equals
(
tTradeProject
.
getTradeStatus
())
&&
tTradeProject
.
getTradeDeptId
()!=
null
&&
tTradeProject
.
getTradeTransactor
()!=
null
){
TTradeChangeInfo
tradeChangeInfo
=
new
TTradeChangeInfo
();
tradeChangeInfo
.
setRelationTradeId
(
tTradeProject
.
getTradeId
());
tradeChangeInfo
.
setOriginalTradeDeptId
(
trade
.
getTradeDeptId
());
...
...
precision-effect-web/src/views/trade/index.vue
View file @
781cf58a
...
...
@@ -612,8 +612,6 @@ export default {
submitForm
()
{
this
.
$refs
[
"form"
].
validate
((
valid
)
=>
{
if
(
valid
)
{
// 为区分转移支付,新增和修改时交易单状态传值设为null,新增时数据库默认‘0’
this
.
form
.
tradeStatus
=
null
;
if
(
this
.
form
.
tradeId
!=
null
)
{
updateProject
(
this
.
form
).
then
((
response
)
=>
{
this
.
msgSuccess
(
"修改成功"
);
...
...
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