From 7ce35c04d87b9946d63d3d6e24f75314138f9fac Mon Sep 17 00:00:00 2001
From: wenc000 <450292408@qq.com>
Date: Fri, 27 Mar 2020 01:01:17 +0800
Subject: [PATCH] =?UTF-8?q?=E7=BD=91=E6=A0=BC=E5=91=98=E7=AE=A1=E7=90=86?=
=?UTF-8?q?=E5=8A=9F=E8=83=BD=E5=AE=8C=E6=88=90?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../GridPersonnelController.java | 2 +-
.../GridPersonnelAppController.java | 2 +-
.../GridPersonnelResourceController.java | 2 +-
.../dao/gridpersonnel/IGridPersonnelDao.java | 2 +-
.../dtos/gridpersonnel/GridPersonnelDTO.java | 39 +-
.../vos/gridpersonnel/GridPersonnelVO.java | 13 +-
.../gridpersonnel/IGridPersonnelService.java | 2 +-
.../impl/GridPersonnelServiceImpl.java | 2 +-
.../gridpersonnel/gridpersonnel-mapper.xml | 48 ++-
.../gridpersonnel/list-gridpersonnel.html | 113 ++----
.../gridpersonnel/save-gridpersonnel.html | 271 ++++++++-----
.../gridpersonnel/update-gridpersonnel.html | 361 ++++++++++++------
12 files changed, 558 insertions(+), 299 deletions(-)
diff --git a/src/main/java/com/cm/inspection/controller/apis/gridpersonnel/GridPersonnelController.java b/src/main/java/com/cm/inspection/controller/apis/gridpersonnel/GridPersonnelController.java
index ee70e89..f6ed4d9 100644
--- a/src/main/java/com/cm/inspection/controller/apis/gridpersonnel/GridPersonnelController.java
+++ b/src/main/java/com/cm/inspection/controller/apis/gridpersonnel/GridPersonnelController.java
@@ -26,7 +26,7 @@ import java.util.Map;
* @ClassName: GridPersonnelController
* @Description: 网格人员
* @Author: WenG
- * @Date: 2020-03-25 23:55
+ * @Date: 2020-03-26 18:39
* @Version: 1.0
**/
@Api(tags = ISystemConstant.API_TAGS_SYSTEM_PREFIX + "网格人员接口")
diff --git a/src/main/java/com/cm/inspection/controller/app/apis/gridpersonnel/GridPersonnelAppController.java b/src/main/java/com/cm/inspection/controller/app/apis/gridpersonnel/GridPersonnelAppController.java
index c578595..8aa2f37 100644
--- a/src/main/java/com/cm/inspection/controller/app/apis/gridpersonnel/GridPersonnelAppController.java
+++ b/src/main/java/com/cm/inspection/controller/app/apis/gridpersonnel/GridPersonnelAppController.java
@@ -24,7 +24,7 @@ import java.util.Map;
* @ClassName: GridPersonnelAppController
* @Description: 网格人员
* @Author: WenG
- * @Date: 2020-03-25 23:55
+ * @Date: 2020-03-26 18:39
* @Version: 1.0
**/
@Api(tags = ISystemConstant.API_TAGS_APP_PREFIX + "网格人员接口")
diff --git a/src/main/java/com/cm/inspection/controller/resources/gridpersonnel/GridPersonnelResourceController.java b/src/main/java/com/cm/inspection/controller/resources/gridpersonnel/GridPersonnelResourceController.java
index 169580d..d468e37 100644
--- a/src/main/java/com/cm/inspection/controller/resources/gridpersonnel/GridPersonnelResourceController.java
+++ b/src/main/java/com/cm/inspection/controller/resources/gridpersonnel/GridPersonnelResourceController.java
@@ -24,7 +24,7 @@ import java.util.Map;
* @ClassName: GridPersonnelResourceController
* @Description: 网格人员
* @Author: WenG
- * @Date: 2020-03-25 23:55
+ * @Date: 2020-03-26 18:39
* @Version: 1.0
**/
@Api(tags = ISystemConstant.API_TAGS_RESOURCE_PREFIX + "网格人员接口")
diff --git a/src/main/java/com/cm/inspection/dao/gridpersonnel/IGridPersonnelDao.java b/src/main/java/com/cm/inspection/dao/gridpersonnel/IGridPersonnelDao.java
index 3f08429..c1b3a0f 100644
--- a/src/main/java/com/cm/inspection/dao/gridpersonnel/IGridPersonnelDao.java
+++ b/src/main/java/com/cm/inspection/dao/gridpersonnel/IGridPersonnelDao.java
@@ -15,7 +15,7 @@ import java.util.Map;
* @ClassName: IGridPersonnelDao
* @Description: 网格人员
* @Author: WenG
- * @Date: 2020-03-25 23:55
+ * @Date: 2020-03-26 18:39
* @Version: 1.0
**/
@Repository
diff --git a/src/main/java/com/cm/inspection/pojo/dtos/gridpersonnel/GridPersonnelDTO.java b/src/main/java/com/cm/inspection/pojo/dtos/gridpersonnel/GridPersonnelDTO.java
index b16b5a7..b05ba04 100644
--- a/src/main/java/com/cm/inspection/pojo/dtos/gridpersonnel/GridPersonnelDTO.java
+++ b/src/main/java/com/cm/inspection/pojo/dtos/gridpersonnel/GridPersonnelDTO.java
@@ -4,11 +4,10 @@ import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
/**
- *
* @ClassName: GridPersonnelDTO
* @Description: 网格人员
* @Author: WenG
- * @Date: 2020-03-25 23:55
+ * @Date: 2020-03-26 18:39
* @Version: 1.0
**/
@ApiModel
@@ -18,6 +17,8 @@ public class GridPersonnelDTO {
private String gridPersonnelId;
@ApiModelProperty(name = "userId", value = "用户ID")
private String userId;
+ @ApiModelProperty(name = "userName", value = "用户名称")
+ private String userName;
@ApiModelProperty(name = "area1", value = "1级区域")
private String area1;
@ApiModelProperty(name = "area1DictionaryName", value = "1级区域字典名称")
@@ -56,8 +57,12 @@ public class GridPersonnelDTO {
private String leaderUserIdJoinByLeaderUserId;
@ApiModelProperty(name = "isGridOperatorJoinByLeaderUserId", value = "领导ID的是否网格员")
private String isGridOperatorJoinByLeaderUserId;
+ @ApiModelProperty(name = "levelJoinByLeaderUserId", value = "领导ID的级别")
+ private String levelJoinByLeaderUserId;
@ApiModelProperty(name = "isGridOperator", value = "是否网格员")
private Integer isGridOperator;
+ @ApiModelProperty(name = "level", value = "级别")
+ private Integer level;
public String getGridPersonnelId() {
return gridPersonnelId == null ? "" : gridPersonnelId;
@@ -66,6 +71,7 @@ public class GridPersonnelDTO {
public void setGridPersonnelId(String gridPersonnelId) {
this.gridPersonnelId = gridPersonnelId;
}
+
public String getUserId() {
return userId == null ? "" : userId;
}
@@ -74,6 +80,14 @@ public class GridPersonnelDTO {
this.userId = userId;
}
+ public String getUserName() {
+ return userName == null ? "" : userName.trim();
+ }
+
+ public void setUserName(String userName) {
+ this.userName = userName;
+ }
+
public String getArea1() {
return area1 == null ? "" : area1;
}
@@ -89,6 +103,7 @@ public class GridPersonnelDTO {
public void setArea1DictionaryName(String area1DictionaryName) {
this.area1DictionaryName = area1DictionaryName;
}
+
public String getArea2() {
return area2 == null ? "" : area2;
}
@@ -104,6 +119,7 @@ public class GridPersonnelDTO {
public void setArea2DictionaryName(String area2DictionaryName) {
this.area2DictionaryName = area2DictionaryName;
}
+
public String getArea3() {
return area3 == null ? "" : area3;
}
@@ -119,6 +135,7 @@ public class GridPersonnelDTO {
public void setArea3DictionaryName(String area3DictionaryName) {
this.area3DictionaryName = area3DictionaryName;
}
+
public String getArea4() {
return area4 == null ? "" : area4;
}
@@ -134,6 +151,7 @@ public class GridPersonnelDTO {
public void setArea4DictionaryName(String area4DictionaryName) {
this.area4DictionaryName = area4DictionaryName;
}
+
public String getArea5() {
return area5 == null ? "" : area5;
}
@@ -149,6 +167,7 @@ public class GridPersonnelDTO {
public void setArea5DictionaryName(String area5DictionaryName) {
this.area5DictionaryName = area5DictionaryName;
}
+
public String getLeaderUserId() {
return leaderUserId == null ? "" : leaderUserId;
}
@@ -221,6 +240,14 @@ public class GridPersonnelDTO {
this.isGridOperatorJoinByLeaderUserId = isGridOperatorJoinByLeaderUserId;
}
+ public String getLevelJoinByLeaderUserId() {
+ return levelJoinByLeaderUserId == null ? "" : levelJoinByLeaderUserId;
+ }
+
+ public void setLevelJoinByLeaderUserId(String levelJoinByLeaderUserId) {
+ this.levelJoinByLeaderUserId = levelJoinByLeaderUserId;
+ }
+
public Integer getIsGridOperator() {
return isGridOperator == null ? 0 : isGridOperator;
}
@@ -229,5 +256,13 @@ public class GridPersonnelDTO {
this.isGridOperator = isGridOperator;
}
+ public Integer getLevel() {
+ return level == null ? 0 : level;
+ }
+
+ public void setLevel(Integer level) {
+ this.level = level;
+ }
+
}
diff --git a/src/main/java/com/cm/inspection/pojo/vos/gridpersonnel/GridPersonnelVO.java b/src/main/java/com/cm/inspection/pojo/vos/gridpersonnel/GridPersonnelVO.java
index 6eead01..f5bca05 100644
--- a/src/main/java/com/cm/inspection/pojo/vos/gridpersonnel/GridPersonnelVO.java
+++ b/src/main/java/com/cm/inspection/pojo/vos/gridpersonnel/GridPersonnelVO.java
@@ -10,7 +10,7 @@ import io.swagger.annotations.ApiModelProperty;
* @ClassName: GridPersonnelVO
* @Description: 网格人员
* @Author: WenG
- * @Date: 2020-03-25 23:55
+ * @Date: 2020-03-26 18:39
* @Version: 1.0
**/
@ApiModel
@@ -34,6 +34,9 @@ public class GridPersonnelVO {
@ApiModelProperty(name = "isGridOperator", value = "是否网格员")
@CheckNumberAnnotation(name = "是否网格员")
private Integer isGridOperator;
+ @ApiModelProperty(name = "level", value = "级别")
+ @CheckNumberAnnotation(name = "级别")
+ private Integer level;
public String getUserId() {
return userId == null ? "" : userId;
@@ -99,5 +102,13 @@ public class GridPersonnelVO {
this.isGridOperator = isGridOperator;
}
+ public Integer getLevel() {
+ return level == null ? 0 : level;
+ }
+
+ public void setLevel(Integer level) {
+ this.level = level;
+ }
+
}
diff --git a/src/main/java/com/cm/inspection/service/gridpersonnel/IGridPersonnelService.java b/src/main/java/com/cm/inspection/service/gridpersonnel/IGridPersonnelService.java
index 2f747cc..3cbe8af 100644
--- a/src/main/java/com/cm/inspection/service/gridpersonnel/IGridPersonnelService.java
+++ b/src/main/java/com/cm/inspection/service/gridpersonnel/IGridPersonnelService.java
@@ -17,7 +17,7 @@ import java.util.Map;
* @ClassName: IGridPersonnelService
* @Description: 网格人员
* @Author: WenG
- * @Date: 2020-03-25 23:55
+ * @Date: 2020-03-26 18:39
* @Version: 1.0
**/
public interface IGridPersonnelService {
diff --git a/src/main/java/com/cm/inspection/service/gridpersonnel/impl/GridPersonnelServiceImpl.java b/src/main/java/com/cm/inspection/service/gridpersonnel/impl/GridPersonnelServiceImpl.java
index 381b046..bef94b1 100644
--- a/src/main/java/com/cm/inspection/service/gridpersonnel/impl/GridPersonnelServiceImpl.java
+++ b/src/main/java/com/cm/inspection/service/gridpersonnel/impl/GridPersonnelServiceImpl.java
@@ -24,7 +24,7 @@ import java.util.*;
* @ClassName: GridPersonnelServiceImpl
* @Description: 网格人员
* @Author: WenG
- * @Date: 2020-03-25 23:55
+ * @Date: 2020-03-26 18:39
* @Version: 1.0
**/
@Service
diff --git a/src/main/resources/mybatis/mapper/gridpersonnel/gridpersonnel-mapper.xml b/src/main/resources/mybatis/mapper/gridpersonnel/gridpersonnel-mapper.xml
index f1a1a21..2f12808 100644
--- a/src/main/resources/mybatis/mapper/gridpersonnel/gridpersonnel-mapper.xml
+++ b/src/main/resources/mybatis/mapper/gridpersonnel/gridpersonnel-mapper.xml
@@ -5,6 +5,7 @@