## Feat - 增加获取全部区域体系分组配置列表&体系列表增加绑定区域名称
This commit is contained in:
parent
d21e31a84f
commit
93498d45af
|
@ -39,6 +39,12 @@ public class BdRegionVertexController extends BaseController {
|
|||
List<BdRegionVertex> list = bdRegionVertexService.getList(param);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
@GetMapping("/getAll")
|
||||
public AjaxResult getAll() {
|
||||
List<BdRegionVertex> list = bdRegionVertexService.getList(null);
|
||||
return AjaxResult.success(list);
|
||||
}
|
||||
@PostMapping("/add")
|
||||
public AjaxResult add(@RequestBody BdRegionVertex param) {
|
||||
bdRegionVertexService.add(param);
|
||||
|
|
|
@ -44,4 +44,9 @@ public class VertexVo extends BaseEntity {
|
|||
*/
|
||||
private Integer pkParent;
|
||||
private Integer sort;
|
||||
|
||||
/**
|
||||
* 区域体系配置分组名称
|
||||
*/
|
||||
private String regionVertexName;
|
||||
}
|
||||
|
|
|
@ -65,9 +65,10 @@
|
|||
</update>
|
||||
|
||||
<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
|
||||
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
|
||||
<if test="createStartDate != null">
|
||||
and bv.CREATION_TIME >= #{createStartDate}
|
||||
|
|
Loading…
Reference in New Issue