Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dm_project
Project
Project
Details
Activity
Releases
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
姚本章
dm_project
Commits
778f2395
Commit
778f2395
authored
Jan 20, 2021
by
zhangc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
commit
parent
f689ebb3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
9 deletions
+8
-9
TestOrganizationManage.java
...st/java/com/jz/dm/gateway/org/TestOrganizationManage.java
+8
-9
No files found.
jz-dm-apigateway/src/test/java/com/jz/dm/gateway/org/TestOrganizationManage.java
View file @
778f2395
...
@@ -8,7 +8,6 @@ import com.jz.dm.models.domian.ApiOrg;
...
@@ -8,7 +8,6 @@ import com.jz.dm.models.domian.ApiOrg;
import
com.jz.dm.models.req.organizationManage.OrganizationManageAddReq
;
import
com.jz.dm.models.req.organizationManage.OrganizationManageAddReq
;
import
com.jz.dm.models.req.organizationManage.OrganizationManageDetailQueryReq
;
import
com.jz.dm.models.req.organizationManage.OrganizationManageDetailQueryReq
;
import
com.jz.dm.models.req.organizationManage.OrganizationManageListQueryReq
;
import
com.jz.dm.models.req.organizationManage.OrganizationManageListQueryReq
;
import
com.jz.dm.models.req.organizationManage.OrganizationManageUpdateReq
;
import
com.jz.dm.service.OrganizationManageService
;
import
com.jz.dm.service.OrganizationManageService
;
import
org.junit.Test
;
import
org.junit.Test
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
...
@@ -71,13 +70,13 @@ public class TestOrganizationManage extends SpringTestCase {
...
@@ -71,13 +70,13 @@ public class TestOrganizationManage extends SpringTestCase {
*/
*/
@Test
@Test
public
void
updateOrg
(){
public
void
updateOrg
(){
OrganizationManageUpdateReq
req
=
new
OrganizationManageUpdateReq
();
//
OrganizationManageUpdateReq req = new OrganizationManageUpdateReq();
req
.
setId
(
8L
);
//
req.setId(8L);
req
.
setOrgDesc
(
"粗这次002"
);
//
req.setOrgDesc("粗这次002");
req
.
setOrgCnName
(
"AOKK33"
);
//
req.setOrgCnName("AOKK33");
req
.
setOrgMail
(
"727322JA@QQ.COM"
);
//
req.setOrgMail("727322JA@QQ.COM");
req
.
setRemark
(
"sfsihsio"
);
//
req.setRemark("sfsihsio");
Result
result
=
organizationManageService
.
update
(
req
);
//
Result result = organizationManageService.update(req);
System
.
out
.
println
(
result
.
getMessage
());
//
System.out.println(result.getMessage());
}
}
}
}
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