test
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user