コード例 #1
0
 /// <summary>
 /// 查询单条角色权限信息
 /// </summary>
 /// <param name="role"></param>
 /// <returns>单条角色权限</returns>
 public Role selectRoleById(Role role)
 {
     return(BaseDao.QueryForObject <Role>("SelectRoleById", role));
 }
コード例 #2
0
 /// <summary>
 /// 查询单条夹具定义信息
 /// </summary>
 /// <param name="tongsDefinition"></param>
 /// <returns>单条夹具定义信息</returns>
 public TongsDefinition selectTongsDefinitionById(TongsDefinition tongsDefinition)
 {
     return(BaseDao.QueryForObject <TongsDefinition>("SelectTongsDefinitionById", tongsDefinition));
 }
コード例 #3
0
 /// <summary>
 /// 查询单条采购信息
 /// </summary>
 /// <param name="purchase"></param>
 /// <returns>采购记录</returns>
 public Purchase selectPurchaseById(Purchase purchase)
 {
     return(BaseDao.QueryForObject <Purchase>("SelectPurchaseById", purchase));
 }
コード例 #4
0
 /// <summary>
 /// 查询单条生产线信息
 /// </summary>
 /// <param name="productionLine"></param>
 /// <returns>单条生产线信息记录</returns>
 public ProductionLine selectProductionLineById(ProductionLine productionLine)
 {
     return(BaseDao.QueryForObject <ProductionLine>("SelectProductionLineById", productionLine));
 }
コード例 #5
0
 /// <summary>
 /// 查询单条部门信息
 /// </summary>
 /// <param name="workcell"></param>
 /// <returns>单个部门信息记录</returns>
 public Workcell selectWorkcellById(Workcell workcell)
 {
     return(BaseDao.QueryForObject <Workcell>("SelectWorkcellById", workcell));
 }
コード例 #6
0
ファイル: UserDao.cs プロジェクト: ZHOUTREEMAN/fixture-manage
 /// <summary>
 /// 通过工号查询用户
 /// </summary>
 /// <param name="user"></param>
 /// <returns>单个用户信息</returns>
 public User selectUserByWorkNo(User user)
 {
     return(BaseDao.QueryForObject <User>("SelectUser", user));
 }
コード例 #7
0
 /// <summary>
 /// 查询单条维修记录
 /// </summary>
 /// <param name="repairRecord"></param>
 /// <returns>维修记录</returns>
 public RepairRecord selectRepairRecordById(RepairRecord repairRecord)
 {
     return(BaseDao.QueryForObject <RepairRecord>("SelectRepairRecordById", repairRecord));
 }
コード例 #8
0
 /// <summary>
 /// 查询单条日志记录
 /// </summary>
 /// <param name="log"></param>
 /// <returns>日志记录</returns>
 public Log selectLogById(Log log)
 {
     return(BaseDao.QueryForObject <Log>("SelectLogById", log));
 }
コード例 #9
0
 /// <summary>
 /// 查询单条夹具报废信息
 /// </summary>
 /// <param name="scrap"></param>
 /// <returns>单条夹具报废信息</returns>
 public Scrap selectScrapById(Scrap scrap)
 {
     return(BaseDao.QueryForObject <Scrap>("SelectScrapById", scrap));
 }
コード例 #10
0
 /// <summary>
 /// 查询单条夹具实体
 /// </summary>
 /// <param name="tongsEntity"></param>
 /// <returns>单个夹具实体信息</returns>
 public TongsEntity selectTongsEntityByCodeAndSeq(TongsEntity tongsEntity)
 {
     return(BaseDao.QueryForObject <TongsEntity>("SelectTongsEntityByCodeAndSeq", tongsEntity));
 }
コード例 #11
0
 /// <summary>
 /// 查询单条夹具实体
 /// </summary>
 /// <param name="tongsEntity"></param>
 /// <returns>单个夹具实体信息</returns>
 public TongsEntity selectTongsEntityById(TongsEntity tongsEntity)
 {
     return(BaseDao.QueryForObject <TongsEntity>("SelectTongsEntityById", tongsEntity));
 }