Browse Source

用户接口完善

xucaiqin 2 years ago
parent
commit
a404e01dc9

+ 6 - 6
iot-module/iot-module-system/iot-module-system-api/src/main/java/com/middle/platform/system/api/enums/DictType.java

@@ -5,11 +5,11 @@ package com.middle.platform.system.api.enums;
  * @date 2023-12-21 11:26:25
  */
 public interface DictType {
-    String NODE_TYPE = "nodeType";
-    String NETWORK_TYPE = "networkType";
-    String REPORT_PROTOCOL_TYPE = "reportProtocolType";
-    String VENDORS_TYPE = "vendorsType";
-    String DATA_FORMAT_TYPE = "dataFormatType";
-    String AUTH_TYPE = "authType";//认证类型
+    String NODE_TYPE = "node_type";
+    String NETWORK_TYPE = "network_type";
+    String REPORT_PROTOCOL_TYPE = "reportProtocol_type";
+    String VENDORS_TYPE = "vendors_type";
+    String DATA_FORMAT_TYPE = "data_tormat_type";
+    String AUTH_TYPE = "auth_type";//认证类型
     String SEX_TYPE = "sex_type";//性别
 }

+ 0 - 4
iot-module/iot-module-system/iot-module-system-biz/src/main/java/com/middle/platform/system/biz/pojo/res/SysUserVo.java

@@ -33,10 +33,6 @@ public class SysUserVo {
      */
     private String username;
 
-    /**
-     * 登录密码
-     */
-    private String password;
 
     /**
      * 启用状态 1-启用 0-停用

+ 0 - 1
iot-module/iot-module-system/iot-module-system-biz/src/main/resources/mapper/SysUserMapper.xml

@@ -28,7 +28,6 @@
   <select id="pageList" resultType="com.middle.platform.system.biz.pojo.res.SysUserVo">
       select *
       from sys_user su
-
       <where>
           <if test="name != null and name != ''">
               and su.name like concat('%', #{name,jdbcType=VARCHAR}, '%')