From 2ca3391728b97c12840ac4cfea558353f6506f00 Mon Sep 17 00:00:00 2001
From: lenovo <123>
Date: Tue, 20 Sep 2022 16:22:48 +0800
Subject: [PATCH] =?UTF-8?q?20220920-=E6=8E=A5=E5=8F=A3=E6=95=B0=E6=8D=AE?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../src/views/process/ZyProcessList.vue | 13 ++++++++++++-
.../src/views/process/modules/ZyProcessForm.vue | 7 ++++++-
.../demo/base/controller/ZyProcessController.java | 5 +++--
.../jeecg/modules/demo/base/entity/ZyProcess.java | 1 +
4 files changed, 22 insertions(+), 4 deletions(-)
diff --git a/ant-design-vue-jeecg/src/views/process/ZyProcessList.vue b/ant-design-vue-jeecg/src/views/process/ZyProcessList.vue
index e8033113..fcc01a94 100644
--- a/ant-design-vue-jeecg/src/views/process/ZyProcessList.vue
+++ b/ant-design-vue-jeecg/src/views/process/ZyProcessList.vue
@@ -4,6 +4,17 @@
+
+
+
+
+
+
+
+ 查询
+ 重置
+
+
@@ -212,7 +223,7 @@
{
title:'款式名称',
align:"center",
- dataIndex: 'styleId'
+ dataIndex: 'styleId_dictText'
},
{
title:'工段代码',
diff --git a/ant-design-vue-jeecg/src/views/process/modules/ZyProcessForm.vue b/ant-design-vue-jeecg/src/views/process/modules/ZyProcessForm.vue
index 002552b2..adfc8cf6 100644
--- a/ant-design-vue-jeecg/src/views/process/modules/ZyProcessForm.vue
+++ b/ant-design-vue-jeecg/src/views/process/modules/ZyProcessForm.vue
@@ -122,10 +122,15 @@
+
+
+
+
+
-
+
diff --git a/jeecg-boot/jeecg-boot-module-process/src/main/java/org/jeecg/modules/demo/base/controller/ZyProcessController.java b/jeecg-boot/jeecg-boot-module-process/src/main/java/org/jeecg/modules/demo/base/controller/ZyProcessController.java
index 30db338c..2e1840b6 100644
--- a/jeecg-boot/jeecg-boot-module-process/src/main/java/org/jeecg/modules/demo/base/controller/ZyProcessController.java
+++ b/jeecg-boot/jeecg-boot-module-process/src/main/java/org/jeecg/modules/demo/base/controller/ZyProcessController.java
@@ -5,6 +5,7 @@ import java.util.List;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.jeecg.common.api.vo.Result;
+import org.jeecg.common.system.query.QueryGenerator;
import org.jeecg.modules.demo.accessories.entity.ZyAccessories;
import org.jeecg.modules.demo.base.entity.ZyAllProcess;
import org.jeecg.modules.demo.base.entity.ZyClothAction;
@@ -71,8 +72,8 @@ public class ZyProcessController extends JeecgController queryWrapper = QueryGenerator.initQueryWrapper(zyProcess, req.getParameterMap());
- QueryWrapper queryWrapper = new QueryWrapper();
+ QueryWrapper queryWrapper = QueryGenerator.initQueryWrapper(zyProcess, req.getParameterMap());
+ //QueryWrapper queryWrapper = new QueryWrapper();
Page page = new Page(pageNo, pageSize);
IPage pageList = zyProcessService.page(page, queryWrapper);
return Result.OK(pageList);
diff --git a/jeecg-boot/jeecg-boot-module-process/src/main/java/org/jeecg/modules/demo/base/entity/ZyProcess.java b/jeecg-boot/jeecg-boot-module-process/src/main/java/org/jeecg/modules/demo/base/entity/ZyProcess.java
index 2e54253d..61ddf1a5 100644
--- a/jeecg-boot/jeecg-boot-module-process/src/main/java/org/jeecg/modules/demo/base/entity/ZyProcess.java
+++ b/jeecg-boot/jeecg-boot-module-process/src/main/java/org/jeecg/modules/demo/base/entity/ZyProcess.java
@@ -141,6 +141,7 @@ public class ZyProcess implements Serializable {
/**款式名称*/
@Excel(name = "款式名称", width = 15)
@ApiModelProperty(value = "款式名称")
+ @Dict(dictTable = "zy_cloths_style", dicText = "style_names", dicCode = "id")
private java.lang.String styleId;
/**工段代码*/
@Excel(name = "工段代码", width = 15)