feat:临时人员门禁列表
parent
e42df97073
commit
3fbfde4be7
|
|
@ -1,6 +1,7 @@
|
||||||
package com.zcloud.primeport.command;
|
package com.zcloud.primeport.command;
|
||||||
|
|
||||||
import com.alibaba.cola.exception.BizException;
|
import com.alibaba.cola.exception.BizException;
|
||||||
|
import com.zcloud.gbscommon.utils.DateUtil;
|
||||||
import com.zcloud.primeport.domain.gateway.MkmjGateGateway;
|
import com.zcloud.primeport.domain.gateway.MkmjGateGateway;
|
||||||
import com.zcloud.primeport.domain.gateway.PersonApplyGateway;
|
import com.zcloud.primeport.domain.gateway.PersonApplyGateway;
|
||||||
import com.zcloud.primeport.domain.gateway.XgfApplyPersonGateway;
|
import com.zcloud.primeport.domain.gateway.XgfApplyPersonGateway;
|
||||||
|
|
@ -15,6 +16,7 @@ import org.springframework.stereotype.Component;
|
||||||
import org.springframework.transaction.annotation.Transactional;
|
import org.springframework.transaction.annotation.Transactional;
|
||||||
|
|
||||||
import javax.validation.constraints.NotNull;
|
import javax.validation.constraints.NotNull;
|
||||||
|
import java.util.Date;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
@ -44,6 +46,7 @@ public class PersonApplyUpdateExe {
|
||||||
public void xgfPersonAudit(XgfPersonApplyAuditCmd cmd) {
|
public void xgfPersonAudit(XgfPersonApplyAuditCmd cmd) {
|
||||||
XgfApplyPersonE build = XgfApplyPersonE.builder()
|
XgfApplyPersonE build = XgfApplyPersonE.builder()
|
||||||
.auditFlag(cmd.getAuditFlag())
|
.auditFlag(cmd.getAuditFlag())
|
||||||
|
.auditTime(DateUtil.date2Str(new Date()))
|
||||||
.reasonsRefusal(cmd.getReasonsRefusal()).build();
|
.reasonsRefusal(cmd.getReasonsRefusal()).build();
|
||||||
build.setId(cmd.getId());
|
build.setId(cmd.getId());
|
||||||
personApplyGateway.xgfPersonAudit(build);
|
personApplyGateway.xgfPersonAudit(build);
|
||||||
|
|
|
||||||
|
|
@ -19,6 +19,8 @@ public class XgfPersonApplyCO extends ClientObject {
|
||||||
//id
|
//id
|
||||||
@ApiModelProperty(value = "id")
|
@ApiModelProperty(value = "id")
|
||||||
private Long id;
|
private Long id;
|
||||||
|
@ApiModelProperty(value = "personApplyId")
|
||||||
|
private Long personApplyId;
|
||||||
//1股份2分公司3相关方4临时人员
|
//1股份2分公司3相关方4临时人员
|
||||||
@ApiModelProperty(value = "授权范围港区与区域",name = "gateLevelAuthArea")
|
@ApiModelProperty(value = "授权范围港区与区域",name = "gateLevelAuthArea")
|
||||||
private String gateLevelAuthArea;
|
private String gateLevelAuthArea;
|
||||||
|
|
@ -39,7 +41,7 @@ public class XgfPersonApplyCO extends ClientObject {
|
||||||
private Long projectId;
|
private Long projectId;
|
||||||
@ApiModelProperty(value = "访问口门id",name = "mkmjId")
|
@ApiModelProperty(value = "访问口门id",name = "mkmjId")
|
||||||
private Long mkmjId;
|
private Long mkmjId;
|
||||||
@ApiModelProperty(value = "访问口门名称",name = "mkmjId")
|
@ApiModelProperty(value = "访问口门名称",name = "mkmjName")
|
||||||
private String mkmjName;
|
private String mkmjName;
|
||||||
//项目名称
|
//项目名称
|
||||||
@ApiModelProperty(value = "项目名称",name = "projectName")
|
@ApiModelProperty(value = "项目名称",name = "projectName")
|
||||||
|
|
@ -73,6 +75,8 @@ public class XgfPersonApplyCO extends ClientObject {
|
||||||
//审批人企业名称
|
//审批人企业名称
|
||||||
@ApiModelProperty(value = "审批人企业名称", name = "auditCorpName")
|
@ApiModelProperty(value = "审批人企业名称", name = "auditCorpName")
|
||||||
private String auditCorpName;
|
private String auditCorpName;
|
||||||
|
@ApiModelProperty(value = "审批时间", name = "auditTime")
|
||||||
|
private String auditTime;
|
||||||
@ApiModelProperty(value = "驳回原因", name = "reasonsRefusal")
|
@ApiModelProperty(value = "驳回原因", name = "reasonsRefusal")
|
||||||
private String reasonsRefusal;
|
private String reasonsRefusal;
|
||||||
@ApiModelProperty(value = "来访事由", name = "reasonVisit")
|
@ApiModelProperty(value = "来访事由", name = "reasonVisit")
|
||||||
|
|
@ -82,5 +86,16 @@ public class XgfPersonApplyCO extends ClientObject {
|
||||||
|
|
||||||
@ApiModelProperty(value = "申请人员列表", name = "personApplyList")
|
@ApiModelProperty(value = "申请人员列表", name = "personApplyList")
|
||||||
private List<XgfPersonApplyAddCmd.PersonApplyAddCmdExt> personApplyList;
|
private List<XgfPersonApplyAddCmd.PersonApplyAddCmdExt> personApplyList;
|
||||||
|
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "访问人姓名", name = "employeePersonUserName")
|
||||||
|
private String employeePersonUserName;
|
||||||
|
@ApiModelProperty(value = "头像", name = "userFaceUrl")
|
||||||
|
private String userFaceUrl;
|
||||||
|
@ApiModelProperty(value = "手机号", name = "userPhone")
|
||||||
|
private String userPhone;
|
||||||
|
@ApiModelProperty(value = "身份证号",name = "userCard")
|
||||||
|
private String userCard;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -46,6 +46,7 @@ public class XgfApplyPersonE extends BaseE {
|
||||||
private String auditDeptName;
|
private String auditDeptName;
|
||||||
private Long auditUserId;
|
private Long auditUserId;
|
||||||
private String auditUserName;
|
private String auditUserName;
|
||||||
|
private String auditTime;
|
||||||
private String reasonsRefusal;
|
private String reasonsRefusal;
|
||||||
private String reasonVisit;
|
private String reasonVisit;
|
||||||
private String applyTime;
|
private String applyTime;
|
||||||
|
|
|
||||||
|
|
@ -54,11 +54,22 @@ public class XgfApplyPersonDO extends BaseDO {
|
||||||
private String auditUserName;
|
private String auditUserName;
|
||||||
private String reasonsRefusal;
|
private String reasonsRefusal;
|
||||||
private String reasonVisit;
|
private String reasonVisit;
|
||||||
|
private String auditTime;
|
||||||
@TableField(exist = false)
|
@TableField(exist = false)
|
||||||
private Integer personApplyCount;
|
private Integer personApplyCount;
|
||||||
@TableField(exist = false)
|
@TableField(exist = false)
|
||||||
private String applyTime;
|
private String applyTime;
|
||||||
@TableField(exist = false)
|
@TableField(exist = false)
|
||||||
private String applyUserName;
|
private String applyUserName;
|
||||||
|
@TableField(exist = false)
|
||||||
|
private Long personApplyId;
|
||||||
|
@TableField(exist = false)
|
||||||
|
private String employeePersonUserName;
|
||||||
|
@TableField(exist = false)
|
||||||
|
private String userFaceUrl;
|
||||||
|
@TableField(exist = false)
|
||||||
|
private String userPhone;
|
||||||
|
@TableField(exist = false)
|
||||||
|
private String userCard;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -28,6 +28,7 @@
|
||||||
xap.audit_corp_name,
|
xap.audit_corp_name,
|
||||||
xap.audit_time,
|
xap.audit_time,
|
||||||
xap.create_name apply_user_name,
|
xap.create_name apply_user_name,
|
||||||
|
pa.id person_apply_id,
|
||||||
pa.person_corp_id,
|
pa.person_corp_id,
|
||||||
pa.person_corp_name,
|
pa.person_corp_name,
|
||||||
pa.person_department_id,
|
pa.person_department_id,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue