|
@@ -5,6 +5,7 @@ import com.ruoyi.common.core.web.domain.AjaxResult;
|
|
|
import com.ruoyi.common.core.web.page.TableDataInfo;
|
|
|
import com.sooka.sponest.data.emergency.appmin.team.domain.AppTeamVO;
|
|
|
import com.sooka.sponest.data.emergency.appmin.team.service.AppTeamService;
|
|
|
+import com.sooka.sponest.data.emergency.domain.TBusPatrolstation;
|
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
@@ -23,8 +24,9 @@ public class AppTeamController extends BaseController {
|
|
|
@GetMapping("getTeamList")
|
|
|
public AjaxResult getTeamList(AppTeamVO vo){
|
|
|
try{
|
|
|
- List list = appTeamService.getTeamList(vo);
|
|
|
- return AjaxResult.success(list);
|
|
|
+ startPage();
|
|
|
+ List list = appTeamService.getTeamList(vo);
|
|
|
+ return AjaxResult.success(getDataTable(list).getRows());
|
|
|
}catch (Exception e){
|
|
|
e.printStackTrace();
|
|
|
return AjaxResult.error("查询错误");
|