## Feat - 增加获取全部区域体系分组配置列表&体系列表增加绑定区域名称

This commit is contained in:
sangelxiu1 2025-06-25 16:49:39 +08:00 committed by cabbage
parent d21e31a84f
commit 93498d45af
3 changed files with 13 additions and 1 deletions

View File

@ -39,6 +39,12 @@ public class BdRegionVertexController extends BaseController {
List<BdRegionVertex> list = bdRegionVertexService.getList(param); List<BdRegionVertex> list = bdRegionVertexService.getList(param);
return getDataTable(list); return getDataTable(list);
} }
@GetMapping("/getAll")
public AjaxResult getAll() {
List<BdRegionVertex> list = bdRegionVertexService.getList(null);
return AjaxResult.success(list);
}
@PostMapping("/add") @PostMapping("/add")
public AjaxResult add(@RequestBody BdRegionVertex param) { public AjaxResult add(@RequestBody BdRegionVertex param) {
bdRegionVertexService.add(param); bdRegionVertexService.add(param);

View File

@ -44,4 +44,9 @@ public class VertexVo extends BaseEntity {
*/ */
private Integer pkParent; private Integer pkParent;
private Integer sort; private Integer sort;
/**
* 区域体系配置分组名称
*/
private String regionVertexName;
} }

View File

@ -65,9 +65,10 @@
</update> </update>
<select id="selectByList" resultType="com.hzs.system.config.vo.VertexVo"> <select id="selectByList" resultType="com.hzs.system.config.vo.VertexVo">
select bv.*,cm.MEMBER_CODE memberCode select bv.*,cm.MEMBER_CODE memberCode, brv.name as regionVertexName
from BD_VERTEX bv from BD_VERTEX bv
left join CU_MEMBER cm on cm.PK_ID = bv.PK_MEMBER left join CU_MEMBER cm on cm.PK_ID = bv.PK_MEMBER
left join BD_REGION_VERTEX brv on brv.pk_id = bv.REGION_VERTEX_PK_ID
where bv.DEL_FLAG = 0 where bv.DEL_FLAG = 0
<if test="createStartDate != null"> <if test="createStartDate != null">
and bv.CREATION_TIME &gt;= #{createStartDate} and bv.CREATION_TIME &gt;= #{createStartDate}