浏览代码

feature 代码提交

xiahan 8 月之前
父节点
当前提交
e3002e4dd9
共有 100 个文件被更改,包括 80 次插入36 次删除
  1. 6 9
      jxkh-common/pom.xml
  2. 15 0
      jsglkh-common/src/main/java/com/rongwei/bscommon/sys/dao/FileItemMapper.java
  3. 0 0
      jsglkh-common/src/main/java/com/rongwei/bscommon/sys/dao/JtFjglxmMapper.java
  4. 0 0
      jsglkh-common/src/main/java/com/rongwei/bscommon/sys/dao/JtGsjtbsjMapper.java
  5. 0 0
      jsglkh-common/src/main/java/com/rongwei/bscommon/sys/dao/JtGzdgMapper.java
  6. 0 0
      jsglkh-common/src/main/java/com/rongwei/bscommon/sys/dao/JtJscgpyqdMapper.java
  7. 0 0
      jsglkh-common/src/main/java/com/rongwei/bscommon/sys/dao/JtJsglcgqdMapper.java
  8. 0 0
      jsglkh-common/src/main/java/com/rongwei/bscommon/sys/dao/JtKcsjxmMapper.java
  9. 0 0
      jsglkh-common/src/main/java/com/rongwei/bscommon/sys/dao/JtKhxmMapper.java
  10. 0 0
      jsglkh-common/src/main/java/com/rongwei/bscommon/sys/dao/JtNdjhqdMapper.java
  11. 0 0
      jsglkh-common/src/main/java/com/rongwei/bscommon/sys/dao/JtPxjhqdMapper.java
  12. 0 0
      jsglkh-common/src/main/java/com/rongwei/bscommon/sys/dao/JtScbhglMapper.java
  13. 0 0
      jsglkh-common/src/main/java/com/rongwei/bscommon/sys/dao/JtScsdlMapper.java
  14. 0 0
      jsglkh-common/src/main/java/com/rongwei/bscommon/sys/dao/JtSjbgqdMapper.java
  15. 0 0
      jsglkh-common/src/main/java/com/rongwei/bscommon/sys/dao/JtSjjdqdMapper.java
  16. 0 0
      jsglkh-common/src/main/java/com/rongwei/bscommon/sys/dao/JtWtbhglMapper.java
  17. 0 0
      jsglkh-common/src/main/java/com/rongwei/bscommon/sys/dao/JtWyysMapper.java
  18. 0 0
      jsglkh-common/src/main/java/com/rongwei/bscommon/sys/dao/JtXcjhqdMapper.java
  19. 0 0
      jsglkh-common/src/main/java/com/rongwei/bscommon/sys/dao/JtXmkhMapper.java
  20. 0 0
      jsglkh-common/src/main/java/com/rongwei/bscommon/sys/dao/JtXysjyqMapper.java
  21. 0 0
      jsglkh-common/src/main/java/com/rongwei/bscommon/sys/dao/JtYjbhglMapper.java
  22. 0 0
      jsglkh-common/src/main/java/com/rongwei/bscommon/sys/dao/JtYxwjfbqdMapper.java
  23. 0 0
      jsglkh-common/src/main/java/com/rongwei/bscommon/sys/dao/JtZbrygwjzrfgqdMapper.java
  24. 0 0
      jsglkh-common/src/main/java/com/rongwei/bscommon/sys/dao/JtZdxmszmnMapper.java
  25. 0 0
      jsglkh-common/src/main/java/com/rongwei/bscommon/sys/dao/JtZjfjflqdMapper.java
  26. 0 0
      jsglkh-common/src/main/java/com/rongwei/bscommon/sys/dao/JtZtfapsMapper.java
  27. 16 0
      jsglkh-common/src/main/java/com/rongwei/bscommon/sys/service/FileItemService.java
  28. 0 0
      jsglkh-common/src/main/java/com/rongwei/bscommon/sys/service/JtFjglxmService.java
  29. 0 0
      jsglkh-common/src/main/java/com/rongwei/bscommon/sys/service/JtGsjtbsjService.java
  30. 0 0
      jsglkh-common/src/main/java/com/rongwei/bscommon/sys/service/JtGzdgService.java
  31. 0 0
      jsglkh-common/src/main/java/com/rongwei/bscommon/sys/service/JtJscgpyqdService.java
  32. 0 0
      jsglkh-common/src/main/java/com/rongwei/bscommon/sys/service/JtJsglcgqdService.java
  33. 0 0
      jsglkh-common/src/main/java/com/rongwei/bscommon/sys/service/JtKcsjxmService.java
  34. 0 0
      jsglkh-common/src/main/java/com/rongwei/bscommon/sys/service/JtKhxmService.java
  35. 0 0
      jsglkh-common/src/main/java/com/rongwei/bscommon/sys/service/JtNdjhqdService.java
  36. 0 0
      jsglkh-common/src/main/java/com/rongwei/bscommon/sys/service/JtPxjhqdService.java
  37. 0 0
      jsglkh-common/src/main/java/com/rongwei/bscommon/sys/service/JtScbhglService.java
  38. 0 0
      jsglkh-common/src/main/java/com/rongwei/bscommon/sys/service/JtScsdlService.java
  39. 0 0
      jsglkh-common/src/main/java/com/rongwei/bscommon/sys/service/JtSjbgqdService.java
  40. 0 0
      jsglkh-common/src/main/java/com/rongwei/bscommon/sys/service/JtSjjdqdService.java
  41. 0 0
      jsglkh-common/src/main/java/com/rongwei/bscommon/sys/service/JtWtbhglService.java
  42. 0 0
      jsglkh-common/src/main/java/com/rongwei/bscommon/sys/service/JtWyysService.java
  43. 0 0
      jsglkh-common/src/main/java/com/rongwei/bscommon/sys/service/JtXcjhqdService.java
  44. 0 0
      jsglkh-common/src/main/java/com/rongwei/bscommon/sys/service/JtXmkhService.java
  45. 0 0
      jsglkh-common/src/main/java/com/rongwei/bscommon/sys/service/JtXysjyqService.java
  46. 0 0
      jsglkh-common/src/main/java/com/rongwei/bscommon/sys/service/JtYjbhglService.java
  47. 0 0
      jsglkh-common/src/main/java/com/rongwei/bscommon/sys/service/JtYxwjfbqdService.java
  48. 0 0
      jsglkh-common/src/main/java/com/rongwei/bscommon/sys/service/JtZbrygwjzrfgqdService.java
  49. 0 0
      jsglkh-common/src/main/java/com/rongwei/bscommon/sys/service/JtZdxmszmnService.java
  50. 0 0
      jsglkh-common/src/main/java/com/rongwei/bscommon/sys/service/JtZjfjflqdService.java
  51. 0 0
      jsglkh-common/src/main/java/com/rongwei/bscommon/sys/service/JtZtfapsService.java
  52. 0 0
      jsglkh-common/src/main/java/com/rongwei/bscommon/sys/service/SynchronizationDataService.java
  53. 0 0
      jsglkh-common/src/main/java/com/rongwei/bscommon/sys/service/impl/JtFjglxmServiceImpl.java
  54. 0 0
      jsglkh-common/src/main/java/com/rongwei/bscommon/sys/service/impl/JtGsjtbsjServiceImpl.java
  55. 0 0
      jsglkh-common/src/main/java/com/rongwei/bscommon/sys/service/impl/JtGzdgServiceImpl.java
  56. 0 0
      jsglkh-common/src/main/java/com/rongwei/bscommon/sys/service/impl/JtJscgpyqdServiceImpl.java
  57. 0 0
      jsglkh-common/src/main/java/com/rongwei/bscommon/sys/service/impl/JtJsglcgqdServiceImpl.java
  58. 0 0
      jsglkh-common/src/main/java/com/rongwei/bscommon/sys/service/impl/JtKcsjxmServiceImpl.java
  59. 0 0
      jsglkh-common/src/main/java/com/rongwei/bscommon/sys/service/impl/JtKhxmServiceImpl.java
  60. 0 0
      jsglkh-common/src/main/java/com/rongwei/bscommon/sys/service/impl/JtNdjhqdServiceImpl.java
  61. 0 0
      jsglkh-common/src/main/java/com/rongwei/bscommon/sys/service/impl/JtPxjhqdServiceImpl.java
  62. 0 0
      jsglkh-common/src/main/java/com/rongwei/bscommon/sys/service/impl/JtScbhglServiceImpl.java
  63. 0 0
      jsglkh-common/src/main/java/com/rongwei/bscommon/sys/service/impl/JtScsdlServiceImpl.java
  64. 0 0
      jsglkh-common/src/main/java/com/rongwei/bscommon/sys/service/impl/JtSjbgqdServiceImpl.java
  65. 0 0
      jsglkh-common/src/main/java/com/rongwei/bscommon/sys/service/impl/JtSjjdqdServiceImpl.java
  66. 0 0
      jsglkh-common/src/main/java/com/rongwei/bscommon/sys/service/impl/JtWtbhglServiceImpl.java
  67. 0 0
      jsglkh-common/src/main/java/com/rongwei/bscommon/sys/service/impl/JtWyysServiceImpl.java
  68. 0 0
      jsglkh-common/src/main/java/com/rongwei/bscommon/sys/service/impl/JtXcjhqdServiceImpl.java
  69. 0 0
      jsglkh-common/src/main/java/com/rongwei/bscommon/sys/service/impl/JtXmkhServiceImpl.java
  70. 0 0
      jsglkh-common/src/main/java/com/rongwei/bscommon/sys/service/impl/JtXysjyqServiceImpl.java
  71. 0 0
      jsglkh-common/src/main/java/com/rongwei/bscommon/sys/service/impl/JtYjbhglServiceImpl.java
  72. 0 0
      jsglkh-common/src/main/java/com/rongwei/bscommon/sys/service/impl/JtYxwjfbqdServiceImpl.java
  73. 0 0
      jsglkh-common/src/main/java/com/rongwei/bscommon/sys/service/impl/JtZbrygwjzrfgqdServiceImpl.java
  74. 0 0
      jsglkh-common/src/main/java/com/rongwei/bscommon/sys/service/impl/JtZdxmszmnServiceImpl.java
  75. 0 0
      jsglkh-common/src/main/java/com/rongwei/bscommon/sys/service/impl/JtZjfjflqdServiceImpl.java
  76. 0 0
      jsglkh-common/src/main/java/com/rongwei/bscommon/sys/service/impl/JtZtfapsServiceImpl.java
  77. 4 20
      jxkh-common/src/main/java/com/rongwei/bscommon/sys/service/impl/SynchronizationDataServiceImpl.java
  78. 37 5
      jxkh-common/src/main/java/com/rongwei/bscommon/sys/utils/ApiDattaOrgUtil.java
  79. 2 2
      jxkh-common/src/main/java/com/rongwei/bscommon/sys/utils/AttendanceAssessmentSdk.java
  80. 0 0
      jsglkh-common/src/main/java/com/rongwei/bscommon/sys/utils/JXKHUtils.java
  81. 0 0
      jsglkh-common/src/main/resources/mybatis/JtFjglxmMapper.xml
  82. 0 0
      jsglkh-common/src/main/resources/mybatis/JtGsjtbsjMapper.xml
  83. 0 0
      jsglkh-common/src/main/resources/mybatis/JtGzdgMapper.xml
  84. 0 0
      jsglkh-common/src/main/resources/mybatis/JtJscgpyqdMapper.xml
  85. 0 0
      jsglkh-common/src/main/resources/mybatis/JtJsglcgqdMapper.xml
  86. 0 0
      jsglkh-common/src/main/resources/mybatis/JtKcsjxmMapper.xml
  87. 0 0
      jsglkh-common/src/main/resources/mybatis/JtKhxmMapper.xml
  88. 0 0
      jsglkh-common/src/main/resources/mybatis/JtNdjhqdMapper.xml
  89. 0 0
      jsglkh-common/src/main/resources/mybatis/JtPxjhqdMapper.xml
  90. 0 0
      jsglkh-common/src/main/resources/mybatis/JtScbhglMapper.xml
  91. 0 0
      jsglkh-common/src/main/resources/mybatis/JtScsdlMapper.xml
  92. 0 0
      jsglkh-common/src/main/resources/mybatis/JtSjbgqdMapper.xml
  93. 0 0
      jsglkh-common/src/main/resources/mybatis/JtSjjdqdMapper.xml
  94. 0 0
      jsglkh-common/src/main/resources/mybatis/JtWtbhglMapper.xml
  95. 0 0
      jsglkh-common/src/main/resources/mybatis/JtWyysMapper.xml
  96. 0 0
      jsglkh-common/src/main/resources/mybatis/JtXcjhqdMapper.xml
  97. 0 0
      jsglkh-common/src/main/resources/mybatis/JtXysjyqMapper.xml
  98. 0 0
      jsglkh-common/src/main/resources/mybatis/JtYjbhglMapper.xml
  99. 0 0
      jsglkh-common/src/main/resources/mybatis/JtYxwjfbqdMapper.xml
  100. 0 0
      jxkh-common/src/main/resources/mybatis/JtZbrygwjzrfgqdMapper.xml

