소스 검색

///人脸大部分接口

yangdi 4 년 전
부모
커밋
c9a182ac34
100개의 변경된 파일2171개의 추가작업 그리고 468개의 파일을 삭제
  1. 81 3
      huimv-face/pom.xml
  2. 23 0
      huimv-face/src/main/java/com/huimv/face/StartApplication.java
  3. 361 0
      huimv-face/src/main/java/com/huimv/face/controller/APIcontroller.java
  4. 34 0
      huimv-face/src/main/java/com/huimv/face/controller/PassCountController.java
  5. 234 0
      huimv-face/src/main/java/com/huimv/face/controller/PeopleManagementController.java
  6. 112 0
      huimv-face/src/main/java/com/huimv/face/controller/SelectCameraController.java
  7. 90 0
      huimv-face/src/main/java/com/huimv/face/controller/StrangerController.java
  8. 0 74
      huimv-face/src/main/java/com/huimv/face/entity/BetPlayerDetailModels.java
  9. 0 68
      huimv-face/src/main/java/com/huimv/face/entity/BetPlayerFeatureData.java
  10. 0 58
      huimv-face/src/main/java/com/huimv/face/entity/BetPlayerModels.java
  11. 268 0
      huimv-face/src/main/java/com/huimv/face/entity/Cameras.java
  12. 155 0
      huimv-face/src/main/java/com/huimv/face/entity/Groups.java
  13. 0 29
      huimv-face/src/main/java/com/huimv/face/entity/MailRecords.java
  14. 0 32
      huimv-face/src/main/java/com/huimv/face/entity/RecordAttrModels.java
  15. 53 0
      huimv-face/src/main/java/com/huimv/face/entity/SelectCamera.java
  16. 0 65
      huimv-face/src/main/java/com/huimv/face/entity/StrangerDetailModels.java
  17. 107 0
      huimv-face/src/main/java/com/huimv/face/entity/StrangerModels.java
  18. 0 59
      huimv-face/src/main/java/com/huimv/face/entity/VehicleAttrs.java
  19. 0 9
      huimv-face/src/main/java/com/huimv/face/repo/BetPlayerDetailModelsRepository.java
  20. 0 9
      huimv-face/src/main/java/com/huimv/face/repo/BetPlayerFeatureDataRepository.java
  21. 0 9
      huimv-face/src/main/java/com/huimv/face/repo/BetPlayerModelsRepository.java
  22. 5 0
      huimv-face/src/main/java/com/huimv/face/repo/CamerasRepository.java
  23. 0 9
      huimv-face/src/main/java/com/huimv/face/repo/MailRecordsRepository.java
  24. 6 0
      huimv-face/src/main/java/com/huimv/face/repo/PersonnelsRepository.java
  25. 0 9
      huimv-face/src/main/java/com/huimv/face/repo/RecordAttrModelsRepository.java
  26. 15 0
      huimv-face/src/main/java/com/huimv/face/repo/SelectCameraRepository.java
  27. 0 9
      huimv-face/src/main/java/com/huimv/face/repo/StrangerDetailModelsRepository.java
  28. 21 0
      huimv-face/src/main/java/com/huimv/face/repo/StrangerModelsRepository.java
  29. 0 9
      huimv-face/src/main/java/com/huimv/face/repo/VehicleAttrsRepository.java
  30. 11 0
      huimv-face/src/main/java/com/huimv/face/service/StrangerModlesService.java
  31. 6 0
      huimv-face/src/main/java/com/huimv/face/service/impl/StrangerModlesImpl.java
  32. 125 0
      huimv-face/src/main/java/com/huimv/face/util/DateUtils.java
  33. 355 0
      huimv-face/src/main/java/com/huimv/face/util/HttpClient.java
  34. 14 0
      huimv-face/src/main/java/com/huimv/face/util/MultThread.java
  35. 28 0
      huimv-face/src/main/java/com/huimv/face/util/Result.java
  36. 2 2
      huimv-face/src/main/resources/application-prod.yml
  37. 10 11
      huimv-face/src/main/resources/application-test.yml
  38. 0 4
      huimv-face/src/main/resources/log4j.properties
  39. 19 0
      huimv-face/target/classes/application-prod.yml
  40. 22 0
      huimv-face/target/classes/application-test.yml
  41. 7 0
      huimv-face/target/classes/application.properties
  42. 7 0
      huimv-face/target/classes/beans.xml
  43. BIN
      huimv-face/target/classes/com/huimv/face/StartApplication.class
  44. BIN
      huimv-face/target/classes/com/huimv/face/controller/APIcontroller.class
  45. BIN
      huimv-face/target/classes/com/huimv/face/controller/PassCountController.class
  46. BIN
      huimv-face/target/classes/com/huimv/face/controller/PeopleManagementController.class
  47. BIN
      huimv-face/target/classes/com/huimv/face/controller/SelectCameraController.class
  48. BIN
      huimv-face/target/classes/com/huimv/face/controller/StrangerController.class
  49. BIN
      huimv-face/target/classes/com/huimv/face/entity/AlarmRecords.class
  50. BIN
      huimv-face/target/classes/com/huimv/face/entity/CameraRoiModels.class
  51. BIN
      huimv-face/target/classes/com/huimv/face/entity/Cameras.class
  52. BIN
      huimv-face/target/classes/com/huimv/face/entity/ConfigModels.class
  53. BIN
      huimv-face/target/classes/com/huimv/face/entity/DahuaImages.class
  54. BIN
      huimv-face/target/classes/com/huimv/face/entity/DataCleanSettings.class
  55. BIN
      huimv-face/target/classes/com/huimv/face/entity/FileIds.class
  56. BIN
      huimv-face/target/classes/com/huimv/face/entity/FrequencyListModels.class
  57. BIN
      huimv-face/target/classes/com/huimv/face/entity/FrequencyModels.class
  58. BIN
      huimv-face/target/classes/com/huimv/face/entity/FrequenterContrastModels.class
  59. BIN
      huimv-face/target/classes/com/huimv/face/entity/FrequenterModels.class
  60. BIN
      huimv-face/target/classes/com/huimv/face/entity/GroupMetaModels.class
  61. BIN
      huimv-face/target/classes/com/huimv/face/entity/Groups.class
  62. BIN
      huimv-face/target/classes/com/huimv/face/entity/HkeyeLicenseModels.class
  63. BIN
      huimv-face/target/classes/com/huimv/face/entity/HumanAttrs.class
  64. BIN
      huimv-face/target/classes/com/huimv/face/entity/JulongImages.class
  65. BIN
      huimv-face/target/classes/com/huimv/face/entity/LastIdModels.class
  66. BIN
      huimv-face/target/classes/com/huimv/face/entity/License.class
  67. BIN
      huimv-face/target/classes/com/huimv/face/entity/MailSettings.class
  68. BIN
      huimv-face/target/classes/com/huimv/face/entity/PassRecords.class
  69. BIN
      huimv-face/target/classes/com/huimv/face/entity/Personnels.class
  70. BIN
      huimv-face/target/classes/com/huimv/face/entity/Photos.class
  71. BIN
      huimv-face/target/classes/com/huimv/face/entity/RecordsUsageModels.class
  72. BIN
      huimv-face/target/classes/com/huimv/face/entity/SelectCamera.class
  73. BIN
      huimv-face/target/classes/com/huimv/face/entity/SmartEventModels.class
  74. BIN
      huimv-face/target/classes/com/huimv/face/entity/SmartGetUpEventModels.class
  75. BIN
      huimv-face/target/classes/com/huimv/face/entity/SmsTemplates.class
  76. BIN
      huimv-face/target/classes/com/huimv/face/entity/StrangerModels.class
  77. BIN
      huimv-face/target/classes/com/huimv/face/entity/SwitchModels.class
  78. BIN
      huimv-face/target/classes/com/huimv/face/entity/TaskGroups.class
  79. BIN
      huimv-face/target/classes/com/huimv/face/entity/TaskJoinCameraModels.class
  80. BIN
      huimv-face/target/classes/com/huimv/face/entity/Tasks.class
  81. BIN
      huimv-face/target/classes/com/huimv/face/entity/ThermalModels.class
  82. BIN
      huimv-face/target/classes/com/huimv/face/entity/TimePros.class
  83. BIN
      huimv-face/target/classes/com/huimv/face/entity/UnknownPeopleModels.class
  84. BIN
      huimv-face/target/classes/com/huimv/face/repo/AlarmRecordsRepository.class
  85. BIN
      huimv-face/target/classes/com/huimv/face/repo/CameraRoiModelsRepository.class
  86. BIN
      huimv-face/target/classes/com/huimv/face/repo/CamerasRepository.class
  87. BIN
      huimv-face/target/classes/com/huimv/face/repo/ConfigModelsRepository.class
  88. BIN
      huimv-face/target/classes/com/huimv/face/repo/DahuaImagesRepository.class
  89. BIN
      huimv-face/target/classes/com/huimv/face/repo/DataCleanSettingsRepository.class
  90. BIN
      huimv-face/target/classes/com/huimv/face/repo/FileIdsRepository.class
  91. BIN
      huimv-face/target/classes/com/huimv/face/repo/FrequencyListModelsRepository.class
  92. BIN
      huimv-face/target/classes/com/huimv/face/repo/FrequencyModelsRepository.class
  93. BIN
      huimv-face/target/classes/com/huimv/face/repo/FrequenterContrastModelsRepository.class
  94. BIN
      huimv-face/target/classes/com/huimv/face/repo/FrequenterModelsRepository.class
  95. BIN
      huimv-face/target/classes/com/huimv/face/repo/GroupMetaModelsRepository.class
  96. BIN
      huimv-face/target/classes/com/huimv/face/repo/GroupsRepository.class
  97. BIN
      huimv-face/target/classes/com/huimv/face/repo/HkeyeLicenseModelsRepository.class
  98. BIN
      huimv-face/target/classes/com/huimv/face/repo/HumanAttrsRepository.class
  99. BIN
      huimv-face/target/classes/com/huimv/face/repo/JulongImagesRepository.class
  100. 0 0
      huimv-face/target/classes/com/huimv/face/repo/LastIdModelsRepository.class

+ 81 - 3
huimv-face/pom.xml

@@ -9,11 +9,21 @@
     <version>1.0-SNAPSHOT</version>
 
 
+
     <properties>
         <java.version>1.8</java.version>
+        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
     </properties>
 
+
     <dependencies>
+
+        <dependency>
+            <groupId>com.alibaba</groupId>
+            <artifactId>fastjson</artifactId>
+            <version>1.2.51</version>
+        </dependency>
+
         <dependency>
             <groupId>org.springframework.boot</groupId>
             <artifactId>spring-boot-starter-web</artifactId>
@@ -26,35 +36,103 @@
             <version>2.3.10.RELEASE</version>
             <scope>test</scope>
         </dependency>
+
         <dependency>
             <groupId>org.springframework.boot</groupId>
             <artifactId>spring-boot-starter-data-jpa</artifactId>
             <version>2.3.1.RELEASE</version>
         </dependency>
+
+        <dependency>
+            <groupId>commons-collections</groupId>
+            <artifactId>commons-collections</artifactId>
+            <version>3.2.2</version>
+        </dependency>
+        <dependency>
+            <groupId>commons-codec</groupId>
+            <artifactId>commons-codec</artifactId>
+            <version>1.10</version>
+        </dependency>
+
+
         <dependency>
             <groupId>mysql</groupId>
             <artifactId>mysql-connector-java</artifactId>
             <version>8.0.16</version>
         </dependency>
+
         <dependency>
             <groupId>org.projectlombok</groupId>
             <artifactId>lombok</artifactId>
             <version>1.18.20</version>
         </dependency>
-    </dependencies>
 
+        <dependency>
+            <groupId>org.apache.httpcomponents</groupId>
+            <artifactId>httpclient</artifactId>
+            <version>4.5.13</version>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.httpcomponents</groupId>
+            <artifactId>httpmime</artifactId>
+            <version>4.5</version>
+        </dependency>
+
+        <dependency>
+            <groupId>commons-httpclient</groupId>
+            <artifactId>commons-httpclient</artifactId>
+            <version>3.1</version>
+        </dependency>
 
 
+    </dependencies>
     <build>
         <plugins>
             <plugin>
                 <groupId>org.springframework.boot</groupId>
                 <artifactId>spring-boot-maven-plugin</artifactId>
+                <version>1.5.7.RELEASE</version>
+                <configuration>
+                    <includeSystemScope>true</includeSystemScope>
+                </configuration>
+                <executions>
+                    <execution>
+                        <goals>
+                            <goal>repackage</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
+
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-compiler-plugin</artifactId>
+                <version>3.6.1</version>
+                <configuration>
+                    <source>1.8</source>
+                    <target>1.8</target>
+                </configuration>
+            </plugin>
+            <plugin>
+                <artifactId>maven-assembly-plugin</artifactId>
+                <version>2.3</version>
+                <configuration>
+                    <descriptorRefs>
+                        <descriptorRef>jar-with-dependencies</descriptorRef>
+                    </descriptorRefs>
+                </configuration>
+                <executions>
+                    <execution>
+                        <phase>package</phase>
+                        <goals>
+                            <goal>single</goal>
+                        </goals>
+                    </execution>
+                </executions>
             </plugin>
         </plugins>
     </build>
 
 
-
-
 </project>

+ 23 - 0
huimv-face/src/main/java/com/huimv/face/StartApplication.java

@@ -0,0 +1,23 @@
+package com.huimv.face;
+
+import org.springframework.boot.SpringApplication;
+import org.springframework.boot.autoconfigure.SpringBootApplication;
+import org.springframework.data.jpa.repository.config.EnableJpaAuditing;
+
+
+/**
+ * @Project : huimv.face
+ * @Package :
+ * @Description : TODO
+ * @Version : 1.0
+ * @Author : yangdi
+ * @Create : 2020-12-25
+ **/
+//@EnableScheduling   //如果开启定时任务   要加这个注解
+@EnableJpaAuditing
+@SpringBootApplication
+public class StartApplication {
+    public static void main(String[] args) {
+        SpringApplication.run(StartApplication.class, args);
+    }
+}

+ 361 - 0
huimv-face/src/main/java/com/huimv/face/controller/APIcontroller.java

@@ -0,0 +1,361 @@
+package com.huimv.face.controller;
+
+
+import com.alibaba.fastjson.JSONArray;
+import com.alibaba.fastjson.JSONObject;
+import com.huimv.face.entity.SelectCamera;
+import com.huimv.face.repo.CamerasRepository;
+import com.huimv.face.repo.SelectCameraRepository;
+import com.huimv.face.repo.StrangerModelsRepository;
+import com.huimv.face.util.DateUtils;
+import com.huimv.face.util.HttpClient;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.CrossOrigin;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RequestParam;
+import org.springframework.web.bind.annotation.RestController;
+import javax.servlet.http.HttpServletRequest;
+import java.io.IOException;
+import java.util.*;
+
+@CrossOrigin
+@RestController
+@RequestMapping(value = "/api")
+public class APIcontroller {
+
+
+    @Autowired
+    CamerasRepository camerasRepository;
+
+    @Autowired
+    private SelectCameraRepository selectCameraRepository;
+
+    @Autowired
+    StrangerModelsRepository strangerModelsRepository;
+
+    @RequestMapping("/flow/record")
+    public Object list127(HttpServletRequest request,
+                          @RequestParam(name = "_t") String _t,
+                          @RequestParam(name = "people_id", required = false) String peopleid,
+                          @RequestParam(name = "task_id") int task_id,
+                          @RequestParam(name = "date") String date) throws IOException {
+        String URL = "http://36.26.62.70:10081/api/flow/record?_t" + _t + "&task_id=" + task_id + "&date=" + date + "&people_id=" + peopleid;
+        //发送请求
+        HttpClient httpClient = new HttpClient(URL);
+        httpClient.setHttps(false);
+        httpClient.get();
+        String content = httpClient.getContent();
+        JSONObject jsonObject = JSONObject.parseObject(content);
+        System.out.println("flow/record--记录");
+        return jsonObject;
+    }
+
+
+     /*
+     * @param request
+     * @param _t
+     * @param start_page
+     * @param page_count
+     * @param task_id
+     * @param date
+     * @return
+     * @throws IOException
+     */
+//新增0
+    @RequestMapping("/flow/record/list")
+    public Object list121(HttpServletRequest request,
+                          @RequestParam(name = "_t") String _t,
+                          @RequestParam(name = "start_page", required = false) String start_page,  //重复
+                          @RequestParam(name = "page_count", required = false) String page_count,  //重复
+                          @RequestParam(name = "task_id") int task_id,
+                          @RequestParam(name = "date") String date) throws IOException {
+        //  http://36.22.189.214:8010/api/flow/record/list?_t=1619751478000&start_page=1&page_count=100&task_id=1&date=1619712000000
+        String URL = "http://36.26.62.70:10081/api/flow/record/list?_t" + _t + "&task_id=" + task_id + "&date=" + date + "&start_page=" + start_page + "&page_count=" + page_count;
+
+        //发送请求
+        HttpClient httpClient = new HttpClient(URL);
+        httpClient.setHttps(false);
+        httpClient.get();
+        String content = httpClient.getContent();
+        JSONObject jsonObject = JSONObject.parseObject(content);
+        System.out.println("通行记录");
+        return jsonObject;
+    }
+
+
+
+
+    //之前的
+    @RequestMapping("/flow/statistic")
+    public Object list12(HttpServletRequest request,
+                         @RequestParam(name = "_t") String _t,
+                         @RequestParam(name = "task_id") int task_id,
+                         @RequestParam(name = "date") String date) throws IOException {
+
+        String URL = "http://192.168.3.50:10080/api/flow/statistic?_t" + _t + "&" + "task_id=" + task_id + "&" + "date=" + date;
+
+        String URL01 = "http://192.168.3.50:10080/api/flow/statistic?_t=1615898302287&task_id=2&date=1615824000000";
+        String URL02 = "http://36.26.62.70:10081/api/pass_records?_t=1619687680619&start_page=1&page_count=30&camera_id=4";
+        //发送请求
+        String URL03 = "http://36.26.62.70:10081/api/flow/statistic?_t" + _t + "&" + "task_id=" + task_id + "&" + "date=" + date;
+        HttpClient httpClient = new HttpClient(URL03);
+        httpClient.setHttps(false);
+        httpClient.get();
+        String content = httpClient.getContent();
+        JSONObject jsonObject = JSONObject.parseObject(content);
+        System.out.println("/flow/statistic**请求成功");
+        return jsonObject;
+    }
+
+    @RequestMapping("/alarm_records")
+    public Object list13(HttpServletRequest request,
+                         @RequestParam(name = "_t", required = false) String _t, //重复
+                         @RequestParam(name = "start_page", required = false) String start_page,  //重复
+                         @RequestParam(name = "page_count", required = false) String page_count,  //重复
+                         @RequestParam(name = "begin_time", required = false) String begin_time,
+                         @RequestParam(name = "end_time", required = false) String end_time,
+                         @RequestParam(name = "group_id", required = false) String group_id,
+                         @RequestParam(name = "camera_id", required = false) String camera_id,
+                         @RequestParam(name = "keyword", required = false) String keyword   //重复
+
+    ) throws IOException {
+
+        String URL = "http://192.168.3.50:10080/api/alarm_records?_t" + _t + "&" + "start_page=" + start_page + "&" + "page_count=" + page_count
+                + "&" + "begin_time=" + begin_time + "&" + "end_time=" + end_time
+                + "&" + "group_id=" + group_id + "&" + "camera_id=" + camera_id
+                + "&" + "keyword=" + keyword;
+
+        //换到海盐之后的路径
+        String URL01 = "http://36.26.62.70:10081/api/alarm_records?_t" + _t + "&" + "start_page=" + start_page + "&" + "page_count=" + page_count
+                + "&" + "begin_time=" + begin_time + "&" + "end_time=" + end_time
+                + "&" + "group_id=" + group_id + "&" + "camera_id=" + camera_id
+                + "&" + "keyword=" + keyword;
+        System.out.println(URL01);
+        //http://192.168.3.4:8075/api/alarm_records?_t=1615905127152&start_page=1&page_count=30
+        //&begin_time=1615824000000&end_time=1615870800000&camera_id=&group_id=&keyword='
+        //发送请求
+        HttpClient httpClient = new HttpClient(URL01);
+        httpClient.setHttps(false);
+        httpClient.get();
+        String content = httpClient.getContent();
+        JSONObject jsonObject = JSONObject.parseObject(content);
+        System.out.println("获取警报记录");
+        // System.out.println(content);
+        return jsonObject;
+        //return null;
+    }
+
+
+
+    //单个摄像头通行记录 过去一天,过去一周,过去一个月,活动版本 ,想办法修改成SQL操作
+    @RequestMapping("/pass_records")
+    public List<Map> list121(HttpServletRequest request,
+                             @RequestParam(name = "modo") int modo,//1.天    2.周   3.月
+                             @RequestParam(name = "_t") String _t,
+                             @RequestParam(name = "kind") int kind //1.在库   2.陌生人
+    ) throws Exception {
+        //选中的摄像头在 select_cameras 表中,直接查找第一条
+        SelectCamera selectCamera = selectCameraRepository.selectid1();
+        JSONArray jsonArray = JSONObject.parseArray(selectCamera.getCamera());
+        System.out.println("得到的数组为" + jsonArray);
+        List<Map> countlist01 = new ArrayList();
+        Iterator<Object> it = jsonArray.iterator();
+        if (kind == 1) {
+            while (it.hasNext()) {
+                int job = Integer.parseInt((String) it.next());
+                System.out.println("数值" + job);
+                //摄像机位置
+                String cameraAddress = camerasRepository.findByIdtest(job).getCameraAddress();
+                System.out.println("查询地址结束");
+                int pagecount = 50000;
+                int startpage = 1;
+                //想办法制作成从数据库查询
+                String URL = "http://36.26.62.70:10081/api/pass_records?_t=" + _t + "&start_page=" + startpage + "&page_count=" + pagecount + "&camera_id=" + job;
+                //发送请求
+                HttpClient httpClient = new HttpClient(URL);
+                httpClient.setHttps(false);
+                httpClient.get();
+                String content = httpClient.getContent();
+
+                JSONObject jsonObject = JSONObject.parseObject(content);
+                JSONObject dataJo = jsonObject.getJSONObject("data");
+                JSONArray listJa = dataJo.getJSONArray("list");//获取所有的数据
+                System.out.println("返回数量: " + listJa.size());
+                //统计所有的数据,进行循环处理。通过比较时间,获得链表长度
+                List<Integer> count_total_passrecord = new ArrayList();
+                for (Object object : listJa) {
+                    Map<String, Object> maps = new HashMap<String, Object>();
+                    maps.putAll((Map<? extends String, ?>) object);
+                    //获取时间,拿到单条数据时间用于下面的比对
+                    Long getDataTime = (Long) maps.get("time");
+                    Date date = new Date();
+                    Date passda = new Date();
+                    if (modo == 1) {
+                        passda = DateUtils.getPassedDay();
+                        System.out.println("过去一天" + passda);
+                    } else if (modo == 2) {
+                        passda = DateUtils.getPassedWeek();
+                        System.out.println("过去一周" + passda);
+                    } else if (modo == 3) {
+                        passda = DateUtils.getPassedMonth();
+                        System.out.println("过去一月" + passda);
+                    }
+                    //获取当前的时间,直接对时间戳进行比较
+                    Date datee = new Date(getDataTime);
+                    if (datee.getTime() > passda.getTime()) {
+                        count_total_passrecord.add(1);
+                    }
+                    System.out.println(date);
+                }
+                Map map = new HashMap();
+                map.put(cameraAddress, count_total_passrecord.size());
+                countlist01.add(map);
+            }
+            return countlist01;
+        }
+
+
+        //2.陌生人
+        while (it.hasNext()) {
+            int job = Integer.parseInt((String) it.next());
+            System.out.println("数值" + job);
+            //摄像机位置
+            String cameraAddress = camerasRepository.findByIdtest(job).getCameraAddress();
+            System.out.println("查询地址结束");
+
+            //统计所有的数据,进行循环处理。通过比较时间,获得链表长度
+            List<Integer> count_stranger_passrecord = new ArrayList();
+            //统计陌生人
+            List<List<Object>> findbycameras = strangerModelsRepository.findbycameras(job);
+            for (List<Object> list : findbycameras) {
+                System.out.println(list.get(0));  //1616579737356
+
+                Long time = Long.valueOf(list.get(0).toString());
+
+                Date passda = new Date();
+                if (modo == 1) {
+                    passda = DateUtils.getPassedDay();
+                    System.out.println("过去一天" + passda);
+                } else if (modo == 2) {
+                    passda = DateUtils.getPassedWeek();
+                    System.out.println("过去一周" + passda);
+                } else if (modo == 3) {
+                    passda = DateUtils.getPassedMonth();
+                    System.out.println("过去一月" + passda);
+                }
+                //陌生人的人数
+                //获取当前的时间,直接对时间戳进行比较
+                Date datee = new Date(time);
+                if (datee.getTime() > passda.getTime()) {
+                    count_stranger_passrecord.add(1);
+                }
+            }
+            Map map = new HashMap();
+            map.put(cameraAddress, count_stranger_passrecord.size());
+            countlist01.add(map);
+        }
+        return countlist01;
+    }
+}
+
+
+
+
+
+
+
+
+
+
+
+/*
+        //单个摄像头通行记录 过去一天   过去一周    过去一个月   写死版本  淘汰
+        @RequestMapping("/pass_records1")
+        public List<Map> list12 (HttpServletRequest request,
+        @RequestParam(name = "modo") int modo,//1.天    2.周   3.月
+        @RequestParam(name = "_t") String _t,
+        @RequestParam(name = "start_page") int startpage,
+        @RequestParam(name = "page_count") int pagecount,
+        @RequestParam(name = "camera_id") int cameraid
+        // @RequestParam(name = "date") String date
+    ) throws Exception {
+
+            List<Map> countlist01 = new ArrayList();
+            List<Integer> countlist02 = new ArrayList();
+            countlist02.add(1);
+            countlist02.add(3);
+            countlist02.add(4);
+            countlist02.add(6);
+            countlist02.add(7);
+            for (Integer i : countlist02) {
+
+
+                Map map = new HashMap();
+                pagecount = 5;
+                String URL = "http://36.26.62.70:10081/api/pass_records?_t=" + _t + "&start_page=" + startpage + "&page_count=" + pagecount + "&camera_id=" + i;
+
+                //发送请求
+                HttpClient httpClient = new HttpClient(URL);
+                httpClient.setHttps(false);
+                httpClient.get();
+                String content = httpClient.getContent();
+
+                JSONObject jsonObject = JSONObject.parseObject(content);
+                JSONObject dataJo = jsonObject.getJSONObject("data");
+                JSONArray listJa = dataJo.getJSONArray("list");
+                System.out.println("返回数量: " + listJa.size());
+                //统计  所有的数据      进行循环处理
+                List<Integer> countlist = new ArrayList();
+                for (Object object : listJa) {
+                    Map<String, Object> maps = new HashMap<String, Object>();
+                    maps.putAll((Map<? extends String, ?>) object);
+                    //获取时间
+                    Long time = (Long) maps.get("time");
+                    String longToStr = Long.toString(time);
+                    Date date = new Date();
+                    Date passda = new Date();
+                    if (modo == 1) {
+                        passda = DateUtils.getPassedDay();
+                        System.out.println("过去一天" + passda);
+                    } else if (modo == 2) {
+                        passda = DateUtils.getPassedWeek();
+                        System.out.println("过去一周" + passda);
+                    } else if (modo == 3) {
+                        passda = DateUtils.getPassedMonth();
+                        System.out.println("过去一月" + passda);
+                    }
+                    //直接对时间戳进行比较
+                    Date datee = new Date(time);//获取的时间
+                    if (datee.getTime() > passda.getTime()) {
+                        countlist.add(1);
+                    }
+                    System.out.println(date);
+                    System.out.println(time);
+                }
+                //  System.out.println(content);
+                switch (i) {
+                    case 1:
+                        map.put("产房过道西", countlist.size());//1
+                        break;
+                    case 3:
+                        map.put("产房外入口", countlist.size());//3
+                        break;
+                    case 4:
+                        map.put("产房淋浴出口", countlist.size());//4
+                        break;
+                    case 6:
+                        map.put("产房区产房过道中", countlist.size());//6
+                        break;
+                    case 7:
+                        map.put("怀配四单元中间过道", countlist.size());//7
+                        break;
+                }
+                countlist01.add(map);
+            }
+            return countlist01;
+        }*/
+
+
+
+
+

+ 34 - 0
huimv-face/src/main/java/com/huimv/face/controller/PassCountController.java

@@ -0,0 +1,34 @@
+package com.huimv.face.controller;
+
+
+
+import org.springframework.web.bind.annotation.CrossOrigin;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+import java.util.Map;
+
+@RestController
+@RequestMapping("/api")
+@CrossOrigin
+public class PassCountController {
+    //没有在使用
+  /*  //
+    @RequestMapping("/pass_records")
+    public  String getdate(HttpServletRequest request,
+                        @RequestParam(name = "_t")  Integer temp,
+                        @RequestParam(name = "start_page")  Integer startpage,
+                        @RequestParam(name = "page_count")  Integer pagecount,
+                        @RequestParam(name = "camera_id")  Integer cameraid
+
+    ) throws Exception {
+        String URL ="http://36.26.62.70:10081/api/pass_records?_t=1619681424012&start_page=1&page_count=30&camera_id=1";
+        HttpClient httpClient = new HttpClient(URL);
+        httpClient.setHttps(false);
+        httpClient.get();
+        String cont = httpClient.getContent();
+        System.out.println(cont);
+      //  http://36.26.62.70:10081/api/pass_records?_t=1619681424012&start_page=1&page_count=30&camera_id=1
+        return  null;
+    }
+*/
+}

+ 234 - 0
huimv-face/src/main/java/com/huimv/face/controller/PeopleManagementController.java

@@ -0,0 +1,234 @@
+package com.huimv.face.controller;
+
+
+import com.alibaba.fastjson.JSONObject;
+import com.huimv.face.entity.Personnels;
+import com.huimv.face.repo.GroupsRepository;
+import com.huimv.face.repo.PersonnelsRepository;
+import com.huimv.face.util.HttpClient;
+import com.huimv.face.util.Result;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.CrossOrigin;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RequestParam;
+import org.springframework.web.bind.annotation.RestController;
+import org.springframework.web.multipart.MultipartFile;
+import javax.servlet.http.HttpServletRequest;
+import java.util.HashMap;
+import java.util.Map;
+
+
+@RestController
+@RequestMapping("/api")
+@CrossOrigin
+public class PeopleManagementController {
+    @Autowired
+    private GroupsRepository groupsRepository;
+
+
+
+    /**
+     * @param request
+     * @param name    参数格式: form data
+     * @return 添加人员的接口
+     * @throws Exception
+     */
+    @RequestMapping("/updatepersion")
+    public Result addgroupspeople11(HttpServletRequest request,
+                                   @RequestParam(name = "group_id") String group_id,
+                                   @RequestParam(name = "name") String name,
+                                   @RequestParam(name = "photo") MultipartFile photo,
+                                   @RequestParam(name = "idcard") String  idcard,
+                                    @RequestParam(name = "id") Integer id
+    ) throws Exception {
+
+        String URL03 = "http://36.26.62.70:10081/api/fr/personnels/"+id;
+        HttpClient httpClient = new HttpClient(URL03);
+        httpClient.setHttps(false);
+
+        String content = httpClient.doDelete(URL03);
+        JSONObject jsonObject = JSONObject.parseObject(content);
+        System.out.println("删除成功了"+jsonObject);
+        System.out.println(name);
+
+        String URL = "http://36.26.62.70:10081/api/fr/personnels";
+        System.out.println(URL);
+        //发送请求
+        HttpClient httpClient1 = new HttpClient(URL);
+        httpClient1.setHttps(false);
+        Map<String ,String> parammap = new HashMap();
+        Map<String ,String> header = new HashMap();
+        parammap.put("idcard", idcard);
+        parammap.put("group_id", group_id);
+        parammap.put("name", name);
+        //放在header不行的
+        String content1 = httpClient.httpClientUploadFilePost(URL, photo, header,parammap);
+        JSONObject jsonObject1 = JSONObject.parseObject(content1);
+        System.out.println("添加底库");
+        return new Result(10000, "添加成功", jsonObject1);
+    }
+
+
+
+
+
+
+
+
+    /**
+     * @param request
+     * @param name    参数格式: form data
+     * @return 添加人员的接口     修改有问题,金铭系统有bug 只能删除再添加,在这个接口一并处理掉
+     * @throws Exception
+     */
+    @RequestMapping("/addpersion")
+    public Result addgroupspeople1(HttpServletRequest request,
+                                   @RequestParam(name = "group_id") String group_id,
+                                   @RequestParam(name = "name") String name,
+                                   @RequestParam(name = "photo") MultipartFile photo,
+                                   @RequestParam(name = "idcard") String  idcard,
+                                  @RequestParam(name = "id",required = false) Integer id
+    ) throws Exception {
+        System.out.println(id);
+
+if(id!=null){
+
+    //执行删除
+    String URL03 = "http://36.26.62.70:10081/api/fr/personnels/"+id;
+    HttpClient httpClient = new HttpClient(URL03);
+    httpClient.setHttps(false);
+    String content = httpClient.doDelete(URL03);
+    JSONObject jsonObject = JSONObject.parseObject(content);
+    System.out.println("删除成功了"+jsonObject);
+    System.out.println(name);
+}
+        String URL = "http://36.26.62.70:10081/api/fr/personnels";
+        System.out.println(URL);
+        //发送请求
+        HttpClient httpClient = new HttpClient(URL);
+        httpClient.setHttps(false);
+        Map<String ,String> parammap = new HashMap();
+        Map<String ,String> header = new HashMap();
+        parammap.put("idcard", idcard);
+        parammap.put("group_id", group_id);
+        parammap.put("name", name);
+        //放在header不行的
+        String content = httpClient.httpClientUploadFilePost(URL, photo, header,parammap);
+        JSONObject jsonObject = JSONObject.parseObject(content);
+        System.out.println("添加底库");
+        return new Result(10000, "添加成功", jsonObject);
+    }
+
+
+
+
+
+    /**
+     * @param request
+     * @return 添加底库
+     * @throws Exception
+     */
+    @RequestMapping("/fr/groups")
+    public Result addgroupspeople(HttpServletRequest request,
+                                  @RequestParam(name = "name") String name
+    ) throws Exception {
+        System.out.println(name);
+        String URL = "http://36.26.62.70:10081/api/fr/groups";
+        System.out.println(URL);
+        //发送请求
+        HttpClient httpClient = new HttpClient(URL);
+        httpClient.setHttps(false);
+        httpClient.addParameter("name", name);
+        httpClient.post();
+        String content = httpClient.getContent();
+        JSONObject jsonObject = JSONObject.parseObject(content);
+        System.out.println("添加底库");
+        return new Result(10000, "添加成功", jsonObject);
+        /* public HttpClient(String url, Map<String, String> param) {
+            this.url = url;
+            this.param = param;
+        }*/
+
+    }
+
+
+
+
+
+
+    /**
+     * @param request
+     * @return 删除人员
+     * @throws Exception
+     */
+    @RequestMapping("/deleteperson")
+    public Result deletgroupspeople(HttpServletRequest request,
+                                    @RequestParam(name = "id") int id
+    ) throws Exception {
+
+        String URL03 = "http://36.26.62.70:10081/api/fr/personnels/"+id;
+        HttpClient httpClient = new HttpClient(URL03);
+        httpClient.setHttps(false);
+
+        String content = httpClient.doDelete(URL03);
+        JSONObject jsonObject = JSONObject.parseObject(content);
+        System.out.println("/flow/statistic**请求成功");
+
+
+
+        System.out.println("删除人员");
+        return new Result(10000, "删除人员成功",jsonObject);
+    }
+
+
+
+    /**
+     * @param request
+     * @return 列出底库所有人员
+     * @throws Exception
+     */
+    @RequestMapping("/fr/personnels")
+    public Result listgroupspeople(HttpServletRequest request,
+                                   @RequestParam(name = "group_id", required = false) String group_id,
+                                   @RequestParam(name = "start_page", required = false) String start_page,
+                                   @RequestParam(name = "page_count", required = false) String page_count
+    ) throws Exception {
+        System.out.println(group_id);
+        String URL = "http://36.26.62.70:10081/api/fr/personnels?start_page=" + start_page + "page_count=" + page_count + "group_id=" + group_id;
+        System.out.println(URL);
+        //发送请求
+        HttpClient httpClient = new HttpClient(URL);
+        httpClient.setHttps(false);
+        httpClient.get();
+        String content = httpClient.getContent();
+        JSONObject jsonObject = JSONObject.parseObject(content);
+        System.out.println("列出底库所有人");
+        return new Result(10000, "列出底库成功", jsonObject);
+    }
+
+
+    /**
+     * @param request
+     * @return 列出所有底库   需要分页功能
+     * @throws Exception
+     */
+    @RequestMapping("/groups")
+    public Result getdate11(HttpServletRequest request,
+                            @RequestParam(name = "start_page") int start_page,
+                            @RequestParam(name = "page_count") int page_count
+    ) throws Exception {
+
+        System.out.println(start_page);
+        System.out.println(page_count);
+        String URL = "http://36.26.62.70:10081/api/fr/groups?start_page=" + start_page + "page_count=" + page_count;
+        System.out.println(URL);
+        //发送请求
+        HttpClient httpClient = new HttpClient(URL);
+        httpClient.setHttps(false);
+        httpClient.get();
+        String content = httpClient.getContent();
+        JSONObject jsonObject = JSONObject.parseObject(content);
+        System.out.println("查询底库");
+        return new Result(10000, "查询底库成功", jsonObject);
+    }
+}

+ 112 - 0
huimv-face/src/main/java/com/huimv/face/controller/SelectCameraController.java

@@ -0,0 +1,112 @@
+package com.huimv.face.controller;
+
+import com.alibaba.fastjson.JSONArray;
+import com.huimv.face.entity.Cameras;
+import com.huimv.face.entity.SelectCamera;
+import com.huimv.face.repo.CamerasRepository;
+import com.huimv.face.repo.SelectCameraRepository;
+import com.huimv.face.util.Result;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.CrossOrigin;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RequestParam;
+import org.springframework.web.bind.annotation.RestController;
+import javax.servlet.http.HttpServletRequest;
+import java.util.*;
+
+
+@RestController
+@RequestMapping("/api")
+@CrossOrigin
+public class SelectCameraController {
+
+    @Autowired
+    CamerasRepository camerasRepository;
+
+
+    @Autowired
+    private SelectCameraRepository selectCameraRepository;
+
+    //对于陌生人有确认记录  需要直接操作数据库
+    @RequestMapping("/ste_cameras")
+    public Result getdate(HttpServletRequest request,
+                          @RequestParam(name = "camera")  String[] cameras,
+                          @RequestParam(name = "remark") String remark
+    ) throws Exception {
+        //直接查 ID =1  存储的时设备列表数据
+        SelectCamera selectCamera  =selectCameraRepository.selectid1();
+        String camer = new JSONArray(Arrays.asList(cameras)).toJSONString();
+        List<String> list = Arrays.asList(cameras);
+        //list转Array
+        System.out.println("存储的相机数组为"+list);
+        selectCamera.setCamera(camer);
+        selectCamera.setRemark(remark);
+        selectCameraRepository.save(selectCamera);
+        return new Result(10000, "确认成功", selectCamera);
+    }
+
+
+
+    /**
+     *
+     * @param request
+     * @return  列出所有相机
+     * @throws Exception
+     */
+    @RequestMapping("/cameras")
+    public Result getdate1(HttpServletRequest request
+    ) throws Exception {
+        List<Cameras> list = camerasRepository.findAll();
+        List<Map> countlist = new ArrayList();
+        for (Cameras cameras : list) {
+            String location = cameras.getLocation();
+            String camera_address = cameras.getCameraAddress();
+            int deviceid = cameras.getId();
+            Map map = new HashMap();
+            map.put("location", location);
+            map.put("camera_address", camera_address);
+            map.put("deviceid", deviceid);
+            countlist.add(map);
+        }
+        return new Result(10000, "查询成功", countlist);
+    }
+
+
+
+   /* //列出所有的摄像头,修改升级,直接查数据库
+    @RequestMapping("/cameras")
+    public Result getdate1(HttpServletRequest request,
+                           @RequestParam(name = "_t") String _t
+    ) throws Exception {
+        String URL ="http://36.26.62.70:10081/api/cameras?_t="+_t;
+        HttpClient httpClient = new HttpClient(URL);
+        httpClient.setHttps(false);
+        httpClient.get();
+        String content = httpClient.getContent();
+        JSONObject   jsonObject = JSONObject.parseObject(content);
+        //取第一层中的data //json字符串
+        System.out.println(_t);
+        System.out.println(content);
+
+        JSONArray listJa = jsonObject.getJSONArray("data");
+        List<Map> countlist = new ArrayList();
+        for (Object object : listJa) {
+            Map<String, Object> maps = new HashMap<String, Object>();
+            //对象全部装到map里
+            maps.putAll((Map<? extends String, ?>) object);
+            //获取时间
+            String location = (String) maps.get("location");
+            String camera_address = (String) maps.get("camera_address");
+            String deviceid = (String) maps.get("deviceid");
+            String  camera_id = deviceid.substring( deviceid.length()-1,  deviceid.length()-0);
+            Map map = new HashMap( );
+            map.put("location", location  );
+            map.put("camera_id", camera_id  );
+            map.put("camera_address", camera_address  );
+            map.put("deviceid", deviceid  );
+            countlist.add(map);
+        }
+        return new Result(10000, "查询成功" ,countlist);
+    }*/
+
+}

+ 90 - 0
huimv-face/src/main/java/com/huimv/face/controller/StrangerController.java

@@ -0,0 +1,90 @@
+package com.huimv.face.controller;
+
+
+import com.huimv.face.entity.StrangerModels;
+import com.huimv.face.repo.StrangerModelsRepository;
+import com.huimv.face.util.Result;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.CrossOrigin;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RequestParam;
+import org.springframework.web.bind.annotation.RestController;
+
+import javax.servlet.http.HttpServletRequest;
+import java.util.*;
+
+
+@RestController
+@RequestMapping("/api")
+@CrossOrigin
+public class StrangerController {
+
+    @Autowired
+    private StrangerModelsRepository strangerModelsRepository;
+
+    //对于陌生人有确认记录  需要直接操作数据库
+    @RequestMapping("/ensure")
+    public Result getdate(HttpServletRequest request,
+                          @RequestParam(name = "id") String id
+
+    ) throws Exception {
+        System.out.println("查询" + id);
+        StrangerModels strangerModels = strangerModelsRepository.findByIdtest(id);
+        strangerModels.setImageId("1");
+        strangerModelsRepository.save(strangerModels);
+        return new Result(10000, "确认成功", strangerModels);
+    }
+
+
+    //测试传入数组来进行更改 这个
+    @RequestMapping("/stranger")
+    public Result getdate1(HttpServletRequest request,
+                           @RequestParam(name = "cameraid") int id
+    ) throws Exception {
+        List<List<Object>> findbycameras = strangerModelsRepository.findStrangerpass(id);
+        Map<String, Object> map = new HashMap();
+        //System.out.println(findbycameras);
+        List<Map> result_Map = new ArrayList<>();
+        List<String> time = new ArrayList<>();
+        List<Integer> total_number = new ArrayList<>(24);
+        Map<Integer, Integer> map1 = new HashMap<>();
+        for (int i = 0; i < 24; i++) {
+            map1.put(i, 0);
+        }
+        for (int i = 0; i < 24; i++) {
+            String format = String.format("%02d", i);
+            String time01 = format + ":00";   //06:00
+            for (List<Object> findbycameraList : findbycameras) {   //  7-8  9-56  10-36
+                String hour = (String) findbycameraList.get(2);
+                int strToInt = Integer.parseInt(hour);
+                if (i == strToInt) {    //7    //9    /10
+                    String ee = String.valueOf(findbycameraList.get(1));
+                    int num = Integer.parseInt(ee);
+                    map1.put(i, num);
+                }
+            }
+            time.add(time01);
+        }
+        map.put("time", time);
+        for (int i = 0; i < 24; i++) {
+            Integer integer = map1.get(i);
+            total_number.add(integer);
+        }
+        map.put("data", total_number);
+        result_Map.add(map);
+        return new Result(10000, "成功", result_Map);
+    }
+}
+
+
+
+
+
+
+
+
+
+
+
+
+

+ 0 - 74
huimv-face/src/main/java/com/huimv/face/entity/BetPlayerDetailModels.java

@@ -1,74 +0,0 @@
-package com.huimv.face.entity;
-
-import lombok.Data;
-
-import javax.persistence.Column;
-import javax.persistence.Entity;
-import javax.persistence.Table;
-import java.io.Serializable;
-
-@Data
-@Entity
-@Table(name = "bet_player_detail_models")
-public class BetPlayerDetailModels implements Serializable {
-
-    private static final long serialVersionUID = 1L;
-
-    @Column(name = "create_time", nullable = false)
-    private Long createTime;
-
-    @Column(name = "bet_player_id", nullable = false)
-    private String betPlayerId;
-
-    @Column(name = "face")
-    private String face;
-
-    @Column(name = "background")
-    private String background;
-
-    @Column(name = "camera_name")
-    private String cameraName;
-
-    @Column(name = "camera_id")
-    private Integer cameraId;
-
-    @Column(name = "task_id")
-    private Integer taskId;
-
-    @Column(name = "standing")
-    private Integer standing;
-
-    @Column(name = "angle_group")
-    private Integer angleGroup;
-
-    @Column(name = "quality")
-    private Double quality;
-
-    @Column(name = "feature")
-    private byte[] feature;
-
-    @Column(name = "attractive")
-    private Double attractive;
-
-    @Column(name = "l2_norm")
-    private Double l2Norm;
-
-    @Column(name = "liveness")
-    private Double liveness;
-
-    @Column(name = "liveness_ex")
-    private Double livenessEx;
-
-    @Column(name = "sorce_in_face_db")
-    private Double sorceInFaceDb;
-
-    @Column(name = "sorce_in_table_db")
-    private Double sorceInTableDb;
-
-    @Column(name = "face_in_face_db")
-    private String faceInFaceDb;
-
-    @Column(name = "face_in_table_db")
-    private String faceInTableDb;
-
-}

+ 0 - 68
huimv-face/src/main/java/com/huimv/face/entity/BetPlayerFeatureData.java

@@ -1,68 +0,0 @@
-package com.huimv.face.entity;
-
-import lombok.Data;
-
-import javax.persistence.*;
-import java.io.Serializable;
-
-@Data
-@Entity
-@Table(name = "bet_player_feature_data")
-public class BetPlayerFeatureData implements Serializable {
-
-    private static final long serialVersionUID = 1L;
-
-    @Id
-    @Column(name = "id", nullable = false)
-    @GeneratedValue(strategy = GenerationType.IDENTITY)
-    private Integer id;
-
-    @Column(name = "image_id")
-    private String imageId;
-
-    @Column(name = "timestamp")
-    private Long timestamp;
-
-    @Column(name = "camera_name")
-    private String cameraName;
-
-    @Column(name = "quality")
-    private Double quality;
-
-    @Column(name = "feature")
-    private byte[] feature;
-
-    @Column(name = "pitch")
-    private Double pitch;
-
-    @Column(name = "roll")
-    private Double roll;
-
-    @Column(name = "yaw")
-    private Double yaw;
-
-    @Column(name = "confidence")
-    private Double confidence;
-
-    @Column(name = "attractive")
-    private Double attractive;
-
-    @Column(name = "l2_norm")
-    private Double l2Norm;
-
-    @Column(name = "liveness")
-    private Double liveness;
-
-    @Column(name = "liveness_ex")
-    private Double livenessEx;
-
-    @Column(name = "face_image")
-    private String faceImage;
-
-    @Column(name = "back_ground_image")
-    private String backGroundImage;
-
-    @Column(name = "angle")
-    private Integer angle;
-
-}

+ 0 - 58
huimv-face/src/main/java/com/huimv/face/entity/BetPlayerModels.java

@@ -1,58 +0,0 @@
-package com.huimv.face.entity;
-
-import lombok.Data;
-
-import javax.persistence.Column;
-import javax.persistence.Entity;
-import javax.persistence.Id;
-import javax.persistence.Table;
-import java.io.Serializable;
-
-@Data
-@Entity
-@Table(name = "bet_player_models")
-public class BetPlayerModels implements Serializable {
-
-    private static final long serialVersionUID = 1L;
-
-    @Id
-    @Column(name = "id", nullable = false)
-    private String id;
-
-    @Column(name = "task_id")
-    private Integer taskId;
-
-    @Column(name = "create_time", nullable = false)
-    private Long createTime;
-
-    @Column(name = "update_time", nullable = false)
-    private Long updateTime;
-
-    @Column(name = "last_face")
-    private String lastFace;
-
-    @Column(name = "last_bg")
-    private String lastBg;
-
-    @Column(name = "last_julong_event_id")
-    private String lastJulongEventId;
-
-    @Column(name = "face_count")
-    private Long faceCount;
-
-    @Column(name = "avg_age")
-    private Double avgAge;
-
-    @Column(name = "avg_gender")
-    private Double avgGender;
-
-    @Column(name = "feature_count_list")
-    private byte[] featureCountList;
-
-    @Column(name = "feature_detail_list")
-    private byte[] featureDetailList;
-
-    @Column(name = "face_list")
-    private byte[] faceList;
-
-}

+ 268 - 0
huimv-face/src/main/java/com/huimv/face/entity/Cameras.java

@@ -113,4 +113,272 @@ public class Cameras implements Serializable {
     @Column(name = "roi")
     private String roi;
 
+
+    public static long getSerialVersionUID() {
+        return serialVersionUID;
+    }
+
+    public Integer getId() {
+        return id;
+    }
+
+    public void setId(Integer id) {
+        this.id = id;
+    }
+
+    public Integer getType() {
+        return type;
+    }
+
+    public void setType(Integer type) {
+        this.type = type;
+    }
+
+    public Integer getVendor() {
+        return vendor;
+    }
+
+    public void setVendor(Integer vendor) {
+        this.vendor = vendor;
+    }
+
+    public String getDeviceId() {
+        return deviceId;
+    }
+
+    public void setDeviceId(String deviceId) {
+        this.deviceId = deviceId;
+    }
+
+    public String getSwitchName() {
+        return switchName;
+    }
+
+    public void setSwitchName(String switchName) {
+        this.switchName = switchName;
+    }
+
+    public String getSwitchIp() {
+        return switchIp;
+    }
+
+    public void setSwitchIp(String switchIp) {
+        this.switchIp = switchIp;
+    }
+
+    public Long getCreateTime() {
+        return createTime;
+    }
+
+    public void setCreateTime(Long createTime) {
+        this.createTime = createTime;
+    }
+
+    public Long getUpdateTime() {
+        return updateTime;
+    }
+
+    public void setUpdateTime(Long updateTime) {
+        this.updateTime = updateTime;
+    }
+
+    public String getLocation() {
+        return location;
+    }
+
+    public void setLocation(String location) {
+        this.location = location;
+    }
+
+    public Integer getGate() {
+        return gate;
+    }
+
+    public void setGate(Integer gate) {
+        this.gate = gate;
+    }
+
+    public String getUrl() {
+        return url;
+    }
+
+    public void setUrl(String url) {
+        this.url = url;
+    }
+
+    public Double getThreshold() {
+        return threshold;
+    }
+
+    public void setThreshold(Double threshold) {
+        this.threshold = threshold;
+    }
+
+    public Double getQuality() {
+        return quality;
+    }
+
+    public void setQuality(Double quality) {
+        this.quality = quality;
+    }
+
+    public String getGroups() {
+        return groups;
+    }
+
+    public void setGroups(String groups) {
+        this.groups = groups;
+    }
+
+    public String getTag() {
+        return tag;
+    }
+
+    public void setTag(String tag) {
+        this.tag = tag;
+    }
+
+    public String getLongitude() {
+        return longitude;
+    }
+
+    public void setLongitude(String longitude) {
+        this.longitude = longitude;
+    }
+
+    public String getLatitude() {
+        return latitude;
+    }
+
+    public void setLatitude(String latitude) {
+        this.latitude = latitude;
+    }
+
+    public String getMark() {
+        return mark;
+    }
+
+    public void setMark(String mark) {
+        this.mark = mark;
+    }
+
+    public String getIp() {
+        return ip;
+    }
+
+    public void setIp(String ip) {
+        this.ip = ip;
+    }
+
+    public String getPort() {
+        return port;
+    }
+
+    public void setPort(String port) {
+        this.port = port;
+    }
+
+    public String getUsername() {
+        return username;
+    }
+
+    public void setUsername(String username) {
+        this.username = username;
+    }
+
+    public String getPassword() {
+        return password;
+    }
+
+    public void setPassword(String password) {
+        this.password = password;
+    }
+
+    public String getCameraAddress() {
+        return cameraAddress;
+    }
+
+    public void setCameraAddress(String cameraAddress) {
+        this.cameraAddress = cameraAddress;
+    }
+
+    public Double getHumanTempUpper() {
+        return humanTempUpper;
+    }
+
+    public void setHumanTempUpper(Double humanTempUpper) {
+        this.humanTempUpper = humanTempUpper;
+    }
+
+    public Double getHumanTempLower() {
+        return humanTempLower;
+    }
+
+    public void setHumanTempLower(Double humanTempLower) {
+        this.humanTempLower = humanTempLower;
+    }
+
+    public Double getObjectTempLower() {
+        return objectTempLower;
+    }
+
+    public void setObjectTempLower(Double objectTempLower) {
+        this.objectTempLower = objectTempLower;
+    }
+
+    public Integer getSendSmartEventAlert() {
+        return sendSmartEventAlert;
+    }
+
+    public void setSendSmartEventAlert(Integer sendSmartEventAlert) {
+        this.sendSmartEventAlert = sendSmartEventAlert;
+    }
+
+    public String getFromEmail() {
+        return fromEmail;
+    }
+
+    public void setFromEmail(String fromEmail) {
+        this.fromEmail = fromEmail;
+    }
+
+    public String getFromPassword() {
+        return fromPassword;
+    }
+
+    public void setFromPassword(String fromPassword) {
+        this.fromPassword = fromPassword;
+    }
+
+    public String getToEmail() {
+        return toEmail;
+    }
+
+    public void setToEmail(String toEmail) {
+        this.toEmail = toEmail;
+    }
+
+    public String getTableInfo() {
+        return tableInfo;
+    }
+
+    public void setTableInfo(String tableInfo) {
+        this.tableInfo = tableInfo;
+    }
+
+    public String getTablePos() {
+        return tablePos;
+    }
+
+    public void setTablePos(String tablePos) {
+        this.tablePos = tablePos;
+    }
+
+    public String getRoi() {
+        return roi;
+    }
+
+    public void setRoi(String roi) {
+        this.roi = roi;
+    }
 }

+ 155 - 0
huimv-face/src/main/java/com/huimv/face/entity/Groups.java

@@ -71,4 +71,159 @@ public class Groups implements Serializable {
     @Column(name = "email_alert_unit")
     private Integer emailAlertUnit;
 
+    public static long getSerialVersionUID() {
+        return serialVersionUID;
+    }
+
+    public Integer getId() {
+        return id;
+    }
+
+    public void setId(Integer id) {
+        this.id = id;
+    }
+
+    public Long getCreateTime() {
+        return createTime;
+    }
+
+    public void setCreateTime(Long createTime) {
+        this.createTime = createTime;
+    }
+
+    public Long getUpdateTime() {
+        return updateTime;
+    }
+
+    public void setUpdateTime(Long updateTime) {
+        this.updateTime = updateTime;
+    }
+
+    public String getName() {
+        return name;
+    }
+
+    public void setName(String name) {
+        this.name = name;
+    }
+
+    public String getMark() {
+        return mark;
+    }
+
+    public void setMark(String mark) {
+        this.mark = mark;
+    }
+
+    public String getColor() {
+        return color;
+    }
+
+    public void setColor(String color) {
+        this.color = color;
+    }
+
+    public Integer getOnGpu() {
+        return onGpu;
+    }
+
+    public void setOnGpu(Integer onGpu) {
+        this.onGpu = onGpu;
+    }
+
+    public Integer getBroken() {
+        return broken;
+    }
+
+    public void setBroken(Integer broken) {
+        this.broken = broken;
+    }
+
+    public Integer getGroupType() {
+        return groupType;
+    }
+
+    public void setGroupType(Integer groupType) {
+        this.groupType = groupType;
+    }
+
+    public Boolean getSmsOn() {
+        return smsOn;
+    }
+
+    public void setSmsOn(Boolean smsOn) {
+        this.smsOn = smsOn;
+    }
+
+    public Integer getSmsInterval() {
+        return smsInterval;
+    }
+
+    public void setSmsInterval(Integer smsInterval) {
+        this.smsInterval = smsInterval;
+    }
+
+    public String getSmsPhones() {
+        return smsPhones;
+    }
+
+    public void setSmsPhones(String smsPhones) {
+        this.smsPhones = smsPhones;
+    }
+
+    public Integer getWallAlertRequired() {
+        return wallAlertRequired;
+    }
+
+    public void setWallAlertRequired(Integer wallAlertRequired) {
+        this.wallAlertRequired = wallAlertRequired;
+    }
+
+    public Integer getAlertEmail() {
+        return alertEmail;
+    }
+
+    public void setAlertEmail(Integer alertEmail) {
+        this.alertEmail = alertEmail;
+    }
+
+    public String getRecipient() {
+        return recipient;
+    }
+
+    public void setRecipient(String recipient) {
+        this.recipient = recipient;
+    }
+
+    public String getSender() {
+        return sender;
+    }
+
+    public void setSender(String sender) {
+        this.sender = sender;
+    }
+
+    public String getSenderPassword() {
+        return senderPassword;
+    }
+
+    public void setSenderPassword(String senderPassword) {
+        this.senderPassword = senderPassword;
+    }
+
+    public Integer getEmailAlertInterval() {
+        return emailAlertInterval;
+    }
+
+    public void setEmailAlertInterval(Integer emailAlertInterval) {
+        this.emailAlertInterval = emailAlertInterval;
+    }
+
+    public Integer getEmailAlertUnit() {
+        return emailAlertUnit;
+    }
+
+    public void setEmailAlertUnit(Integer emailAlertUnit) {
+        this.emailAlertUnit = emailAlertUnit;
+    }
 }

+ 0 - 29
huimv-face/src/main/java/com/huimv/face/entity/MailRecords.java

@@ -1,29 +0,0 @@
-package com.huimv.face.entity;
-
-import lombok.Data;
-
-import javax.persistence.Column;
-import javax.persistence.Entity;
-import javax.persistence.Table;
-import java.io.Serializable;
-
-@Data
-@Entity
-@Table(name = "mail_records")
-public class MailRecords implements Serializable {
-
-    private static final long serialVersionUID = 1L;
-
-    @Column(name = "to")
-    private String to;
-
-    @Column(name = "task_id")
-    private Integer taskId;
-
-    @Column(name = "create_time")
-    private Long createTime;
-
-    @Column(name = "personnel_id")
-    private Long personnelId;
-
-}

+ 0 - 32
huimv-face/src/main/java/com/huimv/face/entity/RecordAttrModels.java

@@ -1,32 +0,0 @@
-package com.huimv.face.entity;
-
-import lombok.Data;
-
-import javax.persistence.Column;
-import javax.persistence.Entity;
-import javax.persistence.Table;
-import java.io.Serializable;
-
-@Data
-@Entity
-@Table(name = "record_attr_models")
-public class RecordAttrModels implements Serializable {
-
-    private static final long serialVersionUID = 1L;
-
-    @Column(name = "create_time")
-    private Long createTime;
-
-    @Column(name = "camera_id")
-    private Integer cameraId;
-
-    @Column(name = "desc")
-    private String desc;
-
-    @Column(name = "value")
-    private String value;
-
-    @Column(name = "rid")
-    private Long rid;
-
-}

+ 53 - 0
huimv-face/src/main/java/com/huimv/face/entity/SelectCamera.java

@@ -0,0 +1,53 @@
+package com.huimv.face.entity;
+
+import lombok.Data;
+
+import javax.persistence.*;
+import java.io.Serializable;
+
+@Data
+@Entity
+@Table(name = "select_camera")
+public class SelectCamera implements Serializable {
+
+    private static final long serialVersionUID = 1L;
+
+    @Id
+    @Column(name = "id", nullable = false)
+    @GeneratedValue(strategy = GenerationType.IDENTITY)
+    private Integer id;
+
+    @Column(name = "camera")
+    private String camera;
+
+    @Column(name = "remark")
+    private String remark;
+
+    public static long getSerialVersionUID() {
+        return serialVersionUID;
+    }
+
+    public Integer getId() {
+        return id;
+    }
+
+    public void setId(Integer id) {
+        this.id = id;
+    }
+
+    public  String  getCamera() {
+        return camera;
+    }
+
+    public void setCamera(String camera) {
+        this.camera = camera;
+    }
+
+    public String getRemark() {
+        return remark;
+    }
+
+    public void setRemark(String remark) {
+        this.remark = remark;
+    }
+}

+ 0 - 65
huimv-face/src/main/java/com/huimv/face/entity/StrangerDetailModels.java

@@ -1,65 +0,0 @@
-package com.huimv.face.entity;
-
-import lombok.Data;
-
-import javax.persistence.Column;
-import javax.persistence.Entity;
-import javax.persistence.Table;
-import java.io.Serializable;
-
-@Data
-@Entity
-@Table(name = "stranger_detail_models")
-public class StrangerDetailModels implements Serializable {
-
-    private static final long serialVersionUID = 1L;
-
-    @Column(name = "create_time", nullable = false)
-    private Long createTime;
-
-    @Column(name = "stranger_id", nullable = false)
-    private String strangerId;
-
-    @Column(name = "face")
-    private String face;
-
-    @Column(name = "background")
-    private String background;
-
-    @Column(name = "camera_name")
-    private String cameraName;
-
-    @Column(name = "camera_id")
-    private Integer cameraId;
-
-    @Column(name = "gender")
-    private Integer gender;
-
-    @Column(name = "age")
-    private Integer age;
-
-    @Column(name = "julong_event_id")
-    private String julongEventId;
-
-    @Column(name = "task_id")
-    private Integer taskId;
-
-    @Column(name = "rect_left")
-    private Integer rectLeft;
-
-    @Column(name = "rect_top")
-    private Integer rectTop;
-
-    @Column(name = "rect_width")
-    private Integer rectWidth;
-
-    @Column(name = "rect_height")
-    private Integer rectHeight;
-
-    @Column(name = "top_n_in_group")
-    private byte[] topNInGroup;
-
-    @Column(name = "standing")
-    private Integer standing;
-
-}

+ 107 - 0
huimv-face/src/main/java/com/huimv/face/entity/StrangerModels.java

