Selaa lähdekoodia

修改参数判断

humuyu 3 vuotta sitten
vanhempi
commit
0f7c1cd5fd

+ 3 - 1
eladmin-system/src/main/java/me/zhengjie/application/admin/service/impl/SmsTemplateServiceImpl.java

@@ -233,7 +233,9 @@ public class SmsTemplateServiceImpl extends AbstractServiceImpl<ISmsTemplateDao,
 		queryWrapper.eq("business_no", businessNo);
 		ContractOrderEntity orderEntity = contractOrderMapper.selectOne(queryWrapper);
 		List<String> param = new ArrayList<String>();
-		param.add(orderEntity.getCustomerName());
+		if(orderType==1) {
+			param.add(orderEntity.getCustomerName());
+		}
 		param.add(orderEntity.getConsultNo());
 		Set<String> phone = userDao.queryPhone(orderEntity.getBankId(), notaryName);
 		SmsSendVo smsSend = new SmsSendVo();