提交 5601684c 作者: 925993793@qq.com

【fix】bug修改

上级 09fb6fb8
...@@ -361,7 +361,6 @@ public class EventDataController { ...@@ -361,7 +361,6 @@ public class EventDataController {
*/ */
@ApiOperation(value = "事件-通过id删除", notes = "事件-通过id删除") @ApiOperation(value = "事件-通过id删除", notes = "事件-通过id删除")
@PostMapping(value = "/simpleDeleteEvent") @PostMapping(value = "/simpleDeleteEvent")
//public Result<?> delete(@RequestParam(name = "id") String id) {
public Result<?> delete(@RequestBody JSONObject param) { public Result<?> delete(@RequestBody JSONObject param) {
if(StringUtils.isNotEmpty(CLB_EVENT_DELETE)){ if(StringUtils.isNotEmpty(CLB_EVENT_DELETE)){
try { try {
...@@ -372,7 +371,7 @@ public class EventDataController { ...@@ -372,7 +371,7 @@ public class EventDataController {
// 调用克虏宝删除接口 // 调用克虏宝删除接口
Map<String, String> params = new HashMap<>(); Map<String, String> params = new HashMap<>();
params.put("id", id); 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); EventVO eventVO = eventService.queryInfo(id);
eventService.deleteMain(id); eventService.deleteMain(id);
......
...@@ -195,10 +195,10 @@ ...@@ -195,10 +195,10 @@
and subject_name like concat('%',#{subjectName},'%') and subject_name like concat('%',#{subjectName},'%')
</if> </if>
<choose> <choose>
<when test="type = 1"> <when test="type == 1">
and create_by = #{username} and create_by = #{username}
</when> </when>
<when test="type = 2"> <when test="type == 2">
and face_public = 1 and face_public = 1
</when> </when>
<otherwise> <otherwise>
......
...@@ -131,7 +131,7 @@ spring: ...@@ -131,7 +131,7 @@ spring:
mybatis-plus: mybatis-plus:
mapper-locations: classpath*:com/zzsn/event/**/xml/*.xml mapper-locations: classpath*:com/zzsn/event/**/xml/*.xml
configuration: configuration:
# log-impl: org.apache.ibatis.logging.stdout.StdOutImpl log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
map-underscore-to-camel-case: true map-underscore-to-camel-case: true
obs: obs:
ak: VEHN7D0TJ9316H8AHCAV ak: VEHN7D0TJ9316H8AHCAV
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论