public interface IUnitHandler extends IWIPHandler<UnitEntity>
changeInQueue, completeAtRouteStep, getBySerialNumber, getNextStartableSteps, getPreviousVisableQueue, hold, moveToStepQueue, scrappedAtRouteStep, startAtRouteStep, unHold, updateStatusAfterStart
changeStatus
countByFilter, createFilter, delete, deleteById, deleteByIds, getByFilter, getById, getByIdAndEvict, list, listByFilter, listSimpleData, paging, pagingByFilter, save, saveAll
List<WIPWrapper> getStartedUnitByWorkCenterId(long workCenterId)
List<WIPWrapper> getUnitToProductByWorkCenterId(long workCenterId)
List<WIPWrapper> getUnitToProductByPage(Map<String,Object> params, int startPosition, int maxCount)
@Transactional void startAtRouteStep(List<Long> unitIds, long routeStepId, long workStationId, String comments)
@Transactional void completeAtRouteStep(List<Long> unitIds, long routeStepId, String completeReason, String comments)
@Transactional void holdUnit(long unitId, String reason)
@Transactional void cancelUnit(long unitId, String reason)
@Transactional void unHoldUnit(long unitId, String reason)
@Transactional void closeUnit(long unitId, String reason)
@Transactional void unCloseUnit(long unitId, String reason)
@Transactional void changeState(long id, String stateType)
List<UnitEntity> getByWorkOrderItemId(long id)
List<UnitEntity> getByWorkOrderId(long id)
List<UnitEntity> getByLotId(long lotId)
List<UnitEntity> getByWorkCenterAndOrder(String workCenterName, String orderNumber)
List<UnitEntity> getCompletedUnitByWorkCenterAndOrder(String workCenterName, String orderNumber)
List<UnitEntity> getByOrderItemAndTrackingRule(long orderItemId, String trackingRule)
List<UnitEntity> getUnprinted(long orderId, int quantity)
UnitEntity changeOrder(long unitId, long lotId)
List<UnitEntity> getPrintedUnits(long workOrderId, int quantity)
void finishClose(long unitId)
void updateStatusAfterStart(long id, RouteStep routeStep)
void changeInProcessQuantity(WorkOrderItemEntity workOrderItemEntity)
List<UnitEntity> getProcessingByStepId(long routeStepId)
List<UnitEntity> getByWorkorderAndSN(long orderId, String sn)
List<UnitEntity> getByIds(List<Long> ids)
long getCountByLotId(long lotId)
Collection<? extends WIPWrapper> getUnitInStep(long stepId, long productionLineId)
UnitEntity getTargetUnitByMaterialSN(String materialSN)
@Transactional void completeTestUnit(Map<String,String> result, UnitEntity unit, WorkStationEntity workStation, long routeStepId, String errorCode)
long getCountOfCompletedUnitByWorkCenterAndOrder(String workCenterName, String orderNumber)
List<UnitEntity> getCompletedUnitByWorkCenterAndOrder(String workCenterName, String orderNumber, int startPos, int maxResult)
List<WIPWrapper> getUnitInStepByWorkCenterId(long workCenterId)
List<WIPWrapper> getUnitInStepByWorkCenterId(long workCenterId, int startPosition, int maxResult)
List<UnitEntity> getUnitByWorkOrderId(long workOrderId)
List<UnitEntity> getUnits(long routeId, long routeStepId)
List<UnitEntity> getUnitsInProcess(long routeId, long routeStepId)
List<UnitEntity> getUnitsQueued(long routeId, long routeStepId)
List<UnitEntity> getUnitsQueuedForRouteQueue(long routeId, long routeQueueId)
List<UnitEntity> getUnitsByRMAOrder(long rmaOrderId)
Copyright © 2019. All rights reserved.