Browse Source

fix 一个笔误

luoguangyi 3 years ago
parent
commit
b4809718fa

+ 1 - 1
src/main/java/com/persagy/proxy/adm/controller/RelationEqInShController.java

@@ -127,7 +127,7 @@ public class RelationEqInShController {
     @PostMapping(value = {"/link-eq","/link-eq-sh"})
     public AdmResponse createEq(@RequestBody JSONObject param) throws Exception {
         String shaftId = param.getString("shaftId");
-        JSONArray equipIdList = param.getJSONArray("shaftIdList");
+        JSONArray equipIdList = param.getJSONArray("equipIdList");
         if(StrUtil.isBlank(shaftId) || CollUtil.isEmpty(equipIdList)) {
             return AdmResponse.failure("必填项:EquipIdList(设备id列表)、ShaftId(竖井id),此方法会覆盖以前的记录");
         }