+ 6 - 9
jxkh-common/pom.xml

@@ -3,13 +3,15 @@
          xmlns="http://maven.apache.org/POM/4.0.0"
          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
     <parent>
-        <artifactId>JXKH</artifactId>
+        <artifactId>JSGLKH</artifactId>
         <groupId>com.rongwei</groupId>
         <version>1.0-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
-    <artifactId>jxkh-common</artifactId>
+    <groupId>com.rongwei</groupId>
+    <artifactId>jsglkh-common</artifactId>
+    <version>1.0-SNAPSHOT</version>
 
     <properties>
         <mysql.version>8.0.11</mysql.version>
@@ -18,19 +20,14 @@
     <dependencies>
         <dependency>
             <groupId>com.rongwei</groupId>
-            <artifactId>jxkh-entity</artifactId>
+            <artifactId>jsglkh-entity</artifactId>
             <version>1.0-SNAPSHOT</version>
         </dependency>
-
         <dependency>
             <groupId>com.baomidou</groupId>
             <artifactId>mybatis-plus-generator</artifactId>
             <version>3.1.2</version>
         </dependency>
-        <dependency>
-            <groupId>com.rongwei</groupId>
-            <artifactId>rw-common-component</artifactId>
-            <version>1.1-SNAPSHOT</version>
-        </dependency>
+
     </dependencies>
 </project>

