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 @@
/>
-
+