Commit d25aff88 authored by 罗可心's avatar 罗可心 😕

访客邀请添加,车牌号和机构单位字段

parent 4e1c0f5a
......@@ -177,7 +177,7 @@ public class SysUserController extends CyPaginationController<SysUser> {
@GetMapping(value = "/querySysUserByPagination")
public CyGridModel listByPagination(SysUser sysUser) {
sysUser.setUserType("0");
System.out.println(sysUser);
// System.out.println(sysUser);
sysUserServiceImpl.findAllByPagination(getPaginationUtility(), sysUser);
return getGridModelResponse();
}
......
......@@ -74,6 +74,14 @@ public class VisitUser extends CyIdIncreEntity<VisitUser> {
* 访客状态(0 待填写 1 待提交 2待审核 3未访问 4已访问 5 已失效)
*/
private String state;
/**
* 车牌号
*/
private String carNumber;
/**
* 机构单位
*/
private String company;
private VisitInfoMation visitInfo;
......
......@@ -1076,7 +1076,7 @@ public class VisitInfomationServiceImpl extends ServiceImpl<VisitInfomationRepos
}
}
});
return new CyPersistModel(line);
return new CyPersistModel(line,"新增邀访数据",visitInfomation);
}
@Override
......
......@@ -29,7 +29,7 @@
</resultMap>
<select id="getUserList" resultType="org.rcisoft.sys.visit.entity.VisitUser">
select v.user_name, v.visit_phone, v.id_card, v.type, v.state, v.user_id,v.person_id,u.wx_openid
select v.user_name, v.visit_phone, v.id_card, v.type, v.state, v.user_id,v.person_id,u.wx_openid,v.car_number,v.company
from visit_user v
left join sys_user u on u.business_id = v.user_id
where v.visit_id = #{business_id}
......
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