@@ -55,4 +55,111 @@ public class StrangerModels implements Serializable {
     @Column(name = "image_id")
     private String imageId;
 
+    public static long getSerialVersionUID() {
+        return serialVersionUID;
+    }
+
+    public String getId() {
+        return id;
+    }
+
+    public void setId(String id) {
+        this.id = id;
+    }
+
+    public Integer getTaskId() {
+        return taskId;
+    }
+
+    public void setTaskId(Integer taskId) {
+        this.taskId = taskId;
+    }
+
+    public Long getCreateTime() {
+        return createTime;
+    }
+
+    public void setCreateTime(Long createTime) {
+        this.createTime = createTime;
+    }
+
+    public Long getUpdateTime() {
+        return updateTime;
+    }
+
+    public void setUpdateTime(Long updateTime) {
+        this.updateTime = updateTime;
+    }
+
+    public String getLastFace() {
+        return lastFace;
+    }
+
+    public void setLastFace(String lastFace) {
+        this.lastFace = lastFace;
+    }
+
+    public String getLastBg() {
+        return lastBg;
+    }
+
+    public void setLastBg(String lastBg) {
+        this.lastBg = lastBg;
+    }
+
+    public String getLastJulongEventId() {
+        return lastJulongEventId;
+    }
+
+    public void setLastJulongEventId(String lastJulongEventId) {
+        this.lastJulongEventId = lastJulongEventId;
+    }
+
+    public Long getFaceCount() {
+        return faceCount;
+    }
+
+    public void setFaceCount(Long faceCount) {
+        this.faceCount = faceCount;
+    }
+
+    public Double getAvgAge() {
+        return avgAge;
+    }
+
+    public void setAvgAge(Double avgAge) {
+        this.avgAge = avgAge;
+    }
+
+    public Double getAvgGender() {
+        return avgGender;
+    }
+
+    public void setAvgGender(Double avgGender) {
+        this.avgGender = avgGender;
+    }
+
+    public Integer getFeatureCount() {
+        return featureCount;
+    }
+
+    public void setFeatureCount(Integer featureCount) {
+        this.featureCount = featureCount;
+    }
+
+    public Integer getVersideon() {
+        return versideon;
+    }
+
+    public void setVersideon(Integer versideon) {
+        this.versideon = versideon;
+    }
+
+    public String getImageId() {
+        return imageId;
+    }
+
+    public void setImageId(String imageId) {
+        this.imageId = imageId;
+    }
 }

+ 0 - 59
huimv-face/src/main/java/com/huimv/face/entity/VehicleAttrs.java

@@ -1,59 +0,0 @@
-package com.huimv.face.entity;
-
-import lombok.Data;
-
-import javax.persistence.*;
-import java.io.Serializable;
-
-@Data
-@Entity
-@Table(name = "vehicle_attrs")
-public class VehicleAttrs implements Serializable {
-
-    private static final long serialVersionUID = 1L;
-
-    @Column(name = "plate_type")
-    private String plateType;
-
-    @Column(name = "plate_color")
-    private String plateColor;
-
-    @Column(name = "vehicle_type")
-    private String vehicleType;
-
-    @Column(name = "vehicle_color")
-    private String vehicleColor;
-
-    @Column(name = "vehicle_logo")
-    private String vehicleLogo;
-
-    @Column(name = "vehicle_sublogo")
-    private String vehicleSublogo;
-
-    @Column(name = "vehicle_model")
-    private String vehicleModel;
-
-    @Id
-    @Column(name = "id", nullable = false)
-    @GeneratedValue(strategy = GenerationType.IDENTITY)
-    private Long id;
-
-    @Column(name = "create_time")
-    private Long createTime;
-
-    @Column(name = "background")
-    private String background;
-
-    @Column(name = "small")
-    private String small;
-
-    @Column(name = "camera_id")
-    private Integer cameraId;
-
-    @Column(name = "task_id")
-    private Integer taskId;
-
-    @Column(name = "camera_name")
-    private String cameraName;
-
-}

+ 0 - 9
huimv-face/src/main/java/com/huimv/face/repo/BetPlayerDetailModelsRepository.java

@@ -1,9 +0,0 @@
-package com.huimv.face.repo;
-
-import com.huimv.face.entity.BetPlayerDetailModels;
-import org.springframework.data.jpa.repository.JpaRepository;
-import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
-
-public interface BetPlayerDetailModelsRepository extends JpaRepository<BetPlayerDetailModels, Void>, JpaSpecificationExecutor<BetPlayerDetailModels> {
-
-}

+ 0 - 9
huimv-face/src/main/java/com/huimv/face/repo/BetPlayerFeatureDataRepository.java

@@ -1,9 +0,0 @@
-package com.huimv.face.repo;
-
-import com.huimv.face.entity.BetPlayerFeatureData;
-import org.springframework.data.jpa.repository.JpaRepository;
-import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
-
-public interface BetPlayerFeatureDataRepository extends JpaRepository<BetPlayerFeatureData, Integer>, JpaSpecificationExecutor<BetPlayerFeatureData> {
-
-}

+ 0 - 9
huimv-face/src/main/java/com/huimv/face/repo/BetPlayerModelsRepository.java

@@ -1,9 +0,0 @@
-package com.huimv.face.repo;
-
-import com.huimv.face.entity.BetPlayerModels;
-import org.springframework.data.jpa.repository.JpaRepository;
-import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
-
-public interface BetPlayerModelsRepository extends JpaRepository<BetPlayerModels, String>, JpaSpecificationExecutor<BetPlayerModels> {
-
-}

+ 5 - 0
huimv-face/src/main/java/com/huimv/face/repo/CamerasRepository.java

@@ -1,9 +1,14 @@
 package com.huimv.face.repo;
 
 import com.huimv.face.entity.Cameras;
+import com.huimv.face.entity.StrangerModels;
 import org.springframework.data.jpa.repository.JpaRepository;
 import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
+import org.springframework.data.jpa.repository.Query;
 
 public interface CamerasRepository extends JpaRepository<Cameras, Integer>, JpaSpecificationExecutor<Cameras> {
 
+    @Query(nativeQuery = true, value = "SELECT  * FROM cameras WHERE  id =?1 ")
+    Cameras findByIdtest(int  id);
+
 }

+ 0 - 9
huimv-face/src/main/java/com/huimv/face/repo/MailRecordsRepository.java

@@ -1,9 +0,0 @@
-package com.huimv.face.repo;
-
-import com.huimv.face.entity.MailRecords;
-import org.springframework.data.jpa.repository.JpaRepository;
-import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
-
-public interface MailRecordsRepository extends JpaRepository<MailRecords, Void>, JpaSpecificationExecutor<MailRecords> {
-
-}

+ 6 - 0
huimv-face/src/main/java/com/huimv/face/repo/PersonnelsRepository.java

@@ -1,9 +1,15 @@
 package com.huimv.face.repo;
 
+import com.huimv.face.entity.Cameras;
 import com.huimv.face.entity.Personnels;
 import org.springframework.data.jpa.repository.JpaRepository;
 import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
+import org.springframework.data.jpa.repository.Query;
 
 public interface PersonnelsRepository extends JpaRepository<Personnels, Long>, JpaSpecificationExecutor<Personnels> {
 
+
+    /*@Query(nativeQuery = true, value = "DELETE  FROM  personnels  WHERE  id =?1 ")
+          deleteByIdtest(int  id);*/
+
 }

+ 0 - 9
huimv-face/src/main/java/com/huimv/face/repo/RecordAttrModelsRepository.java

@@ -1,9 +0,0 @@
-package com.huimv.face.repo;
-
-import com.huimv.face.entity.RecordAttrModels;
-import org.springframework.data.jpa.repository.JpaRepository;
-import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
-
-public interface RecordAttrModelsRepository extends JpaRepository<RecordAttrModels, Void>, JpaSpecificationExecutor<RecordAttrModels> {
-
-}

+ 15 - 0
huimv-face/src/main/java/com/huimv/face/repo/SelectCameraRepository.java

@@ -0,0 +1,15 @@
+package com.huimv.face.repo;
+
+import com.huimv.face.entity.SelectCamera;
+import com.huimv.face.entity.StrangerModels;
+import org.springframework.data.jpa.repository.JpaRepository;
+import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
+import org.springframework.data.jpa.repository.Query;
+
+public interface SelectCameraRepository extends JpaRepository<SelectCamera, Integer>, JpaSpecificationExecutor<SelectCamera> {
+
+    @Query(nativeQuery = true, value = "SELECT  * FROM select_camera WHERE id = 1")
+    SelectCamera  selectid1( );
+
+
+}

+ 0 - 9
huimv-face/src/main/java/com/huimv/face/repo/StrangerDetailModelsRepository.java

@@ -1,9 +0,0 @@
-package com.huimv.face.repo;
-
-import com.huimv.face.entity.StrangerDetailModels;
-import org.springframework.data.jpa.repository.JpaRepository;
-import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
-
-public interface StrangerDetailModelsRepository extends JpaRepository<StrangerDetailModels, Void>, JpaSpecificationExecutor<StrangerDetailModels> {
-
-}

+ 21 - 0
huimv-face/src/main/java/com/huimv/face/repo/StrangerModelsRepository.java

@@ -1,9 +1,30 @@
 package com.huimv.face.repo;
 
+import com.huimv.face.entity.License;
 import com.huimv.face.entity.StrangerModels;
 import org.springframework.data.jpa.repository.JpaRepository;
 import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
+import org.springframework.data.jpa.repository.Query;
+
+import java.util.List;
 
 public interface StrangerModelsRepository extends JpaRepository<StrangerModels, String>, JpaSpecificationExecutor<StrangerModels> {
 
+
+   @Query(nativeQuery = true, value = "SELECT  * FROM stranger_models WHERE id =?1")
+    StrangerModels  findByIdtest( String id);
+
+
+    @Query(nativeQuery = true, value = "SELECT  * FROM stranger_detail_models WHERE  camera_id=?1")
+    List<List<Object>>  findbycameras (int id);
+
+    @Query(nativeQuery = true, value = "SELECT FROM_UNIXTIME(create_time/1000, '%Y-%m-%d %H:00:00') time_hour,COUNT(*) COUNT,FROM_UNIXTIME(create_time/1000, '%H') time_hour2 ,FROM_UNIXTIME(create_time/1000, '%d') time_hour3 \n" +
+            "FROM pass_records WHERE camera_id = ?1  AND FROM_UNIXTIME(create_time/1000) > DATE_FORMAT(CURDATE(),'%Y-%m-%d %H:%i:%s') GROUP BY FROM_UNIXTIME(create_time/1000, '%Y-%m-%d %H:00:00') \n" +
+            "ORDER BY FROM_UNIXTIME(create_time/1000, '%Y-%m-%d %H') DESC LIMIT 24")
+    List<List<Object>>  findStrangerpass (int id);
+
+   //只查时间在范围内的数据
+
+
+
 }

+ 0 - 9
huimv-face/src/main/java/com/huimv/face/repo/VehicleAttrsRepository.java

@@ -1,9 +0,0 @@
-package com.huimv.face.repo;
-
-import com.huimv.face.entity.VehicleAttrs;
-import org.springframework.data.jpa.repository.JpaRepository;
-import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
-
-public interface VehicleAttrsRepository extends JpaRepository<VehicleAttrs, Long>, JpaSpecificationExecutor<VehicleAttrs> {
-
-}

+ 11 - 0
huimv-face/src/main/java/com/huimv/face/service/StrangerModlesService.java

@@ -0,0 +1,11 @@
+package com.huimv.face.service;
+
+import com.huimv.face.entity.StrangerModels;
+
+import java.util.List;
+
+public interface StrangerModlesService {
+
+
+
+}

+ 6 - 0
huimv-face/src/main/java/com/huimv/face/service/impl/StrangerModlesImpl.java

@@ -0,0 +1,6 @@
+package com.huimv.face.service.impl;
+
+public class StrangerModlesImpl {
+
+
+}

+ 125 - 0
huimv-face/src/main/java/com/huimv/face/util/DateUtils.java

