Browse Source

运单协议 必须校验

mashengyi 1 year ago
parent
commit
87a1aa3fef

+ 4 - 4
src/main/java/com/jkcredit/invoice/credit/interserver/NoCarInterServiceImpl.java

@@ -325,9 +325,9 @@ public class NoCarInterServiceImpl implements NoCarInterService {
                     || null == fee
                     || null == titleType
                     || StringUtils.isEmpty(taxplayerCode)
-                    /*|| StringUtils.isEmpty(base64Str)
+                    || StringUtils.isEmpty(base64Str)
                     || StringUtils.isEmpty(waybillFileName)
-                    || null == contractType*/
+                    || null == contractType
 
             ) {
                 result.setMsg("必传参数有空值");
@@ -566,9 +566,9 @@ public class NoCarInterServiceImpl implements NoCarInterService {
                     || null == fee
                     || null == titleType
                     || StringUtils.isEmpty(taxplayerCode)
-                    /*|| StringUtils.isEmpty(base64Str)
+                    || StringUtils.isEmpty(base64Str)
                     || StringUtils.isEmpty(waybillFileName)
-                    || null == contractType*/
+                    || null == contractType
             ) {
                 result.setMsg("有空的必填运单要素,请检查");
                 return result;