diff --git a/ruoyi-admin/src/main/java/com/ruoyi/erp/controller/ErpMaterialController.java b/ruoyi-admin/src/main/java/com/ruoyi/erp/controller/ErpMaterialController.java index 902807b2..ffc807fd 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/erp/controller/ErpMaterialController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/erp/controller/ErpMaterialController.java @@ -390,6 +390,8 @@ public class ErpMaterialController extends BaseController public AjaxResult getMaterialSelList(@RequestParam(required = false,value = "keyword")String keyword){ ErpMaterialVo materialVo = new ErpMaterialVo(); materialVo.setKeyword(keyword); + materialVo.setUseStatus("1"); + materialVo.setAuditStatus("1"); return success(erpMaterialMapper.selectErpMaterialList(materialVo)); }