mirror of
http://192.168.1.205:9980/cf_devdept2/cf_imes_server.git
synced 2026-08-12 21:02:08 +08:00
优化生产大板字段类型更改,未排单接口查询速度优化
This commit is contained in:
@@ -1,21 +1,83 @@
|
||||
PUT imes_order_remain_plate_model
|
||||
PUT imes_order_optimize_plate_model
|
||||
{
|
||||
"settings": {},
|
||||
"mappings": {
|
||||
"properties": {
|
||||
"avgUsageRateAll": {
|
||||
"type": "long"
|
||||
},
|
||||
"avgUsageRateExcludeLastBoard": {
|
||||
"type": "long"
|
||||
},
|
||||
"blockPlaceInfo": {
|
||||
"type": "text",
|
||||
"fields": {
|
||||
"keyword": {
|
||||
"type": "keyword",
|
||||
"ignore_above": 256
|
||||
}
|
||||
}
|
||||
},
|
||||
"boardCount": {
|
||||
"type": "long"
|
||||
},
|
||||
"createTime": {
|
||||
"type": "date",
|
||||
"format": "strict_date_optional_time||yyyy-MM-dd HH:mm:ss||epoch_millis"
|
||||
},
|
||||
"creator": {
|
||||
"type": "keyword"
|
||||
},
|
||||
"cutBorder": {
|
||||
"type": "long"
|
||||
},
|
||||
"cutKnifeGap": {
|
||||
"type": "long"
|
||||
},
|
||||
"cutKnifeId": {
|
||||
"type": "long"
|
||||
},
|
||||
"cutedBoardInfo": {
|
||||
"properties": {
|
||||
"cutedBoardList": {
|
||||
"type": "long"
|
||||
},
|
||||
"cutedBoardNumber": {
|
||||
"type": "long"
|
||||
}
|
||||
}
|
||||
},
|
||||
"diameter": {
|
||||
"type": "long"
|
||||
},
|
||||
"goodsId": {
|
||||
"type": "keyword"
|
||||
},
|
||||
"helpCutGap": {
|
||||
"type": "long"
|
||||
},
|
||||
"helpKnifeId": {
|
||||
"type": "long"
|
||||
},
|
||||
"id": {
|
||||
"type": "keyword"
|
||||
},
|
||||
"planId": {
|
||||
"type": "long"
|
||||
"isHelpCut": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"isOptimized": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"length": {
|
||||
"type": "long"
|
||||
},
|
||||
"width": {
|
||||
"maxBoardId": {
|
||||
"type": "long"
|
||||
},
|
||||
"thickness": {
|
||||
"minBoardId": {
|
||||
"type": "long"
|
||||
},
|
||||
"orderId": {
|
||||
"type": "long"
|
||||
},
|
||||
"orgLength": {
|
||||
@@ -24,50 +86,73 @@ PUT imes_order_remain_plate_model
|
||||
"orgWidth": {
|
||||
"type": "long"
|
||||
},
|
||||
"cutBorder": {
|
||||
"organId": {
|
||||
"type": "long"
|
||||
},
|
||||
"diameter": {
|
||||
"placeBlockNumber": {
|
||||
"type": "long"
|
||||
},
|
||||
"cutKnifeGap": {
|
||||
"placeBoardNumber": {
|
||||
"type": "long"
|
||||
},
|
||||
"planId": {
|
||||
"type": "long"
|
||||
},
|
||||
"preMillingSize": {
|
||||
"type": "long"
|
||||
},
|
||||
"isHelpCut": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"helpCutGap": {
|
||||
"type": "long"
|
||||
},
|
||||
"cutKnifeId": {
|
||||
"type": "long"
|
||||
},
|
||||
"helpKnifeId": {
|
||||
"type": "long"
|
||||
},
|
||||
"isOptimized": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"boardCount": {
|
||||
"type": "long"
|
||||
},
|
||||
"remainBoardCount": {
|
||||
"type": "long"
|
||||
},
|
||||
"minBoardId": {
|
||||
"remainBoardInfo": {
|
||||
"type": "text",
|
||||
"fields": {
|
||||
"keyword": {
|
||||
"type": "keyword",
|
||||
"ignore_above": 256
|
||||
}
|
||||
}
|
||||
},
|
||||
"remainBoardList": {
|
||||
"properties": {
|
||||
"color": {
|
||||
"type": "keyword"
|
||||
},
|
||||
"count": {
|
||||
"type": "long"
|
||||
},
|
||||
"id": {
|
||||
"type": "keyword"
|
||||
},
|
||||
"isHandAdd": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"length": {
|
||||
"type": "float"
|
||||
},
|
||||
"material": {
|
||||
"type": "keyword"
|
||||
},
|
||||
"texture": {
|
||||
"type": "long"
|
||||
},
|
||||
"thickness": {
|
||||
"type": "float"
|
||||
},
|
||||
"width": {
|
||||
"type": "float"
|
||||
}
|
||||
}
|
||||
},
|
||||
"thickness": {
|
||||
"type": "long"
|
||||
},
|
||||
"maxBoardId": {
|
||||
"type": "long"
|
||||
"updateTime": {
|
||||
"type": "date",
|
||||
"format": "strict_date_optional_time||yyyy-MM-dd HH:mm:ss||epoch_millis"
|
||||
},
|
||||
"avgUsageRateAll": {
|
||||
"type": "long"
|
||||
},
|
||||
"avgUsageRateExcludeLastBoard": {
|
||||
"type": "long"
|
||||
"updater": {
|
||||
"type": "keyword"
|
||||
},
|
||||
"usageRateLastBoard": {
|
||||
"type": "long"
|
||||
@@ -81,38 +166,9 @@ PUT imes_order_remain_plate_model
|
||||
}
|
||||
}
|
||||
},
|
||||
"blockPlaceInfo": {
|
||||
"type": "text",
|
||||
"fields": {
|
||||
"keyword": {
|
||||
"type": "keyword",
|
||||
"ignore_above": 256
|
||||
}
|
||||
}
|
||||
},
|
||||
"remainBoardInfo": {
|
||||
"type": "text",
|
||||
"fields": {
|
||||
"keyword": {
|
||||
"type": "keyword",
|
||||
"ignore_above": 256
|
||||
}
|
||||
}
|
||||
},
|
||||
"createTime": {
|
||||
"type": "date",
|
||||
"format": "strict_date_optional_time||yyyy-MM-dd HH:mm:ss||epoch_millis"
|
||||
},
|
||||
"creator": {
|
||||
"type": "keyword"
|
||||
},
|
||||
"updateTime": {
|
||||
"type": "date",
|
||||
"format": "strict_date_optional_time||yyyy-MM-dd HH:mm:ss||epoch_millis"
|
||||
},
|
||||
"updater": {
|
||||
"type": "keyword"
|
||||
"width": {
|
||||
"type": "long"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}}
|
||||
Reference in New Issue
Block a user