|
|
@@ -5,6 +5,7 @@ import com.tuoheng.admin.entity.query.WarningQuery; |
|
|
|
import com.tuoheng.admin.entity.request.warning.QueryWarningListRequest; |
|
|
|
import com.tuoheng.admin.mapper.WarningMapper; |
|
|
|
import com.tuoheng.admin.service.warning.query.QueryWarningListService; |
|
|
|
import com.tuoheng.admin.service.warning.query.QueryWarningPageListService; |
|
|
|
import com.tuoheng.common.common.BaseServiceImpl; |
|
|
|
import com.tuoheng.common.utils.JsonResult; |
|
|
|
import lombok.extern.slf4j.Slf4j; |
|
|
@@ -25,6 +26,9 @@ public class WarningServiceImpl extends BaseServiceImpl<WarningMapper, Warning> |
|
|
|
@Autowired |
|
|
|
private QueryWarningListService queryWarningListService; |
|
|
|
|
|
|
|
@Autowired |
|
|
|
private QueryWarningPageListService queryWarningPageListService; |
|
|
|
|
|
|
|
/** |
|
|
|
* 查询预警列表 |
|
|
|
* |
|
|
@@ -54,7 +58,7 @@ public class WarningServiceImpl extends BaseServiceImpl<WarningMapper, Warning> |
|
|
|
*/ |
|
|
|
@Override |
|
|
|
public JsonResult index(WarningQuery query) { |
|
|
|
return queryWarningListService.index(query); |
|
|
|
return queryWarningPageListService.index(query); |
|
|
|
} |
|
|
|
|
|
|
|
} |