Browse Source

提交百胜正式配置

夏文涛 2 years atrás
parent
commit
d6dfcdf82c

File diff suppressed because it is too large
+ 294 - 258
.idea/workspace.xml


+ 12 - 0
src/main/java/com/template/api/OutdoorScreenControllerAPI.java

@@ -0,0 +1,12 @@
+package com.template.api;
+
+import io.swagger.annotations.Api;
+import org.springframework.web.bind.annotation.*;
+
+
+@RequestMapping("/api/outdoorScreen")
+@Api(tags = {"OutdoorScreenController"}, value = "户外大屏")
+public interface OutdoorScreenControllerAPI {
+
+
+}

+ 53 - 0
src/main/java/com/template/controller/OutdoorScreenController.java

@@ -0,0 +1,53 @@
+package com.template.controller;
+
+import com.template.annotation.DESRespondSecret;
+import com.template.annotation.PassToken;
+import com.template.api.LoginControllerAPI;
+import com.template.api.OutdoorScreenControllerAPI;
+import com.template.common.utils.AesUtils;
+import com.template.common.utils.JWTUtil;
+import com.template.common.utils.paramUtils;
+import com.template.model.enumModel.eStatu;
+import com.template.model.pojo.RepairAdmin;
+import com.template.model.pojo.SmartUser;
+import com.template.model.request.changePasswordRequest;
+import com.template.model.request.loginRequest;
+import com.template.model.result.CommonResult;
+import com.template.model.vo.LoginVO;
+import com.template.services.RepairAdminService;
+import com.template.services.SmartUserService;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.validation.BindingResult;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestHeader;
+import org.springframework.web.bind.annotation.RestController;
+
+import java.util.ArrayList;
+import java.util.List;
+
+/**
+ * @Author: binguo
+ * @Date: 2023/7/5 星期三 9:28
+ * @Description: com.template.controller
+ * @Version: 1.0
+ */
+@RestController
+//返回参数加密注解
+@DESRespondSecret
+public class OutdoorScreenController implements OutdoorScreenControllerAPI {
+    /**
+     * 根据手机号查找家长
+     */
+
+    /**
+     * 展示家长界面
+     */
+
+    /**
+     * 预约
+     */
+
+    /**
+     * 预约记录查询
+     */
+}

+ 0 - 2
src/main/java/com/template/controller/SmartUserController.java

@@ -43,7 +43,6 @@ import org.springframework.web.multipart.MultipartFile;
 import javax.annotation.Resource;
 import javax.servlet.http.HttpServletResponse;
 import java.io.*;
-import java.lang.reflect.Array;
 import java.net.URLDecoder;
 import java.net.URLEncoder;
 import java.nio.charset.Charset;
@@ -181,7 +180,6 @@ public class SmartUserController implements SmartUserControllerAPI {
                 if (user.getIdentityId().equals(eIdentityStatu.Student.getValue())) {
                     return CommonResult.fail(user.getName() + "头像不存在,导入失败");
                 }
-
             }
         }
 

+ 48 - 22
src/main/java/com/template/model/enumModel/eTimeGroup.java

