|
@@ -71,9 +71,9 @@ public class RelationSyInSpController {
|
|
|
*/
|
|
|
@PostMapping(value = "/link-sp-sys")
|
|
|
public AdmResponse createsSpSys( @RequestBody JSONObject param) {
|
|
|
- JSONObject rSyIn = param.getJSONObject("rSyInSpBase");
|
|
|
+ //JSONObject rSyIn = param.getJSONObject("rSyInSpBase");
|
|
|
String type = param.getString("type");
|
|
|
- SpInSyBaseList rSyInSpBase = JSON.toJavaObject(rSyIn, SpInSyBaseList.class);
|
|
|
+ SpInSyBaseList rSyInSpBase = JSON.toJavaObject(param, SpInSyBaseList.class);
|
|
|
String spaceId = rSyInSpBase.getSpaceId();
|
|
|
List<String> sysIdList = rSyInSpBase.getSysIdList();
|
|
|
if (StrUtil.isBlank(spaceId) || CollectionUtils.isEmpty(sysIdList)) {
|