Compare commits
3 Commits
fca7ee645a
...
82670bae0e
Author | SHA1 | Date |
---|---|---|
youhong.ai | 82670bae0e | |
youhong.ai | 876007e5d5 | |
youhong.ai | 12bf9f86c4 |
|
@ -0,0 +1,69 @@
|
||||||
|
package com.customization.youhong.guoxiaojun.sendtodo.impl;
|
||||||
|
|
||||||
|
import lombok.Setter;
|
||||||
|
import weaver.ofs.interfaces.SendRequestStatusDataInterfaces;
|
||||||
|
import weaver.workflow.request.todo.DataObj;
|
||||||
|
|
||||||
|
import java.util.ArrayList;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <h1>国小君统一待办推送</h1>
|
||||||
|
*
|
||||||
|
* <p>create: 2023/7/15 13:32</p>
|
||||||
|
*
|
||||||
|
* @author youHong.ai
|
||||||
|
*/
|
||||||
|
@Setter
|
||||||
|
public class SendTodoTaskImpl implements SendRequestStatusDataInterfaces {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 后台设置id
|
||||||
|
*/
|
||||||
|
public String id;
|
||||||
|
/**
|
||||||
|
* 设置的系统编号
|
||||||
|
*/
|
||||||
|
public String syscode;
|
||||||
|
/**
|
||||||
|
* 服务器URL
|
||||||
|
*/
|
||||||
|
public String serverurl;
|
||||||
|
/**
|
||||||
|
* 流程白名单
|
||||||
|
*/
|
||||||
|
public ArrayList<String> workflowwhitelist;
|
||||||
|
/**
|
||||||
|
* 人员白名单
|
||||||
|
*/
|
||||||
|
public ArrayList<String> userwhitelist;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String getId() {
|
||||||
|
return id;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String getSyscode() {
|
||||||
|
return syscode;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String getServerurl() {
|
||||||
|
return serverurl;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public ArrayList<String> getWorkflowwhitelist() {
|
||||||
|
return workflowwhitelist;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public ArrayList<String> getUserwhitelist() {
|
||||||
|
return userwhitelist;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void SendRequestStatusData(ArrayList<DataObj> datas) {
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
|
@ -116,7 +116,7 @@ public class BuilderPackageEcology extends Application {
|
||||||
try {
|
try {
|
||||||
FileCompressor.compressFiles(filePaths, outputFile.getAbsolutePath(), path -> {
|
FileCompressor.compressFiles(filePaths, outputFile.getAbsolutePath(), path -> {
|
||||||
String rootPath = Util.class.getResource("/").getPath();
|
String rootPath = Util.class.getResource("/").getPath();
|
||||||
if(rootPath.startsWith("/")){
|
if (rootPath.startsWith("/") && File.separator.equals("\\")) {
|
||||||
rootPath = rootPath.substring(1);
|
rootPath = rootPath.substring(1);
|
||||||
rootPath = rootPath.replace("/", File.separator);
|
rootPath = rootPath.replace("/", File.separator);
|
||||||
}
|
}
|
||||||
|
@ -258,7 +258,6 @@ public class BuilderPackageEcology extends Application {
|
||||||
Node rootIcon = new ImageView(
|
Node rootIcon = new ImageView(
|
||||||
new javafx.scene.image.Image(Objects.requireNonNull(getClass().getResourceAsStream(iconName)))
|
new javafx.scene.image.Image(Objects.requireNonNull(getClass().getResourceAsStream(iconName)))
|
||||||
);// 定义一个图片类型节点对象
|
);// 定义一个图片类型节点对象
|
||||||
|
|
||||||
checkBox.setGraphic(rootIcon);
|
checkBox.setGraphic(rootIcon);
|
||||||
} else if (item.getFileName().endsWith(".jar")) {
|
} else if (item.getFileName().endsWith(".jar")) {
|
||||||
Node fileIcon = new ImageView(
|
Node fileIcon = new ImageView(
|
||||||
|
|
|
@ -26,7 +26,7 @@ public class AutoPackageJar {
|
||||||
|
|
||||||
public static void createJar(String targetPath) {
|
public static void createJar(String targetPath) {
|
||||||
String path = AutoPackageJar.class.getResource("").getPath();
|
String path = AutoPackageJar.class.getResource("").getPath();
|
||||||
if(path.startsWith("/")){
|
if (path.startsWith("/") && File.separator.equals("\\")) {
|
||||||
path = path.substring(1);
|
path = path.substring(1);
|
||||||
path = path.replace("/", File.separator);
|
path = path.replace("/", File.separator);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue