|
|
@ -1996,15 +1996,16 @@ public class OrderInvoiceInfoServiceImpl implements OrderInvoiceInfoService { |
|
|
|
List<String> emailAddressList = StrUtil.split(emailAddress, ConfigureConstant.STRING_SEMICOLON); |
|
|
|
List<String> emailAddressList = StrUtil.split(emailAddress, ConfigureConstant.STRING_SEMICOLON); |
|
|
|
|
|
|
|
|
|
|
|
//验证邮箱合法性
|
|
|
|
//验证邮箱合法性
|
|
|
|
for (String email : emailAddressList) { |
|
|
|
// for (String email : emailAddressList) {
|
|
|
|
if (!Validator.isEmail(email)) { |
|
|
|
// if (!Validator.isEmail(email)) {
|
|
|
|
log.error("发票代码:{},发票号码:{},邮箱({})格式非法!", fpdm, fphm, email); |
|
|
|
// log.info("邮箱:{}格式非法", email);
|
|
|
|
orderInvoiceInfoUpdate.setEmailPushStatus(OrderInfoEnum.EMAIL_PUSH_STATUS_0.getKey()); |
|
|
|
// log.error("发票代码:{},发票号码:{},邮箱({})格式非法!", fpdm, fphm, email);
|
|
|
|
orderInvoiceInfoUpdate.setEmailPushSbyy("邮箱格式非法不进行交付!"); |
|
|
|
// orderInvoiceInfoUpdate.setEmailPushStatus(OrderInfoEnum.EMAIL_PUSH_STATUS_0.getKey());
|
|
|
|
updateOrderInvoiceInfoByFpqqlsh(orderInvoiceInfoUpdate, shList); |
|
|
|
// orderInvoiceInfoUpdate.setEmailPushSbyy("邮箱格式非法不进行交付!");
|
|
|
|
return R.error(String.format("发票代码:%s,发票号码:%s,邮箱(%s)格式非法不进行交付!", fpdm, fphm, email)); |
|
|
|
// updateOrderInvoiceInfoByFpqqlsh(orderInvoiceInfoUpdate, shList);
|
|
|
|
} |
|
|
|
// return R.error(String.format("发票代码:%s,发票号码:%s,邮箱(%s)格式非法不进行交付!", fpdm, fphm, email));
|
|
|
|
} |
|
|
|
// }
|
|
|
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//组装邮箱发送bean
|
|
|
|
//组装邮箱发送bean
|
|
|
|