|  |  | 
 |  |  | import com.baomidou.mybatisplus.plugins.Page; | 
 |  |  | import com.core.common.DateUtils; | 
 |  |  | import com.zy.asrs.entity.BasPlcerror; | 
 |  |  | import com.zy.asrs.entity.BasWrkIotype; | 
 |  |  | import com.zy.asrs.service.BasPlcerrorService; | 
 |  |  | import com.core.annotations.ManagerAuth; | 
 |  |  | import com.core.common.BaseRes; | 
 |  |  | 
 |  |  |         excludeTrash(param); | 
 |  |  |         convert(param, wrapper); | 
 |  |  |         if (!Cools.isEmpty(orderByField)){wrapper.orderBy(humpToLine(orderByField), "asc".equals(orderByType));} | 
 |  |  |         return R.ok(basPlcerrorService.selectPage(new Page<>(curr, limit), wrapper)); | 
 |  |  | //        return R.ok(basPlcerrorService.selectPage(new Page<>(curr, limit), wrapper)); | 
 |  |  |  | 
 |  |  |         List<BasPlcerror> basPlcerrorList = basPlcerrorService.selectList(wrapper); | 
 |  |  |         Page<BasPlcerror> page = new Page<BasPlcerror>(0, 100).setRecords(basPlcerrorList); | 
 |  |  |         page.setTotal(basPlcerrorList.size()); | 
 |  |  |         return R.ok(page); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     private <T> void convert(Map<String, Object> map, EntityWrapper<T> wrapper){ |