diff --git a/dsBaseRpc/Const/Const.go b/dsBaseRpc/Const/Const.go index 7cca668e..540d3e8b 100644 --- a/dsBaseRpc/Const/Const.go +++ b/dsBaseRpc/Const/Const.go @@ -57,7 +57,7 @@ const BlueCell = "C200" const YellowCell = "D200" //整数最大值 -const IntMax = 2147483647 +const Int32Max = 2147483647 //操作CODE const ActionInsert = "INSERT" diff --git a/dsBaseRpc/RpcService/SysLoginperson/SysLoginpersonService/SysLoginpersonService.go b/dsBaseRpc/RpcService/SysLoginperson/SysLoginpersonService/SysLoginpersonService.go index 3f6191b3..64f87a25 100644 --- a/dsBaseRpc/RpcService/SysLoginperson/SysLoginpersonService/SysLoginpersonService.go +++ b/dsBaseRpc/RpcService/SysLoginperson/SysLoginpersonService/SysLoginpersonService.go @@ -184,7 +184,7 @@ func (s *Rpc) PageSysLoginpersonExcel(ctx context.Context, in *SysLoginpersonPro //重新设置长度和显示的页 in.Page = 1 - in.Limit = Const.IntMax + in.Limit = Const.Int32Max list, _, err := SysLoginpersonDao.PageSysLoginPerson(in) //错误处理