完成简单入出库功能

This commit is contained in:
AlanScipio
2024-03-06 16:26:21 +08:00
parent 24f1f4c3e7
commit 1c38d91567
26 changed files with 948 additions and 182 deletions

View File

@@ -1,5 +1,7 @@
package com.ruoyi.common.core.web.domain;
import com.fasterxml.jackson.annotation.JsonIgnore;
import java.io.Serial;
/**
@@ -33,6 +35,16 @@ public class ExtBaseEntity extends BaseEntity {
*/
private Integer updateCount;
/**
* 是否已逻辑删除
*
* @return true已删除false未删除
*/
@JsonIgnore
public boolean isLogicDeleted() {
return deleteFlag != null && deleteFlag == DELETED;
}
public Integer getDeleteFlag() {
return deleteFlag;
}