/// <summary> /// 查询单条角色权限信息 /// </summary> /// <param name="role"></param> /// <returns>单条角色权限</returns> public Role selectRoleById(Role role) { return(BaseDao.QueryForObject <Role>("SelectRoleById", role)); }
/// <summary> /// 查询单条夹具定义信息 /// </summary> /// <param name="tongsDefinition"></param> /// <returns>单条夹具定义信息</returns> public TongsDefinition selectTongsDefinitionById(TongsDefinition tongsDefinition) { return(BaseDao.QueryForObject <TongsDefinition>("SelectTongsDefinitionById", tongsDefinition)); }
/// <summary> /// 查询单条采购信息 /// </summary> /// <param name="purchase"></param> /// <returns>采购记录</returns> public Purchase selectPurchaseById(Purchase purchase) { return(BaseDao.QueryForObject <Purchase>("SelectPurchaseById", purchase)); }
/// <summary> /// 查询单条生产线信息 /// </summary> /// <param name="productionLine"></param> /// <returns>单条生产线信息记录</returns> public ProductionLine selectProductionLineById(ProductionLine productionLine) { return(BaseDao.QueryForObject <ProductionLine>("SelectProductionLineById", productionLine)); }
/// <summary> /// 查询单条部门信息 /// </summary> /// <param name="workcell"></param> /// <returns>单个部门信息记录</returns> public Workcell selectWorkcellById(Workcell workcell) { return(BaseDao.QueryForObject <Workcell>("SelectWorkcellById", workcell)); }
/// <summary> /// 通过工号查询用户 /// </summary> /// <param name="user"></param> /// <returns>单个用户信息</returns> public User selectUserByWorkNo(User user) { return(BaseDao.QueryForObject <User>("SelectUser", user)); }
/// <summary> /// 查询单条维修记录 /// </summary> /// <param name="repairRecord"></param> /// <returns>维修记录</returns> public RepairRecord selectRepairRecordById(RepairRecord repairRecord) { return(BaseDao.QueryForObject <RepairRecord>("SelectRepairRecordById", repairRecord)); }
/// <summary> /// 查询单条日志记录 /// </summary> /// <param name="log"></param> /// <returns>日志记录</returns> public Log selectLogById(Log log) { return(BaseDao.QueryForObject <Log>("SelectLogById", log)); }
/// <summary> /// 查询单条夹具报废信息 /// </summary> /// <param name="scrap"></param> /// <returns>单条夹具报废信息</returns> public Scrap selectScrapById(Scrap scrap) { return(BaseDao.QueryForObject <Scrap>("SelectScrapById", scrap)); }
/// <summary> /// 查询单条夹具实体 /// </summary> /// <param name="tongsEntity"></param> /// <returns>单个夹具实体信息</returns> public TongsEntity selectTongsEntityByCodeAndSeq(TongsEntity tongsEntity) { return(BaseDao.QueryForObject <TongsEntity>("SelectTongsEntityByCodeAndSeq", tongsEntity)); }
/// <summary> /// 查询单条夹具实体 /// </summary> /// <param name="tongsEntity"></param> /// <returns>单个夹具实体信息</returns> public TongsEntity selectTongsEntityById(TongsEntity tongsEntity) { return(BaseDao.QueryForObject <TongsEntity>("SelectTongsEntityById", tongsEntity)); }