select id, category_name, img_url, profile,profile_wap, sort, status, create_by, create_time, update_by, update_time, remark from service_guide_category
and category_name like concat('%', #{categoryName}, '%')
and status = #{status}
and create_time between #{params.beginCreateTime} and #{params.endCreateTime}
order by sort asc
where id = #{id}
insert into service_guide_category category_name, img_url, profile, profile_wap, sort, status, create_by, create_time, update_by, update_time, remark, #{categoryName}, #{imgUrl}, #{profile}, #{profileWap}, #{sort}, #{status}, #{createBy}, #{createTime}, #{updateBy}, #{updateTime}, #{remark},
update service_guide_category category_name = #{categoryName}, img_url = #{imgUrl}, profile = #{profile}, profile_wap = #{profileWap}, sort = #{sort}, status = #{status}, create_by = #{createBy}, create_time = #{createTime}, update_by = #{updateBy}, update_time = #{updateTime}, remark = #{remark}, where id = #{id}
delete from service_guide_category where id in #{id}