agent-skill-backend/db
wangzhiwei e5f01458a1 修改cms_content表结构和查询逻辑以支持多个分类ID
1. 将category_id字段改为category_ids字符串字段,支持逗号分隔的多个分类ID
2. 修改CmsContent实体类,添加类型转换支持,可接收数组格式的categoryIds
3. 更新CmsContentMapper.xml,修改查询逻辑为AND条件,要求内容包含所有指定分类
4. 修改CmsContentDto,添加categoryIdList字段支持数组格式的分类ID查询
5. 更新create_tables.sql和alter_cms_content.sql文件以反映字段变更
6. 重新生成init_cms_category.sql文件,包含新的分类结构

此修改解决了内容多分类查询的问题,现在可以通过单个或多个分类ID进行查询,且要求返回的内容包含所有指定分类
2026-01-28 10:57:28 +08:00
..
alter_account_add_createby_updateby.sql fix: 修复SMS sendMessage编译错误,重构login方法,使用Assert类替换直接抛出的BizException,添加favorite、history、create、has字段到登录返回结果,修复前端接口乱码问题,为所有实体类添加createBy和updateBy字段,确保CmsCategoryController#getPageList可无登录访问 2026-01-26 14:31:56 +08:00
alter_all_tables_add_createby_updateby.sql fix: 修复SMS sendMessage编译错误,重构login方法,使用Assert类替换直接抛出的BizException,添加favorite、history、create、has字段到登录返回结果,修复前端接口乱码问题,为所有实体类添加createBy和updateBy字段,确保CmsCategoryController#getPageList可无登录访问 2026-01-26 14:31:56 +08:00
cms_content_like.sql fix: 修复SMS sendMessage编译错误,重构login方法,使用Assert类替换直接抛出的BizException,添加favorite、history、create、has字段到登录返回结果,修复前端接口乱码问题,为所有实体类添加createBy和updateBy字段,确保CmsCategoryController#getPageList可无登录访问 2026-01-26 14:31:56 +08:00
cms_content_view.sql fix: 修复SMS sendMessage编译错误,重构login方法,使用Assert类替换直接抛出的BizException,添加favorite、history、create、has字段到登录返回结果,修复前端接口乱码问题,为所有实体类添加createBy和updateBy字段,确保CmsCategoryController#getPageList可无登录访问 2026-01-26 14:31:56 +08:00
create_tables.sql 修改cms_content表结构和查询逻辑以支持多个分类ID 2026-01-28 10:57:28 +08:00
init_data.sql Initial commit of backend project 2026-01-22 10:20:02 +08:00