소스 검색

公司 邮箱改成 必须输入

mashengyi 1 년 전
부모
커밋
e70163fd46
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      src/main/java/com/jkcredit/invoice/credit/interserver/CustomerInterLowerServiceImpl.java

+ 2 - 1
src/main/java/com/jkcredit/invoice/credit/interserver/CustomerInterLowerServiceImpl.java

@@ -109,7 +109,7 @@ public class CustomerInterLowerServiceImpl implements CustomerInterLowerService
             String buyerAddr = jsonObject.getString("buyerAddr");
             //购方电话
             String buyerTel = jsonObject.getString("buyerTel");
-            String mail = jsonObject.getString("mail"); // 下游添加邮箱字段 必传
+            String mail = jsonObject.getString("mail"); // 下游添加邮箱字段 必传
             //购方开户行
             String buyerBank = jsonObject.getString("buyerBank");
             //购方银行账号
@@ -132,6 +132,7 @@ public class CustomerInterLowerServiceImpl implements CustomerInterLowerService
                     || StringUtils.isEmpty(buyerTel)
                     || StringUtils.isEmpty(buyerBank)
                     || StringUtils.isEmpty(buyerBankAccount)
+                    || StringUtils.isEmpty(mail)
             ) {
                 return result;
             }