+ 15 - 0
jsglkh-common/src/main/java/com/rongwei/bscommon/sys/dao/FileItemMapper.java

@@ -0,0 +1,15 @@
+package com.rongwei.bscommon.sys.dao;
+
+import com.rongwei.rwcommon.base.BaseDao;
+import com.rongwei.rwcommonentity.commonservers.domain.SysFileItemDo;
+
+/**
+ * 文件表
+ * 
+ * @author chenshun
+ * @email sunlightcs@gmail.com
+ * @date 2019-10-08 14:53:10
+ */
+public interface FileItemMapper extends BaseDao<SysFileItemDo> {
+	
+}

jxkh-common/src/main/java/com/rongwei/bscommon/sys/dao/JtFjglxmMapper.java → jsglkh-common/src/main/java/com/rongwei/bscommon/sys/dao/JtFjglxmMapper.java


jxkh-common/src/main/java/com/rongwei/bscommon/sys/dao/JtGsjtbsjMapper.java → jsglkh-common/src/main/java/com/rongwei/bscommon/sys/dao/JtGsjtbsjMapper.java


jxkh-common/src/main/java/com/rongwei/bscommon/sys/dao/JtGzdgMapper.java → jsglkh-common/src/main/java/com/rongwei/bscommon/sys/dao/JtGzdgMapper.java


jxkh-common/src/main/java/com/rongwei/bscommon/sys/dao/JtJscgpyqdMapper.java → jsglkh-common/src/main/java/com/rongwei/bscommon/sys/dao/JtJscgpyqdMapper.java


jxkh-common/src/main/java/com/rongwei/bscommon/sys/dao/JtJsglcgqdMapper.java → jsglkh-common/src/main/java/com/rongwei/bscommon/sys/dao/JtJsglcgqdMapper.java


