yuanzhi_kuang 1 tuần trước cách đây
mục cha
commit
7d73c16cd2
44 tập tin đã thay đổi với 120 bổ sung735 xóa
  1. BIN
      zlkj_PERF/zlkj_hr_application/build/classes/java/main/kd/bos/debug/mservice/CosmicLauncher.class
  2. BIN
      zlkj_PERF/zlkj_hr_application/build/classes/java/main/kd/bos/debug/mservice/DebugApplicationDevelop.class
  3. BIN
      zlkj_PERF/zlkj_hr_application/build/classes/java/main/kd/bos/debug/mservice/DebugApplicationUatelop.class
  4. BIN
      zlkj_PERF/zlkj_hr_application/build/classes/java/main/kd/bos/debug/mservice/DebugServer$1.class
  5. BIN
      zlkj_PERF/zlkj_hr_application/build/classes/java/main/kd/bos/debug/mservice/DebugServer.class
  6. BIN
      zlkj_PERF/zlkj_hr_application/build/tmp/compileJava/previous-compilation-data.bin
  7. 0 492
      zlkj_PERF/zlkj_hr_application/src/main/java/kd/bos/debug/mservice/CosmicLauncher.java
  8. 0 47
      zlkj_PERF/zlkj_hr_application/src/main/java/kd/bos/debug/mservice/DebugApplicationDevelop.java
  9. 0 48
      zlkj_PERF/zlkj_hr_application/src/main/java/kd/bos/debug/mservice/DebugApplicationUatelop.java
  10. 0 86
      zlkj_PERF/zlkj_hr_application/src/main/java/kd/bos/debug/mservice/DebugServer.java
  11. BIN
      zlkj_PERF/zlkj_hr_common/build/classes/java/main/zlkj/hr/common/bill/BillCommonConstants.class
  12. BIN
      zlkj_PERF/zlkj_hr_common/build/classes/java/main/zlkj/hr/common/enums/ErrorCodeEnum.class
  13. BIN
      zlkj_PERF/zlkj_hr_common/build/libs/zlkj_hr_common_plugin-1.0.jar
  14. BIN
      zlkj_PERF/zlkj_hr_common/build/resources/main/simfang.ttf
  15. BIN
      zlkj_PERF/zlkj_hr_common/build/resources/main/times.ttf
  16. BIN
      zlkj_PERF/zlkj_hr_common/build/resources/main/timesbd.ttf
  17. BIN
      zlkj_PERF/zlkj_hr_common/build/resources/main/timesbi.ttf
  18. BIN
      zlkj_PERF/zlkj_hr_common/build/resources/main/timesi.ttf
  19. BIN
      zlkj_PERF/zlkj_hr_common/build/tmp/compileJava/previous-compilation-data.bin
  20. 0 4
      zlkj_PERF/zlkj_hr_common/build/tmp/jar/MANIFEST.MF
  21. 0 6
      zlkj_PERF/zlkj_hr_common/src/main/java/zlkj/hr/common/bill/BillCommonConstants.java
  22. 0 33
      zlkj_PERF/zlkj_hr_common/src/main/java/zlkj/hr/common/enums/ErrorCodeEnum.java
  23. BIN
      zlkj_PERF/zlkj_hr_common/src/main/resources/simfang.ttf
  24. BIN
      zlkj_PERF/zlkj_hr_common/src/main/resources/times.ttf
  25. BIN
      zlkj_PERF/zlkj_hr_common/src/main/resources/timesbd.ttf
  26. BIN
      zlkj_PERF/zlkj_hr_common/src/main/resources/timesbi.ttf
  27. BIN
      zlkj_PERF/zlkj_hr_common/src/main/resources/timesi.ttf
  28. BIN
      zlkj_PERF/zlkj_hr_opmc/build/classes/java/main/zlkj/hr/opmc/pmd/business/ext/impl/PerffileChangeServiceImplExt.class
  29. BIN
      zlkj_PERF/zlkj_hr_opmc/build/classes/java/main/zlkj/hr/opmc/test.class
  30. BIN
      zlkj_PERF/zlkj_hr_opmc/build/resources/main/simfang.ttf
  31. BIN
      zlkj_PERF/zlkj_hr_opmc/build/resources/main/times.ttf
  32. BIN
      zlkj_PERF/zlkj_hr_opmc/build/resources/main/timesbd.ttf
  33. BIN
      zlkj_PERF/zlkj_hr_opmc/build/resources/main/timesbi.ttf
  34. BIN
      zlkj_PERF/zlkj_hr_opmc/build/resources/main/timesi.ttf
  35. BIN
      zlkj_PERF/zlkj_hr_opmc/build/tmp/compileJava/previous-compilation-data.bin
  36. BIN
      zlkj_PERF/zlkj_hr_opmc/src/main/resources/simfang.ttf
  37. BIN
      zlkj_PERF/zlkj_hr_opmc/src/main/resources/times.ttf
  38. BIN
      zlkj_PERF/zlkj_hr_opmc/src/main/resources/timesbd.ttf
  39. BIN
      zlkj_PERF/zlkj_hr_opmc/src/main/resources/timesbi.ttf
  40. BIN
      zlkj_PERF/zlkj_hr_opmc/src/main/resources/timesi.ttf
  41. 101 0
      zlkj_PERF/zlkj_hr_sihc/build.gradle
  42. 0 13
      zlkj_PERF/zlkj_hr_sihc/config.gradle
  43. 6 6
      zlkj_PERF/zlkj_perf_common/build.gradle
  44. 13 0
      zlkj_PERF/zlkj_perf_common/config.gradle

