到货检验单审批回信儿质检信息
This commit is contained in:
		
							parent
							
								
									d21ed0d3aa
								
							
						
					
					
						commit
						6ce8314bf8
					
				|  | @ -14,6 +14,7 @@ import nc.vo.pub.CircularlyAccessibleValueObject; | |||
| import nccloud.commons.lang.StringUtils; | ||||
| import nc.codeplatform.framework.service.AbstractPfScriptAction; | ||||
| import nc.vo.pu.dhjyd.AggDhjydMasterVO; | ||||
| import nc.itf.pu.dhjyd.dhjydmaster.IArriveToDhjyd; | ||||
| import nc.itf.pu.dhjyd.dhjydmaster.IDhjydMasterVOService; | ||||
| 
 | ||||
| public class N_DHJY_APPROVE extends AbstractPfScriptAction<AggDhjydMasterVO>{ | ||||
|  | @ -48,4 +49,12 @@ public class N_DHJY_APPROVE extends AbstractPfScriptAction<AggDhjydMasterVO>{ | |||
| 			throw new BusinessException("当前单据未执行保存动作脚本,如果配置了业务流程定义,请检查动作驱动配置!"); | ||||
| 		} | ||||
| 	} | ||||
| 	 | ||||
| 	protected void after(PfParameterVO paraVO) throws BusinessException { | ||||
| 		AggDhjydMasterVO[] vos = (AggDhjydMasterVO[])this.getVos(); | ||||
| 		IArriveToDhjyd service = NCLocator.getInstance().lookup(IArriveToDhjyd.class); | ||||
| 		for(int i = 0; i < vos.length; i++) { | ||||
| 			service.writeBackQc(vos[i]); | ||||
| 		} | ||||
| 	} | ||||
| } | ||||
|  | @ -14,6 +14,7 @@ import nc.vo.pub.CircularlyAccessibleValueObject; | |||
| import nccloud.commons.lang.StringUtils; | ||||
| import nc.codeplatform.framework.service.AbstractPfScriptAction; | ||||
| import nc.vo.pu.dhjyd.AggDhjydMasterVO; | ||||
| import nc.itf.pu.dhjyd.dhjydmaster.IArriveToDhjyd; | ||||
| import nc.itf.pu.dhjyd.dhjydmaster.IDhjydMasterVOService; | ||||
| 
 | ||||
| public class N_DHJY_UNAPPROVE extends AbstractPfScriptAction<AggDhjydMasterVO>{ | ||||
|  | @ -48,4 +49,12 @@ public class N_DHJY_UNAPPROVE extends AbstractPfScriptAction<AggDhjydMasterVO>{ | |||
| 			throw new BusinessException("当前单据未执行保存动作脚本,如果配置了业务流程定义,请检查动作驱动配置!"); | ||||
| 		} | ||||
| 	} | ||||
| 	 | ||||
| 	protected void after(PfParameterVO paraVO) throws BusinessException { | ||||
| 		AggDhjydMasterVO[] vos = (AggDhjydMasterVO[])this.getVos(); | ||||
| 		IArriveToDhjyd service = NCLocator.getInstance().lookup(IArriveToDhjyd.class); | ||||
| 		for(int i = 0; i < vos.length; i++) { | ||||
| 			service.deleteQc(vos[i]); | ||||
| 		} | ||||
| 	} | ||||
| } | ||||
		Loading…
	
		Reference in New Issue