Browse Source

wps

master
PoffyZhang 1 year ago
parent
commit
129da0a8b6
34 changed files with 35 additions and 116 deletions
  1. +5
    -1
      pmapi/pom.xml
  2. +2
    -1
      pmapi/src/main/java/com/ningdatech/pmapi/common/handler/GlobalResponseHandler.java
  3. +28
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/wps/controller/WpsConvertController.java
  4. +0
    -33
      wps-convert/.gitignore
  5. BIN
      wps-convert/.mvn/wrapper/maven-wrapper.jar
  6. +0
    -2
      wps-convert/.mvn/wrapper/maven-wrapper.properties
  7. BIN
      wps-convert/lib/agent-boot-1.3.22.0215.jar
  8. BIN
      wps-convert/lib/commons-compress-1.19.jar
  9. BIN
      wps-convert/lib/commons-io-2.5.jar
  10. BIN
      wps-convert/lib/commons-lang-2.6.jar
  11. BIN
      wps-convert/lib/commons-lang3-3.8.1.jar
  12. BIN
      wps-convert/lib/commons-logging-1.1.1.jar
  13. BIN
      wps-convert/lib/dom4j-2.0.2.jar
  14. BIN
      wps-convert/lib/gson-2.8.0.jar
  15. BIN
      wps-convert/lib/httpclient-4.5.13.jar
  16. BIN
      wps-convert/lib/httpcore-4.4.13.jar
  17. BIN
      wps-convert/lib/httpmime-4.5.13.jar
  18. BIN
      wps-convert/lib/jbArchivesTools-1.0-SNAPSHOT.jar
  19. BIN
      wps-convert/lib/ofd-simple-tool-1.0.23.0324.jar
  20. BIN
      wps-convert/lib/slf4j-api-1.7.29.jar
  21. BIN
      wps-convert/lib/slf4j-simple-1.7.26.jar
  22. BIN
      wps-convert/lib/suwell-agent-http-1.7.220630.jar
  23. BIN
      wps-convert/lib/suwell-agent-wrapper-1.6.221208.jar
  24. BIN
      wps-convert/lib/suwell-bank-extend-1.8.28.0627-sgcc.jar
  25. BIN
      wps-convert/lib/suwell-convert-base-1.5.19.0408.jar
  26. BIN
      wps-convert/lib/suwell-core-base-1.7.220623-lite.jar
  27. BIN
      wps-convert/lib/suwell-extend-1.0.22.0804.jar
  28. BIN
      wps-convert/lib/suwell-packet-wrapper-1.21.230306.jar
  29. BIN
      wps-convert/lib/suwell-rpc-manager-client-2.7.211125.jar
  30. +0
    -41
      wps-convert/pom.xml
  31. +0
    -11
      wps-convert/src/main/java/com/wps/controller/WpsConvertController.java
  32. +0
    -13
      wps-convert/src/main/java/com/wps/wpsconvert/WpsConvertApplication.java
  33. +0
    -1
      wps-convert/src/main/resources/application.properties
  34. +0
    -13
      wps-convert/src/test/java/com/wps/wpsconvert/WpsConvertApplicationTests.java

+ 5
- 1
pmapi/pom.xml View File

@@ -266,7 +266,11 @@
<artifactId>easypoi-base</artifactId>
</dependency>


<dependency>
<groupId>com.ningdatech</groupId>
<artifactId>nd-wps-convert-starter</artifactId>
<version>1.0.0</version>
</dependency>
</dependencies>
<!-- 打包 -->
<!--配置环境的profile-->


+ 2
- 1
pmapi/src/main/java/com/ningdatech/pmapi/common/handler/GlobalResponseHandler.java View File