@@ -8,9 +8,11 @@ package com.template.model.enumModel;
  * 账号状态
  */
 public enum eTimeGroup {
-    TG1701918449235594(1),//上午时间组 9:00 - 12:00
-    TG1701747145136852(2),//中午时间组 11:50 - 14:00
-    TG1701747243082762(3);//下午时间组 14:30 - 17:00
+    TG1706059211565139(1),//早晚时间组
+    TG1706015524808505(2),//无通行权限
+    TG1706015187904177(3),//中午、傍晚时间组
+    TG1706015023341530(4),//傍晚时间组
+    TG1705477745113586(5);//中午时间组
 
     private int value;
 
@@ -24,11 +26,15 @@ public enum eTimeGroup {
     public static eTimeGroup valueOf(int value) {
         switch (value) {
             case 1:
-                return eTimeGroup.TG1701918449235594;
+                return eTimeGroup.TG1706059211565139;
             case 2:
-                return eTimeGroup.TG1701747145136852;
+                return eTimeGroup.TG1706015524808505;
             case 3:
-                return eTimeGroup.TG1701747243082762;
+                return eTimeGroup.TG1706015187904177;
+            case 4:
+                return eTimeGroup.TG1706015023341530;
+            case 5:
+                return eTimeGroup.TG1705477745113586;
             default:
                 return null;
         }
@@ -36,12 +42,16 @@ public enum eTimeGroup {
 
     public static Integer integerOf(String value) {
         switch (value) {
-            case "TG1701918449235594":
+            case "TG1706059211565139":
                 return 1;
-            case "TG1701747145136852":
+            case "TG1706015524808505":
                 return 2;
-            case "TG1701747243082762":
+            case "TG1706015187904177":
                 return 3;
+            case "TG1706015023341530":
+                return 4;
+            case "TG1705477745113586":
+                return 5;
             default:
                 return null;
         }
@@ -50,11 +60,15 @@ public enum eTimeGroup {
     public static String stringOf(Integer value) {
         switch (value) {
             case 1:
-                return "TG1701918449235594";
+                return "TG1706059211565139";
             case 2:
-                return "TG1701747145136852";
+                return "TG1706015524808505";
             case 3:
-                return "TG1701747243082762";
+                return "TG1706015187904177";
+            case 4:
+                return "TG1706015023341530";
+            case 5:
+                return "TG1705477745113586";
             default:
                 return null;
         }
@@ -63,11 +77,15 @@ public enum eTimeGroup {
     public static String stringOfName(Integer value) {
         switch (value) {
             case 1:
-                return "上午时间组";
+                return "早晚时间组";
             case 2:
-                return "中午时间组";
+                return "无通行权限";
             case 3:
+                return "中午、傍晚时间组";
+            case 4:
                 return "傍晚时间组";
+            case 5:
+                return "中午时间组";
             default:
                 return null;
         }
@@ -75,12 +93,16 @@ public enum eTimeGroup {
 
     public static String stringOfTimeName(String value) {
         switch (value) {
-            case "上午时间组":
-                return "TG1701918449235594";
-            case "中午时间组":
-                return "TG1701747145136852";
+            case "早晚时间组":
+                return "TG1706059211565139";
+            case "无通行权限":
+                return "TG1706015524808505";
+            case "中午、傍晚时间组":
+                return "TG1706015187904177";
             case "傍晚时间组":
-                return "TG1701747243082762";
+                return "TG1706015023341530";
+            case "中午时间组":
+                return "TG1705477745113586";
             default:
                 return null;
         }
@@ -88,12 +110,16 @@ public enum eTimeGroup {
 
     public static Integer integerOfTimeName(String value) {
         switch (value) {
-            case "上午时间组":
+            case "早晚时间组":
                 return 1;
-            case "中午时间组":
+            case "无通行权限":
                 return 2;
-            case "傍晚时间组":
+            case "中午、傍晚时间组":
                 return 3;
+            case "傍晚时间组":
+                return 4;
+            case "中午时间组":
+                return 5;
             default:
                 return null;
         }

File diff suppressed because it is too large
+ 42 - 9
src/main/resources/application-prod.yml


File diff suppressed because it is too large
+ 42 - 9
target/classes/application-prod.yml


+ 1 - 1
target/classes/application.yml

@@ -5,7 +5,7 @@ server:
 
 spring:
   profiles:
-      active: dev
+      active: prod
   main:
     allow-circular-references: true
   servlet:

+ 2 - 0
target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst

@@ -334,6 +334,7 @@ com\template\model\seewo\PersonalLeaveListSchoolPeriodRecordsParam$Query.class
 com\template\model\seewo\TeacherServiceBatchRemoveTeachersResult$ResponseBody.class
 com\template\api\SmartGradeControllerAPI.class
 com\template\model\dto\WarningDeletePushDto.class
+com\template\api\OutdoorScreenControllerAPI.class
 com\template\common\utils\UUIDUtil.class
 com\template\model\vo\BsDeleteStudentVo.class
 com\template\model\request\useridsRequest.class
@@ -369,6 +370,7 @@ com\template\services\impl\SystemUserServiceImpl.class
 com\template\services\SmartFreezeRecordService.class
 com\template\model\pojo\SmartUser.class
 com\template\model\seewo\StudentLeaveStudentLeaveRequestHandlerParam$JSONRequestBody.class
+com\template\controller\OutdoorScreenController.class
 com\template\common\utils\TimeExchange$1.class
 com\template\services\SmartDutiesService.class
 com\template\api\SmartDepartmentControllerAPI.class

+ 2 - 0
target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst

@@ -143,6 +143,7 @@ D:\Bingo\Desktop\工作内容\万载三中\backend_code\src\main\java\com\templa
 D:\Bingo\Desktop\工作内容\万载三中\backend_code\src\main\java\com\template\controller\SmartMenuController.java
 D:\Bingo\Desktop\工作内容\万载三中\backend_code\src\main\java\com\template\mapper\SmartFreezeRecordMapper.java
 D:\Bingo\Desktop\工作内容\万载三中\backend_code\src\main\java\com\template\api\SmartDataClassControllerAPI.java
+D:\Bingo\Desktop\工作内容\万载三中\backend_code\src\main\java\com\template\api\OutdoorScreenControllerAPI.java
 D:\Bingo\Desktop\工作内容\万载三中\backend_code\src\main\java\com\template\model\request\changePasswordRequest.java
 D:\Bingo\Desktop\工作内容\万载三中\backend_code\src\main\java\com\template\services\impl\SmartApplyServiceImpl.java
 D:\Bingo\Desktop\工作内容\万载三中\backend_code\src\main\java\com\template\api\SmartMeterDetailControllerAPI.java
@@ -258,6 +259,7 @@ D:\Bingo\Desktop\工作内容\万载三中\backend_code\src\main\java\com\templa
 D:\Bingo\Desktop\工作内容\万载三中\backend_code\src\main\java\com\template\model\dto\OperationWarningDto.java
 D:\Bingo\Desktop\工作内容\万载三中\backend_code\src\main\java\com\template\controller\SmartDepartmentController.java
 D:\Bingo\Desktop\工作内容\万载三中\backend_code\src\main\java\com\template\model\request\updateRepairAdminRequest.java
+D:\Bingo\Desktop\工作内容\万载三中\backend_code\src\main\java\com\template\controller\OutdoorScreenController.java
 D:\Bingo\Desktop\工作内容\万载三中\backend_code\src\main\java\com\template\services\impl\SmartUserServiceImpl.java
 D:\Bingo\Desktop\工作内容\万载三中\backend_code\src\main\java\com\template\controller\SmartEvaluateTeacherController.java
 D:\Bingo\Desktop\工作内容\万载三中\backend_code\src\main\java\com\template\services\impl\SmartMenuServiceImpl.java

BIN
target/mybatis_plus-0.0.1-SNAPSHOT.jar.original