test
This commit is contained in:
@@ -57,10 +57,10 @@
|
|||||||
</if>
|
</if>
|
||||||
</select>
|
</select>
|
||||||
<insert id="insert" parameterType="com.point.strategy.bean.TtableDescription" >
|
<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
|
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}
|
#{tableType,jdbcType=VARCHAR}, #{entityId,jdbcType=INTEGER}, #{note,jdbcType=VARCHAR}
|
||||||
)
|
)
|
||||||
</insert>
|
</insert>
|
||||||
@@ -107,15 +107,12 @@
|
|||||||
</if>
|
</if>
|
||||||
</trim>
|
</trim>
|
||||||
</insert>
|
</insert>
|
||||||
|
|
||||||
<select id="selectTtableDescription" resultType="com.point.strategy.bean.TtableDescription" parameterType="java.lang.Integer" >
|
<select id="selectTtableDescription" resultType="com.point.strategy.bean.TtableDescription" parameterType="java.lang.Integer" >
|
||||||
select
|
select
|
||||||
<include refid="Base_Column_List" />
|
<include refid="Base_Column_List" />
|
||||||
from t_table_description
|
from t_table_description
|
||||||
where 1=1
|
where entity_Id = #{entityId}
|
||||||
<if test="entityId != null" >
|
|
||||||
and entity_Id = #{entityId}
|
|
||||||
</if>
|
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="selectTtableDescOne" resultType="com.point.strategy.bean.TtableDescription" parameterType="string" >
|
<select id="selectTtableDescOne" resultType="com.point.strategy.bean.TtableDescription" parameterType="string" >
|
||||||
@@ -144,7 +141,7 @@
|
|||||||
where t1.id=#{classId}
|
where t1.id=#{classId}
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
|
|
||||||
<delete id="deleteTtableDescription" parameterType="java.lang.Integer">
|
<delete id="deleteTtableDescription" parameterType="java.lang.Integer">
|
||||||
delete from t_table_description
|
delete from t_table_description
|
||||||
where 1=1
|
where 1=1
|
||||||
@@ -152,6 +149,6 @@
|
|||||||
and entity_Id = #{entityId}
|
and entity_Id = #{entityId}
|
||||||
</if>
|
</if>
|
||||||
</delete>
|
</delete>
|
||||||
|
|
||||||
|
|
||||||
</mapper>
|
</mapper>
|
||||||
|
|||||||
Reference in New Issue
Block a user