#
Junjie
2025-07-06 0d04bc5d8080b82338302fba0a59fccff2eaedfc
zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/common/domain/BaseParam.java
@@ -32,25 +32,23 @@
    @TableField(exist = false)
    private Map<String, Object> map;
    public static BaseParam build(Map<String, Object> map) {
        BaseParam param = new BaseParam();
    public void syncMap(Map<String, Object> map) {
        if (null == map) {
            return param;
            return;
        }
        if (null != map.get("current")) {
            param.setCurrent(Integer.parseInt(String.valueOf(map.get("current"))));
            this.setCurrent(Integer.parseInt(String.valueOf(map.get("current"))));
            map.remove("current");
        }
        if (null != map.get("pageSize")) {
            param.setPageSize(Integer.parseInt(String.valueOf(map.get("pageSize"))));
            this.setPageSize(Integer.parseInt(String.valueOf(map.get("pageSize"))));
            map.remove("pageSize");
        }
        if (null != map.get("condition")) {
            param.setCondition(String.valueOf(map.get("condition")));
            this.setCondition(String.valueOf(map.get("condition")));
            map.remove("condition");
        }
        param.setMap(map);
        return param;
        this.setMap(map);
    }
}