Browse Source

注释无用字段

wuweihao 4 years ago
parent
commit
573318d69c

+ 20 - 20
gis_domain/src/main/java/com/gis/domain/po/SceneEntity.java

@@ -23,34 +23,34 @@ public class SceneEntity extends BaseEntity implements Serializable {
     @ApiModelProperty(value = "场景名称")
     private String sceneTitle;
 
-    @ApiModelProperty(value = "场景url")
-    private String webSite;
+//    @ApiModelProperty(value = "场景url")
+//    private String webSite;
 
-    @ApiModelProperty(value = "简介")
-    private String description;
+//    @ApiModelProperty(value = "简介")
+//    private String description;
 
-    @ApiModelProperty(value = "提交用户Id")
-    private Long submitId;
+//    @ApiModelProperty(value = "提交用户Id")
+//    private Long submitId;
+//
+//    @ApiModelProperty(value = "提交用户名称")
+//    private String submitName;
+//
+//    @ApiModelProperty(value = "审核者Id")
+//    private Long auditId;
 
-    @ApiModelProperty(value = "提交用户名称")
-    private String submitName;
+//    @ApiModelProperty(value = "状态,1:草稿中,2:待审核,3:审核不通过,4:审核通过")
+//    private Integer status;
 
-    @ApiModelProperty(value = "审核者Id")
-    private Long auditId;
-
-    @ApiModelProperty(value = "状态,1:草稿中,2:待审核,3:审核不通过,4:审核通过")
-    private Integer status;
-
-    @ApiModelProperty(value = "原因")
-    private String reason;
+//    @ApiModelProperty(value = "原因")
+//    private String reason;
 
     @ApiModelProperty(value = "是否显示,1:是, 0:否")
     private Integer display;
 
-    @ApiModelProperty(value = "类型,in:室内, out:室外")
-    private String type;
+//    @ApiModelProperty(value = "类型,in:室内, out:室外")
+//    private String type;
 
-    @ApiModelProperty(value = "排序")
-    private Integer sort;
+//    @ApiModelProperty(value = "排序")
+//    private Integer sort;
 
 }

+ 6 - 6
gis_domain/src/main/java/com/gis/domain/po/SysUserEntity.java

@@ -36,11 +36,11 @@ public class SysUserEntity extends BaseEntity implements Serializable {
     @ApiModelProperty(value = "电话")
     private String phone;
 
-    @ApiModelProperty(value = "单位")
-    private String unit;
+//    @ApiModelProperty(value = "单位")
+//    private String unit;
 
-    @ApiModelProperty(value = "地址")
-    private String address;
+//    @ApiModelProperty(value = "地址")
+//    private String address;
 
 //    @ApiModelProperty(value = "超级管理员,1:是, 0:否")
 //    private Integer sysManager;
@@ -48,8 +48,8 @@ public class SysUserEntity extends BaseEntity implements Serializable {
     @ApiModelProperty(value = "状态 1:启用  0:停用 ")
     private Integer status;
 
-    @ApiModelProperty(value = "高清图url")
-    private String img;
+//    @ApiModelProperty(value = "高清图url")
+//    private String img;
 
     @ApiModelProperty(value = "缩略图url")
     private String thumb;

+ 1 - 1
gis_mapper/src/main/java/com/gis/mapper/provider/SceneProvider.java

@@ -14,7 +14,7 @@ import javax.validation.constraints.NotBlank;
 public class SceneProvider {
 
 
-    public String search(ScenePageDto param){
+    public String search(PageDto param){
         StringBuffer sql = new StringBuffer(
                 "select * from tb_scene where is_delete = '0' ");
 

+ 1 - 1
gis_service/src/main/java/com/gis/service/shiro/MyRealm.java

@@ -72,7 +72,7 @@ public class MyRealm extends AuthorizingRealm {
         String token = (String) auth.getCredentials();
 
         if (StringUtils.isBlank(token)) {
-            log.error("oken is null ");
+            log.error("token is null ");
             throw new JwtAuthenticationException(5001, "header token is null");
         }
 

+ 1 - 1
gis_web/src/main/java/com/gis/web/controller/SysUserController.java

@@ -171,7 +171,7 @@ public class SysUserController extends BaseController {
 //            entity.setUpdateTime(new Date());
 //            userService.update(entity);
 
-            deleteFile(entity.getImg());
+//            deleteFile(entity.getImg());
             deleteFile(entity.getThumb());
             userService.delete(entity);
         }