Skip to content

Commit e0c28c4

Browse files
committed
fix: fix compile error
1 parent eae5701 commit e0c28c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gplus/common_dao.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ func (service CommonDao[T, K]) SaveBatchSize(entities []*T, batchSize int) *gorm
4545
return InsertBatchSize[T](entities, batchSize)
4646
}
4747

48-
func (service CommonDao[T, K]) RemoveById(id any) *gorm.DB {
48+
func (service CommonDao[T, K]) RemoveById(id K) *gorm.DB {
4949
return DeleteById[T, K](id, service.pkColumn)
5050
}
5151

0 commit comments

Comments
 (0)