提交 9543d431 编写于 作者: misaka's avatar misaka

update

上级 43ef1ef4
...@@ -50,18 +50,9 @@ public class Mail_followersExService extends Mail_followersServiceImpl { ...@@ -50,18 +50,9 @@ public class Mail_followersExService extends Mail_followersServiceImpl {
exists.setChannelId(et.getChannelId()); exists.setChannelId(et.getChannelId());
if (this.getBaseMapper().selectCount(new QueryWrapper<Mail_followers>().setEntity(exists)) > 0) if (this.getBaseMapper().selectCount(new QueryWrapper<Mail_followers>().setEntity(exists)) > 0)
return true; return true;
et.set("mail_create_nosubscribe",true);
et.set("mail_create_nolog",true);
et.set("mail_notrack",true);
return super.create(et); return super.create(et);
} }
@Override
public boolean update(Mail_followers et) {
et.set("mail_notrack",true);
return super.update(et);
}
public <T extends EntityMP> void add_default_followers(EBSServiceImpl service , T et) { public <T extends EntityMP> void add_default_followers(EBSServiceImpl service , T et) {
if (et.get("id") == null) { if (et.get("id") == null) {
return; return;
......
...@@ -18,20 +18,6 @@ public class Mail_messageExService extends Mail_messageServiceImpl { ...@@ -18,20 +18,6 @@ public class Mail_messageExService extends Mail_messageServiceImpl {
return com.baomidou.mybatisplus.core.toolkit.ReflectionKit.getSuperClassGenericType(this.getClass().getSuperclass(), 1); return com.baomidou.mybatisplus.core.toolkit.ReflectionKit.getSuperClassGenericType(this.getClass().getSuperclass(), 1);
} }
@Override
public boolean create(Mail_message et) {
et.set("mail_create_nosubscribe",true);
et.set("mail_create_nolog",true);
et.set("mail_notrack",true);
return super.create(et);
}
@Override
public boolean update(Mail_message et) {
et.set("mail_notrack",true);
return super.update(et);
}
@Override @Override
public Mail_message generate_tracking_message_id(Mail_message et) { public Mail_message generate_tracking_message_id(Mail_message et) {
System.out.println(System.currentTimeMillis()/1000); System.out.println(System.currentTimeMillis()/1000);
......
...@@ -56,20 +56,6 @@ public class Mail_tracking_valueExService extends Mail_tracking_valueServiceImpl ...@@ -56,20 +56,6 @@ public class Mail_tracking_valueExService extends Mail_tracking_valueServiceImpl
return com.baomidou.mybatisplus.core.toolkit.ReflectionKit.getSuperClassGenericType(this.getClass().getSuperclass(), 1); return com.baomidou.mybatisplus.core.toolkit.ReflectionKit.getSuperClassGenericType(this.getClass().getSuperclass(), 1);
} }
@Override
public boolean create(Mail_tracking_value et) {
et.set("mail_create_nosubscribe",true);
et.set("mail_create_nolog",true);
et.set("mail_notrack",true);
return super.create(et);
}
@Override
public boolean update(Mail_tracking_value et) {
et.set("mail_notrack",true);
return super.update(et);
}
@Transactional @Transactional
public <T extends EntityMP> void add_default_create_message(EBSServiceImpl service, T et) { public <T extends EntityMP> void add_default_create_message(EBSServiceImpl service, T et) {
Mail_message message = new Mail_message(); Mail_message message = new Mail_message();
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册