原因:java.lang.IllegalArgumentException:无效比较:java.util.ArrayList和java.lang.String
这个情况在list集合查找数据的sql中出的问题,在接受list的时候加了判断 list!='' ,引起了集合与String类型的比较
https://blog.youkuaiyun.com/ZHOU_VIP/article/details/97640784
//批量删除考核人员
@RequestMapping("/removecheck")
@ResponseBody
public ClaaAjaxResult removecheck(HttpServletRequest request) throws Exception{
ClaaAjaxResult ret = new ClaaAjaxResult();
String projectid = request.getParameter("projectid");
String personids = request.getParameter("personids");
personids = (personids == null) ? "" : personids.trim();
String[] personidsArr = personids.split(",");
if (personids.equals("") || personidsArr == null || personidsArr.length == 0) {
ret.setRetCode(ClaaAjaxResult.RET_CODE_ERR);
re