提交 380b461b 编写于 作者: O o2sword

批量查询用户修改

上级 6a4bfd32
......@@ -8,6 +8,8 @@ import com.x.base.core.project.gson.GsonPropertyObject;
public class Person extends GsonPropertyObject {
@FieldDescribe("数据库主键")
private String id;
@FieldDescribe("个人名称")
private String name;
@FieldDescribe("性别,m:男,f:女,d:未知")
......@@ -219,4 +221,11 @@ public class Person extends GsonPropertyObject {
this.zhengwuDingdingId = zhengwuDingdingId;
}
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
}
......@@ -43,6 +43,7 @@ class BaseAction extends StandardJaxrsAction {
protected <T extends com.x.base.core.project.organization.Person> T convert(Business business, Person person,
Class<T> clz) throws Exception {
T t = clz.newInstance();
t.setId(person.getId());
t.setName(person.getName());
t.setGenderType(person.getGenderType());
t.setSignature(person.getSignature());
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册