From 5871c178a2888f18c98f95ebe8dc2d43e880264d Mon Sep 17 00:00:00 2001
From: xd <844539747@qq.com>
Date: Wed, 6 Mar 2024 16:50:10 +0800
Subject: [PATCH] '123'
---
.../java/com/ruoyi/clMaterial/domain/CYlMaterial.java | 8 ++++++--
.../main/resources/mapper/material/CMaterialMapper.xml | 1 +
ruoyi-ui/src/views/material/material/index.vue | 6 ++++--
3 files changed, 11 insertions(+), 4 deletions(-)
diff --git a/ruoyi-system/src/main/java/com/ruoyi/clMaterial/domain/CYlMaterial.java b/ruoyi-system/src/main/java/com/ruoyi/clMaterial/domain/CYlMaterial.java
index bd18dc5..b2339e9 100644
--- a/ruoyi-system/src/main/java/com/ruoyi/clMaterial/domain/CYlMaterial.java
+++ b/ruoyi-system/src/main/java/com/ruoyi/clMaterial/domain/CYlMaterial.java
@@ -73,9 +73,13 @@ public class CYlMaterial extends BaseEntity
return materialPrice;
}
- public String getMaterialState() {return materialState;}
+ public String getMaterialState() {
+ return materialState;
+ }
- public void setMaterialState(String materialState) {this.materialState = materialState;}
+ public void setMaterialState(String materialState) {
+ this.materialState = materialState;
+ }
@Override
public String toString() {
diff --git a/ruoyi-system/src/main/resources/mapper/material/CMaterialMapper.xml b/ruoyi-system/src/main/resources/mapper/material/CMaterialMapper.xml
index b5843d5..cc5d2c4 100644
--- a/ruoyi-system/src/main/resources/mapper/material/CMaterialMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/material/CMaterialMapper.xml
@@ -44,6 +44,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
and material_xingh like concat('%', #{materialXingh}, '%')
and material_guig like concat('%', #{materialGuig}, '%')
and material_diany like concat('%', #{materialDiany}, '%')
+ and material_state = #{materialState}
diff --git a/ruoyi-ui/src/views/material/material/index.vue b/ruoyi-ui/src/views/material/material/index.vue
index 9e2a08a..0746dab 100644
--- a/ruoyi-ui/src/views/material/material/index.vue
+++ b/ruoyi-ui/src/views/material/material/index.vue
@@ -26,7 +26,7 @@
/>
-
+