This commit is contained in:
		
							parent
							
								
									9058c4532b
								
							
						
					
					
						commit
						398cd9138b
					
				|  | @ -18,7 +18,7 @@ import java.util.List; | |||
| /** | ||||
|  * ±¸Áϼƻ®¸ü¸Äºó¸üÐÂmes | ||||
|  * | ||||
|  * @author mzr | ||||
|  * @author lh | ||||
|  * @date 2025/7/15 | ||||
|  */ | ||||
| public class AfterupdateSyncEpicMesRule implements IRule<AggPickmVO> { | ||||
|  | @ -37,12 +37,12 @@ public class AfterupdateSyncEpicMesRule implements IRule<AggPickmVO> { | |||
| 
 | ||||
|             IPMOQueryService queryService= ServiceLocator.find(IPMOQueryService.class); | ||||
|             List<PMOAggVO> list = new ArrayList<PMOAggVO>(); | ||||
|             if(null!=aggPickmVO.getParentVO().getFsourcetype() &&aggPickmVO.getParentVO().getFsourcetype().equals("55A2")){ | ||||
|             if(null!=aggPickmVO.getParentVO().getVfirstbilltype() && aggPickmVO.getParentVO().getVfirstbilltype().indexOf("55A2")!=-1){ | ||||
|                 try { | ||||
|                     PMOAggVO[] pmoAggVO = queryService.queryPMOAggVOByBid(new String[Integer.parseInt(aggPickmVO.getParentVO().getCsourcebillid())]); | ||||
|                     if(null!=pmoAggVO){ | ||||
|                         for (PMOAggVO pmoAggVO1 : pmoAggVO) { | ||||
|                             if (pmoAggVO1.getParentVO().getFbillstatus().equals("1")){ | ||||
|                             if (1 == pmoAggVO1.getParentVO().getFbillstatus()){ | ||||
|                                 list.add(pmoAggVO1); | ||||
|                             } | ||||
|                         } | ||||
|  | @ -54,8 +54,8 @@ public class AfterupdateSyncEpicMesRule implements IRule<AggPickmVO> { | |||
|             } | ||||
|             if (list.size() > 0) { | ||||
|                 SyncEpicMesUtil mesUtil = new SyncEpicMesUtil(); | ||||
| //                审核后触发 | ||||
|                 String n = "y"; | ||||
| //               备料重算后触发审核 | ||||
|                 String n = "Y"; | ||||
|                 try { | ||||
|                     mesUtil.processData((PMOAggVO[])list.toArray(new PMOAggVO[list.size()]),n); | ||||
|                 } catch (BusinessException e) { | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue