|
@@ -23,6 +23,8 @@ import java.util.Date;
|
|
|
import java.util.Objects;
|
|
|
import java.util.UUID;
|
|
|
|
|
|
+import com.google.common.base.Strings;
|
|
|
+import com.google.common.primitives.Ints;
|
|
|
import org.apache.commons.lang3.StringUtils;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.beans.factory.annotation.Value;
|
|
@@ -127,7 +129,7 @@ public class InvoiceServiceImpl extends ServiceImpl<IInvoiceMapper, Invoice> imp
|
|
|
}
|
|
|
|
|
|
private MailTemplate setMailMsg(String orderNum,String userName) {
|
|
|
- MailTemplate mailTemplate = mailTemplateService.getById(2);
|
|
|
+ MailTemplate mailTemplate = mailTemplateService.getById(1);
|
|
|
if(mailTemplate != null){
|
|
|
String subject = mailTemplate.getSubject();
|
|
|
if(StringUtils.isNotBlank(orderNum)){
|