jx访客
This commit is contained in:
1 parent
fe1e217443
commit
162fc5f028
7 files changed
+15
-12
No files matched your search
+1
-1
@@ -43,7 +43,7 @@ public class VisitorsAppDTO {
|
||||
* 描述
|
||||
*/
|
||||
@Schema(description="描述")
|
||||
private String description;
|
||||
private String reasonValue;
|
||||
|
||||
|
||||
/**
|
||||
|
||||
+1
-1
@@ -43,7 +43,7 @@ public class VisitorsYYAppDTO {
|
||||
* 描述
|
||||
*/
|
||||
@Schema(description="描述")
|
||||
private String description;
|
||||
private String reasonValue;
|
||||
|
||||
|
||||
/**
|
||||
|
||||
+1
-1
@@ -41,7 +41,7 @@ public class VisitorsAppPageVo {
|
||||
* 描述
|
||||
*/
|
||||
@Schema(description="拜访原因")
|
||||
private String description;
|
||||
private String reasonValue;
|
||||
|
||||
/**
|
||||
* 审核状态
|
||||
|
||||
+5
-2
@@ -49,7 +49,7 @@ public class VisitorsAppVo{
|
||||
* 描述
|
||||
*/
|
||||
@Schema(description="描述")
|
||||
private String description;
|
||||
private String reasonValue;
|
||||
|
||||
/**
|
||||
* 审核状态
|
||||
@@ -67,7 +67,7 @@ public class VisitorsAppVo{
|
||||
* 接待人
|
||||
*/
|
||||
@Schema(description="接待人")
|
||||
private Long userName;
|
||||
private String userName;
|
||||
|
||||
/**
|
||||
* 车牌号id
|
||||
@@ -105,6 +105,9 @@ public class VisitorsAppVo{
|
||||
private String isDrive;
|
||||
|
||||
|
||||
private String isOtherPeople;
|
||||
|
||||
|
||||
/**
|
||||
* 审核原因
|
||||
*/
|
||||
|
||||
+4
-4
@@ -149,8 +149,8 @@ public class VisitorsController {
|
||||
* @return R
|
||||
*/
|
||||
@Operation(summary = "通过token查询" , description = "通过token查询" )
|
||||
@GetMapping("/app/get/{token}" )
|
||||
public R<VisitorsAppVo> getByToken(@PathVariable("token" ) String token) {
|
||||
@GetMapping("/app/get/visitorDetail" )
|
||||
public R<VisitorsAppVo> getByToken(@RequestParam("token") String token) {
|
||||
|
||||
return R.ok(visitorsService.getByToken(token));
|
||||
}
|
||||
@@ -161,8 +161,8 @@ public class VisitorsController {
|
||||
* @return R
|
||||
*/
|
||||
@Operation(summary = "通过token查询" , description = "通过token查询" )
|
||||
@GetMapping("/app/check/{token}" )
|
||||
public R checkByToken(@PathVariable("token" ) String token) {
|
||||
@PostMapping("/app/verify" )
|
||||
public R checkByToken(@RequestParam("token" ) String token) {
|
||||
|
||||
LambdaQueryWrapper<VisitorsEntity> visitorsEntityLambdaQueryWrapper = new LambdaQueryWrapper<>();
|
||||
visitorsEntityLambdaQueryWrapper.eq(VisitorsEntity::getToken,token);
|
||||
|
||||
+2
-2
@@ -50,8 +50,8 @@ public class VisitorsEntity extends Model<VisitorsEntity> {
|
||||
/**
|
||||
* 描述
|
||||
*/
|
||||
@Schema(description="描述")
|
||||
private String description;
|
||||
@Schema(description="拜访原因")
|
||||
private String reasonValue;
|
||||
|
||||
/**
|
||||
* 审核状态
|
||||
|
||||
+1
-1
@@ -8,7 +8,7 @@
|
||||
<result property="name" column="name"/>
|
||||
<result property="mobile" column="mobile"/>
|
||||
<result property="idCard" column="id_card"/>
|
||||
<result property="description" column="description"/>
|
||||
<result property="reasonValue" column="reason_value"/>
|
||||
<result property="checkStatus" column="check_status"/>
|
||||
<result property="deptId" column="dept_id"/>
|
||||
<result property="userName" column="user_name"/>
|
||||
|
||||
Reference in new issue
Block a user