模特比例修改、sketch拼贴

This commit is contained in:
2025-03-25 11:22:17 +08:00
parent 078a0c0dfb
commit b18a5a0050
9 changed files with 1115 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
package com.ai.da.mapper.primary;
import com.ai.da.common.config.mybatis.plus.CommonMapper;
import com.ai.da.mapper.primary.entity.EmailLog;
public interface EmailLogMapper extends CommonMapper<EmailLog> {
}

View File

@@ -0,0 +1,7 @@
package com.ai.da.mapper.primary;
import com.ai.da.common.config.mybatis.plus.CommonMapper;
import com.ai.da.mapper.primary.entity.EmailTemplate;
public interface EmailTemplateMapper extends CommonMapper<EmailTemplate> {
}

View File

@@ -0,0 +1,35 @@
package com.ai.da.mapper.primary.entity;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("t_email_log")
public class EmailLog extends BaseEntity {
private Long templateId;
private String parameter;
// from是SQL关键字直接使用会报错
private String sender;
private String recipients;
private String cc = null;
private String bcc = null;
private String subject;
/**
* failed 邮件发送失败(如网络问题、邮件服务器问题等)。
* retrying 邮件发送失败后,正在重试发送。
* delivered 邮件已成功投递到收件人的邮箱服务器。
*/
private String status;
private int retryCount = 0;
}

View File

@@ -0,0 +1,24 @@
package com.ai.da.mapper.primary.entity;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("t_email_template")
public class EmailTemplate extends BaseEntity {
// 考虑添加唯一索引
private String templateName;
private String templatePath;
private String content;
private int version;
private String language;
private byte isDeleted = 0;
}