wanglang 1 hónapja%!(EXTRA string=óta)
szülő
commit
fcde7cb5f6

+ 4 - 1
src/main/java/com/sunxung/factoring/service/smbApi/api/impl/SMBApiServiceImpl.java

@@ -7,6 +7,7 @@ import com.snb.fsos.bean.*;
 import com.snb.fsos.util.*;
 import com.sunxung.factoring.component.exception.ValidatorException;
 import com.sunxung.factoring.component.util.CodeUtil;
+import com.sunxung.factoring.component.util.StringUtil;
 import com.sunxung.factoring.entity.smbApi.SMBRequestLogPO;
 import com.sunxung.factoring.service.smbApi.api.SMBApiService;
 import com.sunxung.factoring.service.smbApi.api.SMBRequestLogService;
@@ -430,7 +431,9 @@ public class SMBApiServiceImpl implements SMBApiService {
             commonResponse.setPayload(responseMap.get("payload") == null ? "" : responseMap.get("payload").toString());
             smbRequestLogPO.setSmbSerialNo(commonResponse.getSerialNo());
             smbRequestLogPO.setRemark(commonResponse.getRespMsg());
-            smbRequestLogPO.setResponsePayload(commonResponse.getPayload());
+            if (StringUtil.isNotEmpty(commonResponse.getPayload())) {
+                smbRequestLogPO.setResponsePayload(commonResponse.getPayload());
+            }
             if (SMBConstants.RESP_SUCCESS.equals(commonResponse.getRespCode())) {
                 smbRequestLogPO.setSuccess(true);
             } else {