fix(标签库): 参数接收问题
This commit is contained in:
+3
-2
@@ -1,5 +1,6 @@
|
|||||||
package com.jero.modules.laws.labeldatabase.controller;
|
package com.jero.modules.laws.labeldatabase.controller;
|
||||||
|
|
||||||
|
import com.alibaba.fastjson.JSONObject;
|
||||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||||
import com.jero.common.api.vo.Result;
|
import com.jero.common.api.vo.Result;
|
||||||
import com.jero.common.aspect.annotation.AutoLog;
|
import com.jero.common.aspect.annotation.AutoLog;
|
||||||
@@ -56,7 +57,7 @@ public class LawsLabelDatabaseController {
|
|||||||
@AutoLog(value = "标签库-零部件树选中回显")
|
@AutoLog(value = "标签库-零部件树选中回显")
|
||||||
@ApiOperation(value="标签库-零部件树选中回显", notes="标签库-零部件树选中回显")
|
@ApiOperation(value="标签库-零部件树选中回显", notes="标签库-零部件树选中回显")
|
||||||
@PostMapping(value = "/queryByCodes")
|
@PostMapping(value = "/queryByCodes")
|
||||||
public Result<List<LawsLabelDatabase>> queryByCodes(@ApiParam("选中的节点名称") String selectNodeCodes) {
|
public Result<List<LawsLabelDatabase>> queryByCodes(@ApiParam("选中的节点名称") @RequestBody JSONObject jsonObject) {
|
||||||
return Result.OK(lawsLabelDatabaseService.queryByCodes(selectNodeCodes));
|
return Result.OK(lawsLabelDatabaseService.queryByCodes(jsonObject.getString("selectNodeCodes")));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user