Commit 864bd767 by wangli

修改

1 parent aa78ee1d
......@@ -27,7 +27,7 @@ public class BusinessLayerController {
@GetMapping("/business/layer/universal")
public Result<?> businessLayerUniversal() {
// 通用图层
Result res = null;
Result<?> res = null;
try {
res = businessLayerService.businessLayerUniversal();
} catch (BusinessException e) {
......@@ -48,7 +48,7 @@ public class BusinessLayerController {
@GetMapping("/business/layer/custom/list")
public Result<?> businessCustomLayers(String levelType, String levelValue, long page, long size) {
// 自定义图层列表
Result res = null;
Result<?> res = null;
try {
res = businessLayerService.businessCustomLayers(levelType, levelValue, page, size);
} catch (BusinessException e) {
......@@ -65,7 +65,7 @@ public class BusinessLayerController {
*/
@GetMapping("/business/layer/custom/detail")
public Result<?> businessCustomLayer(String layerId) {
Result res = null;
Result<?> res = null;
try {
res = businessLayerService.businessCustomLayer(layerId);
} catch (BusinessException e) {
......@@ -86,7 +86,7 @@ public class BusinessLayerController {
@PostMapping("/business/layer/custom/add")
public Result<?> businessCustomLayerAdd(@RequestBody BusinessCustomLayerAddReqDTO reqDTO) {
// 自定义图层新增
Result res = null;
Result<?> res = null;
try {
res = businessLayerService.businessCustomLayerAdd(
reqDTO.getBranchId(), reqDTO.getLayerName(), reqDTO.getLayerDesc(), reqDTO.getSkills());
......@@ -107,7 +107,7 @@ public class BusinessLayerController {
@PostMapping("/business/layer/custom/update")
public Result<?> businessCustomLayerUpdate(@RequestBody BusinessCustomLayerUpdateReqDTO reqDTO) {
// 自定义图层修改
Result res = null;
Result<?> res = null;
try {
res = businessLayerService.businessCustomLayerUpdate(reqDTO.getLayerId(), reqDTO.getLayerDesc(), reqDTO.getSkills());
} catch (BusinessException e) {
......@@ -125,7 +125,7 @@ public class BusinessLayerController {
@GetMapping("/business/layer/custom/remove")
public Result<?> businessCustomLayerRemove(String layerId) {
// 自定义图层删除
Result res = null;
Result<?> res = null;
try {
res = businessLayerService.businessCustomLayerRemove(layerId);
} catch (BusinessException e) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!