暂估应付单【泛微数据流转接口】调用

This commit is contained in:
pan-houxiang 2025-12-23 17:13:22 +08:00
parent ccdfd4b187
commit a86a6b90a0
1 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,31 @@
package tqq9.lc123.cloud.app.plugin.form.ap;
import kd.bos.entity.datamodel.ListSelectedRowCollection;
import kd.bos.list.BillList;
import kd.bos.list.plugin.AbstractListPlugin;
import kd.bos.logging.Log;
import kd.bos.logging.LogFactory;
import kd.sdk.plugin.Plugin;
import tqq9.lc123.cloud.app.plugin.trd.FWImpl;
import java.util.EventObject;
/**
* 暂估应付单列表插件
* FW获取流程流转数据 接口调用获取下一步处理人节点名称上一步处理人
*/
public class ApbBusBillWorkflowDataListPlugin extends AbstractListPlugin implements Plugin {
private static final Log log = LogFactory.getLog(ApbBusBillWorkflowDataListPlugin.class);
@Override
public void afterBindData(EventObject e) {
super.afterBindData(e);
BillList b = this.getView().getControl("billlistap");
ListSelectedRowCollection currentListAllRowCollection = b.getCurrentListAllRowCollection();
String billSign = b.getBillFormId();
Boolean result = FWImpl.WorkflowData(billSign, currentListAllRowCollection);
if (result) {
log.info("调用成功");
}
}
}