Documentation ¶
Index ¶
- func AddOagood(upd Oagoods) error
- func AddOagoodsApprover(upd OagoodsApprover) error
- func ChangeOagoodResult(id int64, result int) error
- func ChangeOagoodStatus(id int64, status int) error
- func CheckOagoodApprover(id, userId int64) (int64, int)
- func CountOagood(condArr map[string]string) int64
- func CountOagoodApproval(condArr map[string]string) int64
- func DeleteOagood(id int64) error
- func ListOagoodApproverProcessHtml(oagoodid int64) string
- func UpdateOagood(id int64, upd Oagoods) error
- func UpdateOagoodsApprover(id int64, upd OagoodsApprover) error
- type OagoodApproverProcess
- type Oagoods
- type OagoodsApprover
- type TmpOagoodCount
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddOagoodsApprover ¶
func AddOagoodsApprover(upd OagoodsApprover) error
func ChangeOagoodResult ¶
func ChangeOagoodStatus ¶
func CountOagood ¶
func CountOagoodApproval ¶
func DeleteOagood ¶
func UpdateOagood ¶
func UpdateOagoodsApprover ¶
func UpdateOagoodsApprover(id int64, upd OagoodsApprover) error
Types ¶
type OagoodApproverProcess ¶
type OagoodApproverProcess struct { Userid int64 Realname string Avatar string Position string Status int Summary string Changed int64 }
func ListOagoodApproverProcess ¶
func ListOagoodApproverProcess(oagoodid int64) (num int64, err error, user []OagoodApproverProcess)
type Oagoods ¶
type Oagoods struct { Id int64 `orm:"pk;column(oagoodid);"` Userid int64 Purpose string Names string Quantitys string Content string Picture string Result int Status int Approverids string Created int64 Changed int64 }
func ListOagood ¶
type OagoodsApprover ¶
type OagoodsApprover struct { Id int64 `orm:"pk;column(approverid);"` Oagoodid int64 Userid int64 Summary string Status int Created int64 Changed int64 }
func (*OagoodsApprover) TableName ¶
func (this *OagoodsApprover) TableName() string
type TmpOagoodCount ¶
type TmpOagoodCount struct {
Num int64
}
Click to show internal directories.
Click to hide internal directories.