Commit e9b9b6e4 by 向延琳

修改返回

1 parent 0874449f
...@@ -3,6 +3,7 @@ package cn.com.glsx.app.modules.mapper; ...@@ -3,6 +3,7 @@ package cn.com.glsx.app.modules.mapper;
import cn.com.glsx.app.modules.entity.DevicePower; import cn.com.glsx.app.modules.entity.DevicePower;
import cn.com.glsx.app.modules.model.domain.DevicePowerDO; import cn.com.glsx.app.modules.model.domain.DevicePowerDO;
import cn.com.glsx.app.modules.model.DevicePowerQueryBO; import cn.com.glsx.app.modules.model.DevicePowerQueryBO;
import com.github.pagehelper.Page;
import com.glsx.plat.common.annotation.DataPerm; import com.glsx.plat.common.annotation.DataPerm;
import com.glsx.plat.common.annotation.DataPermShare; import com.glsx.plat.common.annotation.DataPermShare;
import com.glsx.plat.mybatis.mapper.CommonBaseMapper; import com.glsx.plat.mybatis.mapper.CommonBaseMapper;
...@@ -32,6 +33,6 @@ public interface DevicePowerMapper extends CommonBaseMapper<DevicePower> { ...@@ -32,6 +33,6 @@ public interface DevicePowerMapper extends CommonBaseMapper<DevicePower> {
*/ */
@DataPerm(permTable = "tv", showSql = true) @DataPerm(permTable = "tv", showSql = true)
@DataPermShare(linkTable = "t_vehicle", showSql = true) @DataPermShare(linkTable = "t_vehicle", showSql = true)
List<DevicePowerDO> listBindDevicePowerByCondition(DevicePowerQueryBO query); Page<DevicePowerDO> listBindDevicePowerByCondition(DevicePowerQueryBO query);
} }
\ No newline at end of file \ No newline at end of file
...@@ -321,6 +321,6 @@ public class DashboardService extends AbstractCommonService { ...@@ -321,6 +321,6 @@ public class DashboardService extends AbstractCommonService {
pageData.setList(resultList); pageData.setList(resultList);
pageData.setTotal(pageInfo.getTotal()); pageData.setTotal(pageInfo.getTotal());
pageData.setPages(pageInfo.getPages()); pageData.setPages(pageInfo.getPages());
return new PageInfo<>(resultList); return pageData;
} }
} }
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!