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