Ver Fonte

公司 邮箱改成 必须输入

mashengyi há 1 ano atrás
pai
commit
e70163fd46

+ 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;
             }