@@ -67,6 +67,14 @@ public class CommonController extends BaseController {
return toAjax(commonService.batchDelete(commonEntity));
}
+ /**
+ * 共通获取详情
+ */
+ @GetMapping("/getInfo")
+ public AjaxResult getInfo(CommonEntity commonEntity){
+ return success(commonService.getInfoById(commonEntity));
+ }
+
/**
* 联合查询通用sql
*