1.共享审批人员分配问题处理

This commit is contained in:
zhangzhiguo 2025-04-24 16:57:39 +08:00
parent 979b2d274a
commit 00a4e22afb
3 changed files with 53 additions and 9 deletions

View File

@ -43,7 +43,7 @@ public final class CosmicLauncher {
*/ */
private static final String DEFAULT_COSMIT_HOME_PATH = System.getProperty("user.home").replaceAll("\\\\", "/") + "/cosmic/home"; private static final String DEFAULT_COSMIT_HOME_PATH = System.getProperty("user.home").replaceAll("\\\\", "/") + "/cosmic/home";
private static final String PROJECT_HOME = "D:/WorkSpace/zcdev"; private static final String PROJECT_HOME = "E:/code/zhongcai_dev";
private static final String LOCAL_IP = "127.0.0.1"; private static final String LOCAL_IP = "127.0.0.1";

View File

@ -8,6 +8,7 @@
package zcgj.cosmic.debug; package zcgj.cosmic.debug;
import kd.cosmic.debug.tools.CosmicLauncher; import kd.cosmic.debug.tools.CosmicLauncher;
import kd.sdk.bos.launch.Launcher;
/** /**
* 启动本地应用程序(微服务节点) * 启动本地应用程序(微服务节点)
@ -21,16 +22,25 @@ public class DebugApplication {
// Thread.currentThread().setContextClassLoader(new KDSecurityClassLoader(Thread.currentThread().getContextClassLoader())); // Thread.currentThread().setContextClassLoader(new KDSecurityClassLoader(Thread.currentThread().getContextClassLoader()));
CosmicLauncher cosmic = new CosmicLauncher(false); CosmicLauncher cosmic = new CosmicLauncher(false);
// 关闭轻量环境启用 redisrabbitmq
cosmic.setEnableLightWeightDeploy(false);
//debbugTopic 需要设置成每人都不同的
String debbugTopic = "zzg";
// 注册为消息队列消费者
cosmic.setMqConsumerRegister(true, debbugTopic);
cosmic.setClusterNumber("cosmic"); cosmic.setClusterNumber("cosmic");
cosmic.setTenantNumber("ierp"); cosmic.setTenantNumber("ierp");
// cosmic.setConfigUrl("127.0.0.1:2181?user=zk&password=xxx"); // cosmic.setConfigUrl("127.0.0.1:2181?user=zk&password=xxx");
cosmic.setConfigUrl("192.168.10.210:2181?user=zookeeper&password=123456abc"); cosmic.setConfigUrl("192.168.10.210?user=zookeeper&password=123456abc");
//cosmic.setConfigUrl("26.60.218.15?user=zookeeper&password=123456abc");
// cosmic.setMcServerUrl("http://127.0.0.1:8090"); // cosmic.setMcServerUrl("http://127.0.0.1:8090");
cosmic.setMcServerUrl("http://192.168.10.210:8090/"); cosmic.setMcServerUrl("http://192.168.10.210:8090/");
// cosmic.setMcServerUrl("http://26.60.218.15:8090/");
// cosmic.setFsServerUrl("127.0.0.1", 8100); // cosmic.setFsServerUrl("127.0.0.1", 8100);
// cosmic.setImageServerUrl("127.0.0.1", 8100); // cosmic.setImageServerUrl("127.0.0.1", 8100);
@ -38,7 +48,41 @@ public class DebugApplication {
cosmic.setCosmicWebPort(8881); cosmic.setCosmicWebPort(8881);
// cosmic.setDubboConfig(false, true, true); // cosmic.setDubboConfig(false, true, true);
cosmic.start(); cosmic.start();
//redis 47.101.159.154
// debbugTopic 需要设置成每人都不同的
// String debbugTopic = "zzg";
// 注册为消息队列消费者
//cosmic.setMqConsumerRegister(true, debbugTopic);
// rabbitmq配置
/* {
//MQ地址
String mqHost = "139.224.101.245";
String mqPort = "5672"; // 默认5672
//MQ用戶名
String mqUser = "admin";
//MQ密碼
String mqPwd = "admin";
// MQ Ierp vhost
String mqVhost = "ierp";
StringBuilder builder = new StringBuilder();
builder.append("type=rabbitmq").append(System.getProperty("line.separator"))
.append("host=").append(mqHost).append(System.getProperty("line.separator"))
.append("port=").append(mqPort).append(System.getProperty("line.separator"))
.append("user=").append(mqUser).append(System.getProperty("line.separator"))
.append("password=").append(mqPwd).append(System.getProperty("line.separator"))
.append("vhost=").append(mqVhost);
cosmic.set("mq.server", builder.toString());
}
// redis
{
String redisUrl = "47.101.159.154:6379";
cosmic.set("redis.serversForCache", redisUrl);
cosmic.set("redis.serversForSession", redisUrl);
cosmic.set("algo.storage.redis.url", redisUrl);
}*/
} }
} }

View File

@ -3,13 +3,13 @@
### If there are any issues during the use process, you can provide feedback to the kingdee developer community website. ### If there are any issues during the use process, you can provide feedback to the kingdee developer community website.
### Website: https://developer.kingdee.com/developer?productLineId=29 ### Website: https://developer.kingdee.com/developer?productLineId=29
### Author: liebin.zheng ### Author: liebin.zheng
### Generate Date: 2025-03-04 10:51:23 ### Generate Date: 2025-02-21 09:31:59
### ---------------------------- ### ----------------------------
systemProp.kddt_version=2.2.0-Beta systemProp.kddt_version=2.2.0-Beta
systemProp.template_type=app systemProp.template_type=app
systemProp.groupId=zcgj.cosmic systemProp.groupId=zcgj.cosmic
systemProp.artifactId=zcgj-cosmic systemProp.artifactId=zcgj-cosmic
systemProp.version=1.0.0 ##systemProp.version=1.0.0
systemProp.ci_version=2.0 systemProp.ci_version=2.0
systemProp.jdk.version=1.8 systemProp.jdk.version=1.8
systemProp.new_cosmic_project=true systemProp.new_cosmic_project=true
@ -18,7 +18,7 @@ systemProp.developer_flag=zcgj
#--This is the project flag #--This is the project flag
systemProp.project_flag=zcdev systemProp.project_flag=zcdev
#--This is the project dir #--This is the project dir
systemProp.project_dir=D:/WorkSpace/zcdev systemProp.project_dir=E:/code/zhongcai_dev
#--This is the dir for cosmic project libs and static resouces #--This is the dir for cosmic project libs and static resouces
systemProp.cosmic_home=D:/comsic/home systemProp.cosmic_home=D:/comsic/home
#--Performance configuration for gradle build #--Performance configuration for gradle build