设备新增搜索条件
All checks were successful
构建并部署到测试环境(无 SSH) / build-and-deploy (push) Successful in 8m8s

This commit is contained in:
2026-05-20 10:27:30 +08:00
parent e2301d5f3b
commit 2768deb0b6
6 changed files with 32 additions and 0 deletions

View File

@@ -87,6 +87,9 @@ func (s *Service) List(ctx context.Context, req *dto.ListDeviceRequest) (*dto.Li
if req.VirtualNo != "" {
filters["virtual_no"] = req.VirtualNo
}
if req.IMEI != "" {
filters["imei"] = req.IMEI
}
if req.DeviceName != "" {
filters["device_name"] = req.DeviceName
}