BIN
zlkj_PERF/zlkj_hr_application/build/classes/java/main/kd/bos/debug/mservice/CosmicLauncher.class


BIN
zlkj_PERF/zlkj_hr_application/build/classes/java/main/kd/bos/debug/mservice/DebugApplicationDevelop.class


BIN
zlkj_PERF/zlkj_hr_application/build/classes/java/main/kd/bos/debug/mservice/DebugApplicationUatelop.class


BIN
zlkj_PERF/zlkj_hr_application/build/classes/java/main/kd/bos/debug/mservice/DebugServer$1.class


BIN
zlkj_PERF/zlkj_hr_application/build/classes/java/main/kd/bos/debug/mservice/DebugServer.class


BIN
zlkj_PERF/zlkj_hr_application/build/tmp/compileJava/previous-compilation-data.bin


+ 0 - 492
zlkj_PERF/zlkj_hr_application/src/main/java/kd/bos/debug/mservice/CosmicLauncher.java

@@ -1,492 +0,0 @@
-/**
- * This is a kingdee cosmic template project that is automatically generated by the Kingdee cosmic development assistant plugin. 
- * 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
- * Author: liebin.zheng
- * Generate Date: 2025-06-20 15:50:17
- */
-package kd.bos.debug.mservice;
-
-import com.alibaba.dubbo.common.utils.NetUtils;
-import kd.bos.config.client.util.ConfigUtils;
-import kd.bos.service.bootstrap.Booter;
-import org.apache.commons.io.IOUtils;
-import org.apache.commons.lang3.StringUtils;
-
-import java.io.File;
-import java.io.FileReader;
-import java.io.IOException;
-import java.io.InputStream;
-import java.net.ServerSocket;
-import java.util.Properties;
-
-/**
- * cosmic服务启动器,含默认配置,如需更改请在DebugApplication中设置。
- * 注:本工具类由开发助手自动生成,请不用直接修改本工具类。
- */
-public final class CosmicLauncher {
-	
-	/**
-	 * 苍穹安装目录的环境变量名称(即苍穹依赖包和静态资源目录的上级目录)
-	 */
-	private static final String COSMIC_HOME = "COSMIC_HOME";
-	
-	/**
-	 * Gradle变量-Cosmic Home
-	 */
-	private static final String GRADLE_PROPERTIES_COSMIC_HOME = "systemProp.cosmic_home";
-	
-	/**
-     * 苍穹Gradle模板默认变量 - 默认的苍穹资源目录
-     */
-    private static final String DEFAULT_COSMIT_HOME_PATH = System.getProperty("user.home").replaceAll("\\\\", "/") + "/cosmic/home";
-	
-	private static final String PROJECT_HOME = "D:/workspace/easyproject_szc_7_0";
-	
-	private static final String LOCAL_IP = "127.0.0.1";
-	
-	public static String localHostName;
-	
-    private boolean setConfigUrl = false;
-
-    private int cosmicPort = 8881;
-    
-    private String cosmicUrl = "http://127.0.0.1:" + cosmicPort + "/ierp";
-    
-    /**
-     * 是否优先使用MC服务端的配置替代本地调试模板工程的部分默认配置
-     */
-    private boolean useMcServiceConfigFirst = false;
-    
-    public CosmicLauncher() {
-        setDefault();
-    }
-    
-    /**
-     * @param useMcServiceConfigFirst 是否优先使用MC服务端的配置替代本地调试模板工程的部分默认配置
-     */
-    public CosmicLauncher(boolean useMcServiceConfigFirst) {
-    	this.useMcServiceConfigFirst = useMcServiceConfigFirst;
-        setDefault();
-    }
-
-    public void setDefault() {
-    	
-        set("configAppName", "mservice,web");
-        set("webmserviceinone", "true");
-        set("file.encoding", "utf-8");
-        set("MONITOR_HTTP_PORT", "9998");
-        set("JMX_HTTP_PORT", "9091");
-        set("appSplit", "false");
-        set("tenant.code.type", "config");
-        
-        localHostName = getLocalHostName();
-        setClusterNumber("cosmic");
-        setTenantNumber("ierp");
-        setAppName("kdcosmic-" + localHostName + "-" + cosmicPort);
-        
-        setXdbEnable(false);
-        setSqlOut(true, true);
-        
-        setCosmicWebPort(cosmicPort);
-        setWebResPath(getCosmicHome() + "/static-file-service");
-        
-        //是否优先使用MC服务端的配置替代本地调试模板工程的部分默认配置
-		if (!useMcServiceConfigFirst) {
-			//当本地开发且连接轻量级环境时,可使用以下默认配置
-	        setConfigUrl("127.0.0.1:2181");
-	        setMcServerUrl("http://127.0.0.1:8090");
-	        setFsServerUrl("127.0.0.1", 8100);
-	        setImageServerUrl("127.0.0.1", 8100);
-	        
-//	        setEnableLightWeightDeploy(true);
-	        setDubboHostConfig(LOCAL_IP, 28888, 30880);
-//	        set("login.type", "STANDALONE");
-	        setMqConsumerRegister(false, null);
-		} else {
-			//当需要连接项目开发环境(即非轻量级环境)时,应以MC服务器上面的配置优先
-//			setEnableLightWeightDeploy(false);
-			setMqConsumerRegister(true, localHostName);
-		}
-		
-		setStartWithQing(false);
-        
-		//是否以轻量级环境启动苍穹服务
-        setEnableLightWeightDeploy(true);
-        
-        //本地日志配置
-        setLogConfig(false);
-        
-        //Dubbo服务注册配置
-        setDubboConfig(false, true, true);
-        
-    }
-
-    public void start() {
-//    	LOG.info("Cosmic Service starting! Please check url: {}", getCosmicUrl());
-    	Booter.main(null);
-    }
-
-    public void set(String key, String value) {
-        System.setProperty(key, value);
-    }
-
-    public String get(String key) {
-        return System.getProperty(key);
-    }
-
-    /**
-     * 设置苍穹服务器IP地址(包括MC、ZK、文件及图片服务)
-     * 不推荐使用该方法,项目开发时应该分别配置这几个服务地址,或者优先使用MC服务器上的配置。
-     */
-    @Deprecated
-    public void setServerIp(String ip) {
-        setMcServerUrl("http://" + ip + ":8090");
-        if (!setConfigUrl) {
-            setConfigUrl(ip + ":2181");
-        }
-        setFsServerUrl(ip, 8100);
-        setImageServerUrl(ip, 8100);
-    }
-
-    /**
-     * 设置MC服务地址
-     *
-     * @param mcServerUrl
-     */
-    public void setMcServerUrl(String mcServerUrl) {
-        set("mc.server.url", mcServerUrl);
-    }
-
-    /**
-     * @param configUrl 配置服务地址
-     */
-    public void setConfigUrl(String configUrl) {
-        set(ConfigUtils.CONFIG_URL_KEY, configUrl);
-        setConfigUrl = true;
-    }
-
-    /**
-     * 配置服务地址
-     *
-     * @param connectString zookeeper链接URL,如 127.0.0.1:2181
-     * @param user          用户
-     * @param password      密码
-     */
-    public void setConfigUrl(String connectString, String user, String password) {
-        if (user != null && password != null) {
-            setConfigUrl(connectString + "?user=" + user + "&password=" + password);
-        } else {
-            setConfigUrl(connectString);
-        }
-    }
-
-    /**
-     * @param clusterNumber 集群编码
-     */
-    public void setClusterNumber(String clusterNumber) {
-        set(ConfigUtils.CLUSTER_NAME_KEY, clusterNumber);
-    }
-
-
-    /**
-     * @param appName 本节点服务名称
-     */
-    public void setAppName(String appName) {
-        setAppName(appName, true);
-    }
-
-    public void setAppName(String appName, boolean alsoSetQueueTag) {
-        set(ConfigUtils.APP_NAME_KEY, appName);
-        if (alsoSetQueueTag) {
-            setQueueTag(appName);
-        }
-    }
-
-    public void setStartWithQing(boolean b) {
-        set("bos.app.special.deployalone.ids", b ? " " : "qing");
-    }
-
-    /**
-     * @param tenantNumber 租户编码
-     */
-    public void setTenantNumber(String tenantNumber) {
-        set("domain.tenantCode", tenantNumber);
-    }
-
-    /**
-     * @param enable 是否开启水平分表服务
-     */
-    public void setXdbEnable(boolean enable) {
-        set("xdb.enable", String.valueOf(enable));
-    }
-
-    /**
-     * @param tag 队列标记
-     */
-    public void setQueueTag(String tag) {
-        set("mq.debug.queue.tag", tag);
-    }
-
-    /**
-     * @param path web静态资源路径
-     */
-    public void setWebResPath(String path) {
-        set("JETTY_WEBRES_PATH", path);
-    }
-    
-    /**
-     * 控制台输出SQL开关
-     *
-     * @param outSql        是否输出SQL
-     * @param withParameter 是否输出参数
-     */
-    public void setSqlOut(boolean outSql, boolean withParameter) {
-        set("db.sql.out", String.valueOf(outSql));
-        set("db.sql.out.withParameter", String.valueOf(withParameter));
-    }
-
-    /**
-     * 设置苍穹服务端口
-     * @param port
-     */
-    public void setCosmicWebPort(int port) {
-    	this.cosmicPort = port;
-    	this.cosmicUrl = "http://127.0.0.1:" + cosmicPort + "/ierp";
-        set("JETTY_WEB_PORT", String.valueOf(cosmicPort));
-        set("domain.contextUrl", cosmicUrl);
-    }
-    
-    /**
-     * 设置是否注册为MQ消费者
-     * @param registerOnMq
-     * @param debbugTopic
-     */
-    public void setMqConsumerRegister(boolean registerOnMq, String debbugTopic) {
-    	set("mq.consumer.register", String.valueOf(registerOnMq));
-    	if(StringUtils.isNotBlank(debbugTopic)) {
-    		set("mq.debug.queue.tag", debbugTopic);
-    	}
-    }
-    
-    /**
-     * 设置文件服务地址
-     * @param ip
-     * @param port
-     */
-    public void setFsServerUrl(String ip, int port) {
-    	set("fileserver", "http://" + ip + ":" + port + "/fileserver/");
-    	set("attachmentServer.url", "http://" + ip + ":" + port + "/fileserver/");
-    	set("attachmentServer.inner.url", "http://" + ip + ":" + port + "/fileserver/");
-    }
-    
-    /**
-     * 设置图片服务地址
-     * @param ip
-     * @param port
-     */
-    public void setImageServerUrl(String ip, int port) {
-        set("imageServer.url", "http://" + ip + ":" + port + "/fileserver/");
-        set("imageServer.inner.url", "http://" + ip + ":" + port + "/fileserver/");
-    }
-
-    /**
-     * 获取苍穹服务URL
-     */
-	public String getCosmicUrl() {
-		return cosmicUrl;
-	}
-	
-	/**
-     * 设置webapp配置所在的目录
-     */
-	public void setWebAppPath(String path) {
-		set("JETTY_WEBAPP_PATH", path);
-	}
-	
-	/**
-	 * 是否以轻量级环境启动苍穹服务
-	 */
-	public void setEnableLightWeightDeploy(boolean enable) {
-		set("lightweightdeploy", String.valueOf(enable));
-		set("lightweightdeploy.services", "");
-		if(enable) {
-			set("tempfile.cachetype", "disk");
-			set("diskcache.path", System.getProperty("java.io.tmpdir") + File.separator + "cosmic_temp");
-			set("redismodelcache.enablelua", "false");
-		}
-	}
-
-	/**
-	 * Redis配置
-	 */
-	public void setRedisConfig(String redisUrl) {
-		set("redis.serversForCache", redisUrl);
-		set("redis.serversForSession", redisUrl);
-		set("algo.storage.redis.url", redisUrl);
-		set("redismodelcache.enablelua", String.valueOf(true));
-	}
-	
-	/**
-	 * MQ配置
-	 */
-	public void setMqHostConfig(String mqHost, String mqPort, String mqUser, String mqPassword, String mqVhost) {
-		String line = System.lineSeparator();
-		StringBuffer builder = new StringBuffer();
-		builder.append("type=rabbitmq").append(line).append("host=").append(mqHost).append(line).append("port=")
-				.append(mqPort).append(line).append("user=").append(mqUser).append(line).append("password=")
-				.append(mqPassword).append(line).append("vhost=").append(mqVhost);
-		set("mq.server", builder.toString());
-	}
-	
-	/**
-	 * 是否启用监控中心日志配置(是否将日志通过kafka上传到日志中心)</br>
-	 * 注:如需要启用,请先确保elk、kafka等服务已可用
-	 */
-	public void setLogConfig(boolean useMonitorLog) {
-//		String logConfigXmlContent = null;
-		String path = null;
-		if(useMonitorLog) {
-			//日志通过kafka上传到日志中心
-			path = "logback-kafka.xml";
-//			logConfigXmlContent = FileUtil.readUtf8String("classpath:logback-kafka.xml");
-		} else {
-			//本地日志配置
-			path = "logback.xml";
-//			logConfigXmlContent = FileUtil.readUtf8String("classpath:logback.xml");
-		}
-		String logConfigXmlContent = null;
-		InputStream is = null;
-		try {
-			is = getClass().getClassLoader().getResourceAsStream(path);
-			logConfigXmlContent = IOUtils.toString(is, "utf-8");
-//			logConfigXmlContent = new String(Files.readAllBytes(Paths.get(getClass().getClassLoader().getResource(path).toURI())), "UTF-8");
-			set("log.config", logConfigXmlContent);
-			set("dubbo.application.logger", "slf4j");
-		} catch (Exception e) {
-			e.printStackTrace();
-		} finally {
-			try {
-				if(is != null) {
-					is.close();
-					is = null;
-				}
-			} catch (IOException e) {
-				e.printStackTrace();
-			}
-		}
-	}
-	
-	/**
-	 * Dubbo服务配置
-	 * 
-	 * @param registerProvider   是否向此注册中心注册服务,如果设为false,将只订阅,不注册
-	 * @param registerComsumer   是否向此注册中心订阅服务,如果设为false,将只注册,不订阅
-	 * @param lookupLocal   是否使用本地服务查找
-	 */
-	public void setDubboConfig(boolean registerProvider, boolean registerComsumer, boolean lookupLocal) {
-//		set("dubbo.registry.group", group);
-		set("dubbo.registry.register", String.valueOf(registerProvider));
-		set("dubbo.registry.subscribe", String.valueOf(registerComsumer));
-		//dubbo官方资料上没有支持lookupLocal配置,可能是平台扩展的功能,也可能是无效的配置
-        set("dubbo.service.lookup.local", String.valueOf(lookupLocal));
-//        set("dubbo.registry.protocol", "zookeeper");
-//        set("dubbo.registry.address", "");
-	}
-	
-	/**
-	 * Dubbo网络配置 
-	 * @param ip 默认127.0.0.1
-	 * @param port 默认28888
-	 * @param qingPort 默认30880
-	 */
-	public void setDubboHostConfig(String ip, int port, int qingPort) {
-		port = getAvailablePort(port);
-		qingPort = getAvailablePort(qingPort);
-		set("dubbo.protocol.port", String.valueOf(port));
-        set("dubbo.consumer.url", "dubbo://" + ip + ":" + port);
-        set("dubbo.consumer.url.qing", "dubbo://" + ip + ":" + qingPort);
-	}
-	
-    public int getAvailablePort(int port) {
-        try (ServerSocket serverSocket = new ServerSocket(port)) {
-            return port;
-        } catch (IOException e) {
-            return getAvailablePort(port+1);
-        }
-    }
-	
-//	/**
-//	 * 设置苍穹服务的中间件类型
-//	 * @param serverType
-//	 */
-//    public void setCosmicServerType(CosmicServerType serverType) {
-//    	if(serverType == CosmicServerType.springboot) {
-//    		set("mservice.booter.type", serverType.name());
-//    	} else {
-//    		set("webserver.type", serverType.name());
-//    	}
-//    }
-//    
-//    enum CosmicServerType{
-//    	jetty,tomcat,aas,springboot;
-//    }
-    
-//	private static String getLocalHostName() {
-//		InetAddress localhost = null;
-//		try {
-//			localhost = InetAddress.getLocalHost();
-//		} catch (UnknownHostException e) {
-//			e.printStackTrace();
-//		}
-//		return localhost == null ? "UnknownHost" : localhost.getHostAddress();
-//	}
-    
-    private static String getLocalHostName() {
-		return NetUtils.getLocalHost();
-	}
-	
-	public static String getCosmicHome(){
-        return getCosmicHome(PROJECT_HOME);
-    }
-	
-    public static String getCosmicHome(String projectPath){
-    	String cosmicHome = getCosmicGradleProp(projectPath, GRADLE_PROPERTIES_COSMIC_HOME);
-    	if(StringUtils.isBlank(cosmicHome)) {
-    		cosmicHome = System.getenv(COSMIC_HOME);
-    	}
-    	if(StringUtils.isBlank(cosmicHome)) {
-    		cosmicHome = DEFAULT_COSMIT_HOME_PATH;
-    	}
-        return cosmicHome;
-    }
-	
-    private static String getCosmicGradleProp(String projectPath, String key) {
-    	String gradleConfigPath = projectPath + "/gradle.properties";
-    	Properties prop = new Properties();
-    	FileReader fr = null;
-    	String value = null;
-    	try {
-    		File configFile = new File(gradleConfigPath);
-    		if(configFile.exists()) {
-    			fr = new FileReader(configFile);
-    			prop.load(fr);
-    			
-    			value = prop.getProperty(key);
-    		}
-		} catch (IOException e) {
-			e.printStackTrace();
-		} finally {
-			try {
-				if(fr != null) {
-					fr.close();
-					fr = null;
-				}
-			} catch (IOException e) {
-				e.printStackTrace();
-			}
-		}
-    	
-    	return value;
-    }
-}

