邮件推送增加获取附件的脚本功能

增加发送附件功能
yun-zuoyi
rock.yu 5 years ago
parent 5f9d597943
commit d226c27c2b

@ -8,10 +8,7 @@ import lombok.EqualsAndHashCode;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Lob;
import javax.persistence.Table;
import javax.persistence.*;
/**
* @Description :
@ -60,10 +57,14 @@ public class WmsPushConfig extends BaseBean{
@Column(name = "SQL_STR", columnDefinition = "TEXT")
private String sqlStr;
@ApiParam("脚本编号")
@ApiParam("数据获取脚本编号")
@Column(name = "SCRIPT_NO")
private String scriptNo;
@ApiParam("附件文件路径获取脚本编号")
@Column(name = "ATTACH_SCRIPT_NO")
private String attachScriptNo;
@Lob
@ApiParam("标题模板")
@Column(name = "TITLE_TEMPLATE", columnDefinition = "TEXT")
@ -94,4 +95,8 @@ public class WmsPushConfig extends BaseBean{
@Column(name = "CONTENT_LABEL")
private String contentLabel;
// 临时存储
@ApiParam("附件的文件路径")
@Transient
private String attachFilePath;
}

@ -48,5 +48,7 @@ public class WmsPushLog extends BaseBean{
@ApiParam("推送地址")
private String pathUrl;
@ApiParam("附件地址")
@Column(name = "ATTACH_FILE_PATH")
private String attachFilePath;
}

@ -1,12 +1,8 @@
package cn.estsh.i3plus.pojo.wms.modelbean;
import cn.estsh.i3plus.pojo.base.enumutil.WmsEnumUtil;
import io.swagger.annotations.ApiParam;
import lombok.Data;
import java.util.List;
import java.util.Map;
@Data
public class PushMessageModel {
@ -29,5 +25,6 @@ public class PushMessageModel {
@ApiParam("工厂代码")
private String organizeCode;
@ApiParam("附件的文件路径")
private String attachFilePath;
}

Loading…
Cancel
Save