/// <summary>
 /// 插入单条夹具定义
 /// </summary>
 /// <param name="tongsDefinition"></param>
 /// <returns>操作状态码</returns>
 public int insertTongsDefinition(TongsDefinition tongsDefinition)
 {
     return(BaseDao.Insert <TongsDefinition>("InsertTongsDefinition", tongsDefinition));
 }
Пример #2
0
 /// <summary>
 /// 插入单条库存记录
 /// </summary>
 ///
 /// <param name="inventoryRecord">库存记录类</param>
 /// <returns>操作状态码</returns>
 public int insertInventoryRecord(InventoryRecord inventoryRecord)
 {
     return(BaseDao.Insert <InventoryRecord>("InsertInventoryRecord", inventoryRecord));
 }
Пример #3
0
 /// <summary>
 /// 插入单条生产线信息
 /// </summary>
 /// <param name="productionLine">生产线类</param>
 /// <returns>操作状态码</returns>
 public int insertProductionLine(ProductionLine productionLine)
 {
     return(BaseDao.Insert <ProductionLine>("InsertProductionLine", productionLine));
 }
Пример #4
0
 /// <summary>
 /// 插入单条角色权限
 /// </summary>
 /// <param name="role">角色权限类</param>
 /// <returns>操作状态码</returns>
 public int insertRole(Role role)
 {
     return(BaseDao.Insert <Role>("InsertRole", role));
 }
Пример #5
0
 /// <summary>
 /// 插入单个用户信息
 /// </summary>
 /// <param name="user"></param>
 /// <returns>操作状态码</returns>
 public int insertUser(User user)
 {
     return(BaseDao.Insert <User>("InsertUser", user));
 }
Пример #6
0
 /// <summary>
 /// 插入单条采购记录
 /// </summary>
 /// <param name="purchase"></param>
 /// <returns>操作状态码</returns>
 public int insertPurchase(Purchase purchase)
 {
     return(BaseDao.Insert <Purchase>("InsertPurchase", purchase));
 }
Пример #7
0
 /// <summary>
 /// 插入单条部门信息
 /// </summary>
 /// <param name="workcell"></param>
 /// <returns>操作状态码</returns>
 public int insertWorkcell(Workcell workcell)
 {
     return(BaseDao.Insert <Workcell>("InsertWorkcell", workcell));
 }
Пример #8
0
 /// <summary>
 /// 插入单条维修记录
 /// </summary>
 /// <param name="repairRecord"></param>
 /// <returns>操作状态码</returns>
 public int insertRepairRecord(RepairRecord repairRecord)
 {
     return(BaseDao.Insert <RepairRecord>("InsertRepairRecord", repairRecord));
 }
Пример #9
0
 /// <summary>
 /// 插入一条日志
 /// </summary>
 /// <param name="log"></param>
 /// <returns>操作状态码</returns>
 public int insertLog(Log log)
 {
     return(BaseDao.Insert <Log>("InsertLog", log));
 }
Пример #10
0
 /// <summary>
 /// 插入单条报废记录
 /// </summary>
 /// <param name="scrap"></param>
 /// <returns>操作状态码</returns>
 public int insertScrap(Scrap scrap)
 {
     return(BaseDao.Insert <Scrap>("InsertScrap", scrap));
 }
Пример #11
0
 /// <summary>
 /// 插入单条夹具实体内容
 /// </summary>
 /// <param name="tongsEntity"></param>
 /// <returns>操作状态码</returns>
 public int insertTongsEntity(TongsEntity tongsEntity)
 {
     return(BaseDao.Insert <TongsEntity>("InsertTongsEntity", tongsEntity));
 }