Compare commits
2 Commits
| Author | SHA1 | Date |
|---|---|---|
|
|
8b20a549a7 | 2 years ago |
|
|
ba22ab0e2d | 2 years ago |
@ -1,8 +0,0 @@
|
||||
# Default ignored files
|
||||
/shelf/
|
||||
/workspace.xml
|
||||
# Editor-based HTTP Client requests
|
||||
/httpRequests/
|
||||
# Datasource local storage ignored files
|
||||
/dataSources/
|
||||
/dataSources.local.xml
|
||||
@ -1,55 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="CompilerConfiguration">
|
||||
<annotationProcessing>
|
||||
<profile default="true" name="Default" enabled="true" />
|
||||
<profile name="Maven default annotation processors profile" enabled="true">
|
||||
<sourceOutputDir name="target/generated-sources/annotations" />
|
||||
<sourceTestOutputDir name="target/generated-test-sources/test-annotations" />
|
||||
<outputRelativeToContentRoot value="true" />
|
||||
<module name="jyjz-system-authority" />
|
||||
<module name="jyjz-system-oa" />
|
||||
<module name="jyjz-framework-security" />
|
||||
<module name="jyjz-system-abase" />
|
||||
<module name="runtest" />
|
||||
<module name="jyjz-common-mybatisplus" />
|
||||
<module name="jyjz-common-upload" />
|
||||
<module name="jyjz-system-admin" />
|
||||
<module name="jyjz-framework-securityweb" />
|
||||
<module name="jyjz-common-web" />
|
||||
<module name="jyjz-system-cms" />
|
||||
<module name="jyjz-common-redis" />
|
||||
<module name="jyjz-common-task" />
|
||||
<module name="jyjz-common-base" />
|
||||
</profile>
|
||||
</annotationProcessing>
|
||||
<bytecodeTargetLevel>
|
||||
<module name="jyjz-start" target="1.8" />
|
||||
<module name="ocrproject" target="1.8" />
|
||||
<module name="runstart" target="1.8" />
|
||||
</bytecodeTargetLevel>
|
||||
</component>
|
||||
<component name="JavacSettings">
|
||||
<option name="ADDITIONAL_OPTIONS_OVERRIDE">
|
||||
<module name="jyjz-common" options="" />
|
||||
<module name="jyjz-common-base" options="-parameters" />
|
||||
<module name="jyjz-common-mybatisplus" options="-parameters" />
|
||||
<module name="jyjz-common-redis" options="-parameters" />
|
||||
<module name="jyjz-common-task" options="-parameters" />
|
||||
<module name="jyjz-common-upload" options="-parameters" />
|
||||
<module name="jyjz-common-web" options="-parameters" />
|
||||
<module name="jyjz-framework" options="" />
|
||||
<module name="jyjz-framework-security" options="-parameters" />
|
||||
<module name="jyjz-framework-securityweb" options="-parameters" />
|
||||
<module name="jyjz-parent" options="" />
|
||||
<module name="jyjz-system" options="" />
|
||||
<module name="jyjz-system-abase" options="-parameters" />
|
||||
<module name="jyjz-system-admin" options="-parameters" />
|
||||
<module name="jyjz-system-authority" options="-parameters" />
|
||||
<module name="jyjz-system-cms" options="-parameters" />
|
||||
<module name="jyjz-system-oa" options="-parameters" />
|
||||
<module name="runstart" options="-parameters" />
|
||||
<module name="runtest" options="-parameters" />
|
||||
</option>
|
||||
</component>
|
||||
</project>
|
||||
@ -1,18 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="Encoding">
|
||||
<file url="file://$PROJECT_DIR$/jyjz-common/jyjz-common-base/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/jyjz-common/jyjz-common-mybatisplus/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/jyjz-common/jyjz-common-redis/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/jyjz-common/jyjz-common-task/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/jyjz-common/jyjz-common-upload/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/jyjz-common/jyjz-common-web/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/jyjz-framework/jyjz-framework-security/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/jyjz-framework/jyjz-framework-securityweb/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/jyjz-system/jyjz-system-abase/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/jyjz-system/jyjz-system-admin/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/jyjz-system/jyjz-system-cms/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/jyjz-system/jyjz-system-oa/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/runstart/src/main/java" charset="UTF-8" />
|
||||
</component>
|
||||
</project>
|
||||
@ -1,50 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="RemoteRepositoriesConfiguration">
|
||||
<remote-repository>
|
||||
<option name="id" value="central" />
|
||||
<option name="name" value="central" />
|
||||
<option name="url" value="https://maven.aliyun.com/nexus/content/groups/public" />
|
||||
</remote-repository>
|
||||
<remote-repository>
|
||||
<option name="id" value="central" />
|
||||
<option name="name" value="Central Repository" />
|
||||
<option name="url" value="https://repo.maven.apache.org/maven2" />
|
||||
</remote-repository>
|
||||
<remote-repository>
|
||||
<option name="id" value="central" />
|
||||
<option name="name" value="Central Repository" />
|
||||
<option name="url" value="http://maven.aliyun.com/nexus/content/groups/public/" />
|
||||
</remote-repository>
|
||||
<remote-repository>
|
||||
<option name="id" value="rdc-releases" />
|
||||
<option name="name" value="rdc-releases" />
|
||||
<option name="url" value="https://packages.aliyun.com/maven/repository/2179753-release-2RMtZe/" />
|
||||
</remote-repository>
|
||||
<remote-repository>
|
||||
<option name="id" value="central" />
|
||||
<option name="name" value="Maven Central repository" />
|
||||
<option name="url" value="https://repo1.maven.org/maven2" />
|
||||
</remote-repository>
|
||||
<remote-repository>
|
||||
<option name="id" value="alimaven" />
|
||||
<option name="name" value="alimaven" />
|
||||
<option name="url" value="https://maven.aliyun.com/repository/public" />
|
||||
</remote-repository>
|
||||
<remote-repository>
|
||||
<option name="id" value="jboss.community" />
|
||||
<option name="name" value="JBoss Community repository" />
|
||||
<option name="url" value="https://repository.jboss.org/nexus/content/repositories/public/" />
|
||||
</remote-repository>
|
||||
<remote-repository>
|
||||
<option name="id" value="rdc-snapshots" />
|
||||
<option name="name" value="rdc-snapshots" />
|
||||
<option name="url" value="https://packages.aliyun.com/maven/repository/2179753-snapshot-eDoLiX/" />
|
||||
</remote-repository>
|
||||
<remote-repository>
|
||||
<option name="id" value="snapshots" />
|
||||
<option name="name" value="snapshots" />
|
||||
<option name="url" value="https://maven.aliyun.com/nexus/content/groups/public" />
|
||||
</remote-repository>
|
||||
</component>
|
||||
</project>
|
||||
@ -1,14 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ExternalStorageConfigurationManager" enabled="true" />
|
||||
<component name="MavenProjectsManager">
|
||||
<option name="originalFiles">
|
||||
<list>
|
||||
<option value="$PROJECT_DIR$/pom.xml" />
|
||||
</list>
|
||||
</option>
|
||||
</component>
|
||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="true" project-jdk-name="1.8" project-jdk-type="JavaSDK">
|
||||
<output url="file://$PROJECT_DIR$/out" />
|
||||
</component>
|
||||
</project>
|
||||
@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ProjectModuleManager">
|
||||
<modules>
|
||||
<module fileurl="file://$PROJECT_DIR$/jyjz-parent.iml" filepath="$PROJECT_DIR$/jyjz-parent.iml" />
|
||||
</modules>
|
||||
</component>
|
||||
</project>
|
||||
@ -1,124 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="Palette2">
|
||||
<group name="Swing">
|
||||
<item class="com.intellij.uiDesigner.HSpacer" tooltip-text="Horizontal Spacer" icon="/com/intellij/uiDesigner/icons/hspacer.svg" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||
<default-constraints vsize-policy="1" hsize-policy="6" anchor="0" fill="1" />
|
||||
</item>
|
||||
<item class="com.intellij.uiDesigner.VSpacer" tooltip-text="Vertical Spacer" icon="/com/intellij/uiDesigner/icons/vspacer.svg" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||
<default-constraints vsize-policy="6" hsize-policy="1" anchor="0" fill="2" />
|
||||
</item>
|
||||
<item class="javax.swing.JPanel" icon="/com/intellij/uiDesigner/icons/panel.svg" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3" />
|
||||
</item>
|
||||
<item class="javax.swing.JScrollPane" icon="/com/intellij/uiDesigner/icons/scrollPane.svg" removable="false" auto-create-binding="false" can-attach-label="true">
|
||||
<default-constraints vsize-policy="7" hsize-policy="7" anchor="0" fill="3" />
|
||||
</item>
|
||||
<item class="javax.swing.JButton" icon="/com/intellij/uiDesigner/icons/button.svg" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||
<default-constraints vsize-policy="0" hsize-policy="3" anchor="0" fill="1" />
|
||||
<initial-values>
|
||||
<property name="text" value="Button" />
|
||||
</initial-values>
|
||||
</item>
|
||||
<item class="javax.swing.JRadioButton" icon="/com/intellij/uiDesigner/icons/radioButton.svg" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||
<default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" />
|
||||
<initial-values>
|
||||
<property name="text" value="RadioButton" />
|
||||
</initial-values>
|
||||
</item>
|
||||
<item class="javax.swing.JCheckBox" icon="/com/intellij/uiDesigner/icons/checkBox.svg" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||
<default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" />
|
||||
<initial-values>
|
||||
<property name="text" value="CheckBox" />
|
||||
</initial-values>
|
||||
</item>
|
||||
<item class="javax.swing.JLabel" icon="/com/intellij/uiDesigner/icons/label.svg" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||
<default-constraints vsize-policy="0" hsize-policy="0" anchor="8" fill="0" />
|
||||
<initial-values>
|
||||
<property name="text" value="Label" />
|
||||
</initial-values>
|
||||
</item>
|
||||
<item class="javax.swing.JTextField" icon="/com/intellij/uiDesigner/icons/textField.svg" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
|
||||
<preferred-size width="150" height="-1" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JPasswordField" icon="/com/intellij/uiDesigner/icons/passwordField.svg" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
|
||||
<preferred-size width="150" height="-1" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JFormattedTextField" icon="/com/intellij/uiDesigner/icons/formattedTextField.svg" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
|
||||
<preferred-size width="150" height="-1" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JTextArea" icon="/com/intellij/uiDesigner/icons/textArea.svg" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
|
||||
<preferred-size width="150" height="50" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JTextPane" icon="/com/intellij/uiDesigner/icons/textPane.svg" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
|
||||
<preferred-size width="150" height="50" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JEditorPane" icon="/com/intellij/uiDesigner/icons/editorPane.svg" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
|
||||
<preferred-size width="150" height="50" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JComboBox" icon="/com/intellij/uiDesigner/icons/comboBox.svg" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||
<default-constraints vsize-policy="0" hsize-policy="2" anchor="8" fill="1" />
|
||||
</item>
|
||||
<item class="javax.swing.JTable" icon="/com/intellij/uiDesigner/icons/table.svg" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
|
||||
<preferred-size width="150" height="50" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JList" icon="/com/intellij/uiDesigner/icons/list.svg" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||
<default-constraints vsize-policy="6" hsize-policy="2" anchor="0" fill="3">
|
||||
<preferred-size width="150" height="50" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JTree" icon="/com/intellij/uiDesigner/icons/tree.svg" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
|
||||
<preferred-size width="150" height="50" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JTabbedPane" icon="/com/intellij/uiDesigner/icons/tabbedPane.svg" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3">
|
||||
<preferred-size width="200" height="200" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JSplitPane" icon="/com/intellij/uiDesigner/icons/splitPane.svg" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3">
|
||||
<preferred-size width="200" height="200" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JSpinner" icon="/com/intellij/uiDesigner/icons/spinner.svg" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" />
|
||||
</item>
|
||||
<item class="javax.swing.JSlider" icon="/com/intellij/uiDesigner/icons/slider.svg" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" />
|
||||
</item>
|
||||
<item class="javax.swing.JSeparator" icon="/com/intellij/uiDesigner/icons/separator.svg" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3" />
|
||||
</item>
|
||||
<item class="javax.swing.JProgressBar" icon="/com/intellij/uiDesigner/icons/progressbar.svg" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||
<default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1" />
|
||||
</item>
|
||||
<item class="javax.swing.JToolBar" icon="/com/intellij/uiDesigner/icons/toolbar.svg" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||
<default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1">
|
||||
<preferred-size width="-1" height="20" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JToolBar$Separator" icon="/com/intellij/uiDesigner/icons/toolbarSeparator.svg" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||
<default-constraints vsize-policy="0" hsize-policy="0" anchor="0" fill="1" />
|
||||
</item>
|
||||
<item class="javax.swing.JScrollBar" icon="/com/intellij/uiDesigner/icons/scrollbar.svg" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||
<default-constraints vsize-policy="6" hsize-policy="0" anchor="0" fill="2" />
|
||||
</item>
|
||||
</group>
|
||||
</component>
|
||||
</project>
|
||||
@ -1,6 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="VcsDirectoryMappings">
|
||||
<mapping directory="$PROJECT_DIR$" vcs="Git" />
|
||||
</component>
|
||||
</project>
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -1,8 +0,0 @@
|
||||
package cn.jyjz.xiaoyao.framework.security.sms;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
public interface MsmService {
|
||||
//发送验证码
|
||||
boolean send(Map<String, Object> param, String phone);
|
||||
}
|
||||
@ -1,154 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4">
|
||||
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_8" inherit-compiler-output="false">
|
||||
<output url="file://$MODULE_DIR$/target/classes" />
|
||||
<output-test url="file://$MODULE_DIR$/target/test-classes" />
|
||||
<content url="file://$MODULE_DIR$">
|
||||
<sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/src/test/java" isTestSource="true" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/src/main/resources" type="java-resource" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/target" />
|
||||
</content>
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
<orderEntry type="library" name="Maven: com.baomidou:mybatis-plus-boot-starter:3.4.3.4" level="project" />
|
||||
<orderEntry type="library" name="Maven: com.baomidou:mybatis-plus:3.4.3.4" level="project" />
|
||||
<orderEntry type="library" name="Maven: com.baomidou:mybatis-plus-extension:3.4.3.4" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-autoconfigure:2.5.6" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot:2.5.6" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.springframework:spring-core:5.3.12" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.springframework:spring-context:5.3.12" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-jdbc:2.5.6" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter:2.5.6" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-logging:2.5.6" level="project" />
|
||||
<orderEntry type="library" name="Maven: ch.qos.logback:logback-classic:1.2.6" level="project" />
|
||||
<orderEntry type="library" name="Maven: ch.qos.logback:logback-core:1.2.6" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.slf4j:slf4j-api:1.7.32" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.apache.logging.log4j:log4j-to-slf4j:2.14.1" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.apache.logging.log4j:log4j-api:2.14.1" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.slf4j:jul-to-slf4j:1.7.32" level="project" />
|
||||
<orderEntry type="library" name="Maven: jakarta.annotation:jakarta.annotation-api:1.3.5" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.yaml:snakeyaml:1.28" level="project" />
|
||||
<orderEntry type="library" name="Maven: com.zaxxer:HikariCP:4.0.3" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.springframework:spring-jdbc:5.3.12" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.springframework:spring-beans:5.3.12" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.springframework:spring-tx:5.3.12" level="project" />
|
||||
<orderEntry type="library" name="Maven: com.baomidou:dynamic-datasource-spring-boot-starter:3.4.1" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-aop:2.5.6" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.springframework:spring-aop:5.3.12" level="project" />
|
||||
<orderEntry type="library" scope="RUNTIME" name="Maven: org.aspectj:aspectjweaver:1.9.7" level="project" />
|
||||
<orderEntry type="library" name="Maven: com.github.oshi:oshi-core:5.8.6" level="project" />
|
||||
<orderEntry type="library" name="Maven: net.java.dev.jna:jna:5.10.0" level="project" />
|
||||
<orderEntry type="library" name="Maven: net.java.dev.jna:jna-platform:5.10.0" level="project" />
|
||||
<orderEntry type="library" name="Maven: jaxen:jaxen:1.2.0" level="project" />
|
||||
<orderEntry type="library" name="Maven: dom4j:dom4j:1.6.1" level="project" />
|
||||
<orderEntry type="library" name="Maven: xml-apis:xml-apis:1.0.b2" level="project" />
|
||||
<orderEntry type="library" name="Maven: com.alibaba:druid:1.2.8" level="project" />
|
||||
<orderEntry type="module" module-name="jyjz-common-base" />
|
||||
<orderEntry type="library" name="Maven: org.modelmapper:modelmapper:2.4.4" level="project" />
|
||||
<orderEntry type="library" name="Maven: com.google.code.gson:gson:2.8.8" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.bouncycastle:bcprov-jdk15on:1.69" level="project" />
|
||||
<orderEntry type="library" name="Maven: com.google.guava:guava:31.0.1-jre" level="project" />
|
||||
<orderEntry type="library" name="Maven: com.google.guava:failureaccess:1.0.1" level="project" />
|
||||
<orderEntry type="library" name="Maven: com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava" level="project" />
|
||||
<orderEntry type="library" name="Maven: com.google.code.findbugs:jsr305:3.0.2" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.checkerframework:checker-qual:3.12.0" level="project" />
|
||||
<orderEntry type="library" name="Maven: com.google.errorprone:error_prone_annotations:2.7.1" level="project" />
|
||||
<orderEntry type="library" name="Maven: com.google.j2objc:j2objc-annotations:1.3" level="project" />
|
||||
<orderEntry type="library" name="Maven: com.google.zxing:core:3.4.1" level="project" />
|
||||
<orderEntry type="library" name="Maven: com.google.zxing:javase:3.4.1" level="project" />
|
||||
<orderEntry type="library" name="Maven: com.beust:jcommander:1.78" level="project" />
|
||||
<orderEntry type="library" scope="RUNTIME" name="Maven: com.github.jai-imageio:jai-imageio-core:1.4.0" level="project" />
|
||||
<orderEntry type="library" name="Maven: com.alanpoi:alanpoi-common:1.3.4" level="project" />
|
||||
<orderEntry type="library" name="Maven: redis.clients:jedis:3.6.3" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.apache.commons:commons-pool2:2.9.0" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.springframework.data:spring-data-redis:2.5.6" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.springframework.data:spring-data-keyvalue:2.5.6" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.springframework.data:spring-data-commons:2.5.6" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.springframework:spring-oxm:5.3.12" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.springframework:spring-context-support:5.3.12" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.apdplat:word:1.3.1" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.apache.lucene:lucene-core:7.7.2" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.apache.lucene:lucene-queryparser:7.7.2" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.apache.lucene:lucene-queries:7.7.2" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.apache.lucene:lucene-sandbox:7.7.2" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.apache.lucene:lucene-analyzers-common:4.10.4" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.apache.lucene:lucene-suggest:4.10.4" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.apache.lucene:lucene-misc:4.10.4" level="project" />
|
||||
<orderEntry type="library" name="Maven: com.belerweb:pinyin4j:2.5.0" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-web:2.5.6" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-json:2.5.6" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.springframework:spring-web:5.3.12" level="project" />
|
||||
<orderEntry type="library" name="Maven: com.fasterxml.jackson.core:jackson-databind:2.12.5" level="project" />
|
||||
<orderEntry type="library" name="Maven: com.fasterxml.jackson.datatype:jackson-datatype-jdk8:2.12.5" level="project" />
|
||||
<orderEntry type="library" name="Maven: com.fasterxml.jackson.core:jackson-core:2.12.5" level="project" />
|
||||
<orderEntry type="library" name="Maven: com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.12.5" level="project" />
|
||||
<orderEntry type="library" name="Maven: com.fasterxml.jackson.core:jackson-annotations:2.12.5" level="project" />
|
||||
<orderEntry type="library" name="Maven: com.fasterxml.jackson.module:jackson-module-parameter-names:2.12.5" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-tomcat:2.5.6" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.apache.tomcat.embed:tomcat-embed-core:9.0.54" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.apache.tomcat.embed:tomcat-embed-el:9.0.54" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.apache.tomcat.embed:tomcat-embed-websocket:9.0.54" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.springframework:spring-webmvc:5.3.12" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.springframework:spring-expression:5.3.12" level="project" />
|
||||
<orderEntry type="library" name="Maven: com.alibaba:fastjson:1.2.75" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.apache.commons:commons-lang3:3.12.0" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.projectlombok:lombok:1.18.22" level="project" />
|
||||
<orderEntry type="library" name="Maven: commons-io:commons-io:2.9.0" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.apache.poi:poi-ooxml:4.1.2" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.apache.poi:poi:4.1.2" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.apache.poi:poi-ooxml-schemas:4.1.2" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.apache.commons:commons-compress:1.19" level="project" />
|
||||
<orderEntry type="library" name="Maven: com.github.virtuald:curvesapi:1.06" level="project" />
|
||||
<orderEntry type="library" name="Maven: commons-codec:commons-codec:1.15" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.apache.commons:commons-collections4:4.4" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.apache.commons:commons-math3:3.6.1" level="project" />
|
||||
<orderEntry type="library" name="Maven: com.zaxxer:SparseBitSet:1.2" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.apache.xmlbeans:xmlbeans:3.1.0" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.apache.poi:poi-scratchpad:4.1.2" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.apache.pdfbox:pdfbox:2.0.23" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.apache.pdfbox:fontbox:2.0.23" level="project" />
|
||||
<orderEntry type="library" name="Maven: commons-logging:commons-logging:1.2" level="project" />
|
||||
<orderEntry type="library" name="Maven: fr.opensagres.xdocreport:fr.opensagres.xdocreport.document:2.0.2" level="project" />
|
||||
<orderEntry type="library" name="Maven: fr.opensagres.xdocreport:fr.opensagres.xdocreport.core:2.0.2" level="project" />
|
||||
<orderEntry type="library" name="Maven: fr.opensagres.xdocreport:fr.opensagres.xdocreport.converter:2.0.2" level="project" />
|
||||
<orderEntry type="library" name="Maven: fr.opensagres.xdocreport:fr.opensagres.xdocreport.template:2.0.2" level="project" />
|
||||
<orderEntry type="library" name="Maven: fr.opensagres.xdocreport:fr.opensagres.poi.xwpf.converter.core:2.0.2" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.apache.poi:ooxml-schemas:1.4" level="project" />
|
||||
<orderEntry type="library" name="Maven: fr.opensagres.xdocreport:fr.opensagres.poi.xwpf.converter.xhtml:2.0.2" level="project" />
|
||||
<orderEntry type="library" name="Maven: mysql:mysql-connector-java:8.0.26" level="project" />
|
||||
<orderEntry type="library" name="Maven: com.google.protobuf:protobuf-java:3.11.4" level="project" />
|
||||
<orderEntry type="library" name="Maven: cn.hutool:hutool-all:5.7.15" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.apache.httpcomponents:httpclient:4.5.13" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.apache.httpcomponents:httpcore:4.4.14" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.apache.velocity:velocity-engine-core:2.3" level="project" />
|
||||
<orderEntry type="module" module-name="jyjz-common-web" />
|
||||
<orderEntry type="library" name="Maven: io.swagger.core.v3:swagger-annotations:2.1.11" level="project" />
|
||||
<orderEntry type="module" module-name="jyjz-common-mybatisplus" />
|
||||
<orderEntry type="library" name="Maven: org.mybatis.spring.boot:mybatis-spring-boot-starter:2.1.4" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.mybatis.spring.boot:mybatis-spring-boot-autoconfigure:2.1.4" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.mybatis:mybatis:3.5.6" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.mybatis:mybatis-spring:2.0.6" level="project" />
|
||||
<orderEntry type="library" name="Maven: com.baomidou:mybatis-plus-core:3.4.3.4" level="project" />
|
||||
<orderEntry type="library" name="Maven: com.baomidou:mybatis-plus-annotation:3.4.3.4" level="project" />
|
||||
<orderEntry type="library" name="Maven: com.github.jsqlparser:jsqlparser:4.2" level="project" />
|
||||
<orderEntry type="module" module-name="jyjz-common-redis" />
|
||||
<orderEntry type="library" name="Maven: net.sf.ehcache:ehcache:2.10.9.2" level="project" />
|
||||
<orderEntry type="module" module-name="jyjz-common-task" />
|
||||
<orderEntry type="module" module-name="jyjz-common-upload" />
|
||||
<orderEntry type="library" name="Maven: commons-net:commons-net:3.8.0" level="project" />
|
||||
<orderEntry type="library" name="Maven: net.arccode:fastdfs-client-java:1.27.0" level="project" />
|
||||
<orderEntry type="module" module-name="jyjz-framework-security" />
|
||||
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-security:2.5.6" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.springframework.security:spring-security-config:5.4.5" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.springframework.security:spring-security-core:5.4.5" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.springframework.security:spring-security-web:5.4.5" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.springframework:spring-jcl:5.3.12" level="project" />
|
||||
<orderEntry type="library" name="Maven: com.auth0:java-jwt:3.18.2" level="project" />
|
||||
<orderEntry type="library" name="Maven: com.github.penggle:kaptcha:2.3.2" level="project" />
|
||||
<orderEntry type="library" name="Maven: com.jhlabs:filters:2.0.235-1" level="project" />
|
||||
<orderEntry type="module" module-name="jyjz-framework-securityweb" />
|
||||
<orderEntry type="library" name="Maven: org.aspectj:aspectjrt:1.9.7" level="project" />
|
||||
<orderEntry type="module" module-name="jyjz-system-abase" />
|
||||
</component>
|
||||
</module>
|
||||
@ -1,20 +0,0 @@
|
||||
package cn.jyjz.xiaoyao.admin.dataDao;
|
||||
|
||||
import cn.jyjz.xiaoyao.admin.dataobject.SFrontmenuT;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import java.util.List;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 前端菜单表 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author author
|
||||
* @since 2024-03-25
|
||||
*/
|
||||
@Mapper
|
||||
public interface SFrontmenuTDao extends BaseMapper<SFrontmenuT> {
|
||||
|
||||
List<SFrontmenuT> queryUserMenuById(String loginName);
|
||||
}
|
||||
@ -1,19 +0,0 @@
|
||||
package cn.jyjz.xiaoyao.admin.service;
|
||||
|
||||
import cn.jyjz.xiaoyao.admin.dataobject.SFrontmenuT;
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 前端菜单表 服务类
|
||||
* </p>
|
||||
*
|
||||
* @author author
|
||||
* @since 2024-03-25
|
||||
*/
|
||||
public interface ISFrontmenuTService extends IService<SFrontmenuT> {
|
||||
|
||||
List<SFrontmenuT> queryUserMenuById(String loginName);
|
||||
|
||||
}
|
||||
@ -1,34 +0,0 @@
|
||||
package cn.jyjz.xiaoyao.admin.service.impl;
|
||||
import cn.jyjz.xiaoyao.admin.dataDao.SFrontmenuTDao;
|
||||
import cn.jyjz.xiaoyao.admin.dataobject.SFrontmenuT;
|
||||
import cn.jyjz.xiaoyao.admin.service.ISFrontmenuTService;
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import java.util.List;
|
||||
import javax.annotation.Resource;
|
||||
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 前端菜单表 服务实现类
|
||||
* </p>
|
||||
*
|
||||
* @author author
|
||||
* @since 2024-03-25
|
||||
*/
|
||||
@Service
|
||||
@Slf4j
|
||||
public class SFrontmenuTServiceImpl extends ServiceImpl<SFrontmenuTDao, SFrontmenuT> implements ISFrontmenuTService {
|
||||
|
||||
@Resource
|
||||
private SFrontmenuTDao sFrontmenuTDao;
|
||||
|
||||
@Override
|
||||
public List<SFrontmenuT> queryUserMenuById(String loginName){
|
||||
List<SFrontmenuT> sFrontmenuTList = sFrontmenuTDao.queryUserMenuById(loginName);
|
||||
|
||||
return sFrontmenuTList;
|
||||
}
|
||||
|
||||
}
|
||||
@ -1,32 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="cn.jyjz.xiaoyao.admin.dataDao.SFrontmenuTDao">
|
||||
<resultMap id="BaseResultMap" type="cn.jyjz.xiaoyao.admin.dataobject.SFrontmenuT">
|
||||
|
||||
<id column="id" jdbcType="BIGINT" property="id" />
|
||||
<result column="name" jdbcType="VARCHAR" property="name" />
|
||||
<result column="parentId" jdbcType="INTEGER" property="parentId" />
|
||||
<result column="resKey" jdbcType="VARCHAR" property="resKey" />
|
||||
<result column="resUrl" jdbcType="VARCHAR" property="resKey" />
|
||||
<result column="level" jdbcType="INTEGER" property="level" />
|
||||
<result column="icon" jdbcType="VARCHAR" property="icon" />
|
||||
<result column="orderNum" jdbcType="INTEGER" property="orderNum" />
|
||||
<result column="ishide" jdbcType="INTEGER" property="ishide" />
|
||||
<result column="description" jdbcType="VARCHAR" property="description" />
|
||||
</resultMap>
|
||||
<sql id="Base_Column_List">
|
||||
id, `name`, parentId, resKey, resUrl, `level`, icon, orderNum, ishide, description
|
||||
</sql>
|
||||
|
||||
<select id="queryUserMenuById" resultType="cn.jyjz.xiaoyao.admin.dataobject.SFrontmenuT">
|
||||
SELECT
|
||||
T3.*
|
||||
FROM
|
||||
s_user_frontmenu_t T1
|
||||
LEFT JOIN s_user_t T2 ON T1.userId = T2.ID
|
||||
LEFT JOIN s_frontmenu_t T3 on T3.id = T1.menuId
|
||||
WHERE
|
||||
T2.LOGINNAME = #{loginname}
|
||||
ORDER BY T3.orderNum asc
|
||||
</select>
|
||||
</mapper>
|
||||
@ -1,87 +0,0 @@
|
||||
package cn.jyjz.xiaoyao.ocr.controller;
|
||||
|
||||
import cn.jyjz.flowable.service.IFlowTaskService;
|
||||
import cn.jyjz.flowable.utils.PageUtils;
|
||||
import cn.jyjz.xiaoyao.admin.dataobject.User;
|
||||
import cn.jyjz.xiaoyao.admin.service.UserService;
|
||||
import cn.jyjz.xiaoyao.common.base.controller.BaseController;
|
||||
import cn.jyjz.xiaoyao.common.base.service.UserTokenService;
|
||||
import cn.jyjz.xiaoyao.common.base.util.RequestBaseUtil;
|
||||
import cn.jyjz.xiaoyao.common.base.util.requestFormat.SearchQuery;
|
||||
import cn.jyjz.xiaoyao.common.base.vo.ResultVo;
|
||||
import cn.jyjz.xiaoyao.common.base.vo.ResultVoUtil;
|
||||
import cn.jyjz.xiaoyao.common.base.vo.UserToken;
|
||||
import cn.jyjz.xiaoyao.ocr.dataobject.OcrTaskchildPictureAppro;
|
||||
import cn.jyjz.xiaoyao.ocr.service.IOcrSearchHistoryService;
|
||||
import cn.jyjz.xiaoyao.framework.security.sms.MsmService;
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* ocr控制器
|
||||
*
|
||||
* @author 你的肉
|
||||
* AI审批工单
|
||||
* @Date 2024-03-17 19:53:30
|
||||
*/
|
||||
@CrossOrigin
|
||||
@RestController
|
||||
@RequestMapping("/ocr/aitools")
|
||||
public class OcrAiApprovalTools {
|
||||
|
||||
|
||||
@Autowired
|
||||
private UserTokenService userTokenService;
|
||||
|
||||
@Autowired
|
||||
IOcrSearchHistoryService iocrsearchhistoryservice;
|
||||
|
||||
|
||||
/**
|
||||
* 统计
|
||||
*
|
||||
* @param request
|
||||
* @return
|
||||
*/
|
||||
@RequestMapping(value = "/toolsCount", method = RequestMethod.GET)
|
||||
public ResultVo toolsCount(HttpServletRequest request) {
|
||||
|
||||
String tenantId = request.getHeader("X-Tenant-Id");
|
||||
if(StringUtils.isBlank(tenantId)){
|
||||
return ResultVoUtil.error("租户主键不能为空");
|
||||
}
|
||||
|
||||
|
||||
UserToken userToken = this.userTokenService.getUserToken(RequestBaseUtil.getToken(request));
|
||||
|
||||
ResultVo toolscount = iocrsearchhistoryservice.toolscount(tenantId,userToken.getUserid(),request);
|
||||
|
||||
return toolscount;
|
||||
}
|
||||
|
||||
/*
|
||||
ai审批工单
|
||||
*/
|
||||
@RequestMapping(value = "/aiApprovaltools", method = RequestMethod.GET)
|
||||
public ResultVo aiApprovaltools(HttpServletRequest request,@RequestParam(value = "taskid", required = true) String taskid) {
|
||||
UserToken userToken = this.userTokenService.getUserToken(RequestBaseUtil.getToken(request));
|
||||
|
||||
Map<Object, Object> selectaisp = iocrsearchhistoryservice.selectaisp(userToken.getUserid(), taskid,userToken.getNodeType());
|
||||
return ResultVoUtil.success(selectaisp);
|
||||
}
|
||||
|
||||
@RequestMapping(value = "/aiApprovaltoolsClearmark", method = RequestMethod.GET)
|
||||
public ResultVo aiApprovaltoolsClearmark(HttpServletRequest request,@RequestParam(value = "taskid", required = true) String taskid) {
|
||||
|
||||
ResultVo clearmark = iocrsearchhistoryservice.clearmark(taskid);
|
||||
return clearmark;
|
||||
}
|
||||
|
||||
}
|
||||
@ -1,122 +0,0 @@
|
||||
package cn.jyjz.xiaoyao.ocr.controller;
|
||||
|
||||
|
||||
import cn.jyjz.xiaoyao.common.base.controller.BaseController;
|
||||
import cn.jyjz.xiaoyao.common.base.service.UserTokenService;
|
||||
import cn.jyjz.xiaoyao.common.base.util.RequestBaseUtil;
|
||||
import cn.jyjz.xiaoyao.common.base.vo.ResultVo;
|
||||
import cn.jyjz.xiaoyao.common.base.vo.ResultVoUtil;
|
||||
import cn.jyjz.xiaoyao.common.base.vo.UserToken;
|
||||
import cn.jyjz.xiaoyao.ocr.dataobject.OcrPicture;
|
||||
import cn.jyjz.xiaoyao.ocr.dataobject.OcrTaskPackage;
|
||||
import cn.jyjz.xiaoyao.ocr.dto.OcrTaskPackageDto;
|
||||
import cn.jyjz.xiaoyao.ocr.service.IOcrTaskPackageService;
|
||||
import com.alibaba.fastjson.JSONArray;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 一键查重 and 任务包功能
|
||||
* </p>
|
||||
*
|
||||
* @author author
|
||||
* @since 2024-03-24
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/ocr/ocrTaskPackage")
|
||||
public class OcrTaskPackageController extends BaseController {
|
||||
private Logger log = LoggerFactory.getLogger(this.getClass());
|
||||
|
||||
@Resource
|
||||
private IOcrTaskPackageService ocrTaskPackageService;
|
||||
|
||||
|
||||
@Resource
|
||||
private UserTokenService userTokenService;
|
||||
|
||||
/**
|
||||
* 创建任务包
|
||||
*
|
||||
* @param ocrTaskPackage
|
||||
* @param req
|
||||
* @return
|
||||
*/
|
||||
@PostMapping(value = "/createPackage")
|
||||
public ResultVo createPackage(@RequestBody OcrTaskPackageDto ocrTaskPackage, HttpServletRequest req) {
|
||||
UserToken userToken = this.userTokenService.getUserToken(RequestBaseUtil.getToken(req));
|
||||
//租户
|
||||
String tenantId = req.getHeader("X-Tenant-Id");
|
||||
if (StringUtils.isBlank(tenantId)) {
|
||||
return ResultVoUtil.error("租户主键不能为空");
|
||||
}
|
||||
ocrTaskPackage.setTenantId(Long.parseLong(tenantId));
|
||||
//校验参数包名称
|
||||
if (ocrTaskPackage == null) {
|
||||
return ResultVoUtil.error("参数对象为空");
|
||||
}
|
||||
|
||||
//校验参数包名称
|
||||
if (StringUtils.isBlank(ocrTaskPackage.getName())) {
|
||||
return ResultVoUtil.error("任务包名称不能为空");
|
||||
}
|
||||
|
||||
//校验参数包名称
|
||||
if (StringUtils.isBlank(ocrTaskPackage.getCheckDuplicateNo())) {
|
||||
return ResultVoUtil.error("查重任务编号不能为空");
|
||||
}
|
||||
ocrTaskPackage.setCreateBy(userToken.getUserid());
|
||||
ocrTaskPackage.setCreateTime(System.currentTimeMillis());
|
||||
return ocrTaskPackageService.saveTaskPackage(ocrTaskPackage);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 通过主键删除任务包
|
||||
*
|
||||
* @param packageId
|
||||
* @param req
|
||||
* @return
|
||||
*/
|
||||
@GetMapping(value = "/deletePackage")
|
||||
public ResultVo deletePackage(@RequestParam(name = "packageId", required = true) Long packageId, HttpServletRequest req) {
|
||||
OcrTaskPackage taskPackage = new OcrTaskPackage();
|
||||
taskPackage.setId(packageId);
|
||||
taskPackage.setIsDelete(1);
|
||||
boolean b = ocrTaskPackageService.updateById(taskPackage);
|
||||
if (b) {
|
||||
return ResultVoUtil.success();
|
||||
} else {
|
||||
return ResultVoUtil.error();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取任务包列表
|
||||
*
|
||||
* @param packageName
|
||||
* @param req
|
||||
* @return
|
||||
*/
|
||||
@GetMapping(value = "/getPackageList")
|
||||
public ResultVo getPackageList(@RequestParam(name = "packageName", required = false) String packageName,
|
||||
@RequestParam(name = "pageNo") Integer pageNo,
|
||||
@RequestParam(name = "pageSize") Integer pageSize,
|
||||
HttpServletRequest req) {
|
||||
String tenantId = req.getHeader("X-Tenant-Id");
|
||||
if(StringUtils.isBlank(tenantId)){
|
||||
return ResultVoUtil.error("租户主键不能为空");
|
||||
}
|
||||
Page<Map<String, Object>> result = ocrTaskPackageService.getPackageList(pageNo, pageSize, packageName,tenantId);
|
||||
return ResultVoUtil.success(result);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
@ -1,221 +0,0 @@
|
||||
package cn.jyjz.xiaoyao.ocr.controller;
|
||||
|
||||
import cn.hutool.core.collection.CollUtil;
|
||||
import cn.jyjz.xiaoyao.common.base.service.UserTokenService;
|
||||
import cn.jyjz.xiaoyao.common.base.util.RequestBaseUtil;
|
||||
import cn.jyjz.xiaoyao.common.base.vo.ResultVo;
|
||||
import cn.jyjz.xiaoyao.common.base.vo.ResultVoUtil;
|
||||
import cn.jyjz.xiaoyao.common.base.vo.UserToken;
|
||||
import cn.jyjz.xiaoyao.ocr.dataobject.*;
|
||||
import cn.jyjz.xiaoyao.ocr.service.OcrPictureService;
|
||||
import cn.jyjz.xiaoyao.ocr.service.OcrTaskchildPictureService;
|
||||
import cn.jyjz.xiaoyao.ocr.vo.OcrTaskChildPictureVo;
|
||||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
||||
import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper;
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
import org.springframework.http.HttpStatus;
|
||||
import org.springframework.http.ResponseEntity;
|
||||
import org.springframework.validation.BindingResult;
|
||||
import org.springframework.web.bind.annotation.RequestParam;
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
import cn.jyjz.xiaoyao.ocr.service.IOcrTaskchildDubiousFileService;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
/**
|
||||
* ocr可疑文件控制器
|
||||
*
|
||||
* @author 你的肉
|
||||
* @Date 2024-03-21 19:00:57
|
||||
*/
|
||||
@Api(tags="ocr可疑文件控制器")
|
||||
@RestController
|
||||
@RequestMapping("/ocr/dubiousfile")
|
||||
public class OcrTaskchildDubiousFileController {
|
||||
|
||||
|
||||
@Autowired
|
||||
private IOcrTaskchildDubiousFileService ocrTaskchildDubiousFileService;
|
||||
|
||||
@Autowired
|
||||
private UserTokenService userTokenService;
|
||||
|
||||
@Autowired
|
||||
OcrTaskchildPictureService ocrtaskchildpictureservice;
|
||||
|
||||
@Autowired
|
||||
OcrPictureService ocrpictureservice;
|
||||
|
||||
/**
|
||||
* 分页查询
|
||||
* @param request
|
||||
* @return
|
||||
*/
|
||||
@ApiOperation(value="可疑文件列表查询", notes="可疑文件列表查询")
|
||||
@RequestMapping(value = "/dubiousfilelist", method = RequestMethod.GET)
|
||||
public ResultVo<Page<OcrTaskChildPictureVo>> dubiousfilelist(HttpServletRequest request,
|
||||
@RequestParam(value = "pageNo", required = false, defaultValue = "0") Integer pageNo,
|
||||
@RequestParam(value = "pageSize", required = false, defaultValue = "10") Integer pageSize,
|
||||
@RequestParam(value = "orderbyname", required = true, defaultValue = "asc") String orderbyname) {
|
||||
|
||||
|
||||
String tenantId = request.getHeader("X-Tenant-Id");
|
||||
if(StringUtils.isBlank(tenantId)){
|
||||
return ResultVoUtil.error("租户主键不能为空");
|
||||
}
|
||||
|
||||
UserToken userToken = this.userTokenService.getUserToken(RequestBaseUtil.getToken(request));
|
||||
|
||||
// QueryWrapper<OcrTaskchildDubiousFile> dubiouswrapper = new QueryWrapper<>();
|
||||
// dubiouswrapper.eq("userid",userToken.getUserid());
|
||||
// List<OcrTaskchildDubiousFile> list = ocrTaskchildDubiousFileService.list(dubiouswrapper);
|
||||
// if(list.size()==0){
|
||||
// return ResultVoUtil.success();
|
||||
// }
|
||||
// IPage<OcrPicture> iPage = new Page<>(Integer.valueOf(pageNo),Integer.valueOf(pageSize));
|
||||
//
|
||||
// QueryWrapper<OcrPicture> wrapper = new QueryWrapper<>();
|
||||
// wrapper.in("ID",list.stream().map(i->i.getPictureId()).collect(Collectors.toList()));
|
||||
//
|
||||
//
|
||||
// if(orderbyname.equals("desc")){
|
||||
// wrapper.orderByDesc("create_time");
|
||||
// }else {
|
||||
// wrapper.orderByAsc("create_time");
|
||||
// }
|
||||
//
|
||||
// //IPage<OcrPicture> page = ocrpictureservice.page(iPage, wrapper);
|
||||
|
||||
Page<OcrTaskChildPictureVo> page = ocrTaskchildDubiousFileService.dubiousfilelist(pageNo,pageSize,orderbyname,userToken,tenantId);
|
||||
|
||||
return ResultVoUtil.success(page);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 删除
|
||||
* @param request
|
||||
* @return
|
||||
*/
|
||||
@ApiOperation(value="可疑文件列表移除", notes="可疑文件列表移除")
|
||||
@RequestMapping(value = "/dubiousfileyc", method = RequestMethod.GET)
|
||||
public ResultVo dubiousfileyc(HttpServletRequest request, @RequestParam(value = "pictureid", required = true) String pictureid) {
|
||||
|
||||
UserToken userToken = this.userTokenService.getUserToken(RequestBaseUtil.getToken(request));
|
||||
|
||||
String[] cps = pictureid.split(",");
|
||||
|
||||
List<OcrPicture> saveList = new ArrayList<>();
|
||||
List<OcrTaskchildDubiousFile> fileList = new ArrayList<>();
|
||||
for (String childpictureid : cps) {
|
||||
OcrPicture ocrPicture = ocrpictureservice.selectDtoById(Long.parseLong(childpictureid));
|
||||
if(ocrPicture != null){
|
||||
ocrPicture.setSuspiciousfile(0);
|
||||
ocrPicture.setUpdateTime(System.currentTimeMillis());
|
||||
saveList.add(ocrPicture);
|
||||
}
|
||||
|
||||
QueryWrapper<OcrTaskchildDubiousFile> dubiouswrapper = new QueryWrapper<>();
|
||||
dubiouswrapper.eq("userid",userToken.getUserid()).eq("picture_id",childpictureid);
|
||||
|
||||
|
||||
OcrTaskchildDubiousFile one = ocrTaskchildDubiousFileService.getOne(dubiouswrapper);
|
||||
if(one != null){
|
||||
fileList.add(one);
|
||||
}
|
||||
}
|
||||
|
||||
//无对应图片信息
|
||||
if(CollUtil.isEmpty(saveList)){
|
||||
return ResultVoUtil.error("可疑文件不存在!");
|
||||
}
|
||||
ocrpictureservice.updateBatchById(saveList);
|
||||
|
||||
|
||||
//根据具体情况 判断 是否需要 进行数据返回, 默认不返回数据
|
||||
|
||||
return ocrTaskchildDubiousFileService.removeByIds(fileList)?ResultVoUtil.success():ResultVoUtil.error("可疑文件不存在!");
|
||||
}
|
||||
/**
|
||||
* 添加
|
||||
* @param request
|
||||
* @return
|
||||
*/
|
||||
@ApiOperation(value="可疑文件列表添加", notes="可疑文件列表添加")
|
||||
@RequestMapping(value = "/dubiousfileyd", method = RequestMethod.GET)
|
||||
public ResultVo dubiousfileyd(HttpServletRequest request, @RequestParam(value = "pictureid", required = true) String pictureid) {
|
||||
|
||||
String tenantId = request.getHeader("X-Tenant-Id");
|
||||
if(StringUtils.isBlank(tenantId)){
|
||||
return ResultVoUtil.error("租户主键不能为空");
|
||||
}
|
||||
|
||||
|
||||
UserToken userToken = this.userTokenService.getUserToken(RequestBaseUtil.getToken(request));
|
||||
|
||||
List<OcrTaskchildDubiousFile> list=new ArrayList<>();
|
||||
String[] taskchildid1 = pictureid.toString().split(",");
|
||||
for (String asd:taskchildid1){
|
||||
|
||||
QueryWrapper<OcrTaskchildDubiousFile> filewrapper = new QueryWrapper<>();
|
||||
filewrapper.eq("picture_id",asd).eq("userid",userToken.getUserid());
|
||||
OcrTaskchildDubiousFile one1 = ocrTaskchildDubiousFileService.getOne(filewrapper);
|
||||
if (null==one1){
|
||||
OcrTaskchildDubiousFile ocrtaskchilddubiousfile=new OcrTaskchildDubiousFile();
|
||||
ocrtaskchilddubiousfile.setPictureId(Long.parseLong(asd));
|
||||
ocrtaskchilddubiousfile.setTenantid(Long.parseLong(tenantId));
|
||||
ocrtaskchilddubiousfile.setUserid(Long.parseLong(userToken.getUserid()));
|
||||
ocrtaskchilddubiousfile.setCreatedate(System.currentTimeMillis());
|
||||
|
||||
|
||||
QueryWrapper<OcrTaskchildPicture> wrapper = new QueryWrapper<>();
|
||||
wrapper.eq("PICTUREID",asd);
|
||||
OcrTaskchildPicture one = ocrtaskchildpictureservice.getOne(wrapper);
|
||||
ocrtaskchilddubiousfile.setTaskchildId(one.getId());
|
||||
|
||||
UpdateWrapper<OcrPicture> updatewrapper = new UpdateWrapper<>();
|
||||
updatewrapper.eq("ID", asd).set("suspiciousfile","1");
|
||||
|
||||
ocrpictureservice.update(updatewrapper);
|
||||
|
||||
list.add(ocrtaskchilddubiousfile);
|
||||
}else {
|
||||
if (!asd.equals(one1.getPictureId().toString())) {
|
||||
OcrTaskchildDubiousFile ocrtaskchilddubiousfile=new OcrTaskchildDubiousFile();
|
||||
ocrtaskchilddubiousfile.setPictureId(Long.parseLong(asd));
|
||||
ocrtaskchilddubiousfile.setTenantid(Long.parseLong(tenantId));
|
||||
ocrtaskchilddubiousfile.setUserid(Long.parseLong(userToken.getUserid()));
|
||||
ocrtaskchilddubiousfile.setCreatedate(System.currentTimeMillis());
|
||||
|
||||
|
||||
QueryWrapper<OcrTaskchildPicture> wrapper = new QueryWrapper<>();
|
||||
wrapper.eq("PICTUREID",asd);
|
||||
OcrTaskchildPicture one = ocrtaskchildpictureservice.getOne(wrapper);
|
||||
ocrtaskchilddubiousfile.setTaskchildId(one.getId());
|
||||
|
||||
UpdateWrapper<OcrPicture> updatewrapper = new UpdateWrapper<>();
|
||||
updatewrapper.eq("ID", asd).set("suspiciousfile","1");
|
||||
|
||||
ocrpictureservice.update(updatewrapper);
|
||||
|
||||
list.add(ocrtaskchilddubiousfile);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
return ocrTaskchildDubiousFileService.saveBatch(list)?ResultVoUtil.success():ResultVoUtil.error("当前图片已添加过了");
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,11 @@
|
||||
package cn.jyjz.xiaoyao.ocr.dataDao;
|
||||
|
||||
import cn.jyjz.xiaoyao.ocr.dataobject.OcrArea;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
/**
|
||||
* 数据持久化
|
||||
*/
|
||||
@Mapper
|
||||
public interface OcrAreaMybatisDao extends BaseMapper<OcrArea> {
|
||||
}
|
||||
@ -1,18 +0,0 @@
|
||||
package cn.jyjz.xiaoyao.ocr.dataDao;
|
||||
|
||||
import cn.jyjz.xiaoyao.ocr.dataobject.OcrCheckDuplicate;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 查重任务表 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author author
|
||||
* @since 2024-03-24
|
||||
*/
|
||||
@Mapper
|
||||
public interface OcrCheckDuplicateMapper extends BaseMapper<OcrCheckDuplicate> {
|
||||
|
||||
}
|
||||
@ -1,18 +0,0 @@
|
||||
package cn.jyjz.xiaoyao.ocr.dataDao;
|
||||
|
||||
import cn.jyjz.xiaoyao.ocr.dataobject.OcrCheckDuplicateResult;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author author
|
||||
* @since 2024-03-24
|
||||
*/
|
||||
@Mapper
|
||||
public interface OcrCheckDuplicateResultMapper extends BaseMapper<OcrCheckDuplicateResult> {
|
||||
|
||||
}
|
||||
@ -1,18 +0,0 @@
|
||||
package cn.jyjz.xiaoyao.ocr.dataDao;
|
||||
|
||||
import cn.jyjz.xiaoyao.ocr.dataobject.OcrPictureDuplicateHis;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 图片比对历史信息表 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author author
|
||||
* @since 2024-03-24
|
||||
*/
|
||||
@Mapper
|
||||
public interface OcrPictureDuplicateHisMapper extends BaseMapper<OcrPictureDuplicateHis> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,11 @@
|
||||
package cn.jyjz.xiaoyao.ocr.dataDao;
|
||||
|
||||
import cn.jyjz.xiaoyao.ocr.dataobject.OcrPictureclass;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
/**
|
||||
* 数据持久化
|
||||
*/
|
||||
@Mapper
|
||||
public interface OcrPictureclassMybatisDao extends BaseMapper<OcrPictureclass> {
|
||||
}
|
||||
@ -0,0 +1,30 @@
|
||||
package cn.jyjz.xiaoyao.ocr.dataDao;
|
||||
|
||||
import cn.jyjz.xiaoyao.ocr.dataobject.OcrPicturejob;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 数据持久化
|
||||
*/
|
||||
@Mapper
|
||||
public interface OcrPicturejobMybatisDao extends BaseMapper<OcrPicturejob> {
|
||||
/**
|
||||
* 通过主表id删除子表数据
|
||||
*
|
||||
* @param mainId 主表id
|
||||
* @return boolean
|
||||
*/
|
||||
public boolean deleteByMainId(@Param("mainId") String mainId);
|
||||
|
||||
/**
|
||||
* 通过主表id查询子表数据
|
||||
*
|
||||
* @param mainId 主表id
|
||||
* @return List<OcrPicturejob>
|
||||
*/
|
||||
public List<OcrPicturejob> selectByMainId(@Param("mainId") String mainId);
|
||||
}
|
||||
@ -0,0 +1,11 @@
|
||||
package cn.jyjz.xiaoyao.ocr.dataDao;
|
||||
|
||||
import cn.jyjz.xiaoyao.ocr.dataobject.OcrPicturetype;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
/**
|
||||
* 数据持久化
|
||||
*/
|
||||
@Mapper
|
||||
public interface OcrPicturetypeMybatisDao extends BaseMapper<OcrPicturetype> {
|
||||
}
|
||||
@ -0,0 +1,11 @@
|
||||
package cn.jyjz.xiaoyao.ocr.dataDao;
|
||||
|
||||
import cn.jyjz.xiaoyao.ocr.dataobject.OcrPlan;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
/**
|
||||
* 数据持久化
|
||||
*/
|
||||
@Mapper
|
||||
public interface OcrPlanMybatisDao extends BaseMapper<OcrPlan> {
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue