mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/per-boe/java-servers.git
synced 2025-12-17 23:06:53 +08:00
36 lines
903 B
Java
36 lines
903 B
Java
package com.xboe;
|
|
|
|
import com.fasterxml.jackson.core.JsonProcessingException;
|
|
import com.fasterxml.jackson.databind.ObjectMapper;
|
|
import com.xboe.dto.OrganizationDto;
|
|
import com.xboe.dto.UserDto;
|
|
|
|
public class BasicSyncTest {
|
|
|
|
// public static void main(String[] args) {
|
|
// OrganizationDto dto=new OrganizationDto();
|
|
// dto.setCode("100001");
|
|
// dto.setName("机构名称");
|
|
// dto.setKid("1234-4567-3948");
|
|
// dto.setSysLevel(0);
|
|
// dto.setStatus(1);
|
|
//
|
|
// UserDto u=new UserDto();
|
|
// u.setKid("02928-10231-01239-2392");
|
|
// u.setLoginName("2029182");
|
|
// u.setLearningDuration(0);
|
|
// u.setGender(1);
|
|
//
|
|
// ObjectMapper om=new ObjectMapper();
|
|
// try {
|
|
// System.out.println(om.writeValueAsString(dto));
|
|
// System.out.println(om.writeValueAsString(u));
|
|
// } catch (JsonProcessingException e) {
|
|
// // TODO Auto-generated catch block
|
|
// e.printStackTrace();
|
|
// }
|
|
//
|
|
//
|
|
// }
|
|
}
|