|
|
@ -356,7 +356,7 @@ public class PodTemplateServiceImpl implements PodTemplateService {
|
|
|
|
SfcDispatchDto sfcdispatch = new SfcDispatchDto();
|
|
|
|
SfcDispatchDto sfcdispatch = new SfcDispatchDto();
|
|
|
|
sfcdispatch.setHandle(HandleEnum.SFC_DISPATCH.getHandle(site, dispatchNo));
|
|
|
|
sfcdispatch.setHandle(HandleEnum.SFC_DISPATCH.getHandle(site, dispatchNo));
|
|
|
|
sfcdispatch = sfcDispatchCommonService.findSfcDispatchBySfc(sfcdispatch);
|
|
|
|
sfcdispatch = sfcDispatchCommonService.findSfcDispatchBySfc(sfcdispatch);
|
|
|
|
sendErp(sfc, stepId, qty, BigDecimal.ZERO, sfcdispatch.getProdHours());
|
|
|
|
sendErp(sfc, stepId, qty, BigDecimal.ZERO, qty.multiply(sfcdispatch.getProdHours()));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
} catch (Exception e) {
|
|
|
|
} catch (Exception e) {
|
|
|
|
ExceptionUtil.throwException(e);
|
|
|
|
ExceptionUtil.throwException(e);
|
|
|
|