1
This commit is contained in:
27
services/print_server/app_server/print_notice.go
Normal file
27
services/print_server/app_server/print_notice.go
Normal file
@@ -0,0 +1,27 @@
|
||||
package app_server
|
||||
|
||||
import (
|
||||
editionDao "git.rosy.net.cn/jx-print/dao"
|
||||
editionModel "git.rosy.net.cn/jx-print/model/app_model"
|
||||
)
|
||||
|
||||
type PrintNotice struct {
|
||||
}
|
||||
|
||||
var PrintNoticeServer = new(PrintNotice)
|
||||
|
||||
func (p PrintNotice) AddPrintNotice(param *editionModel.AddOrUpdatePrintNotice) error {
|
||||
return editionDao.PrintNoticeDao.AddNotice(param)
|
||||
}
|
||||
|
||||
func (p PrintNotice) UpdatePrintNotice(param *editionModel.AddOrUpdatePrintNotice) error {
|
||||
return editionDao.PrintNoticeDao.UpdateNotice(param)
|
||||
}
|
||||
|
||||
func (p PrintNotice) DeletePrintNotice(param *editionModel.DeletePrintNotice) error {
|
||||
return editionDao.PrintNoticeDao.DeletePrintNotice(param.Id)
|
||||
}
|
||||
|
||||
func (p PrintNotice) QueryPrintNotice(param *editionModel.QueryPrintNotice) ([]*editionModel.PrintNotice, error) {
|
||||
return editionDao.PrintNoticeDao.SelectPrintNotice(param)
|
||||
}
|
||||
Reference in New Issue
Block a user