Browse Source

参数修改

wangyuzhe 2 tháng trước cách đây
mục cha
commit
7c5c3ba0f9

+ 4 - 2
src/main/java/org/springblade/common/controller/ParamsConvert.java

@@ -517,9 +517,11 @@ public class ParamsConvert {
 		} else if (className.equals("dictBsznController") && method.getName().equals("bsznList")) {
 			return method.invoke(proxyObject);
 		} else if (className.equals("dictBsznController") && method.getName().equals("selectListByMc")) {
-			return method.invoke(proxyObject, params);
+			String dictValue = params.get("id").toString();
+			return method.invoke(proxyObject, dictValue);
 		} else if (className.equals("dictBsznController") && method.getName().equals("detailById")) {
-			return method.invoke(proxyObject, params);
+			long id = Long.parseLong(params.get("id").toString());
+			return method.invoke(proxyObject, id);
 		} else if (className.equals("rhzfFwqzController") && method.getName().equals("save")) {
 			jsonObject.putAll(params);
 			RhzfFwqzEntity rhzfFwqzEntity = jsonObject.toJavaObject(RhzfFwqzEntity.class);