update table

This commit is contained in:
sxu 2024-11-21 14:21:12 +08:00
parent 298d206270
commit a3b1e4714e
2 changed files with 8 additions and 7 deletions

View File

@ -56,7 +56,7 @@ public class TypeInfo extends BaseEntity
/** 是否删除 */
@Excel(name = "是否删除")
@ApiModelProperty(value = "是否删除", required = true)
private String isActive;
private String delFlag;
/** 父部门名称 */
@ApiModelProperty(value = "父部门名称", required = true)

View File

@ -10,18 +10,19 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="parentId" column="parent_id" />
<result property="typeName" column="type_name" />
<result property="level" column="level" />
<result property="sort" column="sort" />
<result property="isActive" column="is_active" />
<result property="delFlag" column="del_flag" />
</resultMap>
<sql id="bmProjectInfo">
select type_id, parent_id, type_name, `level`, sort, is_active
from ma_type_info
select type_id, parent_id, type_name, `level`, del_flag
from ma_type
where del_flag = '0'
</sql>
<select id="getMaTypeInfoList" resultType="com.bonus.zlpt.equip.api.domain.TypeInfo">
select type_id, parent_id, type_name, `level`, sort, is_active
from ma_type_info
select type_id, parent_id, type_name, `level`, del_flag
from ma_type
where del_flag = '0'
</select>