+ 0 - 47
zlkj_PERF/zlkj_hr_application/src/main/java/kd/bos/debug/mservice/DebugApplicationDevelop.java

@@ -1,47 +0,0 @@
-/**
- * This is a kingdee cosmic template project that is automatically generated by the Kingdee cosmic development assistant plugin. 
- * 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
- * Author: liebin.zheng
- * Generate Date: 2025-06-20 15:50:17
- */
-package kd.bos.debug.mservice;
-
-
-/**
- * 启动本地应用程序(微服务节点)
- */
-public class DebugApplicationDevelop {
-
-
-    public static void main(String[] args) {
-
-//            Thread.currentThread().setContextClassLoader(new KDSecurityClassLoader(Thread.currentThread().getContextClassLoader()));
-
-       // kd.bos.debug.mservice.CosmicLauncher cosmic = new kd.bos.debug.mservice.CosmicLauncher(true);
-        CosmicLauncher cosmic = new CosmicLauncher();
-        cosmic.setClusterNumber("ierp");
-        cosmic.setTenantNumber("ierp");
-        cosmic.setEnableLightWeightDeploy(true);
-//        cosmic.setConfigUrl("127.0.0.1:2181?user=zk&password=xxx");
-        cosmic.setConfigUrl("10.201.51.205:2181/?user=cosmic&password=Cosmic@2023");
-
-//        cosmic.setMcServerUrl("http://127.0.0.1:8090");
-        cosmic.setMcServerUrl("http://10.201.51.205:8090");
-        cosmic.setSqlOut(true, true);
-        cosmic.setWebResPath("D:\\qy\\shenzhicheng-server\\var\\appstatic\\static-files\\cosmic\\webapp");
-        cosmic.setImageServerUrl("10.201.51.205", 8022);
-        cosmic.setFsServerUrl("10.201.51.205", 8022);
-        cosmic.setMqHostConfig("10.201.51.205","5672","cosmic","Cosmic@2023","ierp");
-        cosmic.setMqConsumerRegister(true,"cosmicDev");
-        cosmic.setRedisConfig("redis:10.201.51.205:6380/Cosmic@2020");
-        //自定义本地苍穹调试服务的端口
-        cosmic.setCosmicWebPort(8881);
-        //http://127.0.0.1:8881/ierp/login.html
-//        cosmic.setDubboConfig(false, true, true);
-        cosmic.start();
-
-
-    }
-
-}

