feat: add gormv2 and support sqlite
This commit is contained in:
@@ -42,7 +42,7 @@ func (st *CronMsgService) GetByID() (models.CronMessages, error) {
|
||||
return models.GetCronMsgByID(st.ID)
|
||||
}
|
||||
|
||||
func (st *CronMsgService) Count() (int, error) {
|
||||
func (st *CronMsgService) Count() (int64, error) {
|
||||
return models.GetCronMessagesTotal(st.Name, st.getMaps())
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user