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 663eacba..29381023 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 @@ -206,6 +206,8 @@ public class ErpMaterialController extends BaseController erpMaterialService.updateErpMaterial(erpMaterialVo); // 驳回申请后继续申请,可能修改表单 if (saveEntityBoolean) { + erpMaterialVo.setAuditStatus("0"); + erpMaterialVo.setUseStatus("0"); erpMaterialService.updateErpMaterial(erpMaterialVo); } return success("任务已完成");