Browse Source

撤回状态

guoqiang 3 weeks ago
parent
commit
7ebcab6e65

+ 3 - 1
zgztBus/jeecg-module-sbm/src/main/java/org/jeecg/modules/billet/storageBill/controller/StorageBillPrintController.java

@@ -223,8 +223,10 @@ public class StorageBillPrintController extends JeecgController<StorageBillPrint
                 storageBillInfo.setConfirmTime(storageBillPrint.getConfirmTime());
                 storageBillInfo.setConfirmBy(sysUser.getRealname());
                 storageBillInfo.setRemark(storageBillPrint.getRemark());
-                storageBillService.updateById(storageBillInfo);
             }
+            // 清空撤回状态
+            storageBillPrint.setWithdrawStatus(0);
+            storageBillService.updateById(storageBillInfo);
         }
         storageBillPrintService.updateById(storageBillPrint);
         return Result.OK("编辑成功!");