测试类
This commit is contained in:
parent
c821f7057f
commit
71edd69307
@ -0,0 +1,29 @@
|
||||
package com.gtsoft.mps.batch.test;
|
||||
|
||||
import com.gtsoft.mps.batch.processor.AbstractBusinessProcessor;
|
||||
import com.gtsoft.mps.batch.processor.BusinessProcessorFactory;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
public class BizTest {
|
||||
|
||||
public static void main(String[] args) throws Exception {
|
||||
|
||||
AbstractBusinessProcessor processor = BusinessProcessorFactory.createProcessor("BIZ002");
|
||||
|
||||
// 设置测试参数
|
||||
String batchDate = "2025-09"; // 测试日期
|
||||
String batchType = "PRE"; // 批量类型
|
||||
|
||||
System.out.println("创建BIZ002处理器成功,开始执行业务处理...");
|
||||
|
||||
// 执行业务处理
|
||||
AbstractBusinessProcessor.ProcessResult result = processor.process(batchDate, batchType);
|
||||
|
||||
System.out.println("业务处理完成");
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user