jxkh-common/src/main/java/com/rongwei/bscommon/sys/dao/JtKcsjxmMapper.java → jsglkh-common/src/main/java/com/rongwei/bscommon/sys/dao/JtKcsjxmMapper.java


jxkh-common/src/main/java/com/rongwei/bscommon/sys/dao/JtKhxmMapper.java → jsglkh-common/src/main/java/com/rongwei/bscommon/sys/dao/JtKhxmMapper.java


jxkh-common/src/main/java/com/rongwei/bscommon/sys/dao/JtNdjhqdMapper.java → jsglkh-common/src/main/java/com/rongwei/bscommon/sys/dao/JtNdjhqdMapper.java


jxkh-common/src/main/java/com/rongwei/bscommon/sys/dao/JtPxjhqdMapper.java → jsglkh-common/src/main/java/com/rongwei/bscommon/sys/dao/JtPxjhqdMapper.java


jxkh-common/src/main/java/com/rongwei/bscommon/sys/dao/JtScbhglMapper.java → jsglkh-common/src/main/java/com/rongwei/bscommon/sys/dao/JtScbhglMapper.java


jxkh-common/src/main/java/com/rongwei/bscommon/sys/dao/JtScsdlMapper.java → jsglkh-common/src/main/java/com/rongwei/bscommon/sys/dao/JtScsdlMapper.java


jxkh-common/src/main/java/com/rongwei/bscommon/sys/dao/JtSjbgqdMapper.java → jsglkh-common/src/main/java/com/rongwei/bscommon/sys/dao/JtSjbgqdMapper.java


jxkh-common/src/main/java/com/rongwei/bscommon/sys/dao/JtSjjdqdMapper.java → jsglkh-common/src/main/java/com/rongwei/bscommon/sys/dao/JtSjjdqdMapper.java


jxkh-common/src/main/java/com/rongwei/bscommon/sys/dao/JtWtbhglMapper.java → jsglkh-common/src/main/java/com/rongwei/bscommon/sys/dao/JtWtbhglMapper.java


jxkh-common/src/main/java/com/rongwei/bscommon/sys/dao/JtWyysMapper.java → jsglkh-common/src/main/java/com/rongwei/bscommon/sys/dao/JtWyysMapper.java


jxkh-common/src/main/java/com/rongwei/bscommon/sys/dao/JtXcjhqdMapper.java → jsglkh-common/src/main/java/com/rongwei/bscommon/sys/dao/JtXcjhqdMapper.java


jxkh-common/src/main/java/com/rongwei/bscommon/sys/dao/JtXmkhMapper.java → jsglkh-common/src/main/java/com/rongwei/bscommon/sys/dao/JtXmkhMapper.java


jxkh-common/src/main/java/com/rongwei/bscommon/sys/dao/JtXysjyqMapper.java → jsglkh-common/src/main/java/com/rongwei/bscommon/sys/dao/JtXysjyqMapper.java


jxkh-common/src/main/java/com/rongwei/bscommon/sys/dao/JtYjbhglMapper.java → jsglkh-common/src/main/java/com/rongwei/bscommon/sys/dao/JtYjbhglMapper.java


jxkh-common/src/main/java/com/rongwei/bscommon/sys/dao/JtYxwjfbqdMapper.java → jsglkh-common/src/main/java/com/rongwei/bscommon/sys/dao/JtYxwjfbqdMapper.java


jxkh-common/src/main/java/com/rongwei/bscommon/sys/dao/JtZbrygwjzrfgqdMapper.java → jsglkh-common/src/main/java/com/rongwei/bscommon/sys/dao/JtZbrygwjzrfgqdMapper.java


jxkh-common/src/main/java/com/rongwei/bscommon/sys/dao/JtZdxmszmnMapper.java → jsglkh-common/src/main/java/com/rongwei/bscommon/sys/dao/JtZdxmszmnMapper.java


jxkh-common/src/main/java/com/rongwei/bscommon/sys/dao/JtZjfjflqdMapper.java → jsglkh-common/src/main/java/com/rongwei/bscommon/sys/dao/JtZjfjflqdMapper.java


jxkh-common/src/main/java/com/rongwei/bscommon/sys/dao/JtZtfapsMapper.java → jsglkh-common/src/main/java/com/rongwei/bscommon/sys/dao/JtZtfapsMapper.java


+ 16 - 0
jsglkh-common/src/main/java/com/rongwei/bscommon/sys/service/FileItemService.java

@@ -0,0 +1,16 @@
+package com.rongwei.bscommon.sys.service;
+
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.rongwei.rwcommonentity.commonservers.domain.SysFileItemDo;
+
+
+/**
+ * 文件表
+ *
+ * @author chenshun
+ * @email sunlightcs@gmail.com
+ * @date 2019-10-08 14:53:10
+ */
+public interface FileItemService extends IService<SysFileItemDo> {
+}
+

jxkh-common/src/main/java/com/rongwei/bscommon/sys/service/JtFjglxmService.java → jsglkh-common/src/main/java/com/rongwei/bscommon/sys/service/JtFjglxmService.java


jxkh-common/src/main/java/com/rongwei/bscommon/sys/service/JtGsjtbsjService.java → jsglkh-common/src/main/java/com/rongwei/bscommon/sys/service/JtGsjtbsjService.java


jxkh-common/src/main/java/com/rongwei/bscommon/sys/service/JtGzdgService.java → jsglkh-common/src/main/java/com/rongwei/bscommon/sys/service/JtGzdgService.java


