杆塔下拉选
This commit is contained in:
parent
367b37e4d4
commit
409d2eb17c
|
|
@ -61,4 +61,10 @@ public class SelectController extends BaseController {
|
||||||
public AjaxResult getDictLists(SelectDto dto) {
|
public AjaxResult getDictLists(SelectDto dto) {
|
||||||
return service.getDictLists(dto);
|
return service.getDictLists(dto);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ApiOperation(value = "杆塔下拉选")
|
||||||
|
@GetMapping("getTowerLists")
|
||||||
|
public AjaxResult getTowerLists(SelectDto dto){
|
||||||
|
return service.getTowerLists(dto);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -76,4 +76,14 @@ public interface ISelectMapper {
|
||||||
* @date 2024/3/13 17:09
|
* @date 2024/3/13 17:09
|
||||||
*/
|
*/
|
||||||
List<SelectVo> getDictLists(SelectDto dto);
|
List<SelectVo> getDictLists(SelectDto dto);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 杆塔下拉选
|
||||||
|
* @param dto
|
||||||
|
* @return List<SelectVo>
|
||||||
|
* @description
|
||||||
|
* @author cwchen
|
||||||
|
* @date 2024/3/15 17:01
|
||||||
|
*/
|
||||||
|
List<SelectVo> getTowerLists(SelectDto dto);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -72,4 +72,14 @@ public interface ISelectService {
|
||||||
* @date 2024/3/13 17:08
|
* @date 2024/3/13 17:08
|
||||||
*/
|
*/
|
||||||
AjaxResult getDictLists(SelectDto dto);
|
AjaxResult getDictLists(SelectDto dto);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 杆塔下拉选
|
||||||
|
* @param dto
|
||||||
|
* @return AjaxResult
|
||||||
|
* @description
|
||||||
|
* @author cwchen
|
||||||
|
* @date 2024/3/15 17:00
|
||||||
|
*/
|
||||||
|
AjaxResult getTowerLists(SelectDto dto);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -110,4 +110,11 @@ public class SelectServiceImpl implements ISelectService {
|
||||||
list = mapper.getDictLists(dto);
|
list = mapper.getDictLists(dto);
|
||||||
return AjaxResult.success(list);
|
return AjaxResult.success(list);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public AjaxResult getTowerLists(SelectDto dto) {
|
||||||
|
List<SelectVo> list = new ArrayList<>();
|
||||||
|
list = mapper.getTowerLists(dto);
|
||||||
|
return AjaxResult.success(list);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue