Procházet zdrojové kódy

盖章参数补充

master
CMM před 1 rokem
rodič
revize
e2a98d740a
3 změnil soubory, kde provedl 12 přidání a 2 odebrání
  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 Zobrazit soubor

@@ -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 Zobrazit soubor

@@ -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 Zobrazit soubor

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

private String fileName;

private String posPage;

private Integer signType;

}

Načítá se…
Zrušit
Uložit