jxkh-common/src/main/java/com/rongwei/bscommon/sys/service/JtJscgpyqdService.java → jsglkh-common/src/main/java/com/rongwei/bscommon/sys/service/JtJscgpyqdService.java


jxkh-common/src/main/java/com/rongwei/bscommon/sys/service/JtJsglcgqdService.java → jsglkh-common/src/main/java/com/rongwei/bscommon/sys/service/JtJsglcgqdService.java


jxkh-common/src/main/java/com/rongwei/bscommon/sys/service/JtKcsjxmService.java → jsglkh-common/src/main/java/com/rongwei/bscommon/sys/service/JtKcsjxmService.java


jxkh-common/src/main/java/com/rongwei/bscommon/sys/service/JtKhxmService.java → jsglkh-common/src/main/java/com/rongwei/bscommon/sys/service/JtKhxmService.java


jxkh-common/src/main/java/com/rongwei/bscommon/sys/service/JtNdjhqdService.java → jsglkh-common/src/main/java/com/rongwei/bscommon/sys/service/JtNdjhqdService.java


jxkh-common/src/main/java/com/rongwei/bscommon/sys/service/JtPxjhqdService.java → jsglkh-common/src/main/java/com/rongwei/bscommon/sys/service/JtPxjhqdService.java


jxkh-common/src/main/java/com/rongwei/bscommon/sys/service/JtScbhglService.java → jsglkh-common/src/main/java/com/rongwei/bscommon/sys/service/JtScbhglService.java


jxkh-common/src/main/java/com/rongwei/bscommon/sys/service/JtScsdlService.java → jsglkh-common/src/main/java/com/rongwei/bscommon/sys/service/JtScsdlService.java


jxkh-common/src/main/java/com/rongwei/bscommon/sys/service/JtSjbgqdService.java → jsglkh-common/src/main/java/com/rongwei/bscommon/sys/service/JtSjbgqdService.java


jxkh-common/src/main/java/com/rongwei/bscommon/sys/service/JtSjjdqdService.java → jsglkh-common/src/main/java/com/rongwei/bscommon/sys/service/JtSjjdqdService.java


jxkh-common/src/main/java/com/rongwei/bscommon/sys/service/JtWtbhglService.java → jsglkh-common/src/main/java/com/rongwei/bscommon/sys/service/JtWtbhglService.java


jxkh-common/src/main/java/com/rongwei/bscommon/sys/service/JtWyysService.java → jsglkh-common/src/main/java/com/rongwei/bscommon/sys/service/JtWyysService.java


jxkh-common/src/main/java/com/rongwei/bscommon/sys/service/JtXcjhqdService.java → jsglkh-common/src/main/java/com/rongwei/bscommon/sys/service/JtXcjhqdService.java


jxkh-common/src/main/java/com/rongwei/bscommon/sys/service/JtXmkhService.java → jsglkh-common/src/main/java/com/rongwei/bscommon/sys/service/JtXmkhService.java


jxkh-common/src/main/java/com/rongwei/bscommon/sys/service/JtXysjyqService.java → jsglkh-common/src/main/java/com/rongwei/bscommon/sys/service/JtXysjyqService.java


jxkh-common/src/main/java/com/rongwei/bscommon/sys/service/JtYjbhglService.java → jsglkh-common/src/main/java/com/rongwei/bscommon/sys/service/JtYjbhglService.java


jxkh-common/src/main/java/com/rongwei/bscommon/sys/service/JtYxwjfbqdService.java → jsglkh-common/src/main/java/com/rongwei/bscommon/sys/service/JtYxwjfbqdService.java


jxkh-common/src/main/java/com/rongwei/bscommon/sys/service/JtZbrygwjzrfgqdService.java → jsglkh-common/src/main/java/com/rongwei/bscommon/sys/service/JtZbrygwjzrfgqdService.java


jxkh-common/src/main/java/com/rongwei/bscommon/sys/service/JtZdxmszmnService.java → jsglkh-common/src/main/java/com/rongwei/bscommon/sys/service/JtZdxmszmnService.java


jxkh-common/src/main/java/com/rongwei/bscommon/sys/service/JtZjfjflqdService.java → jsglkh-common/src/main/java/com/rongwei/bscommon/sys/service/JtZjfjflqdService.java


jxkh-common/src/main/java/com/rongwei/bscommon/sys/service/JtZtfapsService.java → jsglkh-common/src/main/java/com/rongwei/bscommon/sys/service/JtZtfapsService.java


jxkh-common/src/main/java/com/rongwei/bscommon/sys/service/SynchronizationDataService.java → jsglkh-common/src/main/java/com/rongwei/bscommon/sys/service/SynchronizationDataService.java


jxkh-common/src/main/java/com/rongwei/bscommon/sys/service/impl/JtFjglxmServiceImpl.java → jsglkh-common/src/main/java/com/rongwei/bscommon/sys/service/impl/JtFjglxmServiceImpl.java


jxkh-common/src/main/java/com/rongwei/bscommon/sys/service/impl/JtGsjtbsjServiceImpl.java → jsglkh-common/src/main/java/com/rongwei/bscommon/sys/service/impl/JtGsjtbsjServiceImpl.java


jxkh-common/src/main/java/com/rongwei/bscommon/sys/service/impl/JtGzdgServiceImpl.java → jsglkh-common/src/main/java/com/rongwei/bscommon/sys/service/impl/JtGzdgServiceImpl.java


