小么熊🐻 před 1 rokem
rodič
revize
33b7e766f2

+ 0 - 3
nbjk-admin/src/main/java/com/miaxis/app/controller/file/FileInfoController.java

@@ -7,13 +7,10 @@ import com.miaxis.common.core.domain.Response;
 import com.miaxis.common.core.page.ResponsePageInfo;
 import com.miaxis.common.enums.BusinessTypeEnum;
 import com.miaxis.common.exception.CustomException;
-import com.miaxis.common.utils.StringUtils;
-import com.miaxis.common.utils.poi.ExcelUtil;
 import com.miaxis.file.domain.FileInfo;
 import com.miaxis.file.service.IFileInfoService;
 import io.swagger.annotations.*;
 import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.security.access.prepost.PreAuthorize;
 import org.springframework.web.bind.annotation.*;
 import org.springframework.web.multipart.MultipartFile;
 

+ 5 - 46
nbjk-service/src/main/java/com/miaxis/feed/domain/FeedBack.java

@@ -53,52 +53,11 @@ public class FeedBack extends BaseBusinessEntity{
     @ApiModelProperty(value = "图片IDS")
     private String imgIds;
 
-    public void setId(Long id){
-        this.id = id;
-    }
+    /** 终端类型 1:苹果 2:安卓 3:小程序*/
+    @Excel(name = "终端类型")
+    @TableField("device_type")
+    @ApiModelProperty(value = "终端类型 1:苹果 2:安卓 3:小程序")
+    private Integer deviceType;
 
-    public Long getId(){
-        return id;
-    }
-    public void setType(Long type){
-        this.type = type;
-    }
 
-    public Long getType(){
-        return type;
-    }
-    public void setContent(String content){
-        this.content = content;
-    }
-
-    public String getContent(){
-        return content;
-    }
-    public void setPhone(String phone){
-        this.phone = phone;
-    }
-
-    public String getPhone(){
-        return phone;
-    }
-    public void setImgIds(String imgIds){
-        this.imgIds = imgIds;
-    }
-
-    public String getImgIds(){
-        return imgIds;
-    }
-
-    @Override
-    public String toString() {
-        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
-            .append("id", getId())
-            .append("type", getType())
-            .append("content", getContent())
-            .append("phone", getPhone())
-            .append("imgIds", getImgIds())
-            .append("createTime", getCreateTime())
-            .append("updateTime", getUpdateTime())
-            .toString();
-    }
 }

+ 1 - 0
nbjk-service/src/main/resources/mapper/feed/FeedBackMapper.xml

@@ -10,6 +10,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <result property="content"    column="content"    />
         <result property="phone"    column="phone"    />
         <result property="imgIds"    column="img_ids"    />
+        <result property="deviceType"    column="device_type"    />
         <result property="createTime"    column="create_time"    />
         <result property="updateTime"    column="update_time"    />
     </resultMap>