Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
E
event
概览
概览
详情
活动
周期分析
版本库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
陈世强
event
Commits
5601684c
提交
5601684c
authored
2月 26, 2025
作者:
925993793@qq.com
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
【fix】bug修改
上级
09fb6fb8
显示空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
4 行增加
和
5 行删除
+4
-5
EventDataController.java
...a/com/zzsn/event/controller/yjzx/EventDataController.java
+1
-2
SubjectMapper.xml
src/main/java/com/zzsn/event/mapper/xml/SubjectMapper.xml
+2
-2
application-test.yml
src/main/resources/application-test.yml
+1
-1
没有找到文件。
src/main/java/com/zzsn/event/controller/yjzx/EventDataController.java
浏览文件 @
5601684c
...
...
@@ -361,7 +361,6 @@ public class EventDataController {
*/
@ApiOperation
(
value
=
"事件-通过id删除"
,
notes
=
"事件-通过id删除"
)
@PostMapping
(
value
=
"/simpleDeleteEvent"
)
//public Result<?> delete(@RequestParam(name = "id") String id) {
public
Result
<?>
delete
(
@RequestBody
JSONObject
param
)
{
if
(
StringUtils
.
isNotEmpty
(
CLB_EVENT_DELETE
)){
try
{
...
...
@@ -372,7 +371,7 @@ public class EventDataController {
// 调用克虏宝删除接口
Map
<
String
,
String
>
params
=
new
HashMap
<>();
params
.
put
(
"id"
,
id
);
String
resultStr
=
HttpUtil
.
doGet
(
CLB_EVENT_DELETE
,
params
,
null
,
"utf-8"
);
HttpUtil
.
doGet
(
CLB_EVENT_DELETE
,
params
,
null
,
"utf-8"
);
// 调用本地删除
EventVO
eventVO
=
eventService
.
queryInfo
(
id
);
eventService
.
deleteMain
(
id
);
...
...
src/main/java/com/zzsn/event/mapper/xml/SubjectMapper.xml
浏览文件 @
5601684c
...
...
@@ -195,10 +195,10 @@
and subject_name like concat('%',#{subjectName},'%')
</if>
<choose>
<when
test=
"type = 1"
>
<when
test=
"type =
=
1"
>
and create_by = #{username}
</when>
<when
test=
"type = 2"
>
<when
test=
"type =
=
2"
>
and face_public = 1
</when>
<otherwise>
...
...
src/main/resources/application-test.yml
浏览文件 @
5601684c
...
...
@@ -131,7 +131,7 @@ spring:
mybatis-plus
:
mapper-locations
:
classpath*:com/zzsn/event/**/xml/*.xml
configuration
:
#
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
log-impl
:
org.apache.ibatis.logging.stdout.StdOutImpl
map-underscore-to-camel-case
:
true
obs
:
ak
:
VEHN7D0TJ9316H8AHCAV
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论