+ 0 - 48
zlkj_PERF/zlkj_hr_application/src/main/java/kd/bos/debug/mservice/DebugApplicationUatelop.java

@@ -1,48 +0,0 @@
-/**
- * This is a kingdee cosmic template project that is automatically generated by the Kingdee cosmic development assistant plugin. 
- * 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
- * Author: liebin.zheng
- * Generate Date: 2025-06-20 15:50:17
- */
-package kd.bos.debug.mservice;
-
-
-/**
- * 启动本地应用程序(微服务节点)
- */
-public class DebugApplicationUatelop {
-
-
-    public static void main(String[] args) {
-
-//            Thread.currentThread().setContextClassLoader(new KDSecurityClassLoader(Thread.currentThread().getContextClassLoader()));
-
-       // kd.bos.debug.mservice.CosmicLauncher cosmic = new kd.bos.debug.mservice.CosmicLauncher(true);
-        CosmicLauncher cosmic = new CosmicLauncher();
-        cosmic.setClusterNumber("ierp");
-        cosmic.setTenantNumber("ierp");
-        cosmic.setEnableLightWeightDeploy(true);
-//        cosmic.setConfigUrl("127.0.0.1:2181?user=zk&password=xxx");
-        cosmic.setConfigUrl("10.201.101.81:2181/?user=cosmic&password=Cosmic@2023");
-
-//        cosmic.setMcServerUrl("http://127.0.0.1:8090");
-        cosmic.setMcServerUrl("http://10.201.101.81:8090");
-        cosmic.setSqlOut(true, true);
-        cosmic.setWebResPath("D:\\qy\\shenzhicheng-server\\var\\appstatic\\static-files\\cosmic\\webapp");
-        cosmic.setImageServerUrl("10.201.101.81", 8100);
-        cosmic.setFsServerUrl("10.201.101.81", 8100);
-        cosmic.setMqHostConfig("10.201.101.81","5672","admin","d@f*g:SGVsbG8==UUrjAyHn5S7MhFISPnItTD/F1bRSZ9fvcRvzXlMLm+Rka2RwYXNzd29yZA==","ierp");
-
-        cosmic.setMqConsumerRegister(true,"cosmicSit");
-        cosmic.setRedisConfig("redis:10.201.101.81:6380/Cosmic@2020");
-        //自定义本地苍穹调试服务的端口
-        cosmic.setCosmicWebPort(8881);
-        //http://127.0.0.1:8881/ierp/login.html
-        cosmic.setDubboConfig(false, true, true);
-        cosmic.start();
-
-
-    }
-
-}

