This commit is contained in:
2025-11-01 18:34:41 +08:00
parent 99b5c6177a
commit 5d6f20b003

View File

@@ -57,10 +57,10 @@
</if>
</select>
<insert id="insert" parameterType="com.point.strategy.bean.TtableDescription" >
insert into t_table_description (table_name, table_chn_name, table_auxi_name,
insert into t_table_description (table_name, table_chn_name, table_auxi_name,
table_type, entity_id, note
)
values (#{tableName,jdbcType=VARCHAR}, #{tableChnName,jdbcType=VARCHAR}, #{tableAuxiName,jdbcType=VARCHAR},
values (#{tableName,jdbcType=VARCHAR}, #{tableChnName,jdbcType=VARCHAR}, #{tableAuxiName,jdbcType=VARCHAR},
#{tableType,jdbcType=VARCHAR}, #{entityId,jdbcType=INTEGER}, #{note,jdbcType=VARCHAR}
)
</insert>
@@ -107,15 +107,12 @@
</if>
</trim>
</insert>
<select id="selectTtableDescription" resultType="com.point.strategy.bean.TtableDescription" parameterType="java.lang.Integer" >
select
<include refid="Base_Column_List" />
from t_table_description
where 1=1
<if test="entityId != null" >
and entity_Id = #{entityId}
</if>
where entity_Id = #{entityId}
</select>
<select id="selectTtableDescOne" resultType="com.point.strategy.bean.TtableDescription" parameterType="string" >
@@ -144,7 +141,7 @@
where t1.id=#{classId}
</select>
<delete id="deleteTtableDescription" parameterType="java.lang.Integer">
delete from t_table_description
where 1=1
@@ -152,6 +149,6 @@
and entity_Id = #{entityId}
</if>
</delete>
</mapper>
</mapper>