Browse Source

更换路段列表

develop
wangsixiang 1 year ago
parent
commit
a3aa883995
  1. 11
      zc-business/src/main/java/com/zc/business/controller/DcRoadSectionController.java
  2. 2
      zc-business/src/main/java/com/zc/business/service/IDcRoadSectionService.java
  3. 5
      zc-business/src/main/java/com/zc/business/service/impl/DcRoadSectionServiceImpl.java

11
zc-business/src/main/java/com/zc/business/controller/DcRoadSectionController.java

@ -50,6 +50,17 @@ public class DcRoadSectionController extends BaseController
List<DcRoadSection> list = dcRoadSectionService.selectDcRoadSectionList(dcRoadSection); List<DcRoadSection> list = dcRoadSectionService.selectDcRoadSectionList(dcRoadSection);
return getDataTable(list); return getDataTable(list);
} }
/**
* 查询辖区路段列表(不分页)
*/
@ApiOperation("查询辖区路段列表")
@PreAuthorize("@ss.hasPermi('business:roadSection:list')")
@GetMapping("/listAll")
public AjaxResult listAll(DcRoadSection dcRoadSection)
{
return AjaxResult.success(dcRoadSectionService.selectDcRoadSectionListAll(dcRoadSection));
}
/** /**
* 导出辖区路段列表 * 导出辖区路段列表

2
zc-business/src/main/java/com/zc/business/service/IDcRoadSectionService.java

@ -27,7 +27,7 @@ public interface IDcRoadSectionService
* @return 辖区路段集合 * @return 辖区路段集合
*/ */
List<DcRoadSection> selectDcRoadSectionList(DcRoadSection dcRoadSection); List<DcRoadSection> selectDcRoadSectionList(DcRoadSection dcRoadSection);
List<DcRoadSection> selectDcRoadSectionListAll(DcRoadSection dcRoadSection);
/** /**
* 新增辖区路段 * 新增辖区路段
* *

5
zc-business/src/main/java/com/zc/business/service/impl/DcRoadSectionServiceImpl.java

@ -88,6 +88,11 @@ public class DcRoadSectionServiceImpl implements IDcRoadSectionService
return dcRoadSectionMapper.selectDcRoadSectionList(dcRoadSection); return dcRoadSectionMapper.selectDcRoadSectionList(dcRoadSection);
} }
@Override
public List<DcRoadSection> selectDcRoadSectionListAll(DcRoadSection dcRoadSection) {
return dcRoadSectionMapper.selectDcRoadSectionList(dcRoadSection);
}
/** /**
* 新增辖区路段 * 新增辖区路段
* *

Loading…
Cancel
Save