调节系统类整理
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
</resultMap>
|
||||
|
||||
<insert id="insertTemplateManage" parameterType="TemplateManage" useGeneratedKeys="true" keyProperty="id">
|
||||
insert into template_manage(
|
||||
insert into ms_template_manage(
|
||||
<if test="identifyId != null">identify_id,</if>
|
||||
<if test="temName != null and temName != ''">tem_name,</if>
|
||||
<if test="temType != null">tem_type,</if>
|
||||
@@ -40,7 +40,7 @@
|
||||
</insert>
|
||||
|
||||
<update id="updateTemplateManage" parameterType="TemplateManage">
|
||||
update template_manage
|
||||
update ms_template_manage
|
||||
<set>
|
||||
<if test="identifyId != null">identify_id = #{identifyId},</if>
|
||||
<if test="temName != null and temName != ''">tem_name = #{temName},</if>
|
||||
@@ -63,7 +63,7 @@
|
||||
|
||||
<select id="selectTemplateList" parameterType="TemplateManage" resultMap="TemplateManageResult">
|
||||
SELECT id, identify_id ,tem_name , tem_type,tem_format,tem_orig_path,tem_revis_path ,file_name
|
||||
FROM template_manage
|
||||
FROM ms_template_manage
|
||||
<where>
|
||||
<if test="id != null">
|
||||
AND id = #{id}
|
||||
|
||||
Reference in New Issue
Block a user