update 基础数据改为逻辑删除

master
yinq 5 months ago
parent 71a723701a
commit 89613641a3

@ -53,5 +53,9 @@ public class BaseAlarmLevel extends TenantEntity {
*/
private String remark;
/**
* 0 2
*/
@TableLogic
private String delFlag;
}

@ -112,6 +112,12 @@ public class BaseAlarmRule extends TenantEntity {
*/
private String remark;
/**
* 0 2
*/
@TableLogic
private String delFlag;
/**
*
*/

@ -50,7 +50,6 @@ public class BaseAlarmType extends TenantEntity {
/**
* 19
*/
@TableLogic(value="1", delval="9")
private String typeStatus;
/**
@ -58,6 +57,12 @@ public class BaseAlarmType extends TenantEntity {
*/
private String remark;
/**
* 0 2
*/
@TableLogic
private String delFlag;
/**
*
*/

@ -68,6 +68,12 @@ public class BaseClassTeamInfo extends TenantEntity {
*/
private String activeFlag;
/**
* 0 2
*/
@TableLogic
private String delFlag;
/**
* BaseShiftInfo
*/

@ -47,5 +47,11 @@ public class BaseDeviceCategory extends TenantEntity {
*/
private String remark;
/**
* 0 2
*/
@TableLogic
private String delFlag;
}

@ -68,5 +68,10 @@ public class BaseDeviceType extends TenantEntity {
@TableField(exist = false)
private String deviceCategoryName;//join映射字段
/**
* 0 2
*/
@TableLogic
private String delFlag;
}

@ -1,9 +1,6 @@
package org.dromara.mes.domain;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dromara.common.tenant.core.TenantEntity;
@ -60,6 +57,12 @@ public class BaseEqualMaterialInfo extends TenantEntity {
*/
private String materialBomVersion;
/**
* 0 2
*/
@TableLogic
private String delFlag;
/**
*
*/

@ -47,5 +47,9 @@ public class BaseMaterialCategory extends TenantEntity {
*/
private String remark;
/**
* 0 2
*/
@TableLogic
private String delFlag;
}

@ -1,9 +1,6 @@
package org.dromara.mes.domain;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dromara.common.tenant.core.TenantEntity;
@ -267,6 +264,12 @@ public class BaseMaterialInfo extends TenantEntity {
*/
private String remark;
/**
* 0 2
*/
@TableLogic
private String delFlag;
/**
*

@ -73,6 +73,12 @@ public class BaseMaterialType extends TenantEntity {
*/
private String remark;
/**
* 0 2
*/
@TableLogic
private String delFlag;
/**
*

@ -67,5 +67,9 @@ public class BaseMeasurementUnitInfo extends BaseEntity {
*/
private String activeFlag;
/**
* 0 2
*/
@TableLogic
private String delFlag;
}

@ -67,4 +67,9 @@ public class BaseShiftInfo extends TenantEntity {
*/
private String activeFlag;
/**
* 0 2
*/
@TableLogic
private String delFlag;
}

@ -82,5 +82,9 @@ public class BaseStructureBom extends TenantEntity {
*/
private String remark;
/**
* 0 2
*/
@TableLogic
private String delFlag;
}

@ -64,5 +64,9 @@ public class BaseSupplierInfo extends TenantEntity {
*/
private String remark;
/**
* 0 2
*/
@TableLogic
private String delFlag;
}

@ -2,6 +2,7 @@ package org.dromara.mes.domain;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
@ -80,5 +81,9 @@ public class BaseToolingInfo extends TenantEntity {
*/
private String activeFlag;
/**
* 0 2
*/
@TableLogic
private String delFlag;
}

@ -52,6 +52,12 @@ public class ProdBaseEpiRoller extends TenantEntity {
*/
private String remark;
/**
* 0 2
*/
@TableLogic
private String delFlag;
/**
*
*/

@ -57,5 +57,9 @@ public class ProdBaseFactoryInfo extends TenantEntity {
*/
private String remark;
/**
* 0 2
*/
@TableLogic
private String delFlag;
}

@ -122,6 +122,12 @@ public class ProdBaseMachineInfo extends TenantEntity {
*/
private Long requestInterval;
/**
* 0 2
*/
@TableLogic
private String delFlag;
/**
*
*/

@ -47,6 +47,12 @@ public class ProdBaseMouldInfo extends TenantEntity {
*/
private String remark;
/**
* 0 2
*/
@TableLogic
private String delFlag;
/**
*
*/

@ -62,6 +62,12 @@ public class ProdBaseMouthPlate extends TenantEntity {
*/
private String remark;
/**
* 0 2
*/
@TableLogic
private String delFlag;
/**
*
*/

@ -63,6 +63,12 @@ public class ProdBaseProcessInfo extends TenantEntity {
*/
private String remark;
/**
* 0 2
*/
@TableLogic
private String delFlag;
/**
* 线
*/

@ -57,6 +57,12 @@ public class ProdBaseProdLineInfo extends TenantEntity {
*/
private String remark;
/**
* 0 2
*/
@TableLogic
private String delFlag;
@TableField(exist = false)
private String workshopName;//字段映射

@ -48,7 +48,11 @@ public class ProdBaseRoute extends TenantEntity {
*/
private String remark;
/**
* 0 2
*/
@TableLogic
private String delFlag;
@TableField(exist = false)
List<ProdBaseRouteProcess> prodBaseRouteProcess;//映射字段

@ -77,6 +77,12 @@ public class ProdBaseStationInfo extends TenantEntity {
*/
private Long machineId;
/**
* 0 2
*/
@TableLogic
private String delFlag;
@TableField(exist = false)
private String processName;//字段映射

@ -52,6 +52,12 @@ public class ProdBaseWorkshopInfo extends TenantEntity {
*/
private String remark;
/**
* 0 2
*/
@TableLogic
private String delFlag;
@TableField(exist = false)
private String factoryName;//字段映射

@ -129,5 +129,9 @@ public class ProdMaterialBom extends TenantEntity {
*/
private String remark;
/**
* 0 2
*/
@TableLogic
private String delFlag;
}

@ -40,4 +40,10 @@ public class ProdMaterialBomVersion extends TenantEntity {
* bom
*/
private String bomVersionDesc;
/**
* 0 2
*/
@TableLogic
private String delFlag;
}

@ -74,5 +74,9 @@ public class ProdMouldChangePlan extends TenantEntity {
*/
private String remark;
/**
* 0 2
*/
@TableLogic
private String delFlag;
}

@ -72,6 +72,12 @@ public class ProdSamplePrescription extends TenantEntity {
*/
private String remark;
/**
* 0 2
*/
@TableLogic
private String delFlag;
/**
*
*/

@ -1,9 +1,6 @@
package org.dromara.mes.domain;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dromara.common.tenant.core.TenantEntity;
@ -66,6 +63,12 @@ public class ProdShiftChange extends TenantEntity {
*/
private String remark;
/**
* 0 2
*/
@TableLogic
private String delFlag;
/** 班组名称 */
@TableField(exist = false)
private String teamName;//JOIN连表查询

@ -67,6 +67,12 @@ public class ProdTechnologyInfo extends TenantEntity {
*/
private String remark;
/**
* 0 2
*/
@TableLogic
private String delFlag;
@TableField(exist = false)
private String processName;

@ -67,5 +67,9 @@ public class ProdTechnologyStepInfo extends TenantEntity {
*/
private String remark;
/**
* 0 2
*/
@TableLogic
private String delFlag;
}

@ -128,4 +128,10 @@ public class SysMasterData extends TenantEntity {
*/
@TableField("remark")
private String remark;
/**
* 0 2
*/
@TableLogic
private String delFlag;
}

@ -105,6 +105,10 @@ public class SysMasterDataDetail extends BaseEntity {
@TableField("active_flag")
private String activeFlag;
/**
* 0 2
*/
@TableLogic
private String delFlag;
}

Loading…
Cancel
Save