|
package om
|
|
|
|
import (
|
|
"github.com/go-xorm/xorm"
|
|
"leit.com/LAPP_GAAS_GFrame/dao/om/implments"
|
|
"leit.com/LAPP_GAAS_GFrame/grmi"
|
|
model "leit.com/LAPP_GAAS_GFrame/models/om"
|
|
)
|
|
|
|
type ProdOrderStatusRecLstDAO interface {
|
|
//插入ProdOrderStatusRecLst
|
|
InsertOne(entity *model.ProdOrderStatusRecLst) error
|
|
//删除指定键的ProdOrderStatusRecLst
|
|
DeleteOne(prodOrderId string, pos int) error
|
|
//查找指定键的ProdOrderStatusRecLst
|
|
SelectOne(prodOrderId string, pos int) (*model.ProdOrderStatusRecLst, error)
|
|
//修改ProdOrderStatusRecLst
|
|
UpdateOne(entity *model.ProdOrderStatusRecLst) error
|
|
//按条件查询ProdOrderStatusRecLst
|
|
Select(predicates []grmi.Predicate, orderByFields []grmi.Field) ([]model.ProdOrderStatusRecLst, error)
|
|
//按条件查询ProdOrderStatusRecLst并分页
|
|
SelectAndPaging(paging *grmi.Paging, predicates []grmi.Predicate, orderByFields []grmi.Field) (grmi.PagingResult, error)
|
|
}
|
|
|
|
func NewProdOrderStatusRecLstDAO(session *xorm.Session, plantNr int, userid string) ProdOrderStatusRecLstDAO {
|
|
return implments.NewProdOrderStatusRecLstDAOImplement(session, plantNr, userid)
|
|
}
|