+ 0 - 86
zlkj_PERF/zlkj_hr_application/src/main/java/kd/bos/debug/mservice/DebugServer.java

@@ -1,86 +0,0 @@
-package kd.bos.debug.mservice;
-
-import kd.bos.config.client.util.ConfigUtils;
-import kd.bos.db.DB;
-import kd.bos.db.SqlLogger;
-import kd.bos.login.utils.LoginUtils;
-import kd.bos.service.webserver.JettyServer;
-import kd.bos.util.PasswordEncryptUtil;
-
-public class DebugServer {
-
-	public static void main(String[] args) throws Exception	{
-
-		System.setProperty(ConfigUtils.APP_NAME_KEY, "kdcosmic-xiejinqguan-8881");
-
-		//设置集群环境名称和配置服务器地址
-		System.setProperty("clusterName", "ierp");
-		System.setProperty("domain.tenantCode","ierp");
-
-		System.setProperty(ConfigUtils.CONFIG_URL_KEY, "10.201.51.205:2181/?user=cosmic&password=Cosmic@2023");
-		System.setProperty("configAppName", "mservice,web");
-		System.setProperty("webmserviceinone", "true");
-
-		System.setProperty("file.encoding", "utf-8");
-		System.setProperty("xdb.enable", "false");
-
-		System.setProperty("mq.consumer.register", "true");
-		System.setProperty("MONITOR_HTTP_PORT", "9998");
-		System.setProperty("JMX_HTTP_PORT", "9091");
-		System.setProperty("dubbo.protocol.port", "28888");
-		System.setProperty("dubbo.consumer.url", "dubbo://localhost:28888");
-		System.setProperty("dubbo.consumer.url.qing", "dubbo://localhost:30880");
-		System.setProperty("dubbo.registry.register", "true");
-		System.setProperty("dubbo.service.lookup.local", "true");
-		System.setProperty("appSplit", "false");
-
-		System.setProperty("lightweightdeploy","true");
-
-		//开启sql日志输出
-		System.setProperty("db.sql.out","true");
-		//开启sql日志参数输出
-		System.setProperty("db.sql.out.withParameter","true");
-
-
-		System.setProperty("JETTY_WEB_PORT","8881");
-
-		System.setProperty("JETTY_WEBRES_PATH", "H:\\gitGogs\\zlkj\\home\\static-file-service");
-		System.setProperty("log.config","<?xml version=\"1.0\" encoding=\"UTF-8\" ?><configuration>\t<appender name=\"stdot\" class=\"ch.qos.logback.core.ConsoleAppender\">\t\t<layout class=\"ch.qos.logback.classic.PatternLayout\">\t\t\t<pattern>%d{HH:mm:ss} [%thread] %level %logger.%M\\(%L\\):%m%n</pattern>\t\t</layout>\t</appender>\t<logger name=\"cn.zlkj.pms\" level=\"INFO\" additivity=\"false\">    <appender-ref ref=\"stdot\" />  </logger>\t<root level=\"INFO\">\t<appender-ref ref=\"stdot\" />\t</root></configuration>");
-
-		System.setProperty("domain.contextUrl","http://127.0.0.1:8881/ierp");
-		System.setProperty("tenant.code.type","config");
-
-		System.setProperty("bos.app.special.deployalone.ids","");
-		System.setProperty("mc.server.url","http://10.201.51.205:8090/mc");
-		System.setProperty("mq.debug.queue.tag", "xjqtest");
-
-		System.setProperty("dts.sync.enable", "false");
-		System.setProperty("diskcache.path","D:\\diskcache");
-		System.setProperty("tempfile.cachetype","disk");
-		System.setProperty("redismodelcache.enablelua","false");
-
-//		System.setProperty("ISC_TEST_PASSWORD", "Kingdee@123");
-//		System.setProperty("login_default_pwd", "Kingdee@123");
-		JettyServer.main(null);
-
-		DB.setSqlLogger(new SqlLogger(){
-
-			@Override
-			public void logSQL(String s, Object... objects) {
-				System.out.println("logSQL:"+s);
-			}
-
-			@Override
-			public void logMessage(String s) {
-
-			}
-
-			@Override
-			public void log(String sql,Object...obj){
-
-			}
-		});
-
-	}
-
-}

BIN
zlkj_PERF/zlkj_hr_common/build/classes/java/main/zlkj/hr/common/bill/BillCommonConstants.class


BIN
zlkj_PERF/zlkj_hr_common/build/classes/java/main/zlkj/hr/common/enums/ErrorCodeEnum.class


BIN
zlkj_PERF/zlkj_hr_common/build/libs/zlkj_hr_common_plugin-1.0.jar


BIN
zlkj_PERF/zlkj_hr_common/build/resources/main/simfang.ttf


BIN
zlkj_PERF/zlkj_hr_common/build/resources/main/times.ttf


BIN
zlkj_PERF/zlkj_hr_common/build/resources/main/timesbd.ttf


BIN
zlkj_PERF/zlkj_hr_common/build/resources/main/timesbi.ttf


BIN
zlkj_PERF/zlkj_hr_common/build/resources/main/timesi.ttf


BIN
zlkj_PERF/zlkj_hr_common/build/tmp/compileJava/previous-compilation-data.bin


+ 0 - 4
zlkj_PERF/zlkj_hr_common/build/tmp/jar/MANIFEST.MF

@@ -1,4 +0,0 @@
-Manifest-Version: 1.0
-Release: 
-Builddate: 202604231725
-

+ 0 - 6
zlkj_PERF/zlkj_hr_common/src/main/java/zlkj/hr/common/bill/BillCommonConstants.java