@@ -0,0 +1,125 @@
+package com.huimv.face.util;
+
+import java.text.SimpleDateFormat;
+import java.util.Calendar;
+import java.util.Date;
+
+/**
+ * 日期转换工具
+ * @author guojian
+ */
+public class DateUtils {
+
+	public static final String DATE_FORMAT = "yyyy-MM-dd";
+	public static final String DATE_FORMAT_NUMBER = "yyyyMMdd";
+	public static final String DATE_FORMAT_NUMBER_MONTH = "yyyyMM";
+
+	public static final String DATETIME_FORMAT = "yyyy-MM-dd HH:mm:ss";
+	public static final String TIME_FORMAT = "HH:mm:ss";
+
+	public static final String GREENWICH_TIME = "1970-01-01 00:00:00";
+
+	public static String formatDate(Date date, String pattern) {
+		SimpleDateFormat sdf = new SimpleDateFormat(pattern);
+		try {
+			return sdf.format(date);
+		} catch (Exception e) {
+			return null;
+		}
+	}
+
+
+	public static String stampToTime(String s) throws Exception{
+		String res;
+		SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
+		long lt = new Long(s);
+		//将时间戳转换为时间
+		Date date = new Date(lt);
+       //将时间调整为yyyy-MM-dd HH:mm:ss时间样式
+		res = simpleDateFormat.format(date);
+		return res;
+
+	}
+
+
+	public static Date parseDate(String dateStr, String pattern) {
+		SimpleDateFormat sdf = new SimpleDateFormat(pattern);
+		try {
+			return sdf.parse(dateStr);
+		} catch (Exception e) {
+			return null;
+		}
+	}
+
+	//过去一天
+	public static Date getPassedDay(){
+		Calendar c = Calendar.getInstance();
+		c.setTime(new Date());
+		c.add(Calendar.DATE, - 1);
+		return c.getTime();
+	}
+
+	//过去七天
+	public static Date getPassedWeek(){
+		SimpleDateFormat format = new SimpleDateFormat(DATETIME_FORMAT);
+		Calendar c = Calendar.getInstance();
+		c.setTime(new Date());
+		c.add(Calendar.DATE, - 7);
+		return c.getTime();
+	}
+
+	//过去三十天
+	public static Date getPassedMonth(){
+		Calendar c = Calendar.getInstance();
+		c.setTime(new Date());
+		c.add(Calendar.DATE, - 30);
+		return c.getTime();
+	}
+
+	//指定时间的周一
+	public static String getWeekFirstStr(Date time) {
+		SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd"); // 设置时间格式
+		return sdf.format(getThisWeekMonday(time));
+	}
+
+	//获取指定日期当月的第一天
+	public static String getMonthFirstStr(Date time){
+		SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
+		Calendar calendar = Calendar.getInstance();
+		calendar.setTime(time);
+		calendar.set(Calendar.DAY_OF_MONTH, 1);
+		calendar.add(Calendar.MONTH, 0);
+		return sdf.format(calendar.getTime());
+	}
+
+	public static Date geLastWeekMonday(Date date) {
+		Calendar cal = Calendar.getInstance();
+		cal.setTime(getThisWeekMonday(date));
+		cal.add(Calendar.DATE, -7);
+		return cal.getTime();
+	}
+
+	public static Date getNextWeekMonday(Date date) {
+		Calendar cal = Calendar.getInstance();
+		cal.setTime(getThisWeekMonday(date));
+		cal.add(Calendar.DATE, 7);
+		return cal.getTime();
+	}
+
+	public static Date getThisWeekMonday(Date date) {
+		Calendar cal = Calendar.getInstance();
+		cal.setTime(date);
+		// 获得当前日期是一个星期的第几天
+		int dayWeek = cal.get(Calendar.DAY_OF_WEEK);
+		if (1 == dayWeek) {
+			cal.add(Calendar.DAY_OF_MONTH, -1);
+		}
+		// 设置一个星期的第一天,按中国的习惯一个星期的第一天是星期一
+		cal.setFirstDayOfWeek(Calendar.MONDAY);
+		// 获得当前日期是一个星期的第几天
+		int day = cal.get(Calendar.DAY_OF_WEEK);
+		// 根据日历的规则,给当前日期减去星期几与一个星期第一天的差值
+		cal.add(Calendar.DATE, cal.getFirstDayOfWeek() - day);
+		return cal.getTime();
+	}
+}

+ 355 - 0
huimv-face/src/main/java/com/huimv/face/util/HttpClient.java

@@ -0,0 +1,355 @@
+package com.huimv.face.util;
+
+
+import org.apache.commons.collections.MapUtils;
+import org.apache.http.*;
+import org.apache.http.client.ClientProtocolException;
+import org.apache.http.client.config.RequestConfig;
+import org.apache.http.client.entity.UrlEncodedFormEntity;
+import org.apache.http.client.methods.*;
+import org.apache.http.conn.ssl.SSLConnectionSocketFactory;
+import org.apache.http.conn.ssl.TrustStrategy;
+import org.apache.http.entity.ContentType;
+import org.apache.http.entity.StringEntity;
+import org.apache.http.entity.mime.HttpMultipartMode;
+import org.apache.http.entity.mime.MultipartEntityBuilder;
+import org.apache.http.entity.mime.content.StringBody;
+import org.apache.http.impl.client.CloseableHttpClient;
+import org.apache.http.impl.client.HttpClients;
+import org.apache.http.message.BasicNameValuePair;
+import org.apache.http.protocol.HTTP;
+import org.apache.http.ssl.SSLContextBuilder;
+import org.apache.http.util.EntityUtils;
+import org.springframework.web.multipart.MultipartFile;
+import javax.net.ssl.SSLContext;
+import java.io.IOException;
+import java.nio.charset.Charset;
+import java.nio.charset.StandardCharsets;
+import java.security.cert.CertificateException;
+import java.security.cert.X509Certificate;
+import java.util.*;
+
+/*****
+ * @Author:  yangdi  hm
+ * @Description: entity
+ ****/
+public   class HttpClient {
+    private String url;
+    private Map<String, String> param;
+    private int statusCode;
+    private String content;
+    private String xmlParam;
+    private boolean isHttps;
+
+    public boolean isHttps() {
+        return isHttps;
+    }
+
+    public  void   setHttps(boolean isHttps) {
+        this.isHttps = isHttps;
+    }
+
+    public String getXmlParam() {
+        return xmlParam;
+    }
+
+    public void setXmlParam(String xmlParam) {
+        this.xmlParam = xmlParam;
+    }
+
+    public HttpClient(String url, Map<String, String> param) {
+        this.url = url;
+        this.param = param;
+    }
+
+
+
+    public HttpClient(String url) {
+        this.url = url;
+    }
+
+    public void setParameter(Map<String, String> map) {
+        param = map;
+    }
+
+
+
+    public void addParameter(String key, String value) {
+        if (param == null)
+            param = new HashMap<String, String>();
+        param.put(key, value);
+    }
+
+
+
+    public void post() throws ClientProtocolException, IOException {
+        HttpPost http = new HttpPost(url);
+        setEntity(http);
+        execute(http);
+    }
+
+    public void put() throws ClientProtocolException, IOException {
+        HttpPut http = new HttpPut(url);
+        setEntity(http);
+        execute(http);
+    }
+
+    public void get() throws ClientProtocolException, IOException {
+        if (param != null) {
+            StringBuilder url = new StringBuilder(this.url);
+            boolean isFirst = true;
+            for (String key : param.keySet()) {
+                if (isFirst) {
+                    url.append("?");
+                }else {
+                    url.append("&");
+                }
+                url.append(key).append("=").append(param.get(key));
+            }
+            this.url = url.toString();
+        }
+        HttpGet http = new HttpGet(url);
+        execute(http);
+    }
+
+    /**
+     * set http post,put param
+     */
+    private void setEntity(HttpEntityEnclosingRequestBase http) {
+        if (param != null) {
+            List<NameValuePair> nvps = new LinkedList<NameValuePair>();
+            for (String key : param.keySet()) {
+                nvps.add(new BasicNameValuePair(key, param.get(key))); // 参数
+            }
+            http.setEntity(new UrlEncodedFormEntity(nvps, Consts.UTF_8)); // 设置参数
+        }
+        if (xmlParam != null) {
+            http.setEntity(new StringEntity(xmlParam, Consts.UTF_8));
+        }
+    }
+
+    private void execute(HttpUriRequest http) throws ClientProtocolException,
+            IOException {
+        CloseableHttpClient httpClient = null;
+        try {
+            if (isHttps) {
+                SSLContext sslContext = new SSLContextBuilder()
+                        .loadTrustMaterial(null, new TrustStrategy() {
+                            // 信任所有
+                            @Override
+                            public boolean isTrusted(X509Certificate[] chain,
+                                                     String authType)
+                                    throws CertificateException {
+                                return true;
+                            }
+                        }).build();
+                SSLConnectionSocketFactory sslsf = new SSLConnectionSocketFactory(
+                        sslContext);
+                httpClient = HttpClients.custom().setSSLSocketFactory(sslsf)
+                        .build();
+            } else {
+                httpClient = HttpClients.createDefault();
+            }
+            CloseableHttpResponse response = httpClient.execute(http);
+            try {
+                if (response != null) {
+                    if (response.getStatusLine() != null) {
+                        statusCode = response.getStatusLine().getStatusCode();
+                    }
+                    HttpEntity entity = response.getEntity();
+                    // 响应内容
+                    content = EntityUtils.toString(entity, Consts.UTF_8);
+                }
+            } finally {
+                response.close();
+            }
+        } catch (Exception e) {
+            e.printStackTrace();
+        } finally {
+            httpClient.close();
+        }
+    }
+
+
+    public static String httpClientUploadFilePut(String url, MultipartFile file, Map<String, String> header,Map<String, String>  parma1) throws IOException {
+        CloseableHttpClient httpClient = HttpClients.createDefault();
+        String result = "";
+        try {
+
+            //HttpPost httpPost = new HttpPost(url);
+          HttpPut httpPut = new  HttpPut(url);
+            //请求头,women
+            if (MapUtils.isNotEmpty(header)) {
+                for (Map.Entry<String, String> entry : header.entrySet()) {
+                    httpPut.addHeader(entry.getKey(), entry.getValue());
+                }
+            }
+
+            MultipartEntityBuilder builder = MultipartEntityBuilder.create();
+            //设置文本字符编码为UTF-8
+            //中间是格式
+            //ContentType contentType= ContentType.create("application/x-www-form-urlencoded", Charset.forName("UTF-8"));
+            ContentType contentType = ContentType.create(HTTP.PLAIN_TEXT_TYPE, HTTP.UTF_8);
+            builder.setCharset(Charset.forName("utf-8"));
+            builder.setMode(HttpMultipartMode.BROWSER_COMPATIBLE);
+            builder.setCharset(StandardCharsets.UTF_8);
+            // 文件流  应该写成可以复用的工具类
+            //builder.addBinaryBody("photo",file.getBytes());
+            builder.addBinaryBody(file.getName(), file.getInputStream(), ContentType.MULTIPART_FORM_DATA, file.getName());// 文件流
+            System.out.println("获取文件成功");
+            //暂时无法封装成工具
+            String  group_id =parma1.get("group_id");
+            String  name =parma1.get("name");
+            String  idcard =parma1.get("idcard");
+            System.out.println("name="+parma1.get("name"));
+            builder.addTextBody("group_id", group_id);
+            builder.addTextBody("name",parma1.get("name"),contentType);
+            builder.addTextBody("idcard",idcard);
+
+            System.out.println(builder.toString());
+            HttpEntity entity = builder.build();
+            httpPut.setEntity(entity);
+            // 执行提交
+            HttpResponse response = httpClient.execute(httpPut);
+            HttpEntity responseEntity = response.getEntity();
+            if (responseEntity != null) {
+                // 将响应内容转换为字符串
+                result = EntityUtils.toString(responseEntity, StandardCharsets.UTF_8);
+            }
+        } catch (Exception e) {
+            System.out.println("baocuo");
+        } finally {
+            try {
+                httpClient.close();
+
+            } catch (IOException e) {
+                System.out.println("baocu");
+            }
+        }
+        return result;
+    }
+
+
+    public static String doDelete(String url) {
+
+        CloseableHttpClient httpClient = HttpClients.createDefault();
+        HttpDelete httpDelete = new HttpDelete(url);
+        RequestConfig requestConfig = RequestConfig.custom().setConnectTimeout(35000).setConnectionRequestTimeout(35000).setSocketTimeout(60000).build();
+        httpDelete.setConfig(requestConfig);
+        httpDelete.setHeader("Content-type", "application/json");
+        httpDelete.setHeader("DataEncoding", "UTF-8");
+       // httpDelete.setHeader("token", token);
+
+        CloseableHttpResponse httpResponse = null;
+        try {
+            httpResponse = httpClient.execute(httpDelete);
+            HttpEntity entity = httpResponse.getEntity();
+            String result = EntityUtils.toString(entity);
+            return result;
+        } catch (ClientProtocolException e) {
+            // TODO Auto-generated catch block
+            e.printStackTrace();
+        } catch (IOException e) {
+            // TODO Auto-generated catch block
+            e.printStackTrace();
+        } finally {
+            if (httpResponse != null) {
+                try {
+                    httpResponse.close();
+                } catch (IOException e) {
+                    // TODO Auto-generated catch block
+                    e.printStackTrace();
+                }
+            }
+            if (null != httpClient) {
+                try {
+                    httpClient.close();
+                } catch (IOException e) {
+                    e.printStackTrace();
+                }
+            }
+        }
+        return null;
+    }
+
+
+
+
+
+
+
+
+    public static String httpClientUploadFilePost(String url, MultipartFile file, Map<String, String> header,Map<String, String>  parma1) throws IOException {
+        CloseableHttpClient httpClient = HttpClients.createDefault();
+        String result = "";
+        try {
+
+            HttpPost httpPost = new HttpPost(url);
+            //请求头,women
+            if (MapUtils.isNotEmpty(header)) {
+                for (Map.Entry<String, String> entry : header.entrySet()) {
+                    httpPost.addHeader(entry.getKey(), entry.getValue());
+                }
+            }
+            MultipartEntityBuilder builder = MultipartEntityBuilder.create();
+            System.out.println("jinlai");
+            //设置文本字符编码为UTF-8
+            //中间是格式
+            //ContentType contentType= ContentType.create("application/x-www-form-urlencoded", Charset.forName("UTF-8"));
+            ContentType contentType = ContentType.create(HTTP.PLAIN_TEXT_TYPE, HTTP.UTF_8);
+            builder.setCharset(Charset.forName("utf-8"));
+            builder.setMode(HttpMultipartMode.BROWSER_COMPATIBLE);
+            builder.setCharset(StandardCharsets.UTF_8);
+            // 文件流  应该写成可以复用的工具类
+            //builder.addBinaryBody("photo",file.getBytes());
+            builder.addBinaryBody(file.getName(), file.getInputStream(), ContentType.MULTIPART_FORM_DATA, file.getName());// 文件流
+            System.out.println("获取文件成功");
+            //暂时无法封装成工具
+             String  group_id =parma1.get("group_id");
+             String  name =parma1.get("name");
+             String  idcard =parma1.get("idcard");
+            System.out.println("name="+parma1.get("name"));
+        builder.addTextBody("group_id", group_id);
+        builder.addTextBody("name",parma1.get("name"),contentType);
+        builder.addTextBody("idcard",idcard);
+
+            System.out.println(builder.toString());
+            HttpEntity entity = builder.build();
+            httpPost.setEntity(entity);
+            // 执行提交
+            HttpResponse response = httpClient.execute(httpPost);
+            HttpEntity responseEntity = response.getEntity();
+            if (responseEntity != null) {
+                // 将响应内容转换为字符串
+                result = EntityUtils.toString(responseEntity, StandardCharsets.UTF_8);
+            }
+
+        } catch (Exception e) {
+            System.out.println("baocuo");
+        } finally {
+            try {
+                httpClient.close();
+
+            } catch (IOException e) {
+                System.out.println("baocu");
+            }
+        }
+        return result;
+    }
+
+
+
+
+
+
+
+
+
+
+    public int getStatusCode() {
+        return statusCode;
+    }
+    public String getContent() throws ParseException, IOException {
+        return content;
+    }
+}

+ 14 - 0
huimv-face/src/main/java/com/huimv/face/util/MultThread.java

@@ -0,0 +1,14 @@
+package com.huimv.face.util;
+
+public class MultThread implements Runnable {
+
+    public void run(){
+
+
+
+
+    }
+
+
+
+}

+ 28 - 0
huimv-face/src/main/java/com/huimv/face/util/Result.java

@@ -0,0 +1,28 @@
+package com.huimv.face.util;
+
+import lombok.Data;
+
+/**
+ * @Project : huimv.shiwan
+ * @Package : com.huimv.face.result
+ * @Description : TODO
+ * @Author : yuxuexuan
+ * @Create : 2020/12/29 0029 14:46
+ **/
+@Data
+public class Result {
+    private Integer  status;
+    private String msg;
+    private Object data;
+
+    public Result(Integer status, String msg, Object data) {
+        this.status = status;
+        this.msg = msg;
+        this.data = data;
+    }
+
+    public Result(Integer status, String msg) {
+        this.status = status;
+        this.msg = msg;
+    }
+}

+ 2 - 2
huimv-face/src/main/resources/application-prod.yml

@@ -1,12 +1,12 @@
 server:
-  port: 8088
+  port: 8075
 spring:
   application:
     name: huimv-face
 
   #------DataSource-----
   datasource:
-    url: jdbc:mysql://192.168.1.35:3306/security_manager?useUnicode=true&characterEncoding=UTF-8&useSSL=false&autoReconnect=true&serverTimezone=Asia/Shanghai
+    url: jdbc:mysql://36.26.62.70:3307/security_manager?useUnicode=true&characterEncoding=UTF-8&useSSL=false&autoReconnect=true&serverTimezone=Asia/Shanghai
     #url: jdbc:mysql://192.168.1.7:3306/huimv-admin?useUnicode=true&characterEncoding=UTF-8&useSSL=false&autoReconnect=true&serverTimezone=Asia/Shanghai
     username: root
     password: root

+ 10 - 11
huimv-face/src/main/resources/application-test.yml

@@ -1,18 +1,17 @@
 server:
-  port: 8088
+  port: 8075
 spring:
   #------DataSource-----
   datasource:
-    primary:
-      #url: jdbc:mysql://127.0.0.1:3306/huimv-admin?useUnicode=true&characterEncoding=UTF-8&useSSL=false&autoReconnect=true&serverTimezone=Asia/Shanghai
-      url: jdbc:mysql://192.168.1.35:3306/security_manager?useUnicode=true&characterEncoding=UTF-8&useSSL=false&autoReconnect=true&serverTimezone=Asia/Shanghai
-      username: root
-      password: root
-      driver-class-name: com.mysql.cj.jdbc.Driver
-      max-active: 20
-      max-idle: 8
-      min-idle: 8
-      initial-size: 10
+    #url: jdbc:mysql://127.0.0.1:3306/huimv-admin?useUnicode=true&characterEncoding=UTF-8&useSSL=false&autoReconnect=true&serverTimezone=Asia/Shanghai
+    url: jdbc:mysql://36.26.62.70:3307/security_manager?useUnicode=true&characterEncoding=UTF-8&useSSL=false&autoReconnect=true&serverTimezone=Asia/Shanghai
+    username: root
+    password: root
+    driver-class-name: com.mysql.cj.jdbc.Driver
+#    max-active: 20
+#    max-idle: 8
+#    min-idle: 8
+#    initial-size: 10
   jpa:
     database: mysql
     show-sql: true

+ 0 - 4
huimv-face/src/main/resources/log4j.properties

@@ -1,4 +0,0 @@
-log4j.rootLogger=INFO, stdout
-log4j.appender.stdout=org.apache.log4j.ConsoleAppender
-log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
-log4j.appender.stdout.layout.ConversionPattern=%d %p [%c] - %m%n

+ 19 - 0
huimv-face/target/classes/application-prod.yml

@@ -0,0 +1,19 @@
+server:
+  port: 8075
+spring:
+  application:
+    name: huimv-face
+
+  #------DataSource-----
+  datasource:
+    url: jdbc:mysql://36.26.62.70:3307/security_manager?useUnicode=true&characterEncoding=UTF-8&useSSL=false&autoReconnect=true&serverTimezone=Asia/Shanghai
+    #url: jdbc:mysql://192.168.1.7:3306/huimv-admin?useUnicode=true&characterEncoding=UTF-8&useSSL=false&autoReconnect=true&serverTimezone=Asia/Shanghai
+    username: root
+    password: root
+    driver-class-name: com.mysql.cj.jdbc.Driver
+  jpa:
+    hibernate:
+      ddl-auto: update
+    database-platform: org.hibernate.dialect.MySQL5InnoDBDialect
+    show-sql: true
+

+ 22 - 0
huimv-face/target/classes/application-test.yml

@@ -0,0 +1,22 @@
+server:
+  port: 8075
+spring:
+  #------DataSource-----
+  datasource:
+    #url: jdbc:mysql://127.0.0.1:3306/huimv-admin?useUnicode=true&characterEncoding=UTF-8&useSSL=false&autoReconnect=true&serverTimezone=Asia/Shanghai
+    url: jdbc:mysql://36.26.62.70:3307/security_manager?useUnicode=true&characterEncoding=UTF-8&useSSL=false&autoReconnect=true&serverTimezone=Asia/Shanghai
+    username: root
+    password: root
+    driver-class-name: com.mysql.cj.jdbc.Driver
+#    max-active: 20
+#    max-idle: 8
+#    min-idle: 8
+#    initial-size: 10
+  jpa:
+    database: mysql
+    show-sql: true
+  mvc:
+    view:
+      prefix: /
+      suffix: .html
+

+ 7 - 0
huimv-face/target/classes/application.properties

@@ -0,0 +1,7 @@
+spring.profiles.active=test
+#spring.profiles.active=prod
+
+#MCID=11
+MCID=39
+
+

+ 7 - 0
huimv-face/target/classes/beans.xml

@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<beans xmlns="http://www.springframework.org/schema/beans"
+       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+       xsi:schemaLocation="http://www.springframework.org/schema/beans
+           http://www.springframework.org/schema/beans/spring-beans-3.0.xsd">
+
+</beans>

BIN
huimv-face/target/classes/com/huimv/face/StartApplication.class


BIN
huimv-face/target/classes/com/huimv/face/controller/APIcontroller.class


BIN
huimv-face/target/classes/com/huimv/face/controller/PassCountController.class


BIN
huimv-face/target/classes/com/huimv/face/controller/PeopleManagementController.class


BIN
huimv-face/target/classes/com/huimv/face/controller/SelectCameraController.class


BIN
huimv-face/target/classes/com/huimv/face/controller/StrangerController.class


BIN
huimv-face/target/classes/com/huimv/face/entity/AlarmRecords.class


BIN
huimv-face/target/classes/com/huimv/face/entity/CameraRoiModels.class


BIN
huimv-face/target/classes/com/huimv/face/entity/Cameras.class


BIN
huimv-face/target/classes/com/huimv/face/entity/ConfigModels.class


BIN
huimv-face/target/classes/com/huimv/face/entity/DahuaImages.class


BIN
huimv-face/target/classes/com/huimv/face/entity/DataCleanSettings.class


BIN
huimv-face/target/classes/com/huimv/face/entity/FileIds.class


BIN
huimv-face/target/classes/com/huimv/face/entity/FrequencyListModels.class


BIN
huimv-face/target/classes/com/huimv/face/entity/FrequencyModels.class


BIN
huimv-face/target/classes/com/huimv/face/entity/FrequenterContrastModels.class


BIN
huimv-face/target/classes/com/huimv/face/entity/FrequenterModels.class


BIN
huimv-face/target/classes/com/huimv/face/entity/GroupMetaModels.class


BIN
huimv-face/target/classes/com/huimv/face/entity/Groups.class


BIN
huimv-face/target/classes/com/huimv/face/entity/HkeyeLicenseModels.class


BIN
huimv-face/target/classes/com/huimv/face/entity/HumanAttrs.class


BIN
huimv-face/target/classes/com/huimv/face/entity/JulongImages.class


BIN
huimv-face/target/classes/com/huimv/face/entity/LastIdModels.class


BIN
huimv-face/target/classes/com/huimv/face/entity/License.class


BIN
huimv-face/target/classes/com/huimv/face/entity/MailSettings.class


BIN
huimv-face/target/classes/com/huimv/face/entity/PassRecords.class


BIN
huimv-face/target/classes/com/huimv/face/entity/Personnels.class


BIN
huimv-face/target/classes/com/huimv/face/entity/Photos.class


BIN
huimv-face/target/classes/com/huimv/face/entity/RecordsUsageModels.class


BIN
huimv-face/target/classes/com/huimv/face/entity/SelectCamera.class


BIN
huimv-face/target/classes/com/huimv/face/entity/SmartEventModels.class


BIN
huimv-face/target/classes/com/huimv/face/entity/SmartGetUpEventModels.class


BIN
huimv-face/target/classes/com/huimv/face/entity/SmsTemplates.class


BIN
huimv-face/target/classes/com/huimv/face/entity/StrangerModels.class


BIN
huimv-face/target/classes/com/huimv/face/entity/SwitchModels.class


BIN
huimv-face/target/classes/com/huimv/face/entity/TaskGroups.class


BIN
huimv-face/target/classes/com/huimv/face/entity/TaskJoinCameraModels.class


BIN
huimv-face/target/classes/com/huimv/face/entity/Tasks.class


BIN
huimv-face/target/classes/com/huimv/face/entity/ThermalModels.class


BIN
huimv-face/target/classes/com/huimv/face/entity/TimePros.class


BIN
huimv-face/target/classes/com/huimv/face/entity/UnknownPeopleModels.class


BIN
huimv-face/target/classes/com/huimv/face/repo/AlarmRecordsRepository.class


BIN
huimv-face/target/classes/com/huimv/face/repo/CameraRoiModelsRepository.class


BIN
huimv-face/target/classes/com/huimv/face/repo/CamerasRepository.class


BIN
huimv-face/target/classes/com/huimv/face/repo/ConfigModelsRepository.class


BIN
huimv-face/target/classes/com/huimv/face/repo/DahuaImagesRepository.class


BIN
huimv-face/target/classes/com/huimv/face/repo/DataCleanSettingsRepository.class


BIN
huimv-face/target/classes/com/huimv/face/repo/FileIdsRepository.class


BIN
huimv-face/target/classes/com/huimv/face/repo/FrequencyListModelsRepository.class


BIN
huimv-face/target/classes/com/huimv/face/repo/FrequencyModelsRepository.class


BIN
huimv-face/target/classes/com/huimv/face/repo/FrequenterContrastModelsRepository.class


BIN
huimv-face/target/classes/com/huimv/face/repo/FrequenterModelsRepository.class


BIN
huimv-face/target/classes/com/huimv/face/repo/GroupMetaModelsRepository.class


BIN
huimv-face/target/classes/com/huimv/face/repo/GroupsRepository.class


BIN
huimv-face/target/classes/com/huimv/face/repo/HkeyeLicenseModelsRepository.class


BIN
huimv-face/target/classes/com/huimv/face/repo/HumanAttrsRepository.class


BIN
huimv-face/target/classes/com/huimv/face/repo/JulongImagesRepository.class


+ 0 - 0
huimv-face/target/classes/com/huimv/face/repo/LastIdModelsRepository.class


이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.