fix:bug
This commit is contained in:
+15
-2
@@ -156,13 +156,25 @@ public class PayMeetingQuestionController extends JeroController<PayMeetingQuest
|
||||
*/
|
||||
@AutoLog(value = "征集问题-通过id删除")
|
||||
@ApiOperation(value = "征集问题-通过id删除", notes = "征集问题-通过id删除")
|
||||
@PostMapping(value = "/delete")
|
||||
@GetMapping(value = "/delete")
|
||||
public Result<?> delete(@RequestParam(name = "id", required = true) String id) {
|
||||
payMeetingQuestionService.removeById(id);
|
||||
return Result.ok("删除成功!");
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 通过id删除
|
||||
*
|
||||
* @param ids
|
||||
* @return
|
||||
*/
|
||||
@AutoLog(value = "征集问题-批量删除")
|
||||
@ApiOperation(value = "征集问题-批量删除", notes = "征集问题-批量删除")
|
||||
@GetMapping(value = "/deleteBatch")
|
||||
public Result<?> deleteBatch(@RequestParam(name = "ids", required = true) String ids) {
|
||||
payMeetingQuestionService.removeByIds(Arrays.asList(ids.split(",")));
|
||||
return Result.ok("批量删除成功!");
|
||||
}
|
||||
/**
|
||||
* 导出excel
|
||||
*
|
||||
@@ -193,6 +205,7 @@ public class PayMeetingQuestionController extends JeroController<PayMeetingQuest
|
||||
// lambdaQueryWrapper.eq(PayMeetingQuestion::getCreaterId, payMeetingQuestion.getMeetingId());
|
||||
// }
|
||||
// }
|
||||
queryWrapper.in(StringUtils.isNotBlank(searchStandard.getSelections()),"pmq.id", Arrays.asList(searchStandard.getSelections().split(",")));
|
||||
queryWrapper.eq(StringUtils.isNotBlank(searchStandard.getStandardNumber()),"pms.standard_number", searchStandard.getStandardNumber());
|
||||
queryWrapper.eq("pm.id", searchStandard.getMeetingId());
|
||||
queryWrapper.like(StringUtils.isNotBlank(searchStandard.getCreater()),"pmq.creater", searchStandard.getCreater());
|
||||
|
||||
+1
-1
@@ -22,6 +22,6 @@ public class SearchStandard {
|
||||
@ApiModelProperty(value = "创建人")
|
||||
private java.lang.String creater;
|
||||
|
||||
|
||||
private java.lang.String selections;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user