jxkh-common/src/main/java/com/rongwei/bscommon/sys/service/impl/JtJscgpyqdServiceImpl.java → jsglkh-common/src/main/java/com/rongwei/bscommon/sys/service/impl/JtJscgpyqdServiceImpl.java


jxkh-common/src/main/java/com/rongwei/bscommon/sys/service/impl/JtJsglcgqdServiceImpl.java → jsglkh-common/src/main/java/com/rongwei/bscommon/sys/service/impl/JtJsglcgqdServiceImpl.java


jxkh-common/src/main/java/com/rongwei/bscommon/sys/service/impl/JtKcsjxmServiceImpl.java → jsglkh-common/src/main/java/com/rongwei/bscommon/sys/service/impl/JtKcsjxmServiceImpl.java


jxkh-common/src/main/java/com/rongwei/bscommon/sys/service/impl/JtKhxmServiceImpl.java → jsglkh-common/src/main/java/com/rongwei/bscommon/sys/service/impl/JtKhxmServiceImpl.java


jxkh-common/src/main/java/com/rongwei/bscommon/sys/service/impl/JtNdjhqdServiceImpl.java → jsglkh-common/src/main/java/com/rongwei/bscommon/sys/service/impl/JtNdjhqdServiceImpl.java


jxkh-common/src/main/java/com/rongwei/bscommon/sys/service/impl/JtPxjhqdServiceImpl.java → jsglkh-common/src/main/java/com/rongwei/bscommon/sys/service/impl/JtPxjhqdServiceImpl.java


jxkh-common/src/main/java/com/rongwei/bscommon/sys/service/impl/JtScbhglServiceImpl.java → jsglkh-common/src/main/java/com/rongwei/bscommon/sys/service/impl/JtScbhglServiceImpl.java


jxkh-common/src/main/java/com/rongwei/bscommon/sys/service/impl/JtScsdlServiceImpl.java → jsglkh-common/src/main/java/com/rongwei/bscommon/sys/service/impl/JtScsdlServiceImpl.java


jxkh-common/src/main/java/com/rongwei/bscommon/sys/service/impl/JtSjbgqdServiceImpl.java → jsglkh-common/src/main/java/com/rongwei/bscommon/sys/service/impl/JtSjbgqdServiceImpl.java


jxkh-common/src/main/java/com/rongwei/bscommon/sys/service/impl/JtSjjdqdServiceImpl.java → jsglkh-common/src/main/java/com/rongwei/bscommon/sys/service/impl/JtSjjdqdServiceImpl.java


jxkh-common/src/main/java/com/rongwei/bscommon/sys/service/impl/JtWtbhglServiceImpl.java → jsglkh-common/src/main/java/com/rongwei/bscommon/sys/service/impl/JtWtbhglServiceImpl.java


jxkh-common/src/main/java/com/rongwei/bscommon/sys/service/impl/JtWyysServiceImpl.java → jsglkh-common/src/main/java/com/rongwei/bscommon/sys/service/impl/JtWyysServiceImpl.java


jxkh-common/src/main/java/com/rongwei/bscommon/sys/service/impl/JtXcjhqdServiceImpl.java → jsglkh-common/src/main/java/com/rongwei/bscommon/sys/service/impl/JtXcjhqdServiceImpl.java


jxkh-common/src/main/java/com/rongwei/bscommon/sys/service/impl/JtXmkhServiceImpl.java → jsglkh-common/src/main/java/com/rongwei/bscommon/sys/service/impl/JtXmkhServiceImpl.java


jxkh-common/src/main/java/com/rongwei/bscommon/sys/service/impl/JtXysjyqServiceImpl.java → jsglkh-common/src/main/java/com/rongwei/bscommon/sys/service/impl/JtXysjyqServiceImpl.java


jxkh-common/src/main/java/com/rongwei/bscommon/sys/service/impl/JtYjbhglServiceImpl.java → jsglkh-common/src/main/java/com/rongwei/bscommon/sys/service/impl/JtYjbhglServiceImpl.java


jxkh-common/src/main/java/com/rongwei/bscommon/sys/service/impl/JtYxwjfbqdServiceImpl.java → jsglkh-common/src/main/java/com/rongwei/bscommon/sys/service/impl/JtYxwjfbqdServiceImpl.java


jxkh-common/src/main/java/com/rongwei/bscommon/sys/service/impl/JtZbrygwjzrfgqdServiceImpl.java → jsglkh-common/src/main/java/com/rongwei/bscommon/sys/service/impl/JtZbrygwjzrfgqdServiceImpl.java


jxkh-common/src/main/java/com/rongwei/bscommon/sys/service/impl/JtZdxmszmnServiceImpl.java → jsglkh-common/src/main/java/com/rongwei/bscommon/sys/service/impl/JtZdxmszmnServiceImpl.java


jxkh-common/src/main/java/com/rongwei/bscommon/sys/service/impl/JtZjfjflqdServiceImpl.java → jsglkh-common/src/main/java/com/rongwei/bscommon/sys/service/impl/JtZjfjflqdServiceImpl.java


jxkh-common/src/main/java/com/rongwei/bscommon/sys/service/impl/JtZtfapsServiceImpl.java → jsglkh-common/src/main/java/com/rongwei/bscommon/sys/service/impl/JtZtfapsServiceImpl.java


+ 4 - 20
jxkh-common/src/main/java/com/rongwei/bscommon/sys/service/impl/SynchronizationDataServiceImpl.java

