标签:nta state custom ssi command set 场景 getc oid
使用场景:
public void doCustomer() {
//
People people = new People();
people.setName("哒");
people.setSex(1);
people.setDrlType("people");
//
KieServices kieServices = KieServices.Factory.get();
StatelessKieSession kieSession = kieServices.getKieClasspathContainer().newStatelessKieSession("my-test");
List<Command> commands = new ArrayList<>();
KieCommands kieCommands = kieServices.getCommands();
commands.add(kieCommands.newInsert(people, "input"));
ExecutionResults execute = kieSession.execute(kieCommands.newBatchExecution(commands));
}
问题:
标签:nta state custom ssi command set 场景 getc oid
原文地址:https://www.cnblogs.com/kobe-lin/p/14141756.html