|
@@ -18,6 +18,25 @@
|
|
|
select id, category_name, category_code, sort_order, status, create_time, update_time
|
|
|
from fs_complaint_category
|
|
|
</sql>
|
|
|
+ <update id="update">
|
|
|
+ UPDATE fs_complaint_category
|
|
|
+ <set>
|
|
|
+ <if test="categoryName != null and categoryName != ''">
|
|
|
+ category_name = #{categoryName},
|
|
|
+ </if>
|
|
|
+ <if test="categoryCode != null and categoryCode != ''">
|
|
|
+ category_code = #{categoryCode},
|
|
|
+ </if>
|
|
|
+ <if test="sortOrder != null">
|
|
|
+ sort_order = #{sortOrder},
|
|
|
+ </if>
|
|
|
+ <if test="status != null and status != ''">
|
|
|
+ status = #{status},
|
|
|
+ </if>
|
|
|
+ </set>
|
|
|
+ WHERE id = #{id}
|
|
|
+ </update>
|
|
|
+
|
|
|
|
|
|
<select id="selectFsComplaintCategoryListVO" parameterType="com.fs.complaint.param.FsComplaintCategoryParam" resultMap="FsComplaintCategoryListVOResult">
|
|
|
<include refid="selectFsComplaintCategoryVo"/>
|