racklotRack

package
v2.3.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 12, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BatchDeleteByRacklots

func BatchDeleteByRacklots(db *gorm.DB, racklotIDs []int) (bool, error)

func BatchDeleteByRacks

func BatchDeleteByRacks(db *gorm.DB, rackIDs []int) (bool, error)

func Create

func Create(db *gorm.DB, racklotID int, rackID int) (bool, error)

func Delete

func Delete(db *gorm.DB, racklotID int, rackID int) (bool, error)

func IsExit

func IsExit(db *gorm.DB, racklotID int, rackID int) (bool, error)

func IsExitByRacklots

func IsExitByRacklots(db *gorm.DB, racklotIDs []int) (bool, error)

func Update

func Update(db *gorm.DB, id int, updateMap map[string]interface{}) (bool, error)

Types

type RacklotRack

type RacklotRack struct {
	gorm.Model
	RacklotID int
	RackID    int
}

RacklotRackModel ..

func Query

func Query(db *gorm.DB, racklotID int, rackID int) (*RacklotRack, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL