/// <summary> /// 更新单条夹具定义 /// </summary> /// <param name="tongsDefinition"></param> /// <returns>操作状态码</returns> public int updateTongsDefinition(TongsDefinition tongsDefinition) { return(BaseDao.Update <TongsDefinition>("UpdateTongsDefinition", tongsDefinition)); }
/// <summary> /// 更新单条库存记录 /// </summary> /// /// <param name="inventoryRecord">库存记录类</param> /// <returns>操作状态码</returns> public int updateInventoryRecord(InventoryRecord inventoryRecord) { return(BaseDao.Update <InventoryRecord>("UpdateInventoryRecord", inventoryRecord)); }
/// <summary> /// 更新单条生产线信息 /// </summary> /// <param name="productionLine">生产线类</param> /// <returns>操作状态码</returns> public int updateProductionLine(ProductionLine productionLine) { return(BaseDao.Update <ProductionLine>("UpdateProductionLine", productionLine)); }
/// <summary> /// 更新单条角色权限 /// </summary> /// <param name="role">角色权限类</param> /// <returns>操作状态码</returns> public int updateRole(Role role) { return(BaseDao.Update <Role>("UpdateRole", role)); }
/// <summary> /// 更新单个用户信息 /// </summary> /// <param name="user"></param> /// <returns>操作状态码</returns> public int updateUser(User user) { return(BaseDao.Update <User>("UpdateUser", user)); }
/// <summary> /// 更新采购信息 /// </summary> /// <param name="purchase"></param> /// <returns>操作状态码</returns> public int updatePurchase(Purchase purchase) { return(BaseDao.Update <Purchase>("UpdatePurchase", purchase)); }
/// <summary> /// 更新单条部门信息 /// </summary> /// <param name="workcell"></param> /// <returns>操作状态码</returns> public int updateWorkcell(Workcell workcell) { return(BaseDao.Update <Workcell>("UpdateWorkcell", workcell)); }
/// <summary> /// 更新单条维修记录 /// </summary> /// <param name="repairRecord"></param> /// <returns>操作状态码</returns> public int updateRepairRecord(RepairRecord repairRecord) { return(BaseDao.Update <RepairRecord>("UpdateRepairRecord", repairRecord)); }
/// <summary> /// 更新日志信息 /// </summary> /// <param name="log"></param> /// <returns>操作状态码</returns> public int updateLog(Log log) { return(BaseDao.Update <Log>("UpdateInventoryRecord", log)); }
/// <summary> /// 更新单条报废记录 /// </summary> /// <param name="scrap"></param> /// <returns>操作状态码</returns> public int updateScrap(Scrap scrap) { return(BaseDao.Update <Scrap>("UpdateScrap", scrap)); }
/// <summary> /// 更新单条夹具实体内容 /// </summary> /// <param name="tongsEntity"></param> /// <returns>操作状态码</returns> public int updateTongsEntity(TongsEntity tongsEntity) { return(BaseDao.Update <TongsEntity>("UpdateTongsEntity", tongsEntity)); }