Commit 45854c17 authored by 5359's avatar 5359

代码提交git

parent 9a33e9a9
Pipeline #5222 canceled with stages
package com.hand.app.esignHclc.controllers;
import org.springframework.stereotype.Controller;
import com.hand.hap.system.controllers.BaseController;
import com.hand.hap.core.IRequest;
import com.hand.hap.system.dto.ResponseData;
import com.hand.app.esignHclc.dto.SignFlowsInfoHclc;
import com.hand.app.esignHclc.service.ISignFlowsInfoHclcService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;
import javax.servlet.http.HttpServletRequest;
import org.springframework.validation.BindingResult;
import java.util.List;
@Controller
public class SignFlowsInfoHclcController extends BaseController {
@Autowired
private ISignFlowsInfoHclcService service;
@RequestMapping(value = "/sign/flows/info/hclc/query")
@ResponseBody
public ResponseData query(SignFlowsInfoHclc dto, @RequestParam(defaultValue = DEFAULT_PAGE) int page,
@RequestParam(defaultValue = DEFAULT_PAGE_SIZE) int pageSize, HttpServletRequest request) {
IRequest requestContext = createRequestContext(request);
return new ResponseData(service.select(requestContext, dto, page, pageSize));
}
@RequestMapping(value = "/sign/flows/info/hclc/submit")
@ResponseBody
public ResponseData update(@RequestBody List<SignFlowsInfoHclc> dto, BindingResult result, HttpServletRequest request) {
getValidator().validate(dto, result);
if (result.hasErrors()) {
ResponseData responseData = new ResponseData(false);
responseData.setMessage(getErrorMessage(result, request));
return responseData;
}
IRequest requestCtx = createRequestContext(request);
return new ResponseData(service.batchUpdate(requestCtx, dto));
}
@RequestMapping(value = "/sign/flows/info/hclc/remove")
@ResponseBody
public ResponseData delete(HttpServletRequest request, @RequestBody List<SignFlowsInfoHclc> dto) {
service.batchDelete(dto);
return new ResponseData();
}
}
\ No newline at end of file
package com.hand.app.esignHclc.controllers;
import com.hand.app.esignHclc.service.ISignInfoHclcFaceService;
import com.hand.app.esignHclc.service.ISignInfoHclcService;
import com.hand.hap.system.controllers.BaseController;
import com.hand.hap.system.dto.ResponseData;
import com.alibaba.fastjson.JSONObject;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;
import javax.servlet.http.HttpServletRequest;
/**
* Created with IntelliJ IDEA.
* User: lsy
* Date: 2020/2/25
* Time: 21:32
*/
@Controller
public class SignHclcListenController extends BaseController {
@Autowired
private ISignInfoHclcFaceService iSignInfoHclcFaceService;
@Autowired
private ISignInfoHclcService iSignInfoHclcService;
@ResponseBody
@RequestMapping(value = "/api/public/listen/auth/result", method = RequestMethod.POST)
public ResponseData postAuthResult(HttpServletRequest request,
@RequestBody(required = false) JSONObject params) {
ResponseData responseData = new ResponseData(false);
iSignInfoHclcFaceService.postAuthResult(createRequestContext(request), params);
responseData.setCode("200");
responseData.setSuccess(true);
responseData.setMessage("接收成功!");
return responseData;
}
@ResponseBody
@RequestMapping(value = "/api/public/listen/sign/flow", method = RequestMethod.POST)
public ResponseData postSignFlowsResult(HttpServletRequest request,
@RequestBody(required = false) JSONObject params) {
ResponseData responseData = new ResponseData(false);
iSignInfoHclcService.postSignFlowsResult(createRequestContext(request), params);
responseData.setCode("200");
responseData.setSuccess(true);
responseData.setMessage("接收成功!");
return responseData;
}
}
package com.hand.app.esignHclc.controllers;
import org.springframework.stereotype.Controller;
import com.hand.hap.system.controllers.BaseController;
import com.hand.hap.core.IRequest;
import com.hand.hap.system.dto.ResponseData;
import com.hand.app.esignHclc.dto.SignUserAttachInfo;
import com.hand.app.esignHclc.service.ISignUserAttachInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;
import javax.servlet.http.HttpServletRequest;
import org.springframework.validation.BindingResult;
import java.util.List;
@Controller
public class SignUserAttachInfoController extends BaseController {
@Autowired
private ISignUserAttachInfoService service;
@RequestMapping(value = "/sign/user/attach/info/query")
@ResponseBody
public ResponseData query(SignUserAttachInfo dto, @RequestParam(defaultValue = DEFAULT_PAGE) int page,
@RequestParam(defaultValue = DEFAULT_PAGE_SIZE) int pageSize, HttpServletRequest request) {
IRequest requestContext = createRequestContext(request);
return new ResponseData(service.select(requestContext, dto, page, pageSize));
}
@RequestMapping(value = "/sign/user/attach/info/submit")
@ResponseBody
public ResponseData update(@RequestBody List<SignUserAttachInfo> dto, BindingResult result, HttpServletRequest request) {
getValidator().validate(dto, result);
if (result.hasErrors()) {
ResponseData responseData = new ResponseData(false);
responseData.setMessage(getErrorMessage(result, request));
return responseData;
}
IRequest requestCtx = createRequestContext(request);
return new ResponseData(service.batchUpdate(requestCtx, dto));
}
@RequestMapping(value = "/sign/user/attach/info/remove")
@ResponseBody
public ResponseData delete(HttpServletRequest request, @RequestBody List<SignUserAttachInfo> dto) {
service.batchDelete(dto);
return new ResponseData();
}
}
\ No newline at end of file
package com.hand.app.esignHclc.controllers;
import org.springframework.stereotype.Controller;
import com.hand.hap.system.controllers.BaseController;
import com.hand.hap.core.IRequest;
import com.hand.hap.system.dto.ResponseData;
import com.hand.app.esignHclc.dto.SignUserInfoHclcHis;
import com.hand.app.esignHclc.service.ISignUserInfoHclcHisService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;
import javax.servlet.http.HttpServletRequest;
import org.springframework.validation.BindingResult;
import java.util.List;
@Controller
public class SignUserInfoHclcHisController extends BaseController {
@Autowired
private ISignUserInfoHclcHisService service;
@RequestMapping(value = "/sign/user/info/hclc/his/query")
@ResponseBody
public ResponseData query(SignUserInfoHclcHis dto, @RequestParam(defaultValue = DEFAULT_PAGE) int page,
@RequestParam(defaultValue = DEFAULT_PAGE_SIZE) int pageSize, HttpServletRequest request) {
IRequest requestContext = createRequestContext(request);
return new ResponseData(service.select(requestContext, dto, page, pageSize));
}
@RequestMapping(value = "/sign/user/info/hclc/his/submit")
@ResponseBody
public ResponseData update(@RequestBody List<SignUserInfoHclcHis> dto, BindingResult result, HttpServletRequest request) {
getValidator().validate(dto, result);
if (result.hasErrors()) {
ResponseData responseData = new ResponseData(false);
responseData.setMessage(getErrorMessage(result, request));
return responseData;
}
IRequest requestCtx = createRequestContext(request);
return new ResponseData(service.batchUpdate(requestCtx, dto));
}
@RequestMapping(value = "/sign/user/info/hclc/his/remove")
@ResponseBody
public ResponseData delete(HttpServletRequest request, @RequestBody List<SignUserInfoHclcHis> dto) {
service.batchDelete(dto);
return new ResponseData();
}
}
\ No newline at end of file
package com.hand.app.esignHclc.dto;
import com.hand.hap.mybatis.annotation.ExtensionAttribute;
import com.hand.hap.system.dto.BaseDTO;
import javax.persistence.Id;
import javax.persistence.Table;
/**
* Created with IntelliJ IDEA.
* User: lsy
* Date: 2020/2/27
* Time: 10:27
*/
@Table(name = "lm005_hclc")
@ExtensionAttribute(disable = true)
public class Lm005Hclc extends BaseDTO {
@Id
private String webcustomercd;
private String ctino;//身份证件号(组织机构号)
private String openId;
public String getWebcustomercd() {
return webcustomercd;
}
public void setWebcustomercd(String webcustomercd) {
this.webcustomercd = webcustomercd;
}
public String getOpenId() {
return openId;
}
public void setOpenId(String openId) {
this.openId = openId;
}
public String getCtino() {
return ctino;
}
public void setCtino(String ctino) {
this.ctino = ctino;
}
}
package com.hand.app.esignHclc.dto;
/**
* Auto Generated By Hap Code Generator
**/
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import com.hand.hap.mybatis.annotation.ExtensionAttribute;
import org.hibernate.validator.constraints.Length;
import javax.persistence.Table;
import com.hand.hap.system.dto.BaseDTO;
@ExtensionAttribute(disable = true)
@Table(name = "SIGN_FLOWS_INFO_HCLC")
public class SignFlowsInfoHclc extends BaseDTO {
public static final String FIELD_INFO_ID = "infoId";
public static final String FIELD_CONTRACT_NO = "contractNo";
public static final String FIELD_SIGN_FLOW_ID = "signFlowId";
public static final String FIELD_SIGN_ACTION = "signAction";
public static final String FIELD_STATUS = "status";
public static final String FIELD_REQUEST_CLOB = "requestClob";
public static final String FIELD_RESPONSE_CLOB = "responseClob";
public static final String FIELD_RETURN_CODE = "returnCode";
public static final String FIELD_RETURN_MSG = "returnMsg";
@Id
@GeneratedValue
private Long infoId;
@Length(max = 30)
private String contractNo;
private String signFlowId;
@Length(max = 50)
private String signAction;
@Length(max = 50)
private String status;
@Length(max = 4000)
private String requestClob;
@Length(max = 4000)
private String responseClob;
@Length(max = 50)
private String returnCode;
@Length(max = 2000)
private String returnMsg;
private String sendFlag;
public void setInfoId(Long infoId) {
this.infoId = infoId;
}
public Long getInfoId() {
return infoId;
}
public void setContractNo(String contractNo) {
this.contractNo = contractNo;
}
public String getContractNo() {
return contractNo;
}
public void setSignFlowId(String signFlowId) {
this.signFlowId = signFlowId;
}
public String getSignFlowId() {
return signFlowId;
}
public void setSignAction(String signAction) {
this.signAction = signAction;
}
public String getSignAction() {
return signAction;
}
public void setStatus(String status) {
this.status = status;
}
public String getStatus() {
return status;
}
public void setRequestClob(String requestClob) {
this.requestClob = requestClob;
}
public String getRequestClob() {
return requestClob;
}
public void setResponseClob(String responseClob) {
this.responseClob = responseClob;
}
public String getResponseClob() {
return responseClob;
}
public void setReturnCode(String returnCode) {
this.returnCode = returnCode;
}
public String getReturnCode() {
return returnCode;
}
public void setReturnMsg(String returnMsg) {
this.returnMsg = returnMsg;
}
public String getReturnMsg() {
return returnMsg;
}
public void setSendFlag(String sendFlag) {
this.sendFlag = sendFlag;
}
public String getSendFlag() {
return sendFlag;
}
}
package com.hand.app.esignHclc.dto;
/**
* Auto Generated By Hap Code Generator
**/
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import com.hand.hap.mybatis.annotation.ExtensionAttribute;
import org.hibernate.validator.constraints.Length;
import javax.persistence.Table;
import com.hand.hap.system.dto.BaseDTO;
@ExtensionAttribute(disable = true)
@Table(name = "SIGN_USER_ATTACH_INFO")
public class SignUserAttachInfo extends BaseDTO {
@Id
@GeneratedValue
private Long attachmentId;
@Length(max = 30)
private String openId;
@Length(max = 50)
private String attachmentType;
@Length(max = 200)
private String mediaId;
private Long attachmentIdHclc;
public void setAttachmentId(Long attachmentId) {
this.attachmentId = attachmentId;
}
public Long getAttachmentId() {
return attachmentId;
}
public void setOpenId(String openId) {
this.openId = openId;
}
public String getOpenId() {
return openId;
}
public void setAttachmentType(String attachmentType) {
this.attachmentType = attachmentType;
}
public String getAttachmentType() {
return attachmentType;
}
public void setMediaId(String mediaId) {
this.mediaId = mediaId;
}
public String getMediaId() {
return mediaId;
}
public void setAttachmentIdHclc(Long attachmentIdHclc) {
this.attachmentIdHclc = attachmentIdHclc;
}
public Long getAttachmentIdHclc() {
return attachmentIdHclc;
}
}
package com.hand.app.esignHclc.dto;
import com.hand.hap.mybatis.annotation.ExtensionAttribute;
import com.hand.hap.system.dto.BaseDTO;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
/**
* Created with IntelliJ IDEA.
* User: lsy
* Date: 2020/2/24
* Time: 9:08
*/
@Table(name = "sign_user_face_hclc")
@ExtensionAttribute(disable = true)
public class SignUserFaceHclc extends BaseDTO {
@Id
@GeneratedValue
private Long authId;
private String openId;
private String authStatus;
private String url;
private String shortLink;
private String returnCode;
private String returnMessage;
private String flowId;
private String authType;
private String verifyCode;
private String enableFlag;
public Long getAuthId() {
return authId;
}
public void setAuthId(Long authId) {
this.authId = authId;
}
public String getOpenId() {
return openId;
}
public void setOpenId(String openId) {
this.openId = openId;
}
public String getUrl() {
return url;
}
public void setUrl(String url) {
this.url = url;
}
public String getShortLink() {
return shortLink;
}
public void setShortLink(String shortLink) {
this.shortLink = shortLink;
}
public String getReturnCode() {
return returnCode;
}
public void setReturnCode(String returnCode) {
this.returnCode = returnCode;
}
public String getReturnMessage() {
return returnMessage;
}
public void setReturnMessage(String returnMessage) {
this.returnMessage = returnMessage;
}
public String getAuthStatus() {
return authStatus;
}
public void setAuthStatus(String authStatus) {
this.authStatus = authStatus;
}
public String getFlowId() {
return flowId;
}
public void setFlowId(String flowId) {
this.flowId = flowId;
}
public String getAuthType() {
return authType;
}
public void setAuthType(String authType) {
this.authType = authType;
}
public String getVerifyCode() {
return verifyCode;
}
public void setVerifyCode(String verifyCode) {
this.verifyCode = verifyCode;
}
public String getEnableFlag() {
return enableFlag;
}
public void setEnableFlag(String enableFlag) {
this.enableFlag = enableFlag;
}
}
package com.hand.app.esignHclc.dto;
import com.hand.app.esign.bean.AttachmentInfo;
import com.hand.hap.mybatis.annotation.ExtensionAttribute;
import com.hand.hap.system.dto.BaseDTO;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
/**
* Created with IntelliJ IDEA.
* User: lsy
* Date: 2020/2/24
* Time: 9:08
*/
@Table(name = "sign_user_info_hclc")
@ExtensionAttribute(disable = true)
public class SignUserInfoHclc extends BaseDTO {
@Id
private String openId;
private String idNo;//身份证件号(组织机构号)
private String name;//用户名称(组织机构名称)
private String mobile;
private String email;
private String title;
private String address;
private String legalName;//法定代表人姓名
private Long ctitype;//用户类型(1-个人,2-法人)
private Long agentType;//经办人类型(1-法定代表人,2-组织其他员工)
private String agentIdNo;//经办人身份证号码
private String agentName;//经办人姓名
private String legalIdNo;//法定代表人身份证号码
private String accountId; // 用户e签宝账户
private String agentAccountId; // 经办人e签宝账户
private String createCode; // e签宝用户创建返回code
private String createMessage; // e签宝用户创建返回描述
private Long faceAuthId;//人脸识别流程id
private Long orgAuthId;//企业识别流程id
private String authAccountId; // 用户e签宝账户
private String authAgentAccountId; // 经办人e签宝账户
private String authFlag; // 用户通过认证状态
@Transient
private String attachmentId;//身份证附件id
@Transient
private String orgAttachmentId;//机构营业执照附件id
@Transient
private AttachmentInfo attachmentInfo; // 附件信息
@Transient
private String apiUrl; // e签宝接口url
@Transient
private String appId; // e签宝人脸接口用户id
@Transient
private String secret; // e签宝人脸接口密钥
@Transient
private String redirectUrl; // e签宝返回企业认证url
@Transient
private String notifyUrl; // e签宝返回企业认证url
@Transient
private String faceAuthStatus;//人脸识别流程id
@Transient
private String orgAuthStatus;//企业识别流程id
@Transient
private String mediaId;//微信图片资源id
public AttachmentInfo getAttachmentInfo() {
return attachmentInfo;
}
public void setAttachmentInfo(AttachmentInfo attachmentInfo) {
this.attachmentInfo = attachmentInfo;
}
public String getApiUrl() {
return apiUrl;
}
public void setApiUrl(String apiUrl) {
this.apiUrl = apiUrl;
}
public String getAppId() {
return appId;
}
public void setAppId(String appId) {
this.appId = appId;
}
public String getSecret() {
return secret;
}
public void setSecret(String secret) {
this.secret = secret;
}
public String getOpenId() {
return openId;
}
public void setOpenId(String openId) {
this.openId = openId;
}
public String getIdNo() {
return idNo;
}
public void setIdNo(String idNo) {
this.idNo = idNo;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getMobile() {
return mobile;
}
public void setMobile(String mobile) {
this.mobile = mobile;
}
public String getEmail() {
return email;
}
public void setEmail(String email) {
this.email = email;
}
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.title = title;
}
public String getAddress() {
return address;
}
public void setAddress(String address) {
this.address = address;
}
public Long getAgentType() {
return agentType;
}
public void setAgentType(Long agentType) {
this.agentType = agentType;
}
public Long getCtitype() {
return ctitype;
}
public void setCtitype(Long ctitype) {
this.ctitype = ctitype;
}
public String getAgentAccountId() {
return agentAccountId;
}
public void setAgentAccountId(String agentAccountId) {
this.agentAccountId = agentAccountId;
}
public String getAgentIdNo() {
return agentIdNo;
}
public void setAgentIdNo(String agentIdNo) {
this.agentIdNo = agentIdNo;
}
public String getAgentName() {
return agentName;
}
public void setAgentName(String agentName) {
this.agentName = agentName;
}
public String getLegalIdNo() {
return legalIdNo;
}
public void setLegalIdNo(String legalIdNo) {
this.legalIdNo = legalIdNo;
}
public String getLegalName() {
return legalName;
}
public void setLegalName(String legalName) {
this.legalName = legalName;
}
public String getAccountId() {
return accountId;
}
public void setAccountId(String accountId) {
this.accountId = accountId;
}
public String getRedirectUrl() {
return redirectUrl;
}
public void setRedirectUrl(String redirectUrl) {
this.redirectUrl = redirectUrl;
}
public String getNotifyUrl() {
return notifyUrl;
}
public void setNotifyUrl(String notifyUrl) {
this.notifyUrl = notifyUrl;
}
public String getAttachmentId() {
return attachmentId;
}
public void setAttachmentId(String attachmentId) {
this.attachmentId = attachmentId;
}
public String getOrgAttachmentId() {
return orgAttachmentId;
}
public void setOrgAttachmentId(String orgAttachmentId) {
this.orgAttachmentId = orgAttachmentId;
}
public String getMediaId() {
return mediaId;
}
public void setMediaId(String mediaId) {
this.mediaId = mediaId;
}
public String getCreateCode() {
return createCode;
}
public void setCreateCode(String createCode) {
this.createCode = createCode;
}
public String getCreateMessage() {
return createMessage;
}
public void setCreateMessage(String createMessage) {
this.createMessage = createMessage;
}
public Long getFaceAuthId() {
return faceAuthId;
}
public void setFaceAuthId(Long faceAuthId) {
this.faceAuthId = faceAuthId;
}
public Long getOrgAuthId() {
return orgAuthId;
}
public void setOrgAuthId(Long orgAuthId) {
this.orgAuthId = orgAuthId;
}
public String getAuthAccountId() {
return authAccountId;
}
public void setAuthAccountId(String authAccountId) {
this.authAccountId = authAccountId;
}
public String getAuthAgentAccountId() {
return authAgentAccountId;
}
public void setAuthAgentAccountId(String authAgentAccountId) {
this.authAgentAccountId = authAgentAccountId;
}
public String getFaceAuthStatus() {
return faceAuthStatus;
}
public void setFaceAuthStatus(String faceAuthStatus) {
this.faceAuthStatus = faceAuthStatus;
}
public String getOrgAuthStatus() {
return orgAuthStatus;
}
public void setOrgAuthStatus(String orgAuthStatus) {
this.orgAuthStatus = orgAuthStatus;
}
public String getAuthFlag() {
return authFlag;
}
public void setAuthFlag(String authFlag) {
this.authFlag = authFlag;
}
}
package com.hand.app.esignHclc.dto;
/**
* Auto Generated By Hap Code Generator
**/
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import com.hand.hap.mybatis.annotation.ExtensionAttribute;
import org.hibernate.validator.constraints.Length;
import javax.persistence.Table;
import javax.persistence.Transient;
import com.hand.hap.system.dto.BaseDTO;
@ExtensionAttribute(disable = true)
@Table(name = "SIGN_USER_INFO_HCLC_HIS")
public class SignUserInfoHclcHis extends BaseDTO {
public static final String FIELD_HIS_ID = "hisId";
public static final String FIELD_OPEN_ID = "openId";
public static final String FIELD_ID_NO = "idNo";
public static final String FIELD_NAME = "name";
public static final String FIELD_MOBILE = "mobile";
public static final String FIELD_EMAIL = "email";
public static final String FIELD_TITLE = "title";
public static final String FIELD_ADDRESS = "address";
public static final String FIELD_ACCOUNT_ID = "accountId";
public static final String FIELD_CTITYPE = "ctitype";
public static final String FIELD_AGENT_TYPE = "agentType";
public static final String FIELD_AGENT_ID_NO = "agentIdNo";
public static final String FIELD_AGENT_NAME = "agentName";
public static final String FIELD_LEGAL_ID_NO = "legalIdNo";
public static final String FIELD_LEGAL_NAME = "legalName";
public static final String FIELD_CREATE_CODE = "createCode";
public static final String FIELD_CREATE_MESSAGE = "createMessage";
public static final String FIELD_AGENT_ACCOUNT_ID = "agentAccountId";
public static final String FIELD_FACE_AUTH_ID = "faceAuthId";
public static final String FIELD_ORG_AUTH_ID = "orgAuthId";
public static final String FIELD_AUTH_ACCOUNT_ID = "authAccountId";
public static final String FIELD_AUTH_AGENT_ACCOUNT_ID = "authAgentAccountId";
public static final String FIELD_AUTH_FLAG = "authFlag";
@Id
@GeneratedValue
private Long hisId;
@Length(max = 30)
private String openId;
@Length(max = 30)
private String idNo;
@Length(max = 200)
private String name;
@Length(max = 30)
private String mobile;
@Length(max = 30)
private String email;
@Length(max = 200)
private String title;
@Length(max = 300)
private String address;
@Length(max = 200)
private String accountId;
private Long ctitype;
private Long agentType;
@Length(max = 30)
private String agentIdNo;
@Length(max = 200)
private String agentName;
@Length(max = 30)
private String legalIdNo;
@Length(max = 200)
private String legalName;
@Transient
private Long attachmentId;
@Transient
private String mediaId;
@Length(max = 200)
private String createCode;
@Length(max = 2000)
private String createMessage;
@Length(max = 200)
private String agentAccountId;
private Long faceAuthId;
private Long orgAuthId;
@Length(max = 200)
private String authAccountId;
@Length(max = 200)
private String authAgentAccountId;
@Length(max = 1)
private String authFlag;
@Transient
private Long orgAttachmentId;
public void setHisId(Long hisId) {
this.hisId = hisId;
}
public Long getHisId() {
return hisId;
}
public void setOpenId(String openId) {
this.openId = openId;
}
public String getOpenId() {
return openId;
}
public void setIdNo(String idNo) {
this.idNo = idNo;
}
public String getIdNo() {
return idNo;
}
public void setName(String name) {
this.name = name;
}
public String getName() {
return name;
}
public void setMobile(String mobile) {
this.mobile = mobile;
}
public String getMobile() {
return mobile;
}
public void setEmail(String email) {
this.email = email;
}
public String getEmail() {
return email;
}
public void setTitle(String title) {
this.title = title;
}
public String getTitle() {
return title;
}
public void setAddress(String address) {
this.address = address;
}
public String getAddress() {
return address;
}
public void setAccountId(String accountId) {
this.accountId = accountId;
}
public String getAccountId() {
return accountId;
}
public void setCtitype(Long ctitype) {
this.ctitype = ctitype;
}
public Long getCtitype() {
return ctitype;
}
public void setAgentType(Long agentType) {
this.agentType = agentType;
}
public Long getAgentType() {
return agentType;
}
public void setAgentIdNo(String agentIdNo) {
this.agentIdNo = agentIdNo;
}
public String getAgentIdNo() {
return agentIdNo;
}
public void setAgentName(String agentName) {
this.agentName = agentName;
}
public String getAgentName() {
return agentName;
}
public void setLegalIdNo(String legalIdNo) {
this.legalIdNo = legalIdNo;
}
public String getLegalIdNo() {
return legalIdNo;
}
public void setLegalName(String legalName) {
this.legalName = legalName;
}
public String getLegalName() {
return legalName;
}
public void setAttachmentId(Long attachmentId) {
this.attachmentId = attachmentId;
}
public Long getAttachmentId() {
return attachmentId;
}
public void setMediaId(String mediaId) {
this.mediaId = mediaId;
}
public String getMediaId() {
return mediaId;
}
public void setCreateCode(String createCode) {
this.createCode = createCode;
}
public String getCreateCode() {
return createCode;
}
public void setCreateMessage(String createMessage) {
this.createMessage = createMessage;
}
public String getCreateMessage() {
return createMessage;
}
public void setAgentAccountId(String agentAccountId) {
this.agentAccountId = agentAccountId;
}
public String getAgentAccountId() {
return agentAccountId;
}
public void setFaceAuthId(Long faceAuthId) {
this.faceAuthId = faceAuthId;
}
public Long getFaceAuthId() {
return faceAuthId;
}
public void setOrgAuthId(Long orgAuthId) {
this.orgAuthId = orgAuthId;
}
public Long getOrgAuthId() {
return orgAuthId;
}
public void setAuthAccountId(String authAccountId) {
this.authAccountId = authAccountId;
}
public String getAuthAccountId() {
return authAccountId;
}
public void setAuthAgentAccountId(String authAgentAccountId) {
this.authAgentAccountId = authAgentAccountId;
}
public String getAuthAgentAccountId() {
return authAgentAccountId;
}
public void setOrgAttachmentId(Long orgAttachmentId) {
this.orgAttachmentId = orgAttachmentId;
}
public Long getOrgAttachmentId() {
return orgAttachmentId;
}
public void setAuthFlag(String authFlag) {
this.authFlag = authFlag;
}
public String getAuthFlag() {
return authFlag;
}
}
package com.hand.app.esignHclc.mapper;
import com.hand.app.esignHclc.dto.Lm005Hclc;
import com.hand.hap.mybatis.common.Mapper;
/**
* Created with IntelliJ IDEA.
* User: lsy
* Date: 2020/2/24
* Time: 9:08
*/
public interface Lm005HclcMapper extends Mapper<Lm005Hclc> {
}
package com.hand.app.esignHclc.mapper;
import com.hand.hap.mybatis.common.Mapper;
import com.hand.app.esignHclc.dto.SignFlowsInfoHclc;
public interface SignFlowsInfoHclcMapper extends Mapper<SignFlowsInfoHclc>{
}
\ No newline at end of file
package com.hand.app.esignHclc.mapper;
import com.hand.app.esignHclc.dto.SignUserFaceHclc;
import com.hand.hap.mybatis.common.Mapper;
/**
* Created with IntelliJ IDEA.
* User: lsy
* Date: 2020/2/24
* Time: 9:08
*/
public interface SignInfoHclcFaceMapper extends Mapper<SignUserFaceHclc> {
SignUserFaceHclc getSignFaceAuthStatus(Long authId);
}
package com.hand.app.esignHclc.mapper;
import com.hand.app.esignHclc.dto.SignUserInfoHclc;
import com.hand.hap.mybatis.common.Mapper;
import java.util.List;
/**
* Created with IntelliJ IDEA.
* User: lsy
* Date: 2020/2/24
* Time: 9:08
*/
public interface SignInfoHclcMapper extends Mapper<SignUserInfoHclc> {
List<SignUserInfoHclc> queryUserInfo(SignUserInfoHclc dto);
}
package com.hand.app.esignHclc.mapper;
import com.hand.hap.mybatis.common.Mapper;
import com.hand.app.esignHclc.dto.SignUserAttachInfo;
public interface SignUserAttachInfoMapper extends Mapper<SignUserAttachInfo>{
}
\ No newline at end of file
package com.hand.app.esignHclc.mapper;
import com.hand.hap.mybatis.common.Mapper;
import com.hand.app.esignHclc.dto.SignUserInfoHclcHis;
public interface SignUserInfoHclcHisMapper extends Mapper<SignUserInfoHclcHis>{
}
\ No newline at end of file
package com.hand.app.esignHclc.service;
import com.hand.app.esignHclc.dto.Lm005Hclc;
import com.hand.hap.core.ProxySelf;
import com.hand.hap.system.service.IBaseService;
/**
* Created with IntelliJ IDEA.
* User: lsy
* Date: 2020/2/27
* Time: 11:34
*/
public interface ILm005HclcService extends IBaseService<Lm005Hclc>, ProxySelf<ILm005HclcService> {
}
package com.hand.app.esignHclc.service;
import com.hand.app.esignHclc.dto.SignUserInfoHclc;
import com.hand.hap.core.IRequest;
import com.hand.hap.core.ProxySelf;
import com.hand.hap.system.service.IBaseService;
import java.util.Map;
/**
* Created with IntelliJ IDEA.
* User: lsy
* Date: 2020/2/24
* Time: 9:08
*/
public interface IOrganSignInfoHclcService extends IBaseService<SignUserInfoHclc>, ProxySelf<IOrganSignInfoHclcService> {
Map<String,Object> getOrganIndividualFaceUrl(IRequest iRequest, SignUserInfoHclc info);
Map<String, Object> addOrgansAccount(SignUserInfoHclc info);
Map<String, Object> deleteOrgansAccount(IRequest iRequest,SignUserInfoHclc signInfoHclc);
}
package com.hand.app.esignHclc.service;
import com.hand.hap.core.ProxySelf;
import com.hand.hap.system.service.IBaseService;
import com.hand.app.esignHclc.dto.SignFlowsInfoHclc;
public interface ISignFlowsInfoHclcService extends IBaseService<SignFlowsInfoHclc>, ProxySelf<ISignFlowsInfoHclcService>{
}
\ No newline at end of file
package com.hand.app.esignHclc.service;
import com.alibaba.fastjson.JSONObject;
import com.hand.app.esignHclc.dto.SignUserFaceHclc;
import com.hand.hap.core.IRequest;
import com.hand.hap.core.ProxySelf;
import com.hand.hap.system.service.IBaseService;
/**
* Created with IntelliJ IDEA.
* User: lsy
* Date: 2020/2/24
* Time: 9:08
*/
public interface ISignInfoHclcFaceService extends IBaseService<SignUserFaceHclc>, ProxySelf<ISignInfoHclcFaceService> {
void postAuthResult(IRequest iRequest, JSONObject params);
}
package com.hand.app.esignHclc.service;
import com.alibaba.fastjson.JSONObject;
import com.hand.app.esignHclc.dto.SignUserInfoHclc;
import com.hand.hap.core.IRequest;
import com.hand.hap.core.ProxySelf;
import com.hand.hap.system.service.IBaseService;
import hls.support.core.wechat.formbean.AttachmentInfo;
import java.util.Map;
/**
* Created with IntelliJ IDEA.
* User: lsy
* Date: 2020/2/24
* Time: 9:08
*/
public interface ISignInfoHclcService extends IBaseService<SignUserInfoHclc>, ProxySelf<ISignInfoHclcService> {
Map<String, Object> getIndividualFaceUrl(IRequest iRequest, SignUserInfoHclc info);
Map<String, Object> getFaceUrlHttp(IRequest iRequest, SignUserInfoHclc info, String token);
Map<String, Object> getByThirdId(SignUserInfoHclc info, String token);
JSONObject uploadHlsFromWx(IRequest iRequest, AttachmentInfo attachmentInfo);
String getApiUrl(String sysName, String apiName);
Map<String, Object> addPersonAccount(SignUserInfoHclc signInfoHclc);
Map<String, Object> deletePersonAccount(IRequest iRequest, SignUserInfoHclc signInfoHclc);
Map<String, Object> signFileUpload(IRequest requestContext, AttachmentInfo dto);
JSONObject createSignFlows(IRequest requestContext, JSONObject params);
void postSignFlowsResult(IRequest iRequest, JSONObject params);
}
package com.hand.app.esignHclc.service;
import com.hand.hap.core.ProxySelf;
import com.hand.hap.system.service.IBaseService;
import com.hand.app.esignHclc.dto.SignUserAttachInfo;
public interface ISignUserAttachInfoService extends IBaseService<SignUserAttachInfo>, ProxySelf<ISignUserAttachInfoService>{
}
\ No newline at end of file
package com.hand.app.esignHclc.service;
import com.hand.hap.core.ProxySelf;
import com.hand.hap.system.service.IBaseService;
import com.hand.app.esignHclc.dto.SignUserInfoHclcHis;
public interface ISignUserInfoHclcHisService extends IBaseService<SignUserInfoHclcHis>, ProxySelf<ISignUserInfoHclcHisService>{
}
\ No newline at end of file
package com.hand.app.esignHclc.service.impl;
import com.hand.app.esignHclc.dto.Lm005Hclc;
import com.hand.app.esignHclc.service.ILm005HclcService;
import com.hand.hap.system.service.impl.BaseServiceImpl;
import org.springframework.stereotype.Service;
/**
* Created with IntelliJ IDEA.
* User: lsy
* Date: 2020/2/27
* Time: 11:34
*/
@Service
public class Lm005HclcServiceImpl extends BaseServiceImpl<Lm005Hclc> implements ILm005HclcService {
}
package com.hand.app.esignHclc.service.impl;
import com.hand.hap.system.service.impl.BaseServiceImpl;
import org.springframework.stereotype.Service;
import com.hand.app.esignHclc.dto.SignFlowsInfoHclc;
import com.hand.app.esignHclc.service.ISignFlowsInfoHclcService;
import org.springframework.transaction.annotation.Transactional;
@Service
@Transactional(rollbackFor = Exception.class)
public class SignFlowsInfoHclcServiceImpl extends BaseServiceImpl<SignFlowsInfoHclc> implements ISignFlowsInfoHclcService{
}
\ No newline at end of file
package com.hand.app.esignHclc.service.impl;
import com.alibaba.fastjson.JSONObject;
import com.hand.app.esignHclc.dto.SignUserInfoHclc;
import com.hand.app.esignHclc.dto.SignUserFaceHclc;
import com.hand.app.esignHclc.service.ISignInfoHclcFaceService;
import com.hand.app.esignHclc.service.ISignInfoHclcService;
import com.hand.hap.core.IRequest;
import com.hand.hap.system.service.impl.BaseServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.Objects;
/**
* Created with IntelliJ IDEA.
* User: lsy
* Date: 2020/2/24
* Time: 9:08
*/
@Service
public class SignInfoHclcFaceServiceImpl extends BaseServiceImpl<SignUserFaceHclc> implements ISignInfoHclcFaceService {
private final Object lock = new Object();
@Autowired
private ISignInfoHclcService iSignInfoHclcService;
public void postAuthResult(IRequest iRequest, JSONObject params) {
synchronized (lock) {
if (Objects.isNull(params.get("contextId"))) {
return;
}
SignUserFaceHclc signInfoHclcFace = new SignUserFaceHclc();
signInfoHclcFace.setAuthId(Long.valueOf(params.get("contextId").toString()));
signInfoHclcFace = this.selectByPrimaryKey(iRequest, signInfoHclcFace);
//判断认证识别流程是否存在
if (Objects.nonNull(signInfoHclcFace) && !"SUCCESS".equalsIgnoreCase(signInfoHclcFace.getAuthStatus())) {
//判断认证返回结果成功
if ("true".equalsIgnoreCase(params.get("success").toString())) {
//更新认证明细表状态
signInfoHclcFace.setAuthStatus("SUCCESS");
signInfoHclcFace.setVerifyCode(params.get("verifycode").toString());
SignUserInfoHclc signInfoHclc = new SignUserInfoHclc();
signInfoHclc.setOpenId(signInfoHclcFace.getOpenId());
signInfoHclc = iSignInfoHclcService.selectByPrimaryKey(iRequest, signInfoHclc);
//更新用户认证状态为Y
if (signInfoHclc.getCtitype().compareTo(1L) == 0 || (signInfoHclc.getCtitype().compareTo(2L) == 0 && "2".equalsIgnoreCase(signInfoHclcFace.getAuthType()))) {
signInfoHclc.setAuthFlag("Y");
iSignInfoHclcService.updateByPrimaryKeySelective(iRequest, signInfoHclc);
}
} else {
//更新认证明细表状态
signInfoHclcFace.setAuthStatus("FAIL");
signInfoHclcFace.setVerifyCode(params.get("verifycode").toString());
}
this.updateByPrimaryKey(iRequest, signInfoHclcFace);
}
}
}
}
package com.hand.app.esignHclc.service.impl;
import com.hand.hap.system.service.impl.BaseServiceImpl;
import org.springframework.stereotype.Service;
import com.hand.app.esignHclc.dto.SignUserAttachInfo;
import com.hand.app.esignHclc.service.ISignUserAttachInfoService;
import org.springframework.transaction.annotation.Transactional;
@Service
@Transactional(rollbackFor = Exception.class)
public class SignUserAttachInfoServiceImpl extends BaseServiceImpl<SignUserAttachInfo> implements ISignUserAttachInfoService{
}
\ No newline at end of file
package com.hand.app.esignHclc.service.impl;
import com.hand.hap.system.service.impl.BaseServiceImpl;
import org.springframework.stereotype.Service;
import com.hand.app.esignHclc.dto.SignUserInfoHclcHis;
import com.hand.app.esignHclc.service.ISignUserInfoHclcHisService;
import org.springframework.transaction.annotation.Transactional;
@Service
@Transactional(rollbackFor = Exception.class)
public class SignUserInfoHclcHisServiceImpl extends BaseServiceImpl<SignUserInfoHclcHis> implements ISignUserInfoHclcHisService{
}
\ No newline at end of file
//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//
package com.hand.app.esignHclc.controllers;
import com.alibaba.fastjson.JSONObject;
import com.hand.app.esignHclc.dto.SignInfoHclc;
import com.hand.app.esignHclc.service.IOrganSignInfoHclcService;
import com.hand.app.esignHclc.service.ISignInfoHclcService;
import com.hand.hap.core.IRequest;
import com.hand.hap.system.controllers.BaseController;
import com.hand.hap.system.dto.ResponseData;
import hls.support.core.wechat.formbean.AttachmentInfo;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;
@Controller
@RequestMapping({"/r/api", "/"})
public class SignHclcController extends BaseController {
@Autowired
private ISignInfoHclcService signHclcService;
@Autowired
private IOrganSignInfoHclcService organSignHclcService;
public SignHclcController() {
}
@ResponseBody
@RequestMapping({"/sign/info/hclc/query/by/openid"})
public ResponseData query(HttpServletRequest request, SignInfoHclc dto) {
IRequest requestContext = this.createRequestContext(request);
List<SignInfoHclc> signInfoHclcs = new ArrayList();
SignInfoHclc signInfoHclc = (SignInfoHclc)this.signHclcService.selectByPrimaryKey(requestContext, dto);
if (signInfoHclc != null) {
signInfoHclcs.add(signInfoHclc);
}
return new ResponseData(signInfoHclcs);
}
@ResponseBody
@RequestMapping({"/auth/api/individual/face"})
public Map<String, Object> getIndividualFaceUrl(HttpServletRequest request, @RequestBody SignInfoHclc dto) {
return this.signHclcService.getIndividualFaceUrl(this.createRequestContext(request), dto);
}
@ResponseBody
@RequestMapping({"/auth/api/individual/face/Organ"})
public Map<String, Object> getOrganIndividualFaceUrl(HttpServletRequest request, @RequestBody SignInfoHclc dto) {
return this.organSignHclcService.getOrganIndividualFaceUrl(this.createRequestContext(request), dto);
}
@RequestMapping(
value = {"/auth/upload/image/hls/from/wx"},
method = {RequestMethod.POST}
)
@ResponseBody
public JSONObject uploadHlsFromWx(HttpServletRequest request, @RequestBody AttachmentInfo dto) {
return this.signHclcService.uploadHlsFromWx(this.createRequestContext(request), dto);
}
@ResponseBody
@RequestMapping({"/accounts/outerAccounts/create"})
public Map<String, Object> addPersonAccount(HttpServletRequest request, @RequestBody SignInfoHclc dto) {
return this.signHclcService.addPersonAccount(this.createRequestContext(request), dto.getOpenId());
}
@ResponseBody
@RequestMapping({"/organizations/outerOrgans/create"})
public Map<String, Object> addOrgansAccount(HttpServletRequest request, @RequestBody SignInfoHclc dto) {
return this.organSignHclcService.addOrgansAccount(this.createRequestContext(request), dto.getOpenId());
}
}
//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//
package com.hand.app.esignHclc.controllers;
import com.hand.app.esignHclc.service.ISignInfoHclcFaceService;
import com.hand.hap.system.controllers.BaseController;
import com.hand.hap.system.dto.ResponseData;
import javax.servlet.http.HttpServletRequest;
import net.sf.json.JSONObject;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;
@Controller
public class SignHclcListenController extends BaseController {
@Autowired
private ISignInfoHclcFaceService iSignInfoHclcFaceService;
public SignHclcListenController() {
}
@ResponseBody
@RequestMapping(
value = {"/api/public/listen/auth/result"},
method = {RequestMethod.POST}
)
public ResponseData postAuthResult(HttpServletRequest request, @RequestBody(required = false) JSONObject params) {
ResponseData responseData = new ResponseData(false);
this.iSignInfoHclcFaceService.postAuthResult(this.createRequestContext(request), params);
responseData.setCode("200");
responseData.setSuccess(true);
responseData.setMessage("接收成功!");
return responseData;
}
}
//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//
package com.hand.app.esignHclc.dto;
import com.hand.hap.mybatis.annotation.ExtensionAttribute;
import com.hand.hap.system.dto.BaseDTO;
import javax.persistence.Id;
import javax.persistence.Table;
@Table(
name = "lm005_hclc"
)
@ExtensionAttribute(
disable = true
)
public class Lm005Hclc extends BaseDTO {
@Id
private String webcustomercd;
private String ctino;
private String openId;
public Lm005Hclc() {
}
public String getWebcustomercd() {
return this.webcustomercd;
}
public void setWebcustomercd(String webcustomercd) {
this.webcustomercd = webcustomercd;
}
public String getOpenId() {
return this.openId;
}
public void setOpenId(String openId) {
this.openId = openId;
}
public String getCtino() {
return this.ctino;
}
public void setCtino(String ctino) {
this.ctino = ctino;
}
}
//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//
package com.hand.app.esignHclc.dto;
import com.hand.app.esign.bean.AttachmentInfo;
import com.hand.hap.mybatis.annotation.ExtensionAttribute;
import com.hand.hap.system.dto.BaseDTO;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
@Table(
name = "sign_info_hclc"
)
@ExtensionAttribute(
disable = true
)
public class SignInfoHclc extends BaseDTO {
@Id
private String openId;
private String idNo;
private String name;
private String mobile;
private String email;
private String title;
private String address;
private String faceauthStatus;
private String orgauthStatus;
private String legalName;
private Long ctitype;
private Long agentType;
private String agentIdNo;
private String agentName;
private String legalIdNo;
private String attachmentId;
private String mediaId;
private String bindFlag;
private String accountId;
private String createCode;
private String createMessage;
@Transient
private AttachmentInfo attachmentInfo;
@Transient
private String apiUrl;
@Transient
private String appId;
@Transient
private String secret;
@Transient
private String redirectUrl;
@Transient
private String notifyUrl;
public SignInfoHclc() {
}
public AttachmentInfo getAttachmentInfo() {
return this.attachmentInfo;
}
public void setAttachmentInfo(AttachmentInfo attachmentInfo) {
this.attachmentInfo = attachmentInfo;
}
public String getApiUrl() {
return this.apiUrl;
}
public void setApiUrl(String apiUrl) {
this.apiUrl = apiUrl;
}
public String getAppId() {
return this.appId;
}
public void setAppId(String appId) {
this.appId = appId;
}
public String getSecret() {
return this.secret;
}
public void setSecret(String secret) {
this.secret = secret;
}
public String getOpenId() {
return this.openId;
}
public void setOpenId(String openId) {
this.openId = openId;
}
public String getIdNo() {
return this.idNo;
}
public void setIdNo(String idNo) {
this.idNo = idNo;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public String getMobile() {
return this.mobile;
}
public void setMobile(String mobile) {
this.mobile = mobile;
}
public String getEmail() {
return this.email;
}
public void setEmail(String email) {
this.email = email;
}
public String getTitle() {
return this.title;
}
public void setTitle(String title) {
this.title = title;
}
public String getAddress() {
return this.address;
}
public void setAddress(String address) {
this.address = address;
}
public Long getAgentType() {
return this.agentType;
}
public void setAgentType(Long agentType) {
this.agentType = agentType;
}
public Long getCtitype() {
return this.ctitype;
}
public void setCtitype(Long ctitype) {
this.ctitype = ctitype;
}
public String getFaceauthStatus() {
return this.faceauthStatus;
}
public void setFaceauthStatus(String faceauthStatus) {
this.faceauthStatus = faceauthStatus;
}
public String getOrgauthStatus() {
return this.orgauthStatus;
}
public void setOrgauthStatus(String orgauthStatus) {
this.orgauthStatus = orgauthStatus;
}
public String getAgentIdNo() {
return this.agentIdNo;
}
public void setAgentIdNo(String agentIdNo) {
this.agentIdNo = agentIdNo;
}
public String getAgentName() {
return this.agentName;
}
public void setAgentName(String agentName) {
this.agentName = agentName;
}
public String getLegalIdNo() {
return this.legalIdNo;
}
public void setLegalIdNo(String legalIdNo) {
this.legalIdNo = legalIdNo;
}
public String getLegalName() {
return this.legalName;
}
public void setLegalName(String legalName) {
this.legalName = legalName;
}
public String getAccountId() {
return this.accountId;
}
public void setAccountId(String accountId) {
this.accountId = accountId;
}
public String getRedirectUrl() {
return this.redirectUrl;
}
public void setRedirectUrl(String redirectUrl) {
this.redirectUrl = redirectUrl;
}
public String getNotifyUrl() {
return this.notifyUrl;
}
public void setNotifyUrl(String notifyUrl) {
this.notifyUrl = notifyUrl;
}
public String getAttachmentId() {
return this.attachmentId;
}
public void setAttachmentId(String attachmentId) {
this.attachmentId = attachmentId;
}
public String getMediaId() {
return this.mediaId;
}
public void setMediaId(String mediaId) {
this.mediaId = mediaId;
}
public String getBindFlag() {
return this.bindFlag;
}
public void setBindFlag(String bindFlag) {
this.bindFlag = bindFlag;
}
public String getCreateCode() {
return this.createCode;
}
public void setCreateCode(String createCode) {
this.createCode = createCode;
}
public String getCreateMessage() {
return this.createMessage;
}
public void setCreateMessage(String createMessage) {
this.createMessage = createMessage;
}
}
//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//
package com.hand.app.esignHclc.dto;
import com.hand.hap.mybatis.annotation.ExtensionAttribute;
import com.hand.hap.system.dto.BaseDTO;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
@Table(
name = "sign_info_hclc_face"
)
@ExtensionAttribute(
disable = true
)
public class SignInfoHclcFace extends BaseDTO {
@Id
@GeneratedValue
private Long faceauthId;
private String openId;
private String authStatus;
private String url;
private String shortLink;
private String returnCode;
private String returnMessage;
private String flowId;
private String authType;
private String verifyCode;
public SignInfoHclcFace() {
}
public Long getFaceauthId() {
return this.faceauthId;
}
public void setFaceauthId(Long faceauthId) {
this.faceauthId = faceauthId;
}
public String getOpenId() {
return this.openId;
}
public void setOpenId(String openId) {
this.openId = openId;
}
public String getUrl() {
return this.url;
}
public void setUrl(String url) {
this.url = url;
}
public String getShortLink() {
return this.shortLink;
}
public void setShortLink(String shortLink) {
this.shortLink = shortLink;
}
public String getReturnCode() {
return this.returnCode;
}
public void setReturnCode(String returnCode) {
this.returnCode = returnCode;
}
public String getReturnMessage() {
return this.returnMessage;
}
public void setReturnMessage(String returnMessage) {
this.returnMessage = returnMessage;
}
public String getAuthStatus() {
return this.authStatus;
}
public void setAuthStatus(String authStatus) {
this.authStatus = authStatus;
}
public String getFlowId() {
return this.flowId;
}
public void setFlowId(String flowId) {
this.flowId = flowId;
}
public String getAuthType() {
return this.authType;
}
public void setAuthType(String authType) {
this.authType = authType;
}
public String getVerifyCode() {
return this.verifyCode;
}
public void setVerifyCode(String verifyCode) {
this.verifyCode = verifyCode;
}
}
//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//
package com.hand.app.esignHclc.mapper;
import com.hand.app.esignHclc.dto.Lm005Hclc;
import com.hand.hap.mybatis.common.Mapper;
public interface Lm005HclcMapper extends Mapper<Lm005Hclc> {
}
//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//
package com.hand.app.esignHclc.mapper;
import com.hand.app.esignHclc.dto.SignInfoHclcFace;
import com.hand.hap.mybatis.common.Mapper;
public interface SignInfoHclcFaceMapper extends Mapper<SignInfoHclcFace> {
}
//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//
package com.hand.app.esignHclc.mapper;
import com.hand.app.esignHclc.dto.SignInfoHclc;
import com.hand.hap.mybatis.common.Mapper;
public interface SignInfoHclcMapper extends Mapper<SignInfoHclc> {
}
//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//
package com.hand.app.esignHclc.service;
import com.hand.app.esignHclc.dto.Lm005Hclc;
import com.hand.hap.core.ProxySelf;
import com.hand.hap.system.service.IBaseService;
public interface ILm005HclcService extends IBaseService<Lm005Hclc>, ProxySelf<ILm005HclcService> {
}
//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//
package com.hand.app.esignHclc.service;
import com.hand.app.esignHclc.dto.SignInfoHclc;
import com.hand.hap.core.IRequest;
import com.hand.hap.core.ProxySelf;
import com.hand.hap.system.service.IBaseService;
import java.util.Map;
public interface IOrganSignInfoHclcService extends IBaseService<SignInfoHclc>, ProxySelf<IOrganSignInfoHclcService> {
Map<String, Object> getOrganIndividualFaceUrl(IRequest var1, SignInfoHclc var2);
Map<String, Object> addOrgansAccount(IRequest var1, String var2);
}
//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//
package com.hand.app.esignHclc.service;
import com.hand.app.esignHclc.dto.SignInfoHclcFace;
import com.hand.hap.core.IRequest;
import com.hand.hap.core.ProxySelf;
import com.hand.hap.system.service.IBaseService;
import net.sf.json.JSONObject;
public interface ISignInfoHclcFaceService extends IBaseService<SignInfoHclcFace>, ProxySelf<ISignInfoHclcFaceService> {
void postAuthResult(IRequest var1, JSONObject var2);
}
//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//
package com.hand.app.esignHclc.service;
import com.alibaba.fastjson.JSONObject;
import com.hand.app.esignHclc.dto.SignInfoHclc;
import com.hand.hap.core.IRequest;
import com.hand.hap.core.ProxySelf;
import com.hand.hap.system.service.IBaseService;
import hls.support.core.wechat.formbean.AttachmentInfo;
import java.util.Map;
public interface ISignInfoHclcService extends IBaseService<SignInfoHclc>, ProxySelf<ISignInfoHclcService> {
Map<String, Object> getIndividualFaceUrl(IRequest var1, SignInfoHclc var2);
Map<String, Object> getFaceUrlHttp(IRequest var1, SignInfoHclc var2, String var3);
JSONObject uploadHlsFromWx(IRequest var1, AttachmentInfo var2);
String getApiUrl(String var1, String var2);
Map<String, Object> addPersonAccount(IRequest var1, String var2);
}
//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//
package com.hand.app.esignHclc.service.impl;
import com.hand.app.esignHclc.dto.Lm005Hclc;
import com.hand.app.esignHclc.service.ILm005HclcService;
import com.hand.hap.system.service.impl.BaseServiceImpl;
import org.springframework.stereotype.Service;
@Service
public class Lm005HclcServiceImpl extends BaseServiceImpl<Lm005Hclc> implements ILm005HclcService {
public Lm005HclcServiceImpl() {
}
}
......@@ -17,6 +17,8 @@ public class AttachmentInfo {
private String message;
private String openId;
public String getWechatCode() {
return wechatCode;
}
......@@ -104,4 +106,12 @@ public class AttachmentInfo {
this.message = message;
}
public String getOpenId() {
return openId;
}
public void setOpenId(String openId) {
this.openId = openId;
}
}
//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//
package hls.support.core.wechat.mapper;
import com.hand.hap.mybatis.common.Mapper;
import hls.support.core.wechat.dto.SunUploadRecord;
public interface SunUploadRecordMapper extends Mapper<SunUploadRecord> {
}
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.hand.app.esignHclc.mapper.SignInfoHclcFaceMapper">
<resultMap id="BaseResultMap" type="com.hand.app.esignHclc.dto.SignUserFaceHclc">
<result column="AUTH_ID" property="authId" jdbcType="DECIMAL"/>
<result column="OPEN_ID" property="openId" jdbcType="VARCHAR"/>
<result column="AUTH_STATUS" property="authStatus" jdbcType="VARCHAR"/>
<result column="URL" property="url" jdbcType="VARCHAR"/>
<result column="SHORT_LINK" property="shortLink" jdbcType="VARCHAR"/>
<result column="RETURN_CODE" property="returnCode" jdbcType="VARCHAR"/>
<result column="RETURN_MESSAGE" property="returnMessage" jdbcType="VARCHAR"/>
<result column="FLOW_ID" property="flowId" jdbcType="VARCHAR"/>
<result column="AUTH_TYPE" property="authType" jdbcType="VARCHAR"/>
<result column="VERIFY_CODE" property="verifyCode" jdbcType="VARCHAR"/>
<result column="ENABLE_FLAG" property="enableFlag" jdbcType="VARCHAR"/>
</resultMap>
</mapper>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
<mapper namespace="com.hand.app.esignHclc.mapper.SignUserAttachInfoMapper">
<resultMap id="BaseResultMap" type="com.hand.app.esignHclc.dto.SignUserAttachInfo">
<result column="ATTACHMENT_ID" property="attachmentId" jdbcType="DECIMAL"/>
<result column="OPEN_ID" property="openId" jdbcType="VARCHAR"/>
<result column="ATTACHMENT_TYPE" property="attachmentType" jdbcType="VARCHAR"/>
<result column="MEDIA_ID" property="mediaId" jdbcType="VARCHAR"/>
</resultMap>
</mapper>
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
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