public interface IUnitService extends IWIPService<Unit>
限定符和类型 | 方法和说明 |
---|---|
void |
cancelUnit(long id,
String reason) |
Unit |
changeOrder(long unitId,
long lotId) |
void |
changePrintState(List<String> unitSn) |
void |
changeState(long id,
String stateType) |
void |
closeUnit(long unitId,
String reason) |
void |
completeAtRouteStep(List<Long> unitIds,
long routeStepId,
String completeReason,
String comments) |
void |
completeTestUnit(Map<String,String> result,
Unit unit,
WorkStation workStation,
long routeStepId,
String errorCode) |
void |
finishClose(long unitId) |
List<Unit> |
getByIds(List<Long> id) |
List<Unit> |
getByLotId(long lotId) |
Unit |
getBySerialNumber(String unitSN)
根据序列号查找产品
|
List<Unit> |
getByWorkCenterAndOrder(String workCenterName,
String orderNumber) |
List<Unit> |
getByWorkorderAndSN(long id,
String sn)
根据orderId 再根据sn模糊查询
|
List<Unit> |
getByWorkOrderId(long id) |
List<Unit> |
getByWorkOrderItemId(long id) |
List<Unit> |
getCompletedUnitByWorkCenterAndOrder(String workCenterName,
String orderNumber) |
List<Unit> |
getCompletedUnitByWorkCenterAndOrder(String workCenterName,
String orderNumber,
int startPos,
int maxResult) |
long |
getCountByLotId(long lotId) |
long |
getCountOfCompletedUnitByWorkCenterAndOrder(String workCenterName,
String orderNumber) |
List<Unit> |
getPrintedUnits(long workOrderId,
int quantity) |
List<WIPWrapper> |
getStartedUnitByWorkCenterId(long workCenterId) |
Unit |
getTargetUnitByMaterialSN(String materialSN)
根据物料SN查找它对应的Unit,多层的情况(有半成品)返回最上层。
|
List<Unit> |
getUnitByWorkOrderId(long workOrderId)
通过工单ID获取该工单所有的Unit
|
Collection<? extends WIPWrapper> |
getUnitInStep(long stepId,
long productionLineId) |
List<WIPWrapper> |
getUnitInStepByWorkCenterId(long workCenterId) |
List<WIPWrapper> |
getUnitInStepByWorkCenterId(long workCenterId,
int startPosition,
int maxResult) |
List<Unit> |
getUnits(long routeId,
long routeStepId)
返回已经在当前 Route Step完成,且还没有在其它 Route Step 上 Start 的Unit的清单。
|
List<Unit> |
getUnitsByRMAOrder(long rmaOrderId) |
List<Unit> |
getUnitsInProcess(long routeId,
long routeStepId)
返回已经在当前 Route Step上已经Start,且还没有Complete 的Unit的清单。
|
List<Unit> |
getUnitsQueued(long routeId,
long routeStepId)
返回WIP在当前Route Step对应的 Incoming Queue上的 Unit的清单。
|
List<Unit> |
getUnitsQueuedForRouteQueue(long routeId,
long routeQueueId)
返回WIP在当前Route Queue上的 Unit的清单。
|
List<WIPWrapper> |
getUnitToProductByPage(Map<String,Object> params,
int startPosition,
int maxCount) |
int |
getUnitToProductByPageTotalCount(Map<String,Object> params) |
List<WIPWrapper> |
getUnitToProductByWorkCenterId(long workCenterId) |
List<Unit> |
getUnprinted(long orderId,
int quantity)
查询为打印的Unit
|
void |
holdUnit(long unitId,
String reason) |
void |
startAtRouteStep(List<Long> unitIds,
long routeStepId,
long workStationId,
String comments) |
void |
unCloseUnit(long unitId,
String reason) |
void |
unHoldUnit(long unitId,
String reason) |
completeAtRouteStep, getByOrderItemAndTrackingRule, getNextStartableSteps, getPreviousVisableQueue, getProcessingByStepId, hold, moveToStepQueue, scrappedAtRouteStep, startAtRouteStep, unHold
changeStatus
countByFilter, createFilter, delete, deleteById, deleteByIds, getByFilter, getById, getByIdAndEvict, list, list, listByFilter, listSimpleData, pagingByFilter, save, saveAll
List<WIPWrapper> getUnitToProductByWorkCenterId(long workCenterId)
List<WIPWrapper> getStartedUnitByWorkCenterId(long workCenterId)
Unit getBySerialNumber(String unitSN)
IWIPService
getBySerialNumber
在接口中 IWIPService<Unit>
void closeUnit(long unitId, String reason)
void unCloseUnit(long unitId, String reason)
void holdUnit(long unitId, String reason)
void unHoldUnit(long unitId, String reason)
void changeState(long id, String stateType)
List<Unit> getByWorkCenterAndOrder(String workCenterName, String orderNumber)
List<Unit> getCompletedUnitByWorkCenterAndOrder(String workCenterName, String orderNumber)
long getCountOfCompletedUnitByWorkCenterAndOrder(String workCenterName, String orderNumber)
List<Unit> getCompletedUnitByWorkCenterAndOrder(String workCenterName, String orderNumber, int startPos, int maxResult)
List<WIPWrapper> getUnitInStepByWorkCenterId(long workCenterId)
List<WIPWrapper> getUnitInStepByWorkCenterId(long workCenterId, int startPosition, int maxResult)
void startAtRouteStep(List<Long> unitIds, long routeStepId, long workStationId, String comments)
void completeAtRouteStep(List<Long> unitIds, long routeStepId, String completeReason, String comments)
List<Unit> getUnprinted(long orderId, int quantity)
orderId
- quantity
- 如果 quantity<=0 则查询对应Order所有未打印的UnitUnit changeOrder(long unitId, long lotId)
void finishClose(long unitId)
List<Unit> getByWorkorderAndSN(long id, String sn)
id
- sn
- void cancelUnit(long id, String reason)
long getCountByLotId(long lotId)
Collection<? extends WIPWrapper> getUnitInStep(long stepId, long productionLineId)
Unit getTargetUnitByMaterialSN(String materialSN)
partSN
- void completeTestUnit(Map<String,String> result, Unit unit, WorkStation workStation, long routeStepId, String errorCode)
List<Unit> getUnitByWorkOrderId(long workOrderId)
workOrderId
- List<Unit> getUnits(long routeId, long routeStepId)
routeStep
- List<Unit> getUnitsInProcess(long routeId, long routeStepId)
routeStep
- List<Unit> getUnitsQueued(long routeId, long routeStepId)
routeStep
- List<Unit> getUnitsQueuedForRouteQueue(long routeId, long routeQueueId)
routeStep
- List<WIPWrapper> getUnitToProductByPage(Map<String,Object> params, int startPosition, int maxCount)
Copyright © 2019. All rights reserved.