| | |
| | | excludeTrash(param); |
| | | convert(param, wrapper); |
| | | allLike(BasShuttleErrLog.class, param.keySet(), wrapper, condition); |
| | | wrapper.orderBy("create_time", false); |
| | | if (!Cools.isEmpty(orderByField)){wrapper.orderBy(humpToLine(orderByField), "asc".equals(orderByType));} |
| | | return R.ok(basShuttleErrLogService.selectPage(new Page<>(curr, limit), wrapper)); |
| | | } |
| | |
| | | @ManagerAuth |
| | | public R update(BasShuttleErrLog basShuttleErrLog){ |
| | | if (Cools.isEmpty(basShuttleErrLog) || null==basShuttleErrLog.getId()){ |
| | | return R.error(); |
| | | return R.error("参数缺失"); |
| | | } |
| | | basShuttleErrLogService.updateById(basShuttleErrLog); |
| | | return R.ok(); |