Skip to content

Commit 0dcb026

Browse files
author
QM303176530
committed
修复客户管理示例文件的查询bug
1 parent 6f4d531 commit 0dcb026

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/service/exa_customer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ func GetExaCustomer(id uint) (err error, customer model.ExaCustomer) {
6161
func GetCustomerInfoList(sysUserAuthorityID string, info request.PageInfo) (err error, list interface{}, total int) {
6262
limit := info.PageSize
6363
offset := info.PageSize * (info.Page - 1)
64-
db := global.GVA_DB.Model(&model.SysAuthority{})
64+
db := global.GVA_DB.Model(&model.ExaCustomer{})
6565
var a model.SysAuthority
6666
a.AuthorityId = sysUserAuthorityID
6767
err, auth := GetAuthorityInfo(a)

0 commit comments

Comments
 (0)