@Service @Primary public class MPIService extends AbstractBaseDomainObjectService<MPI,MPIEntity> implements IMPIService
domainObjectClass, entityClass
构造器和说明 |
---|
MPIService() |
限定符和类型 | 方法和说明 |
---|---|
MPI |
getByName(String mpiName)
根据mpi名字查询mpi
|
List<MPI> |
getByNameAndDescription(String name,
String description)
根据名称和描述进行模糊查询
|
List<MPI> |
getByPartIdAndRouteIdAndRouteStepId(long partId,
String productConfRevision,
long routeId,
long routeStepId)
根据物料id和工艺id,以及生产定义版本查询生产定义中对应工艺步骤上的mpi信息
|
MPI |
getByProductionLineId(long lineId)
获取产线绑定的mpi
|
List<MPIWrapper> |
getByWIP(WIP<?> wip,
long routeStepId)
查询wip在当前工艺步骤上的mpi信息,包含工单,产线和生产定义中对应工艺步骤上的mpi
|
MPI |
getByWorkOrderId(long orderId)
获取工单绑定的mpi
|
protected IBaseEntityHandler<MPIEntity> |
getEntityHandler() |
void |
saveMpi(MPI mpi,
String filename,
String fileType,
InputStream inputStream)
添加mpi保存
|
countByFilter, createClientObject, createClientObject, createClientObjects, createClientObjects, createFilter, delete, deleteById, deleteByIds, getByFilter, getById, getByIdAndEvict, getInternalEntities, getInternalEntity, getObjectType, list, list, listByFilter, listSimpleData, pagingByFilter, save, saveAll
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
countByFilter, createFilter, delete, deleteById, deleteByIds, getByFilter, getById, getByIdAndEvict, list, list, listByFilter, listSimpleData, pagingByFilter, save, saveAll
public List<MPIWrapper> getByWIP(WIP<?> wip, long routeStepId)
IMPIService
getByWIP
在接口中 IMPIService
routeStepId
- 工艺步骤idpublic void saveMpi(MPI mpi, String filename, String fileType, InputStream inputStream)
IMPIService
saveMpi
在接口中 IMPIService
mpi
- mpi对象filename
- 文件名字fileType
- 文件类型inputStream
- 字节流public MPI getByName(String mpiName)
IMPIService
getByName
在接口中 IMPIService
public List<MPI> getByPartIdAndRouteIdAndRouteStepId(long partId, String productConfRevision, long routeId, long routeStepId)
IMPIService
getByPartIdAndRouteIdAndRouteStepId
在接口中 IMPIService
partId
- 物料idproductConfRevision
- 生产定义版本routeId
- 工艺idrouteStepId
- 工艺步骤idpublic MPI getByProductionLineId(long lineId)
IMPIService
getByProductionLineId
在接口中 IMPIService
public MPI getByWorkOrderId(long orderId)
IMPIService
getByWorkOrderId
在接口中 IMPIService
public List<MPI> getByNameAndDescription(String name, String description)
IMPIService
getByNameAndDescription
在接口中 IMPIService
protected IBaseEntityHandler<MPIEntity> getEntityHandler()
Copyright © 2019. All rights reserved.