@@ -1,6 +0,0 @@
-package zlkj.hr.common.bill;
-
-public interface BillCommonConstants {
-
-
-}

+ 0 - 33
zlkj_PERF/zlkj_hr_common/src/main/java/zlkj/hr/common/enums/ErrorCodeEnum.java

@@ -1,33 +0,0 @@
-package zlkj.hr.common.enums;
-
-/**
- * 异常
- */
-public enum ErrorCodeEnum {
-    CODE_OK("0", "成功"),
-    CODE_NUMBER_INVALID("10000", "工号不正确,获取不到员工信息"),
-    CODE_REG_COMMENT_INVALID("10001", "转正意见不正确,获取不到转正意见基础资料"),
-    CODE_REG_CATEGORY_INVALID("10002", "转正分类不正确,获取不到转正分类基础资料"),
-    CODE_PARAM_INVALID("10003", "请求参数错误"),
-    CODE_BILL_EXITS("10004", "已生成转正单"),
-    CODE_BILL_SAVE("10005", "转正单保存失败"),
-    CODE_BILL_EFFECT("10006", "转正单生效失败"),
-    CODE_BIZ_ERROR("99999", "系统错误"),
-    ;
-
-    private String code;
-    private String desc;
-
-    private ErrorCodeEnum(String code, String desc) {
-        this.code = code;
-        this.desc = desc;
-    }
-
-    public String getCode() {
-        return this.code;
-    }
-
-    public String getDesc() {
-        return this.desc;
-    }
-}

BIN
zlkj_PERF/zlkj_hr_common/src/main/resources/simfang.ttf


BIN
zlkj_PERF/zlkj_hr_common/src/main/resources/times.ttf


BIN
zlkj_PERF/zlkj_hr_common/src/main/resources/timesbd.ttf


BIN
zlkj_PERF/zlkj_hr_common/src/main/resources/timesbi.ttf


BIN
zlkj_PERF/zlkj_hr_common/src/main/resources/timesi.ttf


BIN
zlkj_PERF/zlkj_hr_opmc/build/classes/java/main/zlkj/hr/opmc/pmd/business/ext/impl/PerffileChangeServiceImplExt.class


BIN
zlkj_PERF/zlkj_hr_opmc/build/classes/java/main/zlkj/hr/opmc/test.class


BIN
zlkj_PERF/zlkj_hr_opmc/build/resources/main/simfang.ttf


BIN
zlkj_PERF/zlkj_hr_opmc/build/resources/main/times.ttf


BIN
zlkj_PERF/zlkj_hr_opmc/build/resources/main/timesbd.ttf


BIN
zlkj_PERF/zlkj_hr_opmc/build/resources/main/timesbi.ttf


BIN
zlkj_PERF/zlkj_hr_opmc/build/resources/main/timesi.ttf


BIN
zlkj_PERF/zlkj_hr_opmc/build/tmp/compileJava/previous-compilation-data.bin


BIN
zlkj_PERF/zlkj_hr_opmc/src/main/resources/simfang.ttf


BIN
zlkj_PERF/zlkj_hr_opmc/src/main/resources/times.ttf


BIN
zlkj_PERF/zlkj_hr_opmc/src/main/resources/timesbd.ttf


BIN
zlkj_PERF/zlkj_hr_opmc/src/main/resources/timesbi.ttf


BIN
zlkj_PERF/zlkj_hr_opmc/src/main/resources/timesi.ttf


+ 101 - 0
zlkj_PERF/zlkj_hr_sihc/build.gradle

