|
大神,在流程事件中做了以下赋值,未提交和处理中赋值成功,但是在onAfterFinish赋值已完成,怎么没反应?
public class SonghuodanProcess {
public static void songhuodanProcessAfterAdvance() {
java.lang.String key=ProcessUtils.getProcessData1();
java.lang.String ksql="update SH_KHZL a set a.fLCZT='处理中' where a='"+key+"'";
KSQL.executeUpdate(ksql, null, "/shouhou/shouhoufuwu/data", null);
}
public static void songhuodanProcessAfterStart() {
java.lang.String key=ProcessUtils.getProcessData1();
java.lang.String ksql="update SH_KHZL a set a.fLCZT='未提交' where a='"+key+"'";
KSQL.executeUpdate(ksql, null, "/shouhou/shouhoufuwu/data", null);
}
public static void songhuodanProcessAfterFinish() {
java.lang.String key=ProcessUtils.getProcessData1();
java.lang.String ksql="update SH_KHZL a set a.fLCZT='已完成' where a='"+key+"'";
KSQL.executeUpdate(ksql, null, "/shouhou/shouhoufuwu/data", null);
}
}
|
|