@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, saveAllclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcountByFilter, createFilter, delete, deleteById, deleteByIds, getByFilter, getById, getByIdAndEvict, list, list, listByFilter, listSimpleData, pagingByFilter, save, saveAllpublic void editRoute(long pLineId,
long routeId)
IProductionLineServiceeditRoute 在接口中 IProductionLineServicepLineId - 厂线idrouteId - 工艺idpublic void removeRoute(long pLineId,
long routeId)
IProductionLineServiceremoveRoute 在接口中 IProductionLineServicepLineId - 厂线idrouteId - 工艺idpublic List<ProductionLine> getByPart(long partId)
IProductionLineServicegetByPart 在接口中 IProductionLineServicepartId - 物料idpublic ProductionLine getProducitonLineByName(String pLineName)
IProductionLineServicegetProducitonLineByName 在接口中 IProductionLineServicepLineName - 名称public List<ProductionLine> getByArea(long areaId)
IProductionLineServicegetByArea 在接口中 IProductionLineServicepublic ProductionLine changeStatus(long productionLineId, String name)
IProductionLineServicechangeStatus 在接口中 IProductionLineServiceproductionLineId - 厂线的idname - 厂线的状态public List<ProductionLine> getProductionLinesByRouteId(long id)
IProductionLineServicegetProductionLinesByRouteId 在接口中 IProductionLineServiceid - 工艺idpublic List<String> getAllProductionLineNames()
IProductionLineServicegetAllProductionLineNames 在接口中 IProductionLineServicepublic List<ProductionLine> getProductionLines(long routeId)
IProductionLineServicegetProductionLines 在接口中 IProductionLineServiceprotected IBaseEntityHandler<ProductionLineEntity> getEntityHandler()
public List<ProductionLine> listByWorkScheduleId(long workScheduleId)
IProductionLineServicelistByWorkScheduleId 在接口中 IProductionLineServiceworkScheduleId - 排班计划idCopyright © 2019. All rights reserved.