编号生成
This commit is contained in:
parent
585ee8fc5f
commit
3f857a240a
@ -0,0 +1,46 @@
|
|||||||
|
package com.actionsoft.apps.coe.pal.publisher.event;
|
||||||
|
|
||||||
|
import com.actionsoft.apps.coe.pal.pal.manage.publish.dao.PublishHistory;
|
||||||
|
import com.actionsoft.apps.coe.pal.pal.manage.publish.dao.PublishListHistory;
|
||||||
|
import com.actionsoft.apps.coe.pal.pal.manage.publish.model.PublishHistoryModel;
|
||||||
|
import com.actionsoft.apps.coe.pal.pal.manage.publish.model.PublishListHistoryModel;
|
||||||
|
import com.actionsoft.apps.coe.pal.pal.repository.dao.PALRepository;
|
||||||
|
import com.actionsoft.apps.coe.pal.publisher.client.util.ProcesNumberUtil;
|
||||||
|
import com.actionsoft.apps.coe.pal.publisher.constant.PublisherConstant;
|
||||||
|
import com.actionsoft.bpms.bo.engine.BO;
|
||||||
|
import com.actionsoft.bpms.bpmn.engine.core.delegate.ProcessExecutionContext;
|
||||||
|
import com.actionsoft.bpms.bpmn.engine.listener.ExecuteListener;
|
||||||
|
import com.actionsoft.bpms.bpmn.engine.listener.ExecuteListenerInterface;
|
||||||
|
import com.actionsoft.bpms.util.UUIDGener;
|
||||||
|
import com.actionsoft.sdk.local.SDK;
|
||||||
|
|
||||||
|
import java.sql.Timestamp;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
public class PublishExecuteListenerInterfaceCreateNo extends ExecuteListener implements ExecuteListenerInterface {
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String getDescription() {
|
||||||
|
return "将发布信息保存至CoE中。";
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String getProvider() {
|
||||||
|
return "aws-coe";
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String getVersion() {
|
||||||
|
return "V6.0";
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void execute(ProcessExecutionContext param) throws Exception {
|
||||||
|
PublishHistoryModel model = new PublishHistoryModel();
|
||||||
|
String processInstId = param.getProcessInstance().getId();
|
||||||
|
//by bzp 测试编号生成
|
||||||
|
new ProcesNumberUtil().getNumber(processInstId);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue
Block a user