Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gs1-office-web-sit
Overview
Overview
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
吴迪
gs1-office-web-sit
Commits
c1e5f807
Commit
c1e5f807
authored
Dec 24, 2021
by
唐功亮
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
厂商认证第一步时 修改存储状态
parent
0ff95c9e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
TycpdmFirmServiceImpl.java
...ce/modules/manage/service/impl/TycpdmFirmServiceImpl.java
+4
-0
No files found.
src/main/java/io/office/modules/manage/service/impl/TycpdmFirmServiceImpl.java
View file @
c1e5f807
...
...
@@ -328,6 +328,7 @@ public class TycpdmFirmServiceImpl extends ServiceImpl<TycpdmFirmDao, TycpdmFirm
tycpdmFirm
.
setFId
(
fid
);
Integer
fId
=
tycpdmFirm
.
getFId
();
if
(
fId
==
0
){
//新增数据
tycpdmFirm
.
setLogoutFlag
(-
1
);
save
(
tycpdmFirm
);
id
=
tycpdmFirm
.
getFId
();
return
id
;
...
...
@@ -376,10 +377,12 @@ public class TycpdmFirmServiceImpl extends ServiceImpl<TycpdmFirmDao, TycpdmFirm
tycpdmFirmChangeEntity
.
setFId
(
fId
);
if
(
type
==
1
){
tycpdmFirmChangeEntity
.
setLogoutFlag
(-
1
);
tycpdmFirmChangeService
.
save
(
tycpdmFirmChangeEntity
);
id
=
tycpdmFirmChangeEntity
.
getId
();
}
else
if
(
type
==
2
){
if
(
tycpdmFirmChangeEntity
.
getId
()==
null
){
tycpdmFirmChangeEntity
.
setLogoutFlag
(-
1
);
tycpdmFirmChangeService
.
save
(
tycpdmFirmChangeEntity
);
id
=
tycpdmFirmChangeEntity
.
getId
();
}
...
...
@@ -391,6 +394,7 @@ public class TycpdmFirmServiceImpl extends ServiceImpl<TycpdmFirmDao, TycpdmFirm
}
else
if
(
logoutFlag
==
0
){
throw
new
RRException
(
"信息已提交,等待管理员审核!"
);
}
else
if
(
logoutFlag
==
1
){
tycpdmFirmChangeEntity
.
setLogoutFlag
(-
1
);
tycpdmFirmChangeService
.
save
(
tycpdmFirmChangeEntity
);
id
=
tycpdmFirmChangeEntity
.
getId
();
}
else
if
(
logoutFlag
==
2
){
...
...
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