diff --git a/src/main/java/com/gunshi/project/xyt/mapper/StMoncrBMapper.java b/src/main/java/com/gunshi/project/xyt/mapper/StMoncrBMapper.java
index 3c15e47..e85a14d 100644
--- a/src/main/java/com/gunshi/project/xyt/mapper/StMoncrBMapper.java
+++ b/src/main/java/com/gunshi/project/xyt/mapper/StMoncrBMapper.java
@@ -4,7 +4,9 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.gunshi.project.xyt.entity.basedata.GeneralSearch;
import com.gunshi.project.xyt.model.StMoncrB;
+
import java.util.List;
+
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
diff --git a/src/main/java/com/gunshi/project/xyt/model/StMoncrB.java b/src/main/java/com/gunshi/project/xyt/model/StMoncrB.java
index 1f9d856..f5d7ffe 100644
--- a/src/main/java/com/gunshi/project/xyt/model/StMoncrB.java
+++ b/src/main/java/com/gunshi/project/xyt/model/StMoncrB.java
@@ -83,6 +83,14 @@ public class StMoncrB implements Serializable {
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
private Date tm;
+ /**
+ * 备注/描述
+ */
+ @TableField(value = "COMMENTS")
+ @Schema(description = "备注/描述")
+ @Size(max = 200,message = "备注/描述长度不能超过200")
+ private String comments;
+
public static final String COL_CR_ID = "CR_ID";
public static final String COL_CR_CD = "CR_CD";
@@ -96,4 +104,6 @@ public class StMoncrB implements Serializable {
public static final String COL_STATUS = "STATUS";
public static final String COL_TM = "TM";
+
+ public static final String COL_COMMENTS = "COMMENTS";
}
\ No newline at end of file
diff --git a/src/main/resources/mapper/StMoncrBMapper.xml b/src/main/resources/mapper/StMoncrBMapper.xml
index daae2ea..ee02267 100644
--- a/src/main/resources/mapper/StMoncrBMapper.xml
+++ b/src/main/resources/mapper/StMoncrBMapper.xml
@@ -11,20 +11,21 @@
+
- CR_ID, CR_CD, CR_NM, CR_IMG_ID, SORT_ON, [STATUS], TM
+ CR_ID, CR_CD, CR_NM, CR_IMG_ID, SORT_ON, [STATUS], TM, COMMENTS
insert into dbo.ST_MONCR_B
- (CR_ID, CR_CD, CR_NM, CR_IMG_ID, SORT_ON, [STATUS], TM)
+ (CR_ID, CR_CD, CR_NM, CR_IMG_ID, SORT_ON, [STATUS], TM, COMMENTS)
values
(#{item.crId,jdbcType=BIGINT}, #{item.crCd,jdbcType=VARCHAR}, #{item.crNm,jdbcType=VARCHAR},
#{item.crImgId,jdbcType=BIGINT}, #{item.sortOn,jdbcType=INTEGER}, #{item.status,jdbcType=INTEGER},
- #{item.tm,jdbcType=TIMESTAMP})
+ #{item.tm,jdbcType=TIMESTAMP}, #{item.comments,jdbcType=VARCHAR})