@@ -34,7 +34,8 @@ import org.springframework.web.servlet.mvc.method.annotation.ResponseBodyAdvice;
"com.ningdatech.pmapi.safety.controller",
"com.ningdatech.pmapi.portrait.controller",
"com.ningdatech.pmapi.irs.controller",
"com.ningdatech.pmapi.dashboard.controller"
"com.ningdatech.pmapi.dashboard.controller",
"com.ningdatech.pmapi.wps.controller"
})
public class GlobalResponseHandler implements ResponseBodyAdvice<Object> {



+ 28
- 0
pmapi/src/main/java/com/ningdatech/pmapi/wps/controller/WpsConvertController.java View File

@@ -0,0 +1,28 @@
package com.ningdatech.pmapi.wps.controller;

import com.wps.manage.WpsConvertManage;
import io.swagger.annotations.Api;
import lombok.AllArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
* @Classname WpsConvertController
* @Description
* @Date 2023/8/14 13:58
* @Author PoffyZhang
*/
@Slf4j
@RestController
@AllArgsConstructor
@Api(tags = "待办中心控制器")
@RequestMapping("/api/v1/wps-convert")
public class WpsConvertController {

@GetMapping("/office2pdf")
public String office2pdf(){
return WpsConvertManage.offs2Pdf();
}
}

+ 0
- 33
wps-convert/.gitignore View File

@@ -1,33 +0,0 @@
HELP.md
target/
!.mvn/wrapper/maven-wrapper.jar
!**/src/main/**/target/
!**/src/test/**/target/

### STS ###
.apt_generated
.classpath
.factorypath
.project
.settings
.springBeans
.sts4-cache

### IntelliJ IDEA ###
.idea
*.iws
*.iml
*.ipr

### NetBeans ###
/nbproject/private/
/nbbuild/
/dist/
/nbdist/
/.nb-gradle/
build/
!**/src/main/**/build/
!**/src/test/**/build/

### VS Code ###
.vscode/

BIN
wps-convert/.mvn/wrapper/maven-wrapper.jar View File


+ 0
- 2
wps-convert/.mvn/wrapper/maven-wrapper.properties View File

@@ -1,2 +0,0 @@
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.4/apache-maven-3.9.4-bin.zip
wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar

BIN
wps-convert/lib/agent-boot-1.3.22.0215.jar View File


BIN
wps-convert/lib/commons-compress-1.19.jar View File


BIN
wps-convert/lib/commons-io-2.5.jar View File


BIN
wps-convert/lib/commons-lang-2.6.jar View File


BIN
wps-convert/lib/commons-lang3-3.8.1.jar View File


BIN
wps-convert/lib/commons-logging-1.1.1.jar View File


BIN
wps-convert/lib/dom4j-2.0.2.jar View File


BIN
wps-convert/lib/gson-2.8.0.jar View File


BIN
wps-convert/lib/httpclient-4.5.13.jar View File


BIN
wps-convert/lib/httpcore-4.4.13.jar View File


BIN
wps-convert/lib/httpmime-4.5.13.jar View File


BIN
wps-convert/lib/jbArchivesTools-1.0-SNAPSHOT.jar View File


BIN
wps-convert/lib/ofd-simple-tool-1.0.23.0324.jar View File


BIN
wps-convert/lib/slf4j-api-1.7.29.jar View File


BIN
wps-convert/lib/slf4j-simple-1.7.26.jar View File


BIN
wps-convert/lib/suwell-agent-http-1.7.220630.jar View File


BIN
wps-convert/lib/suwell-agent-wrapper-1.6.221208.jar View File


BIN
wps-convert/lib/suwell-bank-extend-1.8.28.0627-sgcc.jar View File


BIN
wps-convert/lib/suwell-convert-base-1.5.19.0408.jar View File


BIN
wps-convert/lib/suwell-core-base-1.7.220623-lite.jar View File


BIN
wps-convert/lib/suwell-extend-1.0.22.0804.jar View File


BIN
wps-convert/lib/suwell-packet-wrapper-1.21.230306.jar View File


BIN
wps-convert/lib/suwell-rpc-manager-client-2.7.211125.jar View File


+ 0
- 41
wps-convert/pom.xml View File

@@ -1,41 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>3.1.2</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
<groupId>com.wps</groupId>
<artifactId>wps-convert</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>wps-convert</name>
<description>wps-convert</description>
<properties>
<java.version>17</java.version>
</properties>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter</artifactId>
</dependency>

<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
</plugins>
</build>

</project>

+ 0
- 11
wps-convert/src/main/java/com/wps/controller/WpsConvertController.java View File

@@ -1,11 +0,0 @@
package com.wps.controller;

/**
* @Classname WpsConvertController
* @Description
* @Date 2023/8/14 11:16
* @Author PoffyZhang
*/
public class WpsConvertController {

}

+ 0
- 13
wps-convert/src/main/java/com/wps/wpsconvert/WpsConvertApplication.java View File

@@ -1,13 +0,0 @@
package com.wps.wpsconvert;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class WpsConvertApplication {

public static void main(String[] args) {
SpringApplication.run(WpsConvertApplication.class, args);
}

}

+ 0
- 1
wps-convert/src/main/resources/application.properties View File

@@ -1 +0,0 @@


+ 0
- 13
wps-convert/src/test/java/com/wps/wpsconvert/WpsConvertApplicationTests.java View File

@@ -1,13 +0,0 @@
package com.wps.wpsconvert;

import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;

@SpringBootTest
class WpsConvertApplicationTests {

@Test
void contextLoads() {
}

}

Loading…
Cancel
Save