Explorar el Código

盖章参数补充

master
CMM hace 1 año
padre
commit
e2a98d740a
Se han modificado 3 ficheros con 12 adiciones y 2 borrados
  1. +4
    -2
      pmapi/src/main/java/com/ningdatech/pmapi/irs/sign/IRSAPIRequest.java
  2. +4
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/todocenter/manage/TodoCenterManage.java
  3. +4
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/todocenter/model/dto/SignReqDTO.java

+ 4
- 2
pmapi/src/main/java/com/ningdatech/pmapi/irs/sign/IRSAPIRequest.java Ver fichero

@@ -47,6 +47,8 @@ public class IRSAPIRequest {
Float posY = req.getPosY();
String sealSn = req.getSealSn();
String fileName = req.getFileName();
String posPage = req.getPosPage();
Integer signType = req.getSignType();
JSONObject obj = null;
String resp = null;
try {
@@ -55,9 +57,9 @@ public class IRSAPIRequest {
ReqData.put("sealSn", sealSn);
ReqData.put("posX", posX);
ReqData.put("posY", posY);
ReqData.put("signType", "1");
ReqData.put("signType", signType);
// ReqData.put("key", "单位");
ReqData.put("posPage", "1");
ReqData.put("posPage", posPage);
ReqData.put("fileName", fileName);
resp = post(ReqData, "post");



+ 4
- 0
pmapi/src/main/java/com/ningdatech/pmapi/todocenter/manage/TodoCenterManage.java Ver fichero

@@ -462,6 +462,10 @@ public class TodoCenterManage {
.eq(CompanySignature::getOrganizationCode, userFullInfo.getOrganizationCode()));
String sealSn = companySignature.getSealSn();
signReq.setSealSn(sealSn);
String posPage = req.getPosPage();
signReq.setPosPage(posPage);
Integer signType = req.getSignType();
signReq.setSignType(signType);
// 调用盖章接口,获取盖章后返回的pdf文件字符数组
byte[] signPdf = IRSAPIRequest.createSignPdf(signReq);
// 转换成MultipartFile


+ 4
- 0
pmapi/src/main/java/com/ningdatech/pmapi/todocenter/model/dto/SignReqDTO.java Ver fichero

@@ -21,4 +21,8 @@ public class SignReqDTO {

private String fileName;

private String posPage;

private Integer signType;

}

Cargando…
Cancelar
Guardar