【付款申请提交推送泛微】
This commit is contained in:
		
							parent
							
								
									64951677e2
								
							
						
					
					
						commit
						ac4655d347
					
				|  | @ -0,0 +1,30 @@ | |||
| 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"); | ||||
| 
 | ||||
| 
 | ||||
|         } | ||||
|     } | ||||
| } | ||||
		Loading…
	
		Reference in New Issue