definitions: model.BinControl: properties: bin: type: string bin_fail_limit_h: description: 关键Bin失效上限 type: string created_at: type: string id: type: integer warning_id: type: integer type: object model.HistogramSelection: properties: created_at: type: string id: type: integer selection: description: 参数 type: string warning_id: type: integer type: object model.PassProbabilityDiff: properties: created_at: type: string id: type: integer pass_probability_diff: description: 良率差异设置(报表良率) type: string pass_probability_wave: description: 良率波动设置(报表良率) type: string site_pass_probability_diff: description: 各SITE良率差异设置(一次通过率) type: string warning_id: type: integer type: object model.ProductionControl: properties: created_at: type: string factory: type: string id: type: integer pass_quantity_diff_h: description: 良品数量差异上限 type: string pass_quantity_diff_l: description: 良品数量差异下限 type: string test_quantity_diff_h: description: 测试数量差异上限 type: string test_quantity_diff_l: description: 测试数量差异下限 type: string warning_id: type: integer type: object model.ScatterSelection: properties: created_at: type: string id: type: integer warning_id: type: integer x_selection: description: 参数-X type: string y_selection: description: 参数-Y type: string type: object model.SelectionDiffControl: properties: created_at: type: string id: type: integer site_diff: description: SITE间差异(均值最大值-均值最小值) type: string sub_batch_diff: description: 批次间差异(均值最大值-均值最小值) type: string warning_id: type: integer type: object model.StackingMaterialsWarning: properties: created_at: type: string diff: description: 差异 type: string id: type: integer quantity: description: 数量 type: string selection: description: 参数 type: string unit: description: 单位 type: string warning_id: type: integer type: object model.Warning: properties: average_pass_probability: description: 平均良率 type: string bin_control: items: $ref: '#/definitions/model.BinControl' type: array created_at: type: string first_pass_probability_limit_l: description: 一次通过率下限 type: string histogram_selection: items: $ref: '#/definitions/model.HistogramSelection' type: array id: type: integer pass_probability_diff: items: $ref: '#/definitions/model.PassProbabilityDiff' type: array pass_probability_limit_l: description: 良率下限 type: string product: description: 成品型号 type: string production_control: items: $ref: '#/definitions/model.ProductionControl' type: array return_probability_limit_h: description: 回收率上限 type: string scatter_selection: items: $ref: '#/definitions/model.ScatterSelection' type: array selection_diff_control: items: $ref: '#/definitions/model.SelectionDiffControl' type: array stacking_materials_warning: items: $ref: '#/definitions/model.StackingMaterialsWarning' type: array step: description: 工序 type: string type: object request.ABList: properties: factory: description: 封装厂 type: string fail_quantity: description: 封装不良品 type: string is_finish: description: 是否已完成 type: string lot: description: 批号 type: string online_quantity: description: 在线数量 type: string order_date: description: 下单日期 type: string package: description: 封装 type: string pass_probability: description: 良率 type: string pbi: description: 订单号 type: string product: description: 成品型号 type: string quantity: description: 订单数量 type: string seal: description: 丝印 type: string stock_in_quantity: description: 入库数 type: string stock_out_quantity: description: 出库数 type: string wafer_id: description: 片号 type: string wafer_product: description: 晶圆型号 type: string type: object request.CPList: properties: factory: description: CP厂 type: string lot: description: 晶圆批号 type: string order_date: description: 下单日期 type: string page: type: integer page_size: type: integer pbi: type: string query_type: description: 查询类型 type: string test_machine: description: 测试机台 type: string wafer_product: description: 晶圆型号 type: string type: object request.CPMap: properties: hbin: items: type: string type: array hbin_color: items: $ref: '#/definitions/request.CPMapColor' type: array lot: description: 批号 type: string pbi: type: string product: description: 产品型号 type: string sbin: items: type: string type: array sbin_color: items: $ref: '#/definitions/request.CPMapColor' type: array selection: description: 参数 items: type: string type: array selection_color: items: $ref: '#/definitions/request.SelectionColor' type: array site: items: type: string type: array step: description: 工序 type: string sub_batch: description: 子批号 type: string wafer_id: description: 片号 type: string type: object request.CPMapColor: properties: color: description: Bin颜色 type: string name: description: Bin名称 type: string type: object request.CreateFinalReportExcel: properties: bent_stitch: description: 弯脚 type: string bin1: type: string bin2: type: string bin3: type: string bin4: type: string bin5: type: string bin6: type: string bin7: type: string bin8: type: string bin9: type: string bin10: type: string factory: description: 测试厂 type: string final_pass_probability: description: 结批良率 type: string final_pass_quantity: description: 结批良品数量 type: string final_test_quantity: description: 结批测试数量 type: string lot: description: 晶圆批次 type: string order_date: description: 下单日期 type: string other: description: 少数 type: string outlook_fail: description: 外观不良 type: string pbi: description: PBI type: string product: description: 成品型号 type: string scrapped: description: 报废 type: string seal: description: 丝印 type: string test_program: description: 测试程序 type: string type: object request.DeleteFinalReportExcel: properties: id: type: integer type: object request.FTList: properties: factory: description: SubBatch string `json:"sub_batch"` // 子批次 type: string lot: description: 晶圆批号 type: string order_date: description: 下单日期 type: string page: type: integer page_size: type: integer pbi: type: string product: description: 成品型号 type: string query_type: description: 查询类型 type: string seal: description: 丝印 type: string test_program: description: 测试程序 type: string type: object request.Histogram: properties: average: type: number bin: items: type: string type: array lot: description: 批号 type: string offset: description: 偏移量 type: number only_pass: type: boolean pbi: description: PBI type: string product: description: 产品型号 type: string selections: description: 参数 items: type: string type: array site: items: type: string type: array splite_site: type: boolean splite_sub_batch: type: boolean standard_deviation: type: number step: description: 工序 type: string sub_batch: description: 子批号 items: type: string type: array wafer_id: description: 片号 items: type: string type: array x_max: type: string x_min: type: string type: object request.Line: properties: bin: items: type: string type: array lot: description: 批号 type: string offset: description: 偏移量 type: string pbi: description: PBI type: string product: description: 产品型号 type: string selection: description: 参数 type: string site: items: type: string type: array step: description: 工序 type: string sub_batch: description: 子批号 type: string type: object request.LogSiteChart: properties: bin: items: type: string type: array content_type: description: 内容类型 type: string lot: type: string pbi: type: string product: type: string selection: type: string site: items: type: string type: array step: description: 工序 type: string sub_batch: description: 子批 type: string type: object request.PackagePassProbabilityLine: properties: date_size: description: 时间大小 type: string factory: description: 封装厂 items: type: string type: array lot: description: 晶圆批次 items: type: string type: array order_date_end: description: 下单日期结束时间 type: string order_date_start: description: 下单日期开始时间 type: string package: description: 封装形式 items: type: string type: array product: description: 成品型号 items: type: string type: array type: object request.PassProbabilityByFactory: properties: factory: description: 封装厂 type: string type: type: string required: - type type: object request.PassProbabilityByProduct: properties: factory: description: 封装厂 type: string product: description: 成品型号 type: string type: type: string required: - product - type type: object request.Pie: properties: bin: items: type: string type: array lot: description: 批号 type: string max: description: 最大值 type: string min: description: 最小值 type: string pbi: description: PBI type: string pie_interval: description: 分区间 items: $ref: '#/definitions/request.PieInterval' type: array product: description: 产品型号 type: string selection: description: 参数 type: string site: items: type: string type: array step: description: 工序 type: string sub_batch: description: 子批号 type: string type: object request.PieInterval: properties: max: description: 最大值 type: string min: description: 最小值 type: string name: description: 区间名称 type: string type: object request.QuerySelection: properties: lot: description: 批号 type: string pbi: description: PBI type: string product: description: 产品型号 type: string step: description: 工序 type: string sub_batch: description: 子批号 type: string wafer_id: description: 片号 type: string type: object request.Scatter: properties: bin: items: type: string type: array lot: description: 批号 type: string only_pass: type: boolean pbi: description: PBI type: string product: description: 产品型号 type: string site: items: type: string type: array splite_site: type: boolean splite_sub_batch: type: boolean step: description: 工序 type: string sub_batch: description: 子批号 items: type: string type: array wafer_id: items: type: string type: array xy_selection: description: |- X string `json:"x"` Y string `json:"y"` Selections []string `json:"selections"` // 参数 items: $ref: '#/definitions/request.XYSelection' type: array type: object request.SelectionColor: properties: color: description: 参数颜色 type: string max: description: 参数范围最大值 type: string min: description: 参数范围最小值 type: string name: description: 参数名称 type: string type: object request.SelectionLimit: properties: hbin: items: type: string type: array lot: type: string pbi: type: string product: type: string sbin: items: type: string type: array selection: type: string site: items: type: string type: array step: description: 工序 type: string sub_batch: description: 子批 type: string wafer_id: type: string type: object request.UpdateFinalReportExcel: properties: bent_stitch: description: 弯脚 type: string bin1: type: string bin2: type: string bin3: type: string bin4: type: string bin5: type: string bin6: type: string bin7: type: string bin8: type: string bin9: type: string bin10: type: string factory: description: 测试厂 type: string final_pass_probability: description: 结批良率 type: string final_pass_quantity: description: 结批良品数量 type: string final_test_quantity: description: 结批测试数量 type: string id: type: integer lot: description: 晶圆批次 type: string order_date: description: 下单日期 type: string other: description: 少数 type: string outlook_fail: description: 外观不良 type: string pbi: description: PBI type: string product: description: 成品型号 type: string scrapped: description: 报废 type: string seal: description: 丝印 type: string test_program: description: 测试程序 type: string type: object request.WaferList: properties: factory: description: 晶圆厂 type: string lot: description: 批号 type: string online_quantity: description: 在线数量 type: string order_date: description: 下单日期 type: string pbi: description: 订单号 type: string product: description: 晶圆型号 type: string quantity: description: 投片数量 type: string return_date: description: 回货日期 type: string return_quantity: description: 回货数量 type: string wafer_size: description: 晶圆尺寸 type: string type: object request.XYSelection: properties: x: type: string "y": type: string type: object info: contact: {} paths: /testData/cpMap: post: consumes: - application/json parameters: - description: CP Map图 in: body name: data required: true schema: $ref: '#/definitions/request.CPMap' produces: - application/json responses: "200": description: '{"success":true,"data":{},"msg":"操作成功"}' schema: type: string security: - ApiKeyAuth: [] summary: CP Map图 tags: - 数据分析平台 /testData/cpMap/export: post: consumes: - application/json parameters: - description: CP Map图 in: body name: data required: true schema: $ref: '#/definitions/request.CPMap' produces: - application/json responses: "200": description: '{"success":true,"data":{},"msg":"操作成功"}' schema: type: string security: - ApiKeyAuth: [] summary: 导出CP Map图 tags: - 数据分析平台 /testData/finalReport/excel: delete: consumes: - application/json parameters: - description: 删除结批报告字段信息 in: body name: date required: true schema: $ref: '#/definitions/request.DeleteFinalReportExcel' produces: - application/json responses: "200": description: '{"success": true, "data": {}, "msg": "操作成功"}' schema: type: string security: - ApiKeyAuth: [] summary: 删除结批报告字段信息 tags: - 数据分析平台 get: consumes: - application/json parameters: - description: 页数 in: query name: page required: true type: integer - description: 每页显示数量 in: query name: pageSize required: true type: integer - description: 关键词 in: query name: key_word type: string produces: - application/json responses: "200": description: '{"success": true, "data": {}, "msg": "操作成功"}' schema: type: string security: - ApiKeyAuth: [] summary: 分页查询结批报告字段信息 tags: - 数据分析平台 post: consumes: - application/json parameters: - description: 添加结批报告字段信息 in: body name: date required: true schema: $ref: '#/definitions/request.CreateFinalReportExcel' produces: - application/json responses: "200": description: '{"success": true, "data": {}, "msg": "操作成功"}' schema: type: string security: - ApiKeyAuth: [] summary: 添加结批报告字段信息 tags: - 数据分析平台 put: consumes: - application/json parameters: - description: 更新结批报告字段信息 in: body name: date required: true schema: $ref: '#/definitions/request.UpdateFinalReportExcel' produces: - application/json responses: "200": description: '{"success": true, "data": {}, "msg": "操作成功"}' schema: type: string security: - ApiKeyAuth: [] summary: 更新结批报告字段信息 tags: - 数据分析平台 /testData/ftHistogram/export: post: consumes: - application/json parameters: - description: CP Map图 in: body name: data required: true schema: $ref: '#/definitions/request.Histogram' produces: - application/json responses: "200": description: '{"success":true,"data":{},"msg":"操作成功"}' schema: type: string security: - ApiKeyAuth: [] summary: 导出直方图 tags: - 数据分析平台 /testData/histogram: post: consumes: - application/json parameters: - description: 直方图 in: body name: data required: true schema: $ref: '#/definitions/request.Histogram' produces: - application/json responses: "200": description: '{"success":true,"data":{},"msg":"操作成功"}' schema: type: string security: - ApiKeyAuth: [] summary: 直方图 tags: - 数据分析平台 /testData/line: post: consumes: - application/json parameters: - description: 折线图 in: body name: data required: true schema: $ref: '#/definitions/request.Line' produces: - application/json responses: "200": description: '{"success":true,"data":{},"msg":"操作成功"}' schema: type: string security: - ApiKeyAuth: [] summary: 折线图 tags: - 数据分析平台 /testData/logSite: post: consumes: - application/json parameters: - description: Log各Site差异图 in: body name: data required: true schema: $ref: '#/definitions/request.LogSiteChart' produces: - application/json responses: "200": description: '{"success":true,"data":{},"msg":"操作成功"}' schema: type: string security: - ApiKeyAuth: [] summary: Log各Site差异图 tags: - 数据分析平台 /testData/pie: post: consumes: - application/json parameters: - description: 饼状图 in: body name: data required: true schema: $ref: '#/definitions/request.Pie' produces: - application/json responses: "200": description: '{"success":true,"data":{},"msg":"操作成功"}' schema: type: string security: - ApiKeyAuth: [] summary: 饼状图 tags: - 数据分析平台 /testData/report/ab: post: consumes: - application/json parameters: - description: 查询参数 in: body name: data required: true schema: $ref: '#/definitions/request.ABList' produces: - application/json responses: "200": description: '{"success":true,"data":{},"msg":"操作成功"}' schema: type: string security: - ApiKeyAuth: [] summary: 封装记录 tags: - 数据分析平台-生产 /testData/report/cp: post: consumes: - application/json parameters: - description: 查询参数 in: body name: data required: true schema: $ref: '#/definitions/request.CPList' produces: - application/json responses: "200": description: '{"success":true,"data":{},"msg":"操作成功"}' schema: type: string security: - ApiKeyAuth: [] summary: CP记录 tags: - 数据分析平台-生产 /testData/report/fTPassProbabilityByFactory: post: consumes: - application/json parameters: - description: 查询参数 in: body name: data required: true schema: $ref: '#/definitions/request.PassProbabilityByFactory' produces: - application/json responses: "200": description: '{"success":true,"data":{},"msg":"操作成功"}' schema: type: string security: - ApiKeyAuth: [] summary: 测试良率-按供应商 tags: - 数据分析平台-生产 /testData/report/fTPassProbabilityByProduct: post: consumes: - application/json parameters: - description: 查询参数 in: body name: data required: true schema: $ref: '#/definitions/request.PassProbabilityByProduct' produces: - application/json responses: "200": description: '{"success":true,"data":{},"msg":"操作成功"}' schema: type: string security: - ApiKeyAuth: [] summary: 测试良率-按产品型号 tags: - 数据分析平台-生产 /testData/report/ft: post: consumes: - application/json parameters: - description: 查询参数 in: body name: data required: true schema: $ref: '#/definitions/request.FTList' produces: - application/json responses: "200": description: '{"success":true,"data":{},"msg":"操作成功"}' schema: type: string security: - ApiKeyAuth: [] summary: FT记录 tags: - 数据分析平台-生产 /testData/report/packageOrderNumberBar: post: consumes: - application/json parameters: - description: 查询参数 in: body name: data required: true schema: $ref: '#/definitions/request.PackagePassProbabilityLine' produces: - application/json responses: "200": description: '{"success":true,"data":{},"msg":"操作成功"}' schema: type: string security: - ApiKeyAuth: [] summary: 封装良率折线图 tags: - 数据分析平台-生产 /testData/report/packagePassProbabilityLine: post: consumes: - application/json parameters: - description: 查询参数 in: body name: data required: true schema: $ref: '#/definitions/request.PackagePassProbabilityLine' produces: - application/json responses: "200": description: '{"success":true,"data":{},"msg":"操作成功"}' schema: type: string security: - ApiKeyAuth: [] summary: 封装良率折线图 tags: - 数据分析平台-生产 /testData/report/wafer: post: consumes: - application/json parameters: - description: 查询参数 in: body name: data required: true schema: $ref: '#/definitions/request.WaferList' produces: - application/json responses: "200": description: '{"success":true,"data":{},"msg":"操作成功"}' schema: type: string security: - ApiKeyAuth: [] summary: 晶圆记录 tags: - 数据分析平台-生产 /testData/scatter: post: consumes: - application/json parameters: - description: 散点图 in: body name: data required: true schema: $ref: '#/definitions/request.Scatter' produces: - application/json responses: "200": description: '{"success":true,"data":{},"msg":"操作成功"}' schema: type: string security: - ApiKeyAuth: [] summary: 散点图 tags: - 数据分析平台 /testData/scatter/export: post: consumes: - application/json parameters: - description: 导出散点图 in: body name: data required: true schema: $ref: '#/definitions/request.Scatter' produces: - application/json responses: "200": description: '{"success":true,"data":{},"msg":"操作成功"}' schema: type: string security: - ApiKeyAuth: [] summary: 导出散点图 tags: - 数据分析平台 /testData/selection: post: consumes: - application/json parameters: - description: 查询参数 in: body name: data required: true schema: $ref: '#/definitions/request.QuerySelection' produces: - application/json responses: "200": description: '{"success":true,"data":{},"msg":"操作成功"}' schema: type: string security: - ApiKeyAuth: [] summary: 查询参数 tags: - 数据分析平台 /testData/selection/limit: post: consumes: - application/json parameters: - description: 参数极限 in: body name: data required: true schema: $ref: '#/definitions/request.SelectionLimit' produces: - application/json responses: "200": description: '{"success":true,"data":{},"msg":"操作成功"}' schema: type: string security: - ApiKeyAuth: [] summary: 参数极限 tags: - 数据分析平台 /testData/upload: post: consumes: - multipart/form-data parameters: - description: file in: formData name: file required: true type: file - description: product_name in: formData name: value required: true type: file - description: lot in: formData name: value required: true type: file - description: sub_batch in: formData name: value required: true type: file produces: - application/json responses: "200": description: '{"success":true,"data":{},"msg":"操作成功"}' schema: type: string security: - ApiKeyAuth: [] summary: 上传没录入文件 tags: - 数据分析平台 /testData/warning: delete: consumes: - application/json parameters: - description: 删除报警设置信息 in: body name: data required: true schema: $ref: '#/definitions/model.Warning' produces: - application/json responses: "200": description: '{"success":true,"data":{},"msg":"操作成功"}' schema: type: string security: - ApiKeyAuth: [] summary: 删除报警设置信息 tags: - 数据分析平台 get: consumes: - application/json parameters: - description: 页数 in: query name: page required: true type: integer - description: 每页显示数量 in: query name: pageSize required: true type: integer - description: 关键词 in: query name: key_word type: string responses: "200": description: '{"success":true,"data":{},"msg":"操作成功"}' schema: type: string security: - ApiKeyAuth: [] summary: 分页查询报警设置信息 tags: - 数据分析平台 post: consumes: - application/json parameters: - description: 调整报警设置信息 in: body name: data required: true schema: $ref: '#/definitions/model.Warning' produces: - application/json responses: "200": description: '{"success":true,"data":{},"msg":"操作成功"}' schema: type: string security: - ApiKeyAuth: [] summary: 调整报警设置信息 tags: - 数据分析平台 swagger: "2.0"