@@ -1,13 +1,9 @@
 package com.rongwei.bscommon.sys.service.impl;
 
-import cn.hutool.core.util.ObjectUtil;
 import com.rongwei.bscommon.sys.service.SynchronizationDataService;
 import com.rongwei.bscommon.sys.utils.AttendanceAssessmentSdk;
 import com.rongwei.bsentity.dto.ApiCallDto;
-import com.rongwei.bsentity.dto.ApiReturnDto;
 import com.rongwei.rwcommon.base.R;
-import com.rongwei.rwcommoncomponent.file.dto.FileBO;
-import com.rongwei.rwcommoncomponent.file.service.impl.SysFileItemServiceImpl;
 import com.rongwei.rwcommonentity.commonservers.domain.SysFileItemDo;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
@@ -15,12 +11,6 @@ import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.stereotype.Service;
 
 import java.io.File;
-import java.util.Map;
-
-import java.math.BigDecimal;
-import java.util.HashMap;
-import java.util.Map;
-import java.util.function.BiConsumer;
 
 /**
  * @author :sc
@@ -30,7 +20,7 @@ import java.util.function.BiConsumer;
 public class SynchronizationDataServiceImpl implements SynchronizationDataService {
     private final Logger log = LoggerFactory.getLogger(this.getClass().getName());
     @Autowired
-    private SysFileItemServiceImpl sysFileItemServiceImpl;
+    private FileItemServiceImpl sysFileItemServiceImpl;
     @Autowired
     private AttendanceAssessmentSdk attendanceAssessmentSdk;
 
@@ -52,20 +42,14 @@ public class SynchronizationDataServiceImpl implements SynchronizationDataServic
     public R uploadFile(String fileId) {
         log.info("文件上传开始,本系统文件ID:{}", fileId);
         SysFileItemDo sysFileItemDo = sysFileItemServiceImpl.getById(fileId);
-        FileBO fileBO = FileBO.builder()
-                .fileName(sysFileItemDo.getFilename())
-                .realPath(sysFileItemDo.getFullpath())
-                .fileType(sysFileItemDo.getFiletype())
-                .build();
-        File newFile = new File(fileBO.getRealPath());
+        File newFile = new File(sysFileItemDo.getFullpath());
 
         ApiCallDto<Object> req = new ApiCallDto<>();
         req.setApiCode("fileUpload");
         req.setData(newFile);
-        R r = attendanceAssessmentSdk.fileUploadApiCall(req);
-        return r;
-    }
 
+        return R.ok().putData(attendanceAssessmentSdk.fileUploadApiCall(req));
+    }
 
 
 }

+ 37 - 5
jxkh-common/src/main/java/com/rongwei/bscommon/sys/utils/ApiDattaOrgUtil.java

@@ -1,16 +1,23 @@
 package com.rongwei.bscommon.sys.utils;
 
+import com.rongwei.bscommon.sys.service.impl.SynchronizationDataServiceImpl;
+import com.rongwei.bsentity.dto.ApiCallDto;
 import com.rongwei.bsentity.dto.OrgApiDataConfigDTO;
+import com.rongwei.rwcommon.base.R;
+import com.rongwei.rwcommon.base.exception.CustomException;
 import com.rongwei.rwcommon.utils.StringUtils;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
+import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.stereotype.Component;
 
+import javax.annotation.PostConstruct;
 import java.text.SimpleDateFormat;
 import java.util.Arrays;
 import java.util.HashMap;
 import java.util.List;
 import java.util.Map;
+import java.util.function.Function;
 import java.util.stream.Collectors;
 
 import static com.rongwei.bscommon.sys.utils.JXKHConstant.DatePattern.DATE_PATTERN_YMD;
@@ -23,18 +30,34 @@ import static com.rongwei.bscommon.sys.utils.JXKHConstant.DatePattern.DATE_PATTE
  * @date 2024/12/02
  */
 @Component
-public class ApiDattaOrgUtil {
+public class ApiDataOrgUtil {
 
     public static final String IMG_SPLIT_SIGN = "\\^_\\^";
-    private static final Logger log = LoggerFactory.getLogger(ApiDattaOrgUtil.class.getName());
+    private static final Logger log = LoggerFactory.getLogger(ApiDataOrgUtil.class.getName());
+    private static AttendanceAssessmentSdk attendanceAssessmentSdk;
+    private static SynchronizationDataServiceImpl synchronizationDataService;
+    @Autowired
+    private AttendanceAssessmentSdk autoAttendanceAssessmentSdk;
+    @Autowired
+    private SynchronizationDataServiceImpl autoSynchronizationDataService;
 
     public static <T> Map<String, Object> assembleApiData(T infos,
                                                           List<OrgApiDataConfigDTO> orgApiDataConfigDTOS) {
         Map<String, Object> apiData = new HashMap();
+        boolean emptyKeyFlag = orgApiDataConfigDTOS.stream().anyMatch(info -> StringUtils.isBlank(info.getKey()));
+        if (emptyKeyFlag) {
+            throw new CustomException("存在key为空的配置文件信息");
+        }
 
         orgApiDataConfigDTOS.forEach(configDTO -> {
             String key = configDTO.getKey();
-            Object apply = configDTO.getGetDataFunction().apply(infos);
+            Function<T, Object> getDataFunction = configDTO.getGetDataFunction();
+            Object apply;
+            if (getDataFunction == null) {
+                apply = configDTO.getRealValue();
+            } else {
+                apply = configDTO.getGetDataFunction().apply(infos);
+            }
             apiData.put(key, ObjConver(apply, configDTO));
         });
         return apiData;
@@ -63,11 +86,20 @@ public class ApiDattaOrgUtil {
             }
             return Arrays.asList(filesInfo.split(IMG_SPLIT_SIGN)).stream().map(data -> {
                 String fileId = data.split("-;-")[1];
-                // 执行附件上传方法 返回真实的id
-                return "";
+                ApiCallDto apiCallDto = new ApiCallDto();
+                apiCallDto.setApiCode("fileUpload");
+                apiCallDto.setData(fileId);
+                R r = synchronizationDataService.uploadFile(fileId);
+                return r.getData().toString();
             }).collect(Collectors.joining(","));
         }
         log.debug("其他格式的数据");
         return renturnObj;
     }
+
+    @PostConstruct
+    public void init() {
+        attendanceAssessmentSdk = autoAttendanceAssessmentSdk;
+        synchronizationDataService = autoSynchronizationDataService;
+    }
 }