@@ -0,0 +1,101 @@
+buildscript {
+    repositories {
+        maven { url "http://maven.aliyun.com/nexus/content/groups/public" }
+        mavenLocal()
+        mavenCentral()
+    }
+}
+apply from:"./config.gradle"
+apply plugin: 'java'
+apply plugin: 'eclipse'
+
+sourceCompatibility=1.8
+group = 'kd.bos.service'
+version = '1.0'
+tasks.withType(JavaCompile) {
+    options.encoding = "UTF-8"
+}
+
+def cus= ext.path.cus
+def trd= ext.path.trd
+def bos= ext.path.bos
+def outputdir=  ext.path.outputdir
+def currentapp=  ext.path.currentapp
+def biz= ext.path.biz
+
+dependencies {
+    implementation fileTree(dir: bos, include: '**/*.jar')
+    implementation fileTree(dir: trd, include: '**/*.jar')
+    implementation fileTree(dir: biz, include: '**/*.jar')
+
+    implementation project(":zlkj_perf_common")
+}
+
+task sourcesJar(type: Jar, dependsOn: build) {
+    classifier = 'sources'
+    from sourceSets.main.allSource
+}
+
+task copytolib(type: Copy,dependsOn: build){
+    group 'build'
+    description '拷贝本工程构建jar包到lib'
+    from 'build/libs'
+    into outputdir
+    exclude '*source*.jar'
+}
+task copytorootlib(type: Copy){
+    group 'build'
+    description '拷贝本工程构建jar包到根目录build/libs'
+    from 'build/libs'
+    into '../build/libs'
+    exclude '*source*.jar'
+}
+
+task copyJarTodir(type: Copy){
+    group 'build'
+    description  '拷贝工程产生的build.jar到本地库'
+    from 'build/libs'
+    into cus
+    exclude '**/*.class'
+}
+
+/**
+ * 执行zip打包操作
+ */
+task zip(type: Zip, dependsOn: jar) {
+    group 'build'
+    description  '将jar打包成zip'
+    from 'build/libs'
+    destinationDir file('build/zip')
+}
+
+task copyZipTodir(type: Copy){
+    group 'build'
+    description  '拷贝工程产生的build.zip到本地库'
+    from 'build/zip'
+    destinationDir file('build/zip')
+    into '../build/zip'
+}
+
+test.ignoreFailures true
+
+
+// 定义jar包manifest的信息,以便分析问题
+jar {
+    baseName = 'zlkj_hr_sihc'
+    version = '1.0'
+    manifest {
+        attributes 'Builddate': new Date().format("yyyyMMddHHmm", TimeZone.getTimeZone("GMT+08:00"))
+        attributes 'Release': ''
+    }
+}
+
+// 定义zip包manifest的信息,以便分析问题
+zip {
+    baseName = 'zlkj_hr_sihc'
+    version = '1.0'
+    manifest {
+        attributes 'Builddate': new Date().format("yyyyMMddHHmm", TimeZone.getTimeZone("GMT+08:00"))
+        attributes 'Release': ''
+    }
+}

+ 0 - 13
zlkj_PERF/zlkj_hr_common/config.gradle → zlkj_PERF/zlkj_hr_sihc/config.gradle

@@ -1,17 +1,4 @@
 // 请根据您本地的苍穹jar包路径,修改以下地址
-//ext
-//		{
-//			path=[
-//					trd:'../lib/trd',
-//					boscorelib:'../lib/bos',
-//					bos:'../lib/bos',
-//					biz:'../lib/biz',
-//					cus:'../lib/cus',
-//					currentapp:'../lib/biz',
-//					outputdir:'../lib/biz'
-//			]
-//		}
-
 ext
 		{
 			path=[

+ 6 - 6
zlkj_PERF/zlkj_hr_common/build.gradle → zlkj_PERF/zlkj_perf_common/build.gradle

@@ -24,10 +24,9 @@ def currentapp=  ext.path.currentapp
 def biz= ext.path.biz
 
 dependencies {
-	 implementation  fileTree(dir: bos, include: '*.jar')
-	 implementation  fileTree(dir: trd, include: '*.jar')
-	 implementation  fileTree(dir: biz, include: '*.jar')
-
+	compile fileTree(dir: bos, include: '**/*.jar')
+	compile fileTree(dir: trd, include: '**/*.jar')
+	compile fileTree(dir: biz, include: '**/*.jar')
 }
 
 task sourcesJar(type: Jar, dependsOn: build) {
@@ -78,9 +77,10 @@ task copyZipTodir(type: Copy){
 
 test.ignoreFailures true
 
+
 // 定义jar包manifest的信息,以便分析问题
 jar {
-	baseName = 'zlkj_hr_common_plugin'
+	baseName = 'zlkj_perf_common'
 	version = '1.0'
 	manifest {
 		attributes 'Builddate': new Date().format("yyyyMMddHHmm", TimeZone.getTimeZone("GMT+08:00"))
@@ -90,7 +90,7 @@ jar {
 
 // 定义zip包manifest的信息,以便分析问题
 zip {
-	baseName = 'zlkj_hr_common_plugin'
+	baseName = 'zlkj_perf_common'
 	version = '1.0'
 	manifest {
 		attributes 'Builddate': new Date().format("yyyyMMddHHmm", TimeZone.getTimeZone("GMT+08:00"))

+ 13 - 0
zlkj_PERF/zlkj_perf_common/config.gradle

@@ -0,0 +1,13 @@
+// 请根据您本地的苍穹jar包路径,修改以下地址
+ext
+        {
+            path=[
+                    trd:'../cosmic/trd',
+                    boscorelib:'../cosmic/bos',
+                    bos:'../cosmic/bos',
+                    biz:'../cosmic/biz',
+                    cus:'../cosmic/cus',
+                    currentapp:'../cosmic/biz',
+                    outputdir:'../cosmic/biz'
+            ]
+        }