xiaoyong931011
2022-06-27 63f066ac89fc2591327beacd8cb029074633c268
20220606
2 files modified
10 ■■■■■ changed files
src/main/java/com/xcong/farmer/cms/modules/system/vo/AdminMessageBoardVo.java 7 ●●●● patch | view | raw | blame | history
src/main/resources/mapper/MessageBoardMapper.xml 3 ●●●● patch | view | raw | blame | history
src/main/java/com/xcong/farmer/cms/modules/system/vo/AdminMessageBoardVo.java
@@ -1,9 +1,5 @@
package com.xcong.farmer.cms.modules.system.vo;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.google.type.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
@@ -28,8 +24,7 @@
    private String remark;
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    private String createTime;
    @ApiModelProperty(value = "邮箱")
    private String paramOne;
src/main/resources/mapper/MessageBoardMapper.xml
@@ -4,7 +4,8 @@
    <select id="selectAdminMessageBoardInPage" resultType="com.xcong.farmer.cms.modules.system.vo.AdminMessageBoardVo">
        SELECT
        a.*
        a.*,
        DATE_FORMAT(a.create_time, '%Y-%m-%d %H:%i:%S') createTime
        FROM
        t_message_board a
        <where>