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