fix:企业端分标委

This commit is contained in:
zhangqinlin
2021-12-14 17:42:30 +08:00
parent 78d7daf257
commit f903c3ffdb
@@ -213,19 +213,22 @@ public class PayResearchProjectController extends JeroController<PayResearchProj
return Result.OK("删除成功!");
}
// /**
// * 批量删除
// *
// * @param ids
// * @return
// */
// @AutoLog(value = "在研项目-批量删除")
// @ApiOperation(value="在研项目-批量删除", notes="在研项目-批量删除")
// @DeleteMapping(value = "/deleteBatch")
// public Result<?> deleteBatch(@RequestParam(name="ids",required=true) String ids) {
// this.payResearchProjectService.removeByIds(Arrays.asList(ids.split(",")));
// return Result.OK("批量删除成功!");
// }
/**
* 批量删除
*
* @param ids
* @return
*/
@AutoLog(value = "在研项目-批量删除")
@ApiOperation(value="在研项目-批量删除", notes="在研项目-批量删除")
@GetMapping(value = "/deleteBatch")
public Result<?> deleteBatch(@RequestParam(name="ids",required=true) String ids) {
List<String> strings = Arrays.asList(ids.split(","));
for(String s:strings){
delete(s);
}
return Result.OK("批量删除成功!");
}
//
// /**
// * 通过id查询