自动化立体仓库 - WCS系统
*
lsh
2025-04-18 f3f76a51c4e41ae9617b592ae7747ba6b4d8d272
src/main/java/com/zy/asrs/controller/BasPlcerrorController.java
@@ -7,6 +7,7 @@
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;
@@ -41,7 +42,12 @@
        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){