fix: 零部件回显BUG
This commit is contained in:
+3
-3
@@ -16,6 +16,7 @@ import org.springframework.web.bind.annotation.*;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* @author: Mzaxd
|
||||
@@ -44,9 +45,8 @@ public class LawsPartNameController {
|
||||
@AutoLog(value = "企业标准-零部件树选中回显")
|
||||
@ApiOperation(value = "企业标准-零部件树选中回显", notes = "企业标准-零部件树选中回显")
|
||||
@PostMapping("/echo")
|
||||
public Result<List<PartName>> queryEcho(@RequestParam(name = "selectNodeCodes", required = false, defaultValue = "")
|
||||
@ApiParam("选中的节点名称") String selectNodeCodes) {
|
||||
List<PartName> list = partNameService.queryEcho(selectNodeCodes);
|
||||
public Result<List<PartName>> queryEcho(@RequestBody Map<String, String> selectNodeCodes) {
|
||||
List<PartName> list = partNameService.queryEcho(selectNodeCodes.get("selectNodeCodes"));
|
||||
return Result.OK(list);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user