|
@@ -250,10 +250,10 @@ public class MQTask implements InitializingBean {
|
|
* @param tel 手机号
|
|
* @param tel 手机号
|
|
*/
|
|
*/
|
|
public void sendSMS(String relation,String postFirm,String postNum,Integer customerId,String tel){
|
|
public void sendSMS(String relation,String postFirm,String postNum,Integer customerId,String tel){
|
|
- if(postFirm != null && !postFirm.equals("") && postNum != null && !postNum.equals("")
|
|
|
|
- && customerId > 0 && !tel.equals("")){
|
|
|
|
|
|
+ if(postFirm != null && !"".equals(postFirm) && postNum != null && !postNum.equals("")
|
|
|
|
+ && customerId > 0 && !"".equals(tel)){
|
|
postFirm = KuaiDi100.replace(postFirm);
|
|
postFirm = KuaiDi100.replace(postFirm);
|
|
- if(!postFirm.equals("")){
|
|
|
|
|
|
+ if(!"".equals(postFirm)){
|
|
ProductType productType = customerService.getcompanyAffiliation(customerId);
|
|
ProductType productType = customerService.getcompanyAffiliation(customerId);
|
|
if(productType != null){
|
|
if(productType != null){
|
|
String rejected_text = "";
|
|
String rejected_text = "";
|