From 50f5cc26e73abcc920946cdc3493b92db82eb7d3 Mon Sep 17 00:00:00 2001 From: lihongjie0209 Date: Mon, 8 Jan 2024 20:11:49 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E4=BA=A7=E5=93=81=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E5=AD=97=E5=85=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../scripts/dict/enum/productDict.groovy | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 src/main/resources/scripts/dict/enum/productDict.groovy diff --git a/src/main/resources/scripts/dict/enum/productDict.groovy b/src/main/resources/scripts/dict/enum/productDict.groovy new file mode 100644 index 00000000..ddc2128f --- /dev/null +++ b/src/main/resources/scripts/dict/enum/productDict.groovy @@ -0,0 +1,15 @@ +package scripts.dict + +import cn.lihongjie.coal.base.dto.CommonQuery +import cn.lihongjie.coal.product.controller.ProductController +import org.springframework.context.ApplicationContext + +ApplicationContext ioc = ioc + +def controller = ioc.getBean(ProductController.class) + + + + +return controller.list(new CommonQuery()) +