Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
I
ims-ci-test
概览
概览
详情
活动
周期分析
版本库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
test-ci
ims-ci-test
Commits
06502685
提交
06502685
authored
6月 20, 2023
作者:
zhenjie
提交者:
余乾开
7月 01, 2023
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
优化
上级
949eecec
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
4 行增加
和
4 行删除
+4
-4
IndustryNewsDao.xml
...ervice/src/main/resources/mapper/news/IndustryNewsDao.xml
+4
-4
没有找到文件。
release-service/src/main/resources/mapper/news/IndustryNewsDao.xml
浏览文件 @
06502685
...
@@ -151,7 +151,7 @@
...
@@ -151,7 +151,7 @@
where is_deleted = 0
where is_deleted = 0
and id = #{id}
and id = #{id}
</select>
</select>
<select
id=
"count"
resultType=
"java.lang.Integer"
parameterType=
"com.mmc.csf.release.entity.IndustryNewsDO"
>
<select
id=
"count"
resultType=
"java.lang.Integer"
parameterType=
"com.mmc.csf.release.entity.
information.
IndustryNewsDO"
>
select count(*)
select count(*)
from industry_news
from industry_news
<where>
<where>
...
@@ -177,14 +177,14 @@
...
@@ -177,14 +177,14 @@
</where>
</where>
</select>
</select>
<insert
id=
"insert"
parameterType=
"com.mmc.csf.release.entity.IndustryNewsDO"
useGeneratedKeys=
"true"
<insert
id=
"insert"
parameterType=
"com.mmc.csf.release.entity.
information.
IndustryNewsDO"
useGeneratedKeys=
"true"
keyColumn=
"id"
>
keyColumn=
"id"
>
insert into industry_news(news_title, news_author, user_account_id, surface_img, news_contents, origin,
insert into industry_news(news_title, news_author, user_account_id, surface_img, news_contents, origin,
create_time)
create_time)
values (#{newsTitle}, #{newsAuthor}, #{userAccountId}, #{surfaceImg}, #{newsContents}, #{origin}, now())
values (#{newsTitle}, #{newsAuthor}, #{userAccountId}, #{surfaceImg}, #{newsContents}, #{origin}, now())
</insert>
</insert>
<update
id=
"update"
parameterType=
"com.mmc.csf.release.entity.IndustryNewsDO"
>
<update
id=
"update"
parameterType=
"com.mmc.csf.release.entity.
information.
IndustryNewsDO"
>
update industry_news
update industry_news
<set>
<set>
<if
test=
"newsTitle != null and newsTitle != ''"
>
<if
test=
"newsTitle != null and newsTitle != ''"
>
...
@@ -227,7 +227,7 @@
...
@@ -227,7 +227,7 @@
</select>
</select>
<select
id=
"backgroundListNewsPage"
parameterType=
"com.mmc.csf.infomation.qo.IndustryNewsQO"
<select
id=
"backgroundListNewsPage"
parameterType=
"com.mmc.csf.infomation.qo.IndustryNewsQO"
resultType=
"com.mmc.csf.release.entity.IndustryNewsDO"
>
resultType=
"com.mmc.csf.release.entity.
information.
IndustryNewsDO"
>
select id,
select id,
news_title,
news_title,
news_author,
news_author,
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论