+ 2 - 2
jxkh-common/src/main/java/com/rongwei/bscommon/sys/utils/AttendanceAssessmentSdk.java

@@ -122,7 +122,7 @@ public class AttendanceAssessmentSdk {
         return apiReturnDto;
     }
 
-    public R fileUploadApiCall(ApiCallDto paramVo) {
+    public String fileUploadApiCall(ApiCallDto paramVo) {
         logger.info("接口调用开始:{}", paramVo.getApiCode());
         // 请求地址
         String url = this.clientIp + this.apiVirtualDirectoryMap.get(paramVo.getApiCode());
@@ -160,7 +160,7 @@ public class AttendanceAssessmentSdk {
             Thread td = new Thread(() -> afterAll(paramVo, jsonStr, finalApiResult));
             td.start();
         }
-        return R.ok(fileId);
+        return fileId;
     }
 
     private String getToken() {

jxkh-common/src/main/java/com/rongwei/bscommon/sys/utils/JXKHUtils.java → jsglkh-common/src/main/java/com/rongwei/bscommon/sys/utils/JXKHUtils.java


jxkh-common/src/main/resources/mybatis/JtFjglxmMapper.xml → jsglkh-common/src/main/resources/mybatis/JtFjglxmMapper.xml


jxkh-common/src/main/resources/mybatis/JtGsjtbsjMapper.xml → jsglkh-common/src/main/resources/mybatis/JtGsjtbsjMapper.xml


jxkh-common/src/main/resources/mybatis/JtGzdgMapper.xml → jsglkh-common/src/main/resources/mybatis/JtGzdgMapper.xml


jxkh-common/src/main/resources/mybatis/JtJscgpyqdMapper.xml → jsglkh-common/src/main/resources/mybatis/JtJscgpyqdMapper.xml


jxkh-common/src/main/resources/mybatis/JtJsglcgqdMapper.xml → jsglkh-common/src/main/resources/mybatis/JtJsglcgqdMapper.xml


jxkh-common/src/main/resources/mybatis/JtKcsjxmMapper.xml → jsglkh-common/src/main/resources/mybatis/JtKcsjxmMapper.xml


jxkh-common/src/main/resources/mybatis/JtKhxmMapper.xml → jsglkh-common/src/main/resources/mybatis/JtKhxmMapper.xml


jxkh-common/src/main/resources/mybatis/JtNdjhqdMapper.xml → jsglkh-common/src/main/resources/mybatis/JtNdjhqdMapper.xml


jxkh-common/src/main/resources/mybatis/JtPxjhqdMapper.xml → jsglkh-common/src/main/resources/mybatis/JtPxjhqdMapper.xml


jxkh-common/src/main/resources/mybatis/JtScbhglMapper.xml → jsglkh-common/src/main/resources/mybatis/JtScbhglMapper.xml


jxkh-common/src/main/resources/mybatis/JtScsdlMapper.xml → jsglkh-common/src/main/resources/mybatis/JtScsdlMapper.xml


jxkh-common/src/main/resources/mybatis/JtSjbgqdMapper.xml → jsglkh-common/src/main/resources/mybatis/JtSjbgqdMapper.xml


jxkh-common/src/main/resources/mybatis/JtSjjdqdMapper.xml → jsglkh-common/src/main/resources/mybatis/JtSjjdqdMapper.xml


jxkh-common/src/main/resources/mybatis/JtWtbhglMapper.xml → jsglkh-common/src/main/resources/mybatis/JtWtbhglMapper.xml


jxkh-common/src/main/resources/mybatis/JtWyysMapper.xml → jsglkh-common/src/main/resources/mybatis/JtWyysMapper.xml


jxkh-common/src/main/resources/mybatis/JtXcjhqdMapper.xml → jsglkh-common/src/main/resources/mybatis/JtXcjhqdMapper.xml


jxkh-common/src/main/resources/mybatis/JtXysjyqMapper.xml → jsglkh-common/src/main/resources/mybatis/JtXysjyqMapper.xml


jxkh-common/src/main/resources/mybatis/JtYjbhglMapper.xml → jsglkh-common/src/main/resources/mybatis/JtYjbhglMapper.xml


jxkh-common/src/main/resources/mybatis/JtYxwjfbqdMapper.xml → jsglkh-common/src/main/resources/mybatis/JtYxwjfbqdMapper.xml


+ 0 - 0
jxkh-common/src/main/resources/mybatis/JtZbrygwjzrfgqdMapper.xml


部分文件因为文件数量过多而无法显示