【无标题】

这里写自定义目录标题


有一个这样的结构

{
    "order": 0,
    "index_patterns": [
        "pick_plan_info_*"
    ],
    "settings": {
        "index": {
            "search": {
                "slowlog": {
                    "level": "debug",
                    "threshold": {
                        "fetch": {
                            "debug": "200ms"
                        },
                        "query": {
                            "debug": "200ms"
                        }
                    }
                }
            },
            "refresh_interval": "1s",
            "indexing": {
                "slowlog": {
                    "level": "debug",
                    "threshold": {
                        "index": {
                            "debug": "200ms"
                        }
                    }
                }
            },
            "number_of_shards": "1",
            "number_of_replicas": "1"
        }
    },
    "mappings": {
        "properties": {
            "skuUnitDesc": {
                "type": "keyword"
            },
            "lockQty": {
                "index": true,
                "type": "integer",
                "doc_values": true
            },
            "waveNo": {
                "index": true,
                "type": "keyword"
            },
            "skuBrand": {
                "index": true,
                "type": "keyword"
            },
            "skuLockInfoList": {
                "type": "nested",
                "properties": {
                    "replenishLock": {
                        "index": true,
                        "type": "integer",
                        "doc_values": true
                    },
                    "areaCode": {
                        "index": true,
                        "type": "keyword"
                    },
                    "skuLockQty": {
                        "index": true,
                        "type": "integer",
                        "doc_values": true
                    },
                    "ownerCode": {
                        "index": true,
                        "type": "keyword",
                        "doc_values": true
                    },
                    "logicAreaId": {
                        "index": true,
                        "type": "long",
                        "doc_values": true
                    },
                    "policyTypeList": {
                        "index": true,
                        "type": "keyword"
                    },
                    "locationCode": {
                        "index": true,
                        "type": "keyword"
                    },
                    "areaSetCode": {
                        "index": true,
                        "type": "keyword"
                    },
                    "skuCode": {
                        "index": true,
                        "type": "integer",
                        "doc_values": true
                    },
                    "logicName": {
                        "index": true,
                        "type": "keyword"
                    }
                }
            },
            "skuType": {
                "index": true,
                "type": "integer",
                "doc_values": true
            },
            "warehouseName": {
                "index": true,
                "type": "keyword"
            },
            "skuName": {
                "index": true,
                "type": "keyword"
            },
            "warehouseId": {
                "index": true,
                "type": "long",
                "doc_values": true
            },
            "pickBillNo": {
                "index": true,
                "type": "keyword"
            },
            "createTime": {
                "format": "yyyy-MM-dd HH:mm:ss",
                "type": "date",
                "doc_values": true
            },
            "orderQty": {
                "index": true,
                "type": "integer",
                "doc_values": true
            },
            "appointmentDate": {
                "format": "yyyy-MM-dd",
                "index": true,
                "type": "date",
                "doc_values": true
            },
            "skuUnit": {
                "type": "keyword"
            },
            "routeNo": {
                "index": true,
                "type": "keyword"
            },
            "sourceBillList": {
                "type": "nested",
                "properties": {
                    "billType": {
                        "index": true,
                        "type": "integer",
                        "doc_values": true
                    },
                    "outboundBillNo": {
                        "index": true,
                        "type": "keyword"
                    },
                    "outboundBillStatus": {
                        "index": true,
                        "type": "integer",
                        "doc_values": true
                    },
                    "billNo": {
                        "index": true,
                        "type": "keyword"
                    }
                }
            },
            "skuCode": {
                "index": true,
                "type": "integer",
                "doc_values": true
            },
            "pickQty": {
                "index": true,
                "type": "integer",
                "doc_values": true
            }
        }
    },
    "aliases": {}
}

我想要一个这样的数据结构

public class TaskCreateProcessDto {

    /** 履约日期 */
    private Date appointmentDate;

    /** 仓Id */
    private Long warehouseId;

    /** sku种类 */
    private Integer skuCount;

    /** 排线或者波次个数 */
    private Integer routeOrWaveCount;

    /** 总sku个数 */
    private Integer totalSkuQty;

    /** 仓、履约日期、sku、排线下的锁定和创建拣货任务详情 */
    private List<TaskCreateDetailDto> detailDtoList;
}
public class TaskCreateDetailDto {

    /** sku */
    private Integer skuCode;

    /** 排线或者波次号 */
    private String routeNoOrWaveNo;

    /** 任务类型 */
    private TaskBillTypeEnum taskType;

    /** sku数量 */
    private Integer skuQty;
}
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值