insert into cms_content content_title, content_category_id, content_type, content_display, content_author, content_source, content_datetime, content_sort, content_img, content_description, content_keyword, content_details, content_url, content_hit, app_id, create_by, create_date, update_by, update_date, del, #{contentTitle}, #{contentCategoryId}, #{contentType}, #{contentDisplay}, #{contentAuthor}, #{contentSource}, #{contentDatetime}, #{contentSort}, #{contentImg}, #{contentDescription}, #{contentKeyword}, #{contentDetails}, #{contentUrl}, #{contentHit}, #{appId}, #{createBy}, #{createDate}, #{updateBy}, #{updateDate}, #{del}, update cms_content content_title=#{contentTitle}, content_category_id=#{contentCategoryId}, content_type=#{contentType}, content_display=#{contentDisplay}, content_author=#{contentAuthor}, content_source=#{contentSource}, content_datetime=#{contentDatetime}, content_sort=#{contentSort}, content_img=#{contentImg}, content_description=#{contentDescription}, content_keyword=#{contentKeyword}, content_details=#{contentDetails}, content_url=#{contentUrl}, content_hit=#{contentHit}, app_id=#{appId}, create_by=#{createBy}, create_date=#{createDate}, update_by=#{updateBy}, update_date=#{updateDate}, del=#{del}, where id = #{id} delete from cms_content where id=#{id} delete from cms_content id in #{item} find_in_set('${categoryId}',CATEGORY_PARENT_ID) instr(','||'${categoryId}'||',', ','||CATEGORY_PARENT_ID||',')>0 CHARINDEX(','+'${categoryId}'+',' , ','+CATEGORY_PARENT_ID +',')>0