31 lines
1.0 KiB
Java
31 lines
1.0 KiB
Java
|
|
package tqq9.lc123.cloud.app.plugin.operate.cas;
|
||
|
|
|
||
|
|
import kd.bos.dataentity.entity.DynamicObject;
|
||
|
|
import kd.bos.entity.operate.result.OperationResult;
|
||
|
|
import kd.bos.entity.plugin.AbstractOperationServicePlugIn;
|
||
|
|
import kd.bos.entity.plugin.args.AfterOperationArgs;
|
||
|
|
import kd.bos.servicehelper.BusinessDataServiceHelper;
|
||
|
|
|
||
|
|
import java.text.SimpleDateFormat;
|
||
|
|
import java.util.List;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 付款申请单提交后推送泛微
|
||
|
|
*/
|
||
|
|
public class PayApplySubmitToFwOp extends AbstractOperationServicePlugIn {
|
||
|
|
|
||
|
|
|
||
|
|
@Override
|
||
|
|
public void afterExecuteOperationTransaction(AfterOperationArgs e) {
|
||
|
|
super.afterExecuteOperationTransaction(e);
|
||
|
|
OperationResult operationResult = this.getOperationResult();
|
||
|
|
List<Object> successPkIds = operationResult.getSuccessPkIds();
|
||
|
|
for (Object successPkId : successPkIds) {
|
||
|
|
DynamicObject ap_payapply = BusinessDataServiceHelper.loadSingle(successPkId, "ap_payapply");
|
||
|
|
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
|
||
|
|
|
||
|
|
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|