@Service @Primary public class ProductionLineService extends AbstractBaseDomainObjectService<ProductionLine,ProductionLineEntity> implements IProductionLineService
domainObjectClass, entityClass
构造器和说明 |
---|
ProductionLineService() |
限定符和类型 | 方法和说明 |
---|---|
ProductionLine |
changeStatus(long productionLineId,
String name)
改变厂线的状态
|
void |
editRoute(long pLineId,
long routeId)
绑定工艺路线和厂线
|
List<String> |
getAllProductionLineNames()
获取所有厂线的名称列表
|
List<ProductionLine> |
getByArea(long areaId)
查询区域下所有的厂线
|
List<ProductionLine> |
getByPart(long partId)
根据物料查询绑定的厂线
|
protected IBaseEntityHandler<ProductionLineEntity> |
getEntityHandler() |
ProductionLine |
getProducitonLineByName(String pLineName)
根据厂线名称查询厂线
|
List<ProductionLine> |
getProductionLines(long routeId)
返回当前Router对象上绑定的ProductionLine 清单
|
List<ProductionLine> |
getProductionLinesByRouteId(long id)
根据工艺id查询绑定的厂线
|
List<ProductionLine> |
listByWorkScheduleId(long workScheduleId)
根据排班计划获取产线
|
void |
removeRoute(long pLineId,
long routeId)
解绑工艺路线和厂线
|
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 void editRoute(long pLineId, long routeId)
IProductionLineService
editRoute
在接口中 IProductionLineService
pLineId
- 厂线idrouteId
- 工艺idpublic void removeRoute(long pLineId, long routeId)
IProductionLineService
removeRoute
在接口中 IProductionLineService
pLineId
- 厂线idrouteId
- 工艺idpublic List<ProductionLine> getByPart(long partId)
IProductionLineService
getByPart
在接口中 IProductionLineService
partId
- 物料idpublic ProductionLine getProducitonLineByName(String pLineName)
IProductionLineService
getProducitonLineByName
在接口中 IProductionLineService
pLineName
- 名称public List<ProductionLine> getByArea(long areaId)
IProductionLineService
getByArea
在接口中 IProductionLineService
public ProductionLine changeStatus(long productionLineId, String name)
IProductionLineService
changeStatus
在接口中 IProductionLineService
productionLineId
- 厂线的idname
- 厂线的状态public List<ProductionLine> getProductionLinesByRouteId(long id)
IProductionLineService
getProductionLinesByRouteId
在接口中 IProductionLineService
id
- 工艺idpublic List<String> getAllProductionLineNames()
IProductionLineService
getAllProductionLineNames
在接口中 IProductionLineService
public List<ProductionLine> getProductionLines(long routeId)
IProductionLineService
getProductionLines
在接口中 IProductionLineService
protected IBaseEntityHandler<ProductionLineEntity> getEntityHandler()
public List<ProductionLine> listByWorkScheduleId(long workScheduleId)
IProductionLineService
listByWorkScheduleId
在接口中 IProductionLineService
workScheduleId
- 排班计划idCopyright © 2019. All rights reserved.