## Feat - 增加获取全部区域体系分组配置列表&体系列表增加绑定区域名称
This commit is contained in:
parent
8138657903
commit
0771c26a6d
|
@ -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);
|
||||||
|
|
|
@ -44,4 +44,9 @@ public class VertexVo extends BaseEntity {
|
||||||
*/
|
*/
|
||||||
private Integer pkParent;
|
private Integer pkParent;
|
||||||
private Integer sort;
|
private Integer sort;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 区域体系配置分组名称
|
||||||
|
*/
|
||||||
|
private String regionVertexName;
|
||||||
}
|
}
|
||||||
|
|
|
@ -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 >= #{createStartDate}
|
and bv.CREATION_TIME >= #{createStartDate}
|
||||||
|
|
Loading…
Reference in New Issue