Commit 778f2395 authored by zhangc's avatar zhangc

commit

parent f689ebb3
...@@ -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());
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment