|
|
@ -21,6 +21,7 @@ import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
|
|
|
import org.springframework.beans.BeanUtils; |
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
import org.springframework.stereotype.Service; |
|
|
|
import org.springframework.util.StringUtils; |
|
|
|
|
|
|
|
import java.util.ArrayList; |
|
|
|
import java.util.List; |
|
|
@ -64,7 +65,7 @@ public class AdminService { |
|
|
|
if (param.platform != null) { |
|
|
|
wrapper.eq(MatrixAdvRecord::getPlatform, param.platform); |
|
|
|
} |
|
|
|
if (param.deviceId != null) { |
|
|
|
if (StringUtils.hasText(param.deviceId)) { |
|
|
|
wrapper.eq(MatrixAdvRecord::getDeviceId, param.deviceId); |
|
|
|
} |
|
|
|
wrapper.orderByDesc(MatrixAdvRecord::getId); |
|
|
|