Compare commits

..

No commits in common. "04c5029e4daadb31d9b1005a74e869eb81b827d3" and "d42e0f33eb6b08230c4c2c2bc1586a3c3730dbe9" have entirely different histories.

1 changed files with 5 additions and 5 deletions

View File

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