Browse Source

任务 #7001【新管理端后端】通知公告>公告通知管理 : 标题、内容支持多语言

deng.yinping 5 tháng trước cách đây
mục cha
commit
b5137eb863

+ 9 - 0
mtp3-century/src/main/resources/mapper/NoticemsgMapper.xml

@@ -22,6 +22,15 @@
         <result column="AUDITREMARK" property="auditremark" />
         <result column="MSGICONURL" property="msgiconurl" />
         <result column="ISFORCEDISPLAY" property="isforcedisplay" />
+        <result column="TITLEEN" property="titleen" />
+        <result column="TITLETW" property="titleTW" />
+        <result column="TITLETH" property="titleTH" />
+        <result column="TITLEVI" property="titleVI" />
+        <result column="CONTENT2" property="content2" />
+        <result column="CONTENT2EN" property="content2en" />
+        <result column="CONTENT2TW" property="content2tw" />
+        <result column="CONTENT2TH" property="content2th" />
+        <result column="CONTENT2VI" property="content2vi" />
     </resultMap>
 
     <!-- 通用查询结果列 -->

+ 33 - 0
mtp3-pojos/src/main/java/com/muchinfo/mtp3pojos/entity/Noticemsg.java

@@ -108,6 +108,39 @@ public class Noticemsg extends Model<Noticemsg> {
     @TableField("CONTENT2")
     private String content2;
 
+    @ApiModelProperty(value = "内容2(EN)")
+    @TableField("CONTENT2EN")
+    private String content2en;
+
+    @ApiModelProperty(value = "内容2(TW)")
+    @TableField("CONTENT2TW")
+    private String content2tw;
+
+    @ApiModelProperty(value = "内容2(TH)")
+    @TableField("CONTENT2TH")
+    private String content2th;
+
+    @ApiModelProperty(value = "内容2(VI)")
+    @TableField("CONTENT2VI")
+    private String content2vi;
+
+    @ApiModelProperty(value = "标题(EN)")
+    @TableField("TITLEEN")
+    private String titleen;
+
+    @ApiModelProperty(value = "标题(TW)")
+    @TableField("TITLETW")
+    private String titletw;
+
+    @ApiModelProperty(value = "标题(TH)")
+    @TableField("TITLETH")
+    private String titleth;
+
+    @ApiModelProperty(value = "标题(VI)")
+    @TableField("TITLEVI")
+    private String titlevi;
+
+
     @TableField(select = false)
     private String creatorName;
     @TableField(select = false)

+ 25 - 0
mtp3-pojos/src/main/java/com/muchinfo/mtp3pojos/vo/notice/NoticeMsgAddParam.java

@@ -1,5 +1,6 @@
 package com.muchinfo.mtp3pojos.vo.notice;
 
+import com.baomidou.mybatisplus.annotation.TableField;
 import io.swagger.annotations.ApiModel;
 import io.swagger.annotations.ApiModelProperty;
 import lombok.AllArgsConstructor;
@@ -41,4 +42,28 @@ public class NoticeMsgAddParam {
 
     @ApiModelProperty(value = "会员集合")
     private String memberidlist;
+
+    @ApiModelProperty(value = "内容2(EN)")
+    private String content2en;
+
+    @ApiModelProperty(value = "内容2(TW)")
+    private String content2tw;
+
+    @ApiModelProperty(value = "内容2(TH)")
+    private String content2th;
+
+    @ApiModelProperty(value = "内容2(VI)")
+    private String content2vi;
+
+    @ApiModelProperty(value = "标题(EN)")
+    private String titleen;
+
+    @ApiModelProperty(value = "标题(TW)")
+    private String titletw;
+
+    @ApiModelProperty(value = "标题(TH)")
+    private String titleth;
+
+    @ApiModelProperty(value = "标题(VI)")
+    private String titlevi;
 }

+ 12 - 0
mtp3-pojos/src/main/java/com/muchinfo/mtp3pojos/vo/notice/NoticeMsgQueryResult.java

@@ -41,4 +41,16 @@ public class NoticeMsgQueryResult {
 
     private Long autoid;
 
+    @ApiModelProperty(value = "标题(EN)")
+    private String titleen;
+
+    @ApiModelProperty(value = "标题(TW)")
+    private String titletw;
+
+    @ApiModelProperty(value = "标题(TH)")
+    private String titleth;
+
+    @ApiModelProperty(value = "标题(VI)")
+    private String titlevi;
+
 }