加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
api.json 697.72 KB
一键复制 编辑 原始数据 按行查看 历史
Chanter Chen 提交于 2024-07-22 20:35 . v0.1.0
{"basePath":"/api","definitions":{"Busy":{"properties":{"code":{"description":"编码","type":"string"},"created_at":{"description":"创建时间","type":"string"},"created_by":{"description":"创建人","type":"string"},"ent_id":{"description":"企业ID","type":"string"},"id":{"description":"主键ID","type":"string"},"name":{"description":"名称","type":"string"},"note":{"description":"备注","type":"string"},"type":{"description":"类型","type":"string"},"updated_at":{"description":"更新时间","type":"string"},"updated_by":{"description":"修改人","type":"string"}},"required":["name","code"],"type":"object"},"BusyCheckFlow":{"properties":{"created_at":{"description":"创建时间","type":"string"},"created_by":{"description":"创建人","type":"string"},"ent_id":{"description":"企业ID","type":"string"},"group":{"description":"人员组","type":"string"},"id":{"description":"主键ID","type":"string"},"name":{"description":"名称","type":"string"},"sort":{"description":"排序","type":"integer"},"updated_at":{"description":"更新时间","type":"string"},"updated_by":{"description":"修改人","type":"string"}},"required":["name","group","sort"],"type":"object"},"BusyCheckFlowCombo":{"properties":{"name":{"description":"名称","type":"string"}},"type":"object"},"BusyCheckGroup":{"properties":{"created_at":{"description":"创建时间","type":"string"},"created_by":{"description":"创建人","type":"string"},"ent_id":{"description":"企业ID","type":"string"},"id":{"description":"主键ID","type":"string"},"name":{"description":"名称","type":"string"},"updated_at":{"description":"更新时间","type":"string"},"updated_by":{"description":"修改人","type":"string"}},"required":["name"],"type":"object"},"BusyCheckGroupCombo":{"properties":{"name":{"description":"名称","type":"string"}},"type":"object"},"BusyCheckGroupDtl":{"properties":{"created_at":{"description":"创建时间","type":"string"},"created_by":{"description":"创建人","type":"string"},"ent_id":{"description":"企业ID","type":"string"},"group":{"description":"审核组","type":"string"},"id":{"description":"主键ID","type":"string"},"is_or":{"description":"是否或签","type":"boolean"},"staff":{"description":"人员","type":"string"},"updated_at":{"description":"更新时间","type":"string"},"updated_by":{"description":"修改人","type":"string"}},"required":["group","staff"],"type":"object"},"BusyCombo":{"properties":{"code":{"description":"编码","type":"string"},"name":{"description":"名称","type":"string"}},"type":"object"},"BusyTable":{"properties":{"busy":{"description":"业务","type":"string"},"created_at":{"description":"创建时间","type":"string"},"created_by":{"description":"创建人","type":"string"},"ent_id":{"description":"企业ID","type":"string"},"id":{"description":"主键ID","type":"string"},"note":{"description":"备注","type":"string"},"table":{"description":"表","type":"string"},"updated_at":{"description":"更新时间","type":"string"},"updated_by":{"description":"修改人","type":"string"}},"required":["table","busy"],"type":"object"},"Customer":{"properties":{"address":{"description":"地址","type":"string"},"bank":{"description":"银行","type":"string"},"bank_account":{"description":"银行账号","type":"string"},"code":{"description":"编码","type":"string"},"created_at":{"description":"创建时间","type":"string"},"created_by":{"description":"创建人","type":"string"},"email":{"description":"邮箱","type":"string"},"ent_id":{"description":"企业ID","type":"string"},"id":{"description":"主键ID","type":"string"},"name":{"description":"名称","type":"string"},"note":{"description":"备注","type":"string"},"phone":{"description":"联系电话","type":"string"},"short_name":{"description":"简称","type":"string"},"tax_code":{"description":"税号","type":"string"},"type":{"description":"类型","type":"string"},"updated_at":{"description":"更新时间","type":"string"},"updated_by":{"description":"修改人","type":"string"},"web":{"description":"网址","type":"string"}},"required":["code","name"],"type":"object"},"CustomerCombo":{"properties":{"code":{"description":"编码","type":"string"},"name":{"description":"名称","type":"string"}},"type":"object"},"CustomerType":{"properties":{"created_at":{"description":"创建时间","type":"string"},"created_by":{"description":"创建人","type":"string"},"ent_id":{"description":"企业ID","type":"string"},"id":{"description":"主键ID","type":"string"},"updated_at":{"description":"更新时间","type":"string"},"updated_by":{"description":"修改人","type":"string"},"名称":{"description":"名称","type":"string"},"备注":{"description":"备注","type":"string"},"编码":{"description":"编码","type":"string"}},"required":["编码","名称"],"type":"object"},"CustomerTypeCombo":{"properties":{"code":{"description":"编码","type":"string"},"name":{"description":"名称","type":"string"}},"type":"object"},"Inventory":{"properties":{"available_qty":{"description":"可用数量","type":"number"},"batch_no":{"description":"批号","type":"string"},"bin":{"description":"货位","type":"string"},"created_at":{"description":"创建时间","type":"string"},"created_by":{"description":"创建人","type":"string"},"customer":{"description":"客户","type":"string"},"dyelot":{"description":"缸号","type":"string"},"ent_id":{"description":"企业ID","type":"string"},"expired_date":{"description":"过期日期","type":"string"},"id":{"description":"主键ID","type":"string"},"in_date":{"description":"入库日期","type":"string"},"in_qty":{"description":"入库数量","type":"number"},"in_type":{"description":"入库类型","type":"string"},"lock_qty":{"description":"锁定数量","type":"number"},"material":{"description":"物料","type":"string"},"note":{"description":"备注","type":"string"},"qty":{"description":"数量","type":"number"},"source_id":{"description":"来源ID","type":"string"},"status":{"description":"状态","type":"string"},"supplier":{"description":"供应商","type":"string"},"traceable_code":{"description":"追溯码","type":"string"},"unit":{"description":"单位","type":"string"},"updated_at":{"description":"更新时间","type":"string"},"updated_by":{"description":"修改人","type":"string"},"warehouse":{"description":"仓库","type":"string"}},"type":"object"},"Location":{"properties":{"code":{"description":"编码","type":"string"},"created_at":{"description":"创建时间","type":"string"},"created_by":{"description":"创建人","type":"string"},"ent_id":{"description":"企业ID","type":"string"},"id":{"description":"主键ID","type":"string"},"name":{"description":"名称","type":"string"},"pid":{"description":"父级ID","type":"string"},"type":{"description":"类型","type":"string"},"updated_at":{"description":"更新时间","type":"string"},"updated_by":{"description":"修改人","type":"string"}},"required":["code","name","type"],"type":"object"},"LocationCombo":{"properties":{"code":{"description":"编码","type":"string"},"name":{"description":"名称","type":"string"}},"type":"object"},"LocationType":{"properties":{"code":{"description":"编码","type":"string"},"created_at":{"description":"创建时间","type":"string"},"created_by":{"description":"创建人","type":"string"},"ent_id":{"description":"企业ID","type":"string"},"id":{"description":"主键ID","type":"string"},"name":{"description":"名称","type":"string"},"updated_at":{"description":"更新时间","type":"string"},"updated_by":{"description":"修改人","type":"string"}},"required":["code","name"],"type":"object"},"LocationTypeCombo":{"properties":{"code":{"description":"编码","type":"string"},"name":{"description":"名称","type":"string"}},"type":"object"},"Major":{"properties":{"abnormal":{"description":"异常","type":"string"},"code":{"description":"编码","type":"string"},"color":{"description":"颜色","type":"string"},"created_at":{"description":"创建时间","type":"string"},"created_by":{"description":"创建人","type":"string"},"dye":{"description":"染整方式","type":"string"},"ent_id":{"description":"企业ID","type":"string"},"id":{"description":"主键ID","type":"string"},"length":{"description":"长度","type":"string"},"name":{"description":"名称","type":"string"},"note":{"description":"备注","type":"string"},"photo":{"description":"图片","type":"string"},"size":{"description":"尺码","type":"string"},"supply":{"description":"供应商","type":"string"},"type":{"description":"类型","type":"string"},"updated_at":{"description":"更新时间","type":"string"},"updated_by":{"description":"修改人","type":"string"}},"required":["code","name"],"type":"object"},"MajorCombo":{"properties":{"code":{"description":"编码","type":"string"},"name":{"description":"名称","type":"string"}},"type":"object"},"Material":{"properties":{"code":{"description":"编码","type":"string"},"color":{"description":"颜色","type":"string"},"component":{"description":"成分比","type":"string"},"created_at":{"description":"创建时间","type":"string"},"created_by":{"description":"创建人","type":"string"},"dyeing":{"description":"染整方式","type":"string"},"en_name":{"description":"英文名称","type":"string"},"ent_id":{"description":"企业ID","type":"string"},"file":{"description":"文件","type":"string"},"finished_price":{"description":"成品价格","type":"number"},"grammage":{"description":"克重","type":"string"},"greige_price":{"description":"坯布价格","type":"number"},"id":{"description":"主键ID","type":"string"},"is_enabled":{"description":"是否启用","type":"boolean"},"name":{"description":"名称","type":"string"},"note":{"description":"备注","type":"string"},"pic_no":{"description":"图号","type":"string"},"short_name":{"description":"简称","type":"string"},"spec":{"description":"规格","type":"string"},"src":{"description":"来源","type":"string"},"type":{"description":"类型","type":"string"},"unit":{"description":"单位","type":"string"},"updated_at":{"description":"更新时间","type":"string"},"updated_by":{"description":"修改人","type":"string"},"usage":{"description":"用途","type":"string"},"width":{"description":"门幅","type":"string"}},"required":["type","name","code"],"type":"object"},"MaterialColor":{"properties":{"code":{"description":"编码","type":"string"},"created_at":{"description":"创建时间","type":"string"},"created_by":{"description":"创建人","type":"string"},"ent_id":{"description":"企业ID","type":"string"},"id":{"description":"主键ID","type":"string"},"name":{"description":"名称","type":"string"},"updated_at":{"description":"更新时间","type":"string"},"updated_by":{"description":"修改人","type":"string"}},"required":["code","name"],"type":"object"},"MaterialColorCombo":{"properties":{"code":{"description":"编码","type":"string"},"name":{"description":"名称","type":"string"}},"type":"object"},"MaterialCombo":{"properties":{"code":{"description":"编码","type":"string"},"name":{"description":"名称","type":"string"}},"type":"object"},"MaterialSrc":{"properties":{"code":{"description":"编码","type":"string"},"created_at":{"description":"创建时间","type":"string"},"created_by":{"description":"创建人","type":"string"},"ent_id":{"description":"企业ID","type":"string"},"id":{"description":"主键ID","type":"string"},"name":{"description":"名称","type":"string"},"updated_at":{"description":"更新时间","type":"string"},"updated_by":{"description":"修改人","type":"string"}},"required":["name","code"],"type":"object"},"MaterialSrcCombo":{"properties":{"code":{"description":"编码","type":"string"},"name":{"description":"名称","type":"string"}},"type":"object"},"MaterialType":{"properties":{"code":{"description":"编码","type":"string"},"created_at":{"description":"创建时间","type":"string"},"created_by":{"description":"创建人","type":"string"},"ent_id":{"description":"企业ID","type":"string"},"id":{"description":"主键ID","type":"string"},"name":{"description":"名称","type":"string"},"note":{"description":"备注","type":"string"},"pid":{"description":"父ID","type":"string"},"updated_at":{"description":"更新时间","type":"string"},"updated_by":{"description":"修改人","type":"string"}},"required":["name","code"],"type":"object"},"MaterialTypeCombo":{"properties":{"code":{"description":"编码","type":"string"},"name":{"description":"名称","type":"string"}},"type":"object"},"MaterialUsage":{"properties":{"code":{"description":"编码","type":"string"},"created_at":{"description":"创建时间","type":"string"},"created_by":{"description":"创建人","type":"string"},"ent_id":{"description":"企业ID","type":"string"},"id":{"description":"主键ID","type":"string"},"name":{"description":"名称","type":"string"},"updated_at":{"description":"更新时间","type":"string"},"updated_by":{"description":"修改人","type":"string"}},"required":["code","name"],"type":"object"},"MaterialUsageCombo":{"properties":{"code":{"description":"编码","type":"string"},"name":{"description":"名称","type":"string"}},"type":"object"},"Member":{"properties":{"address":{"description":"地址","type":"string"},"birth":{"description":"出生日期","type":"string"},"code":{"description":"编码","type":"string"},"created_at":{"description":"创建时间","type":"string"},"created_by":{"description":"创建人","type":"string"},"ent_id":{"description":"企业ID","type":"string"},"gender":{"description":"性别 0 未知 1 男 2 女","type":"integer"},"id":{"description":"主键ID","type":"string"},"name":{"description":"名称","type":"string"},"note":{"description":"备注","type":"string"},"phone":{"description":"电话","type":"string"},"type":{"description":"类型","type":"string"},"updated_at":{"description":"更新时间","type":"string"},"updated_by":{"description":"修改人","type":"string"}},"required":["name","code"],"type":"object"},"MemberCombo":{"properties":{"code":{"description":"编码","type":"string"},"name":{"description":"名称","type":"string"}},"type":"object"},"OtherIn":{"properties":{"bill_no":{"description":"单据编号","type":"string"},"created_at":{"description":"创建时间","type":"string"},"created_by":{"description":"创建人","type":"string"},"ent_id":{"description":"企业ID","type":"string"},"id":{"description":"主键ID","type":"string"},"in_date":{"description":"入库日期","type":"string"},"note":{"description":"备注","type":"string"},"operator":{"description":"操作员","type":"string"},"status":{"description":"状态","type":"string"},"total_amount":{"description":"总金额","type":"number"},"total_qty":{"description":"总数量","type":"number"},"updated_at":{"description":"更新时间","type":"string"},"updated_by":{"description":"修改人","type":"string"},"warehouse":{"description":"仓库","type":"string"}},"required":["in_date","operator","warehouse"],"type":"object"},"OtherInDtl":{"properties":{"batch_no":{"description":"批号","type":"string"},"bin":{"description":"库位","type":"string"},"created_at":{"description":"创建时间","type":"string"},"created_by":{"description":"创建人","type":"string"},"ent_id":{"description":"企业ID","type":"string"},"id":{"description":"主键ID","type":"string"},"material":{"description":"物料","type":"string"},"note":{"description":"备注","type":"string"},"other_in":{"description":"其他入库","type":"string"},"qty":{"description":"数量","type":"number"},"status":{"description":"状态","type":"string"},"total_price":{"description":"总价","type":"number"},"traceable_code":{"description":"追溯码","type":"string"},"unit":{"description":"单位","type":"string"},"unit_price":{"description":"单价","type":"number"},"updated_at":{"description":"更新时间","type":"string"},"updated_by":{"description":"修改人","type":"string"},"warehouse":{"description":"仓库","type":"string"}},"required":["other_in","qty","warehouse","material","unit"],"type":"object"},"OtherOut":{"properties":{"bill_no":{"description":"单据编号","type":"string"},"created_at":{"description":"创建时间","type":"string"},"created_by":{"description":"创建人","type":"string"},"ent_id":{"description":"企业ID","type":"string"},"id":{"description":"主键ID","type":"string"},"note":{"description":"备注","type":"string"},"operator":{"description":"操作员","type":"string"},"out_date":{"description":"出库日期","type":"string"},"status":{"description":"状态","type":"string"},"total_amount":{"description":"总金额","type":"number"},"total_qty":{"description":"总数量","type":"number"},"updated_at":{"description":"更新时间","type":"string"},"updated_by":{"description":"修改人","type":"string"},"warehouse":{"description":"仓库","type":"string"}},"required":["out_date","operator","warehouse"],"type":"object"},"OtherOutDtl":{"properties":{"batch_no":{"description":"批号","type":"string"},"bin":{"description":"货位","type":"string"},"created_at":{"description":"创建时间","type":"string"},"created_by":{"description":"创建人","type":"string"},"ent_id":{"description":"企业ID","type":"string"},"id":{"description":"主键ID","type":"string"},"material":{"description":"物料","type":"string"},"note":{"description":"备注","type":"string"},"other_out":{"description":"其他出库","type":"string"},"qty":{"description":"数量","type":"number"},"status":{"description":"状态","type":"string"},"total_price":{"description":"总价","type":"number"},"traceable_code":{"description":"追溯码","type":"string"},"unit":{"description":"单位","type":"string"},"unit_price":{"description":"单价","type":"number"},"updated_at":{"description":"更新时间","type":"string"},"updated_by":{"description":"修改人","type":"string"},"warehouse":{"description":"仓库","type":"string"}},"required":["material","qty","warehouse","unit","other_out"],"type":"object"},"PaidService":{"properties":{"created_at":{"description":"创建时间","type":"string"},"created_by":{"description":"创建人","type":"string"},"id":{"description":"主键ID","type":"string"},"service_name":{"description":"服务名称","type":"string"},"updated_at":{"description":"更新时间","type":"string"},"updated_by":{"description":"修改人","type":"string"}},"required":["service_name"],"type":"object"},"PaidServiceCombo":{"properties":{"service_name":{"description":"服务名称","type":"string"}},"type":"object"},"PaidServiceSpec":{"properties":{"created_at":{"description":"创建时间","type":"string"},"created_by":{"description":"创建人","type":"string"},"duration":{"description":"时长(天)","type":"integer"},"id":{"description":"主键ID","type":"string"},"price":{"description":"价格","type":"number"},"service":{"description":"服务","type":"string"},"spec_name":{"description":"规格名称","type":"string"},"updated_at":{"description":"更新时间","type":"string"},"updated_by":{"description":"修改人","type":"string"}},"required":["spec_name","price","duration","service"],"type":"object"},"PaidServiceSpecCombo":{"properties":{"spec_name":{"description":"规格名称","type":"string"}},"type":"object"},"PaidServiceUser":{"properties":{"created_at":{"description":"创建时间","type":"string"},"created_by":{"description":"创建人","type":"string"},"ent_id":{"description":"企业ID","type":"string"},"expired_at":{"description":"过期时间","type":"string"},"id":{"description":"主键ID","type":"string"},"service":{"description":"服务","type":"string"},"updated_at":{"description":"更新时间","type":"string"},"updated_by":{"description":"修改人","type":"string"},"user":{"description":"用户","type":"string"}},"type":"object"},"PaidServiceUserRecord":{"properties":{"created_at":{"description":"创建时间","type":"string"},"created_by":{"description":"创建人","type":"string"},"duration":{"description":"时长(天)","type":"integer"},"ent_id":{"description":"企业ID","type":"string"},"id":{"description":"主键ID","type":"string"},"price":{"description":"价格","type":"number"},"service":{"description":"服务","type":"string"},"spec":{"description":"规格","type":"string"},"updated_at":{"description":"更新时间","type":"string"},"updated_by":{"description":"修改人","type":"string"},"user":{"description":"用户","type":"string"}},"type":"object"},"Product":{"properties":{"abnormal":{"description":"异常","type":"string"},"code":{"description":"编码","type":"string"},"color":{"description":"颜色","type":"string"},"created_at":{"description":"创建时间","type":"string"},"created_by":{"description":"创建人","type":"string"},"dye":{"description":"染整方式","type":"string"},"ent_id":{"description":"企业ID","type":"string"},"gram":{"description":"克重","type":"string"},"id":{"description":"主键ID","type":"string"},"length":{"description":"长度","type":"string"},"name":{"description":"名称","type":"string"},"note":{"description":"备注","type":"string"},"percent":{"description":"成分比","type":"string"},"photo":{"description":"图片","type":"string"},"price_end":{"description":"成品价格","type":"number"},"price_raw":{"description":"坯布价格","type":"number"},"size":{"description":"尺码","type":"string"},"spec":{"description":"规格","type":"string"},"supply":{"description":"供应商","type":"string"},"tech":{"description":"工艺","type":"string"},"type":{"description":"类型","type":"string"},"updated_at":{"description":"更新时间","type":"string"},"updated_by":{"description":"修改人","type":"string"}},"required":["name","code"],"type":"object"},"ProductCombo":{"properties":{"code":{"description":"编码","type":"string"},"name":{"description":"名称","type":"string"}},"type":"object"},"PurchaseIn":{"properties":{"bill_no":{"description":"单据编号","type":"string"},"created_at":{"description":"创建时间","type":"string"},"created_by":{"description":"创建人","type":"string"},"ent_id":{"description":"企业ID","type":"string"},"id":{"description":"主键ID","type":"string"},"in_date":{"description":"入库日期","type":"string"},"note":{"description":"备注","type":"string"},"operator":{"description":"操作员","type":"string"},"purchase_order":{"description":"采购订单","type":"string"},"status":{"description":"状态","type":"string"},"total_amount":{"description":"总金额","type":"number"},"total_qty":{"description":"总数量","type":"number"},"updated_at":{"description":"更新时间","type":"string"},"updated_by":{"description":"修改人","type":"string"},"warehouse":{"description":"仓库","type":"string"}},"required":["purchase_order","operator","warehouse","in_date"],"type":"object"},"PurchaseInDtl":{"properties":{"batch_no":{"description":"批号","type":"string"},"bin":{"description":"货位","type":"string"},"created_at":{"description":"创建时间","type":"string"},"created_by":{"description":"创建人","type":"string"},"ent_id":{"description":"企业ID","type":"string"},"id":{"description":"主键ID","type":"string"},"material":{"description":"物料","type":"string"},"note":{"description":"备注","type":"string"},"purchase_in":{"description":"采购入库","type":"string"},"qty":{"description":"数量","type":"number"},"status":{"description":"状态","type":"string"},"total_price":{"description":"总价","type":"number"},"traceable_code":{"description":"追溯码","type":"string"},"unit":{"description":"单位","type":"string"},"unit_price":{"description":"单价","type":"number"},"updated_at":{"description":"更新时间","type":"string"},"updated_by":{"description":"修改人","type":"string"},"warehouse":{"description":"仓库","type":"string"}},"required":["warehouse","material","purchase_in","qty","unit"],"type":"object"},"PurchaseOrder":{"properties":{"bill_no":{"description":"单据编号","type":"string"},"buyer":{"description":"采购员","type":"string"},"created_at":{"description":"创建时间","type":"string"},"created_by":{"description":"创建人","type":"string"},"delivery_date":{"description":"交货日期","type":"string"},"ent_id":{"description":"企业ID","type":"string"},"id":{"description":"主键ID","type":"string"},"note":{"description":"备注","type":"string"},"order_date":{"description":"单据日期","type":"string"},"pay_amount":{"description":"已付金额","type":"number"},"pay_status":{"description":"付款状态","type":"string"},"shipping_fee":{"description":"运费","type":"number"},"status":{"description":"状态","type":"string"},"supplier":{"description":"供应商","type":"string"},"total_amount":{"description":"总金额","type":"number"},"total_qty":{"description":"总数量","type":"number"},"updated_at":{"description":"更新时间","type":"string"},"updated_by":{"description":"修改人","type":"string"}},"required":["supplier","buyer"],"type":"object"},"PurchaseOrderDtl":{"properties":{"created_at":{"description":"创建时间","type":"string"},"created_by":{"description":"创建人","type":"string"},"ent_id":{"description":"企业ID","type":"string"},"id":{"description":"主键ID","type":"string"},"material":{"description":"物料","type":"string"},"note":{"description":"备注","type":"string"},"purchase_order":{"description":"采购订单","type":"string"},"qty":{"description":"数量","type":"number"},"status":{"description":"状态","type":"string"},"total_price":{"description":"总价","type":"number"},"unit":{"description":"单位","type":"string"},"unit_price":{"description":"单价","type":"number"},"updated_at":{"description":"更新时间","type":"string"},"updated_by":{"description":"修改人","type":"string"}},"required":["purchase_order","material","qty","unit","unit_price","total_price"],"type":"object"},"SaleOrder":{"properties":{"bill_no":{"description":"单据编号","type":"string"},"created_at":{"description":"创建时间","type":"string"},"created_by":{"description":"创建人","type":"string"},"customer":{"description":"客户","type":"string"},"delivery_date":{"description":"交货日期","type":"string"},"ent_id":{"description":"企业ID","type":"string"},"id":{"description":"主键ID","type":"string"},"note":{"description":"备注","type":"string"},"order_date":{"description":"单据日期","type":"string"},"origin_amount":{"description":"原始金额","type":"number"},"pay_amount":{"description":"已付金额","type":"number"},"salesman":{"description":"业务员","type":"string"},"shipping_address":{"description":"送货地址","type":"string"},"shipping_fee":{"description":"运费","type":"number"},"status":{"description":"状态","type":"string"},"total_amount":{"description":"总金额","type":"number"},"total_discount":{"description":"总折扣","type":"number"},"total_qty":{"description":"总数量","type":"number"},"updated_at":{"description":"更新时间","type":"string"},"updated_by":{"description":"修改人","type":"string"}},"required":["salesman","customer"],"type":"object"},"SaleOrderDtl":{"properties":{"created_at":{"description":"创建时间","type":"string"},"created_by":{"description":"创建人","type":"string"},"discount_price":{"description":"折扣","type":"number"},"ent_id":{"description":"企业ID","type":"string"},"id":{"description":"主键ID","type":"string"},"material":{"description":"物料","type":"string"},"note":{"description":"备注","type":"string"},"origin_price":{"description":"原价","type":"number"},"qty":{"description":"数量","type":"number"},"sale_order":{"description":"销售订单","type":"string"},"status":{"description":"状态","type":"string"},"tax_price":{"description":"税额","type":"number"},"tax_rate":{"description":"税率","type":"number"},"total_price":{"description":"总价","type":"number"},"unit":{"description":"单位","type":"string"},"unit_price":{"description":"单价","type":"number"},"updated_at":{"description":"更新时间","type":"string"},"updated_by":{"description":"修改人","type":"string"}},"required":["unit","sale_order","material","qty","unit_price"],"type":"object"},"SaleOut":{"properties":{"bill_no":{"description":"单据编号","type":"string"},"created_at":{"description":"创建时间","type":"string"},"created_by":{"description":"创建人","type":"string"},"ent_id":{"description":"企业ID","type":"string"},"id":{"description":"主键ID","type":"string"},"note":{"description":"备注","type":"string"},"operator":{"description":"操作员","type":"string"},"out_date":{"description":"出库日期","type":"string"},"sale_order":{"description":"销售订单","type":"string"},"status":{"description":"状态","type":"string"},"total_amount":{"description":"总金额","type":"number"},"total_qty":{"description":"总数量","type":"number"},"updated_at":{"description":"更新时间","type":"string"},"updated_by":{"description":"修改人","type":"string"},"warehouse":{"description":"仓库","type":"string"}},"required":["sale_order","warehouse","out_date","operator"],"type":"object"},"SaleOutDtl":{"properties":{"batch_no":{"description":"批号","type":"string"},"bin":{"description":"货位","type":"string"},"created_at":{"description":"创建时间","type":"string"},"created_by":{"description":"创建人","type":"string"},"ent_id":{"description":"企业ID","type":"string"},"id":{"description":"主键ID","type":"string"},"material":{"description":"物料","type":"string"},"note":{"description":"备注","type":"string"},"qty":{"description":"数量","type":"number"},"sale_out":{"description":"销售出库","type":"string"},"status":{"description":"状态","type":"string"},"total_price":{"description":"总价","type":"number"},"traceable_code":{"description":"追溯码","type":"string"},"unit":{"description":"单位","type":"string"},"unit_price":{"description":"单价","type":"number"},"updated_at":{"description":"更新时间","type":"string"},"updated_by":{"description":"修改人","type":"string"},"warehouse":{"description":"仓库","type":"string"}},"required":["unit","qty","warehouse","sale_out","material"],"type":"object"},"Sample":{"properties":{"abnormal":{"description":"异常","type":"string"},"code":{"description":"编码","type":"string"},"color":{"description":"颜色","type":"string"},"created_at":{"description":"创建时间","type":"string"},"created_by":{"description":"创建人","type":"string"},"dye":{"description":"染整方式","type":"string"},"ent_id":{"description":"企业ID","type":"string"},"gram":{"description":"克重","type":"string"},"id":{"description":"主键ID","type":"string"},"length":{"description":"长度","type":"string"},"name":{"description":"名称","type":"string"},"note":{"description":"备注","type":"string"},"percent":{"description":"成分比","type":"string"},"photo":{"description":"图片","type":"string"},"price_end":{"description":"成品价格","type":"number"},"price_raw":{"description":"坯布价格","type":"number"},"size":{"description":"尺码","type":"string"},"spec":{"description":"规格","type":"string"},"supply":{"description":"供应商","type":"string"},"tech":{"description":"工艺","type":"string"},"type":{"description":"类型","type":"string"},"updated_at":{"description":"更新时间","type":"string"},"updated_by":{"description":"修改人","type":"string"}},"required":["code","name"],"type":"object"},"SampleCombo":{"properties":{"code":{"description":"编码","type":"string"},"name":{"description":"名称","type":"string"}},"type":"object"},"Supplier":{"properties":{"address":{"description":"地址","type":"string"},"bank":{"description":"银行","type":"string"},"bank_account":{"description":"银行账号","type":"string"},"code":{"description":"编码","type":"string"},"created_at":{"description":"创建时间","type":"string"},"created_by":{"description":"创建人","type":"string"},"email":{"description":"邮箱","type":"string"},"ent_id":{"description":"企业ID","type":"string"},"id":{"description":"主键ID","type":"string"},"name":{"description":"名称","type":"string"},"note":{"description":"备注","type":"string"},"phone":{"description":"联系电话","type":"string"},"short_name":{"description":"简称","type":"string"},"tax_code":{"description":"税号","type":"string"},"type":{"description":"类型","type":"string"},"updated_at":{"description":"更新时间","type":"string"},"updated_by":{"description":"修改人","type":"string"},"web":{"description":"网址","type":"string"}},"required":["code","name"],"type":"object"},"SupplierCombo":{"properties":{"code":{"description":"编码","type":"string"},"name":{"description":"名称","type":"string"}},"type":"object"},"SupplierType":{"properties":{"code":{"description":"编码","type":"string"},"created_at":{"description":"创建时间","type":"string"},"created_by":{"description":"创建人","type":"string"},"ent_id":{"description":"企业ID","type":"string"},"id":{"description":"主键ID","type":"string"},"name":{"description":"名称","type":"string"},"note":{"description":"备注","type":"string"},"updated_at":{"description":"更新时间","type":"string"},"updated_by":{"description":"修改人","type":"string"}},"required":["code","name"],"type":"object"},"SupplierTypeCombo":{"properties":{"code":{"description":"编码","type":"string"},"name":{"description":"名称","type":"string"}},"type":"object"},"Supply":{"properties":{"address":{"description":"地址","type":"string"},"code":{"description":"编码","type":"string"},"created_at":{"description":"创建时间","type":"string"},"created_by":{"description":"创建人","type":"string"},"ent_id":{"description":"企业ID","type":"string"},"follow":{"description":"跟进","type":"string"},"id":{"description":"主键ID","type":"string"},"name":{"description":"名称","type":"string"},"phone":{"description":"电话","type":"string"},"type":{"description":"类型","type":"string"},"updated_at":{"description":"更新时间","type":"string"},"updated_by":{"description":"修改人","type":"string"}},"required":["code","name"],"type":"object"},"SupplyCombo":{"properties":{"code":{"description":"编码","type":"string"},"name":{"description":"名称","type":"string"}},"type":"object"},"Unit":{"properties":{"code":{"description":"编码","type":"string"},"created_at":{"description":"创建时间","type":"string"},"created_by":{"description":"创建人","type":"string"},"ent_id":{"description":"企业ID","type":"string"},"factor":{"description":"换算因子","type":"number"},"id":{"description":"主键ID","type":"string"},"name":{"description":"名称","type":"string"},"note":{"description":"备注","type":"string"},"type":{"description":"类型","type":"string"},"updated_at":{"description":"更新时间","type":"string"},"updated_by":{"description":"修改人","type":"string"}},"required":["type","code","name","factor"],"type":"object"},"UnitCombo":{"properties":{"code":{"description":"编码","type":"string"},"name":{"description":"名称","type":"string"}},"type":"object"},"UnitType":{"properties":{"code":{"description":"编码","type":"string"},"created_at":{"description":"创建时间","type":"string"},"created_by":{"description":"创建人","type":"string"},"ent_id":{"description":"企业ID","type":"string"},"id":{"description":"主键ID","type":"string"},"name":{"description":"名称","type":"string"},"note":{"description":"备注","type":"string"},"updated_at":{"description":"更新时间","type":"string"},"updated_by":{"description":"修改人","type":"string"}},"required":["code","name"],"type":"object"},"UnitTypeCombo":{"properties":{"code":{"description":"编码","type":"string"},"name":{"description":"名称","type":"string"}},"type":"object"},"Warehouse":{"properties":{"code":{"description":"编码","type":"string"},"created_at":{"description":"创建时间","type":"string"},"created_by":{"description":"创建人","type":"string"},"ent_id":{"description":"企业ID","type":"string"},"id":{"description":"主键ID","type":"string"},"location":{"description":"地点","type":"string"},"name":{"description":"名称","type":"string"},"updated_at":{"description":"更新时间","type":"string"},"updated_by":{"description":"修改人","type":"string"}},"required":["code","name"],"type":"object"},"WarehouseBin":{"properties":{"code":{"description":"编码","type":"string"},"created_at":{"description":"创建时间","type":"string"},"created_by":{"description":"创建人","type":"string"},"ent_id":{"description":"企业ID","type":"string"},"id":{"description":"主键ID","type":"string"},"name":{"description":"名称","type":"string"},"updated_at":{"description":"更新时间","type":"string"},"updated_by":{"description":"修改人","type":"string"},"warehouse":{"description":"仓库","type":"string"}},"required":["code","name","warehouse"],"type":"object"},"WarehouseBinCombo":{"properties":{"code":{"description":"编码","type":"string"},"name":{"description":"名称","type":"string"}},"type":"object"},"WarehouseCombo":{"properties":{"code":{"description":"编码","type":"string"},"name":{"description":"名称","type":"string"}},"type":"object"},"Wm":{"properties":{"address":{"description":"地址","type":"string"},"code":{"description":"编码","type":"string"},"created_at":{"description":"创建时间","type":"string"},"created_by":{"description":"创建人","type":"string"},"ent_id":{"description":"企业ID","type":"string"},"id":{"description":"主键ID","type":"string"},"manager":{"description":"负责人","type":"string"},"name":{"description":"名称","type":"string"},"note":{"description":"备注","type":"string"},"phone":{"description":"电话","type":"string"},"type":{"description":"类型","type":"string"},"updated_at":{"description":"更新时间","type":"string"},"updated_by":{"description":"修改人","type":"string"}},"required":["code","name"],"type":"object"},"WmCell":{"properties":{"code":{"description":"编码","type":"string"},"created_at":{"description":"创建时间","type":"string"},"created_by":{"description":"创建人","type":"string"},"ent_id":{"description":"企业ID","type":"string"},"id":{"description":"主键ID","type":"string"},"name":{"description":"名称","type":"string"},"note":{"description":"备注","type":"string"},"type":{"description":"类型","type":"string"},"updated_at":{"description":"更新时间","type":"string"},"updated_by":{"description":"修改人","type":"string"},"wm":{"description":"仓库","type":"string"}},"required":["code","name"],"type":"object"},"WmCellCombo":{"properties":{"code":{"description":"编码","type":"string"},"name":{"description":"名称","type":"string"}},"type":"object"},"WmCombo":{"properties":{"code":{"description":"编码","type":"string"},"name":{"description":"名称","type":"string"}},"type":"object"},"models.Api":{"properties":{"created_at":{"description":"创建时间","type":"string"},"created_by":{"description":"创建人","type":"string"},"id":{"description":"主键ID","type":"string"},"method":{"description":"方法","type":"string"},"name":{"description":"名称","type":"string"},"note":{"description":"描述","type":"string"},"table_id":{"description":"表ID","type":"string"},"updated_at":{"description":"更新时间","type":"string"},"updated_by":{"description":"修改人","type":"string"}},"type":"object"},"models.ApiRole":{"properties":{"api_id":{"description":"接口ID","type":"string"},"created_at":{"description":"创建时间","type":"string"},"created_by":{"description":"创建人","type":"string"},"ent_id":{"description":"企业ID","type":"string"},"role_id":{"description":"角色ID","type":"string"}},"required":["api_id","role_id"],"type":"object"},"models.ApiUser":{"properties":{"api_id":{"description":"接口ID","type":"string"},"created_at":{"description":"创建时间","type":"string"},"created_by":{"description":"创建人","type":"string"},"ent_id":{"description":"企业ID","type":"string"},"user_id":{"description":"用户ID","type":"string"}},"required":["api_id","user_id"],"type":"object"},"models.Condition":{"properties":{"column":{"description":"列","type":"string"},"logic":{"$ref":"#/definitions/models.Logic","description":"逻辑"},"op":{"description":"操作","type":"string"},"value":{"description":"值"}},"type":"object"},"models.Ent":{"properties":{"abbr_name":{"description":"简称","type":"string"},"address":{"description":"地址","type":"string"},"apply_id":{"description":"申请ID","type":"string"},"audit_at":{"description":"审核时间","type":"string"},"audit_by":{"description":"审核人","type":"string"},"audit_remark":{"description":"审核备注","type":"string"},"audit_status":{"description":"审核状态 0:未审核 1:审核通过 2:审核不通过","type":"integer"},"bank":{"description":"开户行","type":"string"},"bank_account":{"description":"银行账号","type":"string"},"code":{"description":"编码","type":"string"},"contactor":{"description":"联系人","type":"string"},"created_at":{"description":"创建时间","type":"string"},"created_by":{"description":"创建人","type":"string"},"email":{"description":"邮箱","type":"string"},"en_name":{"description":"英文名称","type":"string"},"id":{"description":"主键ID","type":"string"},"legal_person":{"description":"法人","type":"string"},"licence":{"description":"营业执照","type":"string"},"logo":{"description":"logo","type":"string"},"name":{"description":"名称","type":"string"},"phone":{"description":"联系电话","type":"string"},"tax_code":{"description":"税号","type":"string"},"updated_at":{"description":"更新时间","type":"string"},"updated_by":{"description":"修改人","type":"string"}},"required":["code","name"],"type":"object"},"models.EntApply":{"properties":{"abbr_name":{"description":"简称","type":"string"},"address":{"description":"地址","type":"string"},"applied_by":{"description":"申请人","type":"string"},"audit_at":{"description":"审核时间","type":"string"},"audit_by":{"description":"审核人","type":"string"},"audit_remark":{"description":"审核备注","type":"string"},"audit_status":{"description":"审核状态 0:未审核 1:审核通过 2:审核不通过","type":"integer"},"bank":{"description":"开户行","type":"string"},"bank_account":{"description":"银行账号","type":"string"},"code":{"description":"编码","type":"string"},"contactor":{"description":"联系人","type":"string"},"created_at":{"description":"创建时间","type":"string"},"created_by":{"description":"创建人","type":"string"},"email":{"description":"邮箱","type":"string"},"en_name":{"description":"英文名称","type":"string"},"id":{"description":"主键ID","type":"string"},"legal_person":{"description":"法人","type":"string"},"licence":{"description":"营业执照","type":"string"},"logo":{"description":"logo","type":"string"},"name":{"description":"名称","type":"string"},"phone":{"description":"联系电话","type":"string"},"tax_code":{"description":"税号","type":"string"},"updated_at":{"description":"更新时间","type":"string"},"updated_by":{"description":"修改人","type":"string"}},"required":["code","name"],"type":"object"},"models.EntAudit":{"properties":{"apply_id":{"description":"申请ID","type":"string"},"note":{"description":"备注","type":"string"},"status":{"description":"状态","type":"integer"}},"type":"object"},"models.Field":{"properties":{"alias":{"description":"别名","type":"string"},"created_at":{"description":"创建时间","type":"string"},"created_by":{"description":"创建人","type":"string"},"id":{"description":"主键ID","type":"string"},"name":{"description":"名称","type":"string"},"note":{"description":"描述","type":"string"},"show":{"description":"是否显示","type":"boolean"},"sort":{"description":"排序","type":"integer"},"table_id":{"description":"表ID","type":"string"},"type":{"description":"类型","type":"string"},"updated_at":{"description":"更新时间","type":"string"},"updated_by":{"description":"修改人","type":"string"}},"required":["name","table_id","type"],"type":"object"},"models.FieldInfo":{"properties":{"name":{"description":"名称","type":"string"},"note":{"description":"描述","type":"string"},"type":{"description":"类型","type":"string"}},"type":"object"},"models.File":{"properties":{"created_at":{"description":"创建时间","type":"string"},"created_by":{"description":"创建人","type":"string"},"download_count":{"description":"下载次数","type":"integer"},"ent_id":{"description":"企业ID","type":"string"},"id":{"description":"主键ID","type":"string"},"name":{"description":"名称","type":"string"},"orig_name":{"description":"原始文件名","type":"string"},"path":{"description":"路径","type":"string"},"rela_id":{"description":"关联ID","type":"string"},"size":{"description":"大小","type":"integer"},"suffix":{"description":"后缀","type":"string"},"type":{"description":"类型","type":"string"},"updated_at":{"description":"更新时间","type":"string"},"updated_by":{"description":"修改人","type":"string"}},"type":"object"},"models.FileRela":{"properties":{"id":{"description":"文件ID","type":"string"},"rela_id":{"description":"关联ID","type":"string"}},"required":["id","rela_id"],"type":"object"},"models.Filter":{"properties":{"limit":{"description":"每页数量","type":"integer"},"logic":{"$ref":"#/definitions/models.Logic","description":"逻辑"},"page":{"description":"页码","type":"integer"},"sorts":{"description":"排序","items":{"$ref":"#/definitions/models.Sort"},"type":"array"}},"type":"object"},"models.Logic":{"properties":{"and":{"description":"与","items":{"$ref":"#/definitions/models.Condition"},"type":"array"},"not":{"description":"非","items":{"$ref":"#/definitions/models.Condition"},"type":"array"},"or":{"description":"或","items":{"$ref":"#/definitions/models.Condition"},"type":"array"}},"type":"object"},"models.Login":{"properties":{"password":{"description":"密码","type":"string"},"username":{"description":"用户名","type":"string"}},"required":["password","username"],"type":"object"},"models.Module":{"properties":{"created_at":{"description":"创建时间","type":"string"},"created_by":{"description":"创建人","type":"string"},"icon":{"description":"图标","type":"string"},"id":{"description":"主键ID","type":"string"},"name":{"description":"名称","type":"string"},"pid":{"description":"父级ID","type":"string"},"tables":{"description":"关联表","items":{"$ref":"#/definitions/models.Table"},"type":"array"},"updated_at":{"description":"更新时间","type":"string"},"updated_by":{"description":"修改人","type":"string"}},"required":["name"],"type":"object"},"models.ModuleTree":{"properties":{"children":{"items":{"$ref":"#/definitions/models.ModuleTree"},"type":"array"},"created_at":{"description":"创建时间","type":"string"},"created_by":{"description":"创建人","type":"string"},"icon":{"description":"图标","type":"string"},"id":{"description":"主键ID","type":"string"},"name":{"description":"名称","type":"string"},"pid":{"description":"父级ID","type":"string"},"tables":{"description":"关联表","items":{"$ref":"#/definitions/models.Table"},"type":"array"},"updated_at":{"description":"更新时间","type":"string"},"updated_by":{"description":"修改人","type":"string"}},"required":["name"],"type":"object"},"models.R-Busy":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"$ref":"#/definitions/Busy","description":"业务"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-BusyCheckFlow":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"$ref":"#/definitions/BusyCheckFlow","description":"业务-审核流"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-BusyCheckGroup":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"$ref":"#/definitions/BusyCheckGroup","description":"业务-审核组"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-BusyCheckGroupDtl":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"$ref":"#/definitions/BusyCheckGroupDtl","description":"业务-审核组明细"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-BusyTable":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"$ref":"#/definitions/BusyTable","description":"业务-表关联"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-Customer":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"$ref":"#/definitions/Customer","description":"客户"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-CustomerType":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"$ref":"#/definitions/CustomerType","description":"客户类型"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-Inventory":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"$ref":"#/definitions/Inventory","description":"库存"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-Location":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"$ref":"#/definitions/Location","description":"地点"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-LocationType":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"$ref":"#/definitions/LocationType","description":"地点类型"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-Major":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"$ref":"#/definitions/Major","description":"基础-major"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-Material":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"$ref":"#/definitions/Material","description":"物料"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-MaterialColor":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"$ref":"#/definitions/MaterialColor","description":"物料颜色"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-MaterialSrc":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"$ref":"#/definitions/MaterialSrc","description":"物料来源"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-MaterialType":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"$ref":"#/definitions/MaterialType","description":"物料类型"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-MaterialUsage":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"$ref":"#/definitions/MaterialUsage","description":"物料用途"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-Member":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"$ref":"#/definitions/Member","description":"基础-人员"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-OtherIn":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"$ref":"#/definitions/OtherIn","description":"其他入库"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-OtherInDtl":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"$ref":"#/definitions/OtherInDtl","description":"其他入库明细"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-OtherOut":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"$ref":"#/definitions/OtherOut","description":"其他出库"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-OtherOutDtl":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"$ref":"#/definitions/OtherOutDtl","description":"其他出库明细"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-PaidService":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"$ref":"#/definitions/PaidService","description":"付费服务"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-PaidServiceSpec":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"$ref":"#/definitions/PaidServiceSpec","description":"服务规格"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-PaidServiceUser":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"$ref":"#/definitions/PaidServiceUser","description":"用户服务"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-PaidServiceUserRecord":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"$ref":"#/definitions/PaidServiceUserRecord","description":"用户服务购买记录"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-Product":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"$ref":"#/definitions/Product","description":"基础-成品"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-PurchaseIn":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"$ref":"#/definitions/PurchaseIn","description":"采购入库"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-PurchaseInDtl":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"$ref":"#/definitions/PurchaseInDtl","description":"采购入库明细"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-PurchaseOrder":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"$ref":"#/definitions/PurchaseOrder","description":"采购订单"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-PurchaseOrderDtl":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"$ref":"#/definitions/PurchaseOrderDtl","description":"采购订单明细"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-SaleOrder":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"$ref":"#/definitions/SaleOrder","description":"销售订单"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-SaleOrderDtl":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"$ref":"#/definitions/SaleOrderDtl","description":"销售订单明细"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-SaleOut":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"$ref":"#/definitions/SaleOut","description":"销售出库"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-SaleOutDtl":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"$ref":"#/definitions/SaleOutDtl","description":"销售出库明细"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-Sample":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"$ref":"#/definitions/Sample","description":"基础-样品"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-Supplier":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"$ref":"#/definitions/Supplier","description":"供应商"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-SupplierType":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"$ref":"#/definitions/SupplierType","description":"供应商类型"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-Supply":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"$ref":"#/definitions/Supply","description":"基础-供应商"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-Unit":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"$ref":"#/definitions/Unit","description":"单位"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-UnitType":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"$ref":"#/definitions/UnitType","description":"单位类型"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-Warehouse":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"$ref":"#/definitions/Warehouse","description":"仓库"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-WarehouseBin":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"$ref":"#/definitions/WarehouseBin","description":"库位"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-Wm":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"$ref":"#/definitions/Wm","description":"基础-仓库"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-WmCell":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"$ref":"#/definitions/WmCell","description":"基础-库位"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-array_Busy":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"description":"业务列表","items":{"$ref":"#/definitions/Busy"},"type":"array"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-array_BusyCheckFlow":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"description":"业务-审核流列表","items":{"$ref":"#/definitions/BusyCheckFlow"},"type":"array"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-array_BusyCheckFlowCombo":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"description":"业务-审核流下拉列表","items":{"$ref":"#/definitions/BusyCheckFlowCombo"},"type":"array"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-array_BusyCheckGroup":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"description":"业务-审核组列表","items":{"$ref":"#/definitions/BusyCheckGroup"},"type":"array"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-array_BusyCheckGroupCombo":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"description":"业务-审核组下拉列表","items":{"$ref":"#/definitions/BusyCheckGroupCombo"},"type":"array"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-array_BusyCheckGroupDtl":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"description":"业务-审核组明细列表","items":{"$ref":"#/definitions/BusyCheckGroupDtl"},"type":"array"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-array_BusyCombo":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"description":"业务下拉列表","items":{"$ref":"#/definitions/BusyCombo"},"type":"array"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-array_BusyTable":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"description":"业务-表关联列表","items":{"$ref":"#/definitions/BusyTable"},"type":"array"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-array_Customer":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"description":"客户列表","items":{"$ref":"#/definitions/Customer"},"type":"array"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-array_CustomerCombo":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"description":"客户下拉列表","items":{"$ref":"#/definitions/CustomerCombo"},"type":"array"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-array_CustomerType":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"description":"客户类型列表","items":{"$ref":"#/definitions/CustomerType"},"type":"array"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-array_CustomerTypeCombo":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"description":"客户类型下拉列表","items":{"$ref":"#/definitions/CustomerTypeCombo"},"type":"array"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-array_Inventory":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"description":"库存列表","items":{"$ref":"#/definitions/Inventory"},"type":"array"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-array_Location":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"description":"地点列表","items":{"$ref":"#/definitions/Location"},"type":"array"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-array_LocationCombo":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"description":"地点下拉列表","items":{"$ref":"#/definitions/LocationCombo"},"type":"array"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-array_LocationType":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"description":"地点类型列表","items":{"$ref":"#/definitions/LocationType"},"type":"array"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-array_LocationTypeCombo":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"description":"地点类型下拉列表","items":{"$ref":"#/definitions/LocationTypeCombo"},"type":"array"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-array_Major":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"description":"基础-major列表","items":{"$ref":"#/definitions/Major"},"type":"array"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-array_MajorCombo":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"description":"基础-major下拉列表","items":{"$ref":"#/definitions/MajorCombo"},"type":"array"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-array_Material":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"description":"物料列表","items":{"$ref":"#/definitions/Material"},"type":"array"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-array_MaterialColor":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"description":"物料颜色列表","items":{"$ref":"#/definitions/MaterialColor"},"type":"array"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-array_MaterialColorCombo":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"description":"物料颜色下拉列表","items":{"$ref":"#/definitions/MaterialColorCombo"},"type":"array"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-array_MaterialCombo":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"description":"物料下拉列表","items":{"$ref":"#/definitions/MaterialCombo"},"type":"array"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-array_MaterialSrc":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"description":"物料来源列表","items":{"$ref":"#/definitions/MaterialSrc"},"type":"array"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-array_MaterialSrcCombo":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"description":"物料来源下拉列表","items":{"$ref":"#/definitions/MaterialSrcCombo"},"type":"array"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-array_MaterialType":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"description":"物料类型列表","items":{"$ref":"#/definitions/MaterialType"},"type":"array"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-array_MaterialTypeCombo":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"description":"物料类型下拉列表","items":{"$ref":"#/definitions/MaterialTypeCombo"},"type":"array"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-array_MaterialUsage":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"description":"物料用途列表","items":{"$ref":"#/definitions/MaterialUsage"},"type":"array"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-array_MaterialUsageCombo":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"description":"物料用途下拉列表","items":{"$ref":"#/definitions/MaterialUsageCombo"},"type":"array"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-array_Member":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"description":"基础-人员列表","items":{"$ref":"#/definitions/Member"},"type":"array"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-array_MemberCombo":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"description":"基础-人员下拉列表","items":{"$ref":"#/definitions/MemberCombo"},"type":"array"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-array_OtherIn":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"description":"其他入库列表","items":{"$ref":"#/definitions/OtherIn"},"type":"array"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-array_OtherInDtl":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"description":"其他入库明细列表","items":{"$ref":"#/definitions/OtherInDtl"},"type":"array"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-array_OtherOut":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"description":"其他出库列表","items":{"$ref":"#/definitions/OtherOut"},"type":"array"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-array_OtherOutDtl":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"description":"其他出库明细列表","items":{"$ref":"#/definitions/OtherOutDtl"},"type":"array"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-array_PaidService":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"description":"付费服务列表","items":{"$ref":"#/definitions/PaidService"},"type":"array"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-array_PaidServiceCombo":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"description":"付费服务下拉列表","items":{"$ref":"#/definitions/PaidServiceCombo"},"type":"array"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-array_PaidServiceSpec":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"description":"服务规格列表","items":{"$ref":"#/definitions/PaidServiceSpec"},"type":"array"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-array_PaidServiceSpecCombo":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"description":"服务规格下拉列表","items":{"$ref":"#/definitions/PaidServiceSpecCombo"},"type":"array"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-array_PaidServiceUser":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"description":"用户服务列表","items":{"$ref":"#/definitions/PaidServiceUser"},"type":"array"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-array_PaidServiceUserRecord":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"description":"用户服务购买记录列表","items":{"$ref":"#/definitions/PaidServiceUserRecord"},"type":"array"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-array_Product":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"description":"基础-成品列表","items":{"$ref":"#/definitions/Product"},"type":"array"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-array_ProductCombo":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"description":"基础-成品下拉列表","items":{"$ref":"#/definitions/ProductCombo"},"type":"array"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-array_PurchaseIn":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"description":"采购入库列表","items":{"$ref":"#/definitions/PurchaseIn"},"type":"array"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-array_PurchaseInDtl":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"description":"采购入库明细列表","items":{"$ref":"#/definitions/PurchaseInDtl"},"type":"array"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-array_PurchaseOrder":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"description":"采购订单列表","items":{"$ref":"#/definitions/PurchaseOrder"},"type":"array"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-array_PurchaseOrderDtl":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"description":"采购订单明细列表","items":{"$ref":"#/definitions/PurchaseOrderDtl"},"type":"array"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-array_SaleOrder":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"description":"销售订单列表","items":{"$ref":"#/definitions/SaleOrder"},"type":"array"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-array_SaleOrderDtl":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"description":"销售订单明细列表","items":{"$ref":"#/definitions/SaleOrderDtl"},"type":"array"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-array_SaleOut":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"description":"销售出库列表","items":{"$ref":"#/definitions/SaleOut"},"type":"array"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-array_SaleOutDtl":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"description":"销售出库明细列表","items":{"$ref":"#/definitions/SaleOutDtl"},"type":"array"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-array_Sample":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"description":"基础-样品列表","items":{"$ref":"#/definitions/Sample"},"type":"array"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-array_SampleCombo":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"description":"基础-样品下拉列表","items":{"$ref":"#/definitions/SampleCombo"},"type":"array"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-array_Supplier":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"description":"供应商列表","items":{"$ref":"#/definitions/Supplier"},"type":"array"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-array_SupplierCombo":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"description":"供应商下拉列表","items":{"$ref":"#/definitions/SupplierCombo"},"type":"array"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-array_SupplierType":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"description":"供应商类型列表","items":{"$ref":"#/definitions/SupplierType"},"type":"array"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-array_SupplierTypeCombo":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"description":"供应商类型下拉列表","items":{"$ref":"#/definitions/SupplierTypeCombo"},"type":"array"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-array_Supply":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"description":"基础-供应商列表","items":{"$ref":"#/definitions/Supply"},"type":"array"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-array_SupplyCombo":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"description":"基础-供应商下拉列表","items":{"$ref":"#/definitions/SupplyCombo"},"type":"array"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-array_Unit":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"description":"单位列表","items":{"$ref":"#/definitions/Unit"},"type":"array"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-array_UnitCombo":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"description":"单位下拉列表","items":{"$ref":"#/definitions/UnitCombo"},"type":"array"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-array_UnitType":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"description":"单位类型列表","items":{"$ref":"#/definitions/UnitType"},"type":"array"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-array_UnitTypeCombo":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"description":"单位类型下拉列表","items":{"$ref":"#/definitions/UnitTypeCombo"},"type":"array"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-array_Warehouse":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"description":"仓库列表","items":{"$ref":"#/definitions/Warehouse"},"type":"array"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-array_WarehouseBin":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"description":"库位列表","items":{"$ref":"#/definitions/WarehouseBin"},"type":"array"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-array_WarehouseBinCombo":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"description":"库位下拉列表","items":{"$ref":"#/definitions/WarehouseBinCombo"},"type":"array"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-array_WarehouseCombo":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"description":"仓库下拉列表","items":{"$ref":"#/definitions/WarehouseCombo"},"type":"array"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-array_Wm":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"description":"基础-仓库列表","items":{"$ref":"#/definitions/Wm"},"type":"array"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-array_WmCell":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"description":"基础-库位列表","items":{"$ref":"#/definitions/WmCell"},"type":"array"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-array_WmCellCombo":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"description":"基础-库位下拉列表","items":{"$ref":"#/definitions/WmCellCombo"},"type":"array"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-array_WmCombo":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"description":"基础-仓库下拉列表","items":{"$ref":"#/definitions/WmCombo"},"type":"array"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-array_models_Api":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"description":"数据","items":{"$ref":"#/definitions/models.Api"},"type":"array"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-array_models_ApiRole":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"description":"数据","items":{"$ref":"#/definitions/models.ApiRole"},"type":"array"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-array_models_ApiUser":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"description":"数据","items":{"$ref":"#/definitions/models.ApiUser"},"type":"array"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-array_models_Ent":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"description":"数据","items":{"$ref":"#/definitions/models.Ent"},"type":"array"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-array_models_EntApply":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"description":"数据","items":{"$ref":"#/definitions/models.EntApply"},"type":"array"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-array_models_Field":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"description":"数据","items":{"$ref":"#/definitions/models.Field"},"type":"array"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-array_models_FieldInfo":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"description":"数据","items":{"$ref":"#/definitions/models.FieldInfo"},"type":"array"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-array_models_File":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"description":"数据","items":{"$ref":"#/definitions/models.File"},"type":"array"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-array_models_Module":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"description":"数据","items":{"$ref":"#/definitions/models.Module"},"type":"array"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-array_models_ModuleTree":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"description":"数据","items":{"$ref":"#/definitions/models.ModuleTree"},"type":"array"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-array_models_Role":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"description":"数据","items":{"$ref":"#/definitions/models.Role"},"type":"array"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-array_models_RoleTable":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"description":"数据","items":{"$ref":"#/definitions/models.RoleTable"},"type":"array"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-array_models_RoleTableSaveField":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"description":"数据","items":{"$ref":"#/definitions/models.RoleTableSaveField"},"type":"array"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-array_models_RoleTableSelectField":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"description":"数据","items":{"$ref":"#/definitions/models.RoleTableSelectField"},"type":"array"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-array_models_Table":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"description":"数据","items":{"$ref":"#/definitions/models.Table"},"type":"array"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-array_models_User":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"description":"数据","items":{"$ref":"#/definitions/models.User"},"type":"array"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-array_models_UserField":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"description":"数据","items":{"$ref":"#/definitions/models.UserField"},"type":"array"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-array_models_UserRole":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"description":"数据","items":{"$ref":"#/definitions/models.UserRole"},"type":"array"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-array_models_UserTable":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"description":"数据","items":{"$ref":"#/definitions/models.UserTable"},"type":"array"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-array_models_UserTableSaveField":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"description":"数据","items":{"$ref":"#/definitions/models.UserTableSaveField"},"type":"array"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-array_models_UserTableSelectField":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"description":"数据","items":{"$ref":"#/definitions/models.UserTableSelectField"},"type":"array"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-bool":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"description":"数据","type":"boolean"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-int":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"description":"数据","type":"integer"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-models_Api":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"$ref":"#/definitions/models.Api","description":"数据"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-models_ApiRole":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"$ref":"#/definitions/models.ApiRole","description":"数据"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-models_ApiUser":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"$ref":"#/definitions/models.ApiUser","description":"数据"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-models_Ent":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"$ref":"#/definitions/models.Ent","description":"数据"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-models_EntApply":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"$ref":"#/definitions/models.EntApply","description":"数据"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-models_Field":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"$ref":"#/definitions/models.Field","description":"数据"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-models_File":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"$ref":"#/definitions/models.File","description":"数据"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-models_Module":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"$ref":"#/definitions/models.Module","description":"数据"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-models_Role":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"$ref":"#/definitions/models.Role","description":"数据"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-models_RoleTable":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"$ref":"#/definitions/models.RoleTable","description":"数据"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-models_RoleTableSaveField":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"$ref":"#/definitions/models.RoleTableSaveField","description":"数据"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-models_RoleTableSelectField":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"$ref":"#/definitions/models.RoleTableSelectField","description":"数据"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-models_Table":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"$ref":"#/definitions/models.Table","description":"数据"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-models_User":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"$ref":"#/definitions/models.User","description":"数据"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-models_UserField":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"$ref":"#/definitions/models.UserField","description":"数据"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-models_UserRole":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"$ref":"#/definitions/models.UserRole","description":"数据"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-models_UserTable":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"$ref":"#/definitions/models.UserTable","description":"数据"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-models_UserTableSaveField":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"$ref":"#/definitions/models.UserTableSaveField","description":"数据"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.R-models_UserTableSelectField":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"$ref":"#/definitions/models.UserTableSelectField","description":"数据"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.Result":{"properties":{"code":{"description":"0:成功,其他:失败","type":"integer"},"conf":{"description":"配置"},"data":{"description":"数据"},"link":{"description":"关联数据","items":{"additionalProperties":true,"type":"object"},"type":"array"},"msg":{"description":"错误信息","type":"string"},"pass":{"description":"是否通过","type":"boolean"},"total":{"description":"总数","type":"integer"}},"type":"object"},"models.Role":{"properties":{"code":{"description":"编码","type":"string"},"created_at":{"description":"创建时间","type":"string"},"created_by":{"description":"创建人","type":"string"},"ent_id":{"description":"企业ID","type":"string"},"id":{"description":"主键ID","type":"string"},"name":{"description":"名称","type":"string"},"note":{"description":"描述","type":"string"},"updated_at":{"description":"更新时间","type":"string"},"updated_by":{"description":"修改人","type":"string"}},"required":["code","name"],"type":"object"},"models.RoleTable":{"properties":{"created_at":{"description":"创建时间","type":"string"},"created_by":{"description":"创建人","type":"string"},"delete":{"description":"允许删除","type":"boolean"},"ent_id":{"description":"企业ID","type":"string"},"id":{"description":"主键ID","type":"string"},"role_id":{"description":"角色ID","type":"string"},"save":{"description":"允许保存","type":"boolean"},"select":{"description":"允许查询","type":"boolean"},"table_id":{"description":"表ID","type":"string"},"updated_at":{"description":"更新时间","type":"string"},"updated_by":{"description":"修改人","type":"string"}},"required":["role_id","table_id"],"type":"object"},"models.RoleTableSaveField":{"properties":{"allow":{"description":"是否允许","type":"boolean"},"created_at":{"description":"创建时间","type":"string"},"created_by":{"description":"创建人","type":"string"},"ent_id":{"description":"企业ID","type":"string"},"field_id":{"description":"字段ID","type":"string"},"id":{"description":"主键ID","type":"string"},"role_table_id":{"description":"角色表ID","type":"string"},"updated_at":{"description":"更新时间","type":"string"},"updated_by":{"description":"修改人","type":"string"}},"required":["field_id","role_table_id"],"type":"object"},"models.RoleTableSelectField":{"properties":{"allow":{"description":"是否允许","type":"boolean"},"created_at":{"description":"创建时间","type":"string"},"created_by":{"description":"创建人","type":"string"},"ent_id":{"description":"企业ID","type":"string"},"field_id":{"description":"字段ID","type":"string"},"id":{"description":"主键ID","type":"string"},"role_table_id":{"description":"角色表ID","type":"string"},"updated_at":{"description":"更新时间","type":"string"},"updated_by":{"description":"修改人","type":"string"}},"required":["field_id","role_table_id"],"type":"object"},"models.Sort":{"properties":{"column":{"description":"列","type":"string"},"desc":{"description":"降序","type":"boolean"}},"type":"object"},"models.Table":{"properties":{"apis":{"description":"关联接口","items":{"$ref":"#/definitions/models.Api"},"type":"array"},"created_at":{"description":"创建时间","type":"string"},"created_by":{"description":"创建人","type":"string"},"field_enable":{"description":"默认开启或关闭所有字段权限","type":"boolean"},"id":{"description":"主键ID","type":"string"},"module_id":{"description":"模块ID","type":"string"},"name":{"description":"名称","type":"string"},"note":{"description":"描述","type":"string"},"updated_at":{"description":"更新时间","type":"string"},"updated_by":{"description":"修改人","type":"string"}},"required":["module_id","name","note"],"type":"object"},"models.Update":{"properties":{"change":{"additionalProperties":true,"description":"变更","type":"object"},"logic":{"$ref":"#/definitions/models.Logic","description":"逻辑"}},"type":"object"},"models.User":{"properties":{"birth":{"description":"生日","type":"string"},"created_at":{"description":"创建时间","type":"string"},"created_by":{"description":"创建人","type":"string"},"ding":{"description":"钉钉号","type":"string"},"email":{"description":"邮箱","type":"string"},"ent_id":{"description":"企业ID","type":"string"},"gender":{"description":"性别 0:未知 1:男 2:女","type":"integer"},"id":{"description":"主键ID","type":"string"},"mobile":{"description":"手机号","type":"string"},"name":{"description":"姓名","type":"string"},"note":{"description":"备注","type":"string"},"password":{"description":"密码","type":"string"},"qq":{"description":"QQ号","type":"string"},"session":{"description":"session","type":"string"},"token":{"description":"token","type":"string"},"updated_at":{"description":"更新时间","type":"string"},"updated_by":{"description":"修改人","type":"string"},"username":{"description":"用户名","type":"string"}},"required":["username"],"type":"object"},"models.UserField":{"properties":{"created_at":{"description":"创建时间","type":"string"},"created_by":{"description":"创建人","type":"string"},"ent_id":{"description":"企业ID","type":"string"},"field_alias":{"description":"字段别名","type":"string"},"field_id":{"description":"字段ID","type":"string"},"id":{"description":"主键ID","type":"string"},"show":{"description":"是否显示","type":"boolean"},"sort":{"description":"排序","type":"integer"},"updated_at":{"description":"更新时间","type":"string"},"updated_by":{"description":"修改人","type":"string"},"user_id":{"description":"用户ID","type":"string"}},"required":["field_id","user_id"],"type":"object"},"models.UserRole":{"properties":{"created_at":{"description":"创建时间","type":"string"},"created_by":{"description":"创建人","type":"string"},"ent_id":{"description":"企业ID","type":"string"},"role_id":{"description":"角色ID","type":"string"},"user_id":{"description":"用户ID","type":"string"}},"required":["role_id","user_id"],"type":"object"},"models.UserTable":{"properties":{"created_at":{"description":"创建时间","type":"string"},"created_by":{"description":"创建人","type":"string"},"delete":{"description":"允许删除","type":"boolean"},"ent_id":{"description":"企业ID","type":"string"},"id":{"description":"主键ID","type":"string"},"save":{"description":"允许保存","type":"boolean"},"select":{"description":"允许查询","type":"boolean"},"table_id":{"description":"表ID","type":"string"},"updated_at":{"description":"更新时间","type":"string"},"updated_by":{"description":"修改人","type":"string"},"user_id":{"description":"用户ID","type":"string"}},"required":["table_id","user_id"],"type":"object"},"models.UserTableSaveField":{"properties":{"allow":{"description":"是否允许","type":"boolean"},"created_at":{"description":"创建时间","type":"string"},"created_by":{"description":"创建人","type":"string"},"ent_id":{"description":"企业ID","type":"string"},"field_id":{"description":"字段ID","type":"string"},"id":{"description":"主键ID","type":"string"},"updated_at":{"description":"更新时间","type":"string"},"updated_by":{"description":"修改人","type":"string"},"user_table_id":{"description":"用户表ID","type":"string"}},"required":["field_id","user_table_id"],"type":"object"},"models.UserTableSelectField":{"properties":{"allow":{"description":"是否允许","type":"boolean"},"created_at":{"description":"创建时间","type":"string"},"created_by":{"description":"创建人","type":"string"},"ent_id":{"description":"企业ID","type":"string"},"field_id":{"description":"字段ID","type":"string"},"id":{"description":"主键ID","type":"string"},"updated_at":{"description":"更新时间","type":"string"},"updated_by":{"description":"修改人","type":"string"},"user_table_id":{"description":"用户表ID","type":"string"}},"required":["field_id","user_table_id"],"type":"object"}},"host":"127.0.0.1:8848","info":{"contact":{"email":"745630550@qq.com","name":"sin3degrees"},"description":"API文档","title":"API文档","version":"1.0"},"paths":{"/api/all":{"get":{"consumes":["application/json"],"description":"获取所有接口","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_Api"}}},"summary":"获取所有接口","tags":["接口"]}},"/api/batch":{"delete":{"consumes":["application/x-www-form-urlencoded"],"description":"根据ID批量删除接口","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"接口ID","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据ID批量删除接口","tags":["接口"]},"get":{"consumes":["application/x-www-form-urlencoded"],"description":"根据ID批量获取接口","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"接口ID","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_Api"}}},"summary":"根据ID批量获取接口","tags":["接口"]}},"/api/count":{"get":{"consumes":["application/x-www-form-urlencoded"],"description":"获取接口数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"搜索","in":"query","name":"search","type":"string"},{"description":"表ID","format":"uuid","in":"query","name":"table_id","type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-int"}}},"summary":"获取接口数量","tags":["接口"]},"post":{"consumes":["application/json"],"description":"根据条件获取接口数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-int"}}},"summary":"根据条件获取接口数量","tags":["接口"]}},"/api/create":{"post":{"consumes":["application/json"],"description":"创建接口","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"接口","in":"body","name":"api","required":true,"schema":{"$ref":"#/definitions/models.Api"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-models_Api"}}},"summary":"创建接口","tags":["接口"]}},"/api/delete":{"post":{"consumes":["application/json"],"description":"根据条件删除接口","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"删除条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件删除接口","tags":["接口"]}},"/api/list":{"get":{"consumes":["application/x-www-form-urlencoded"],"description":"接口列表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"页码","in":"query","name":"page","type":"integer"},{"description":"每页条数","in":"query","name":"limit","type":"integer"},{"description":"搜索","in":"query","name":"search","type":"string"},{"description":"表ID","format":"uuid","in":"query","name":"table_id","type":"string"},{"description":"排序","in":"query","name":"order_by","type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_Api"}}},"summary":"接口列表","tags":["接口"]},"post":{"consumes":["application/json"],"description":"根据条件获取接口列表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"filter","required":true,"schema":{"$ref":"#/definitions/models.Filter"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_Api"}}},"summary":"根据条件获取接口列表","tags":["接口"]}},"/api/list/set/role/{role_id}":{"get":{"consumes":["application/json"],"description":"获取角色接口设置列表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"角色ID","format":"uuid","in":"path","name":"role_id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_Api"}}},"summary":"获取角色接口设置列表","tags":["接口"]}},"/api/list/set/user/{user_id}":{"get":{"consumes":["application/json"],"description":"获取用户接口设置列表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"用户ID","format":"uuid","in":"path","name":"user_id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_Api"}}},"summary":"获取用户接口设置列表","tags":["接口"]}},"/api/list/user/{user_id}":{"get":{"consumes":["application/json"],"description":"获取用户接口列表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"用户ID","format":"uuid","in":"path","name":"user_id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_Api"}}},"summary":"获取用户接口列表","tags":["接口"]}},"/api/model":{"get":{"consumes":["application/json"],"description":"接口模型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_FieldInfo"}}},"summary":"接口模型","tags":["接口"]}},"/api/save":{"put":{"consumes":["application/json"],"description":"保存接口","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"接口","in":"body","name":"api","required":true,"schema":{"$ref":"#/definitions/models.Api"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-models_Api"}}},"summary":"保存接口","tags":["接口"]}},"/api/tree/role/{role_id}":{"get":{"consumes":["application/json"],"description":"获取角色接口树","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"角色ID","format":"uuid","in":"path","name":"role_id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_ModuleTree"}}},"summary":"获取角色接口树","tags":["接口"]}},"/api/tree/user/{user_id}":{"get":{"consumes":["application/json"],"description":"获取用户接口树","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"用户ID","format":"uuid","in":"path","name":"user_id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_ModuleTree"}}},"summary":"获取用户接口树","tags":["接口"]}},"/api/update":{"put":{"consumes":["application/json"],"description":"根据条件更新接口","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"更新条件","in":"body","name":"update","required":true,"schema":{"$ref":"#/definitions/models.Update"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件更新接口","tags":["接口"]}},"/api/{id}":{"delete":{"consumes":["application/json"],"description":"根据ID删除接口","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"接口ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据ID删除接口","tags":["接口"]},"get":{"consumes":["application/json"],"description":"根据ID获取接口","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"接口ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-models_Api"}}},"summary":"根据ID获取接口","tags":["接口"]}},"/api_role/all":{"get":{"consumes":["application/json"],"description":"获取所有接口角色","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_ApiRole"}}},"summary":"获取所有接口角色","tags":["接口角色"]}},"/api_role/apis/role/{role_id}":{"get":{"consumes":["application/json"],"description":"根据角色获取接口","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"角色ID","in":"path","name":"role_id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_Api"}}},"summary":"根据角色获取接口","tags":["接口角色"]}},"/api_role/create":{"post":{"consumes":["application/json"],"description":"创建接口角色","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"接口角色","in":"body","name":"apiRole","required":true,"schema":{"$ref":"#/definitions/models.ApiRole"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-models_ApiRole"}}},"summary":"创建接口角色","tags":["接口角色"]}},"/api_role/delete":{"post":{"consumes":["application/json"],"description":"根据条件删除接口角色","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"删除条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件删除接口角色","tags":["接口角色"]}},"/api_role/delete/api/{api_id}":{"delete":{"consumes":["application/json"],"description":"根据接口删除接口角色","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"接口ID","in":"path","name":"api_id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据接口删除接口角色","tags":["接口角色"]}},"/api_role/delete/role/{role_id}":{"delete":{"consumes":["application/json"],"description":"根据角色删除接口角色","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"角色ID","in":"path","name":"role_id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据角色删除接口角色","tags":["接口角色"]}},"/api_role/model":{"get":{"consumes":["application/json"],"description":"接口角色模型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_FieldInfo"}}},"summary":"接口角色模型","tags":["接口角色"]}},"/api_role/roles/api/{api_id}":{"get":{"consumes":["application/json"],"description":"根据接口获取角色","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"接口ID","in":"path","name":"api_id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_Role"}}},"summary":"根据接口获取角色","tags":["接口角色"]}},"/api_user/create":{"post":{"consumes":["application/json"],"description":"创建接口用户","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"接口用户","in":"body","name":"apiUser","required":true,"schema":{"$ref":"#/definitions/models.ApiUser"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-models_ApiUser"}}},"summary":"创建接口用户","tags":["接口用户"]}},"/api_user/delete":{"post":{"consumes":["application/json"],"description":"根据条件删除接口用户","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"删除条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件删除接口用户","tags":["接口用户"]}},"/api_user/delete/api/{api_id}":{"delete":{"consumes":["application/json"],"description":"根据接口删除接口用户","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"接口ID","in":"path","name":"api_id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据接口删除接口用户","tags":["接口用户"]}},"/api_user/delete/user/{user_id}":{"delete":{"consumes":["application/json"],"description":"根据用户删除接口用户","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"用户ID","in":"path","name":"user_id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据用户删除接口用户","tags":["接口用户"]}},"/api_user/get/all":{"get":{"consumes":["application/json"],"description":"获取所有接口用户","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_ApiUser"}}},"summary":"获取所有接口用户","tags":["接口用户"]}},"/api_user/get/apis/{user_id}":{"get":{"consumes":["application/json"],"description":"根据用户获取接口","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"用户ID","in":"path","name":"user_id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_Api"}}},"summary":"根据用户获取接口","tags":["接口用户"]}},"/api_user/get/users/{api_id}":{"get":{"consumes":["application/json"],"description":"根据接口获取用户","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"接口ID","in":"path","name":"api_id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_User"}}},"summary":"根据接口获取用户","tags":["接口用户"]}},"/api_user/model":{"get":{"consumes":["application/json"],"description":"接口用户模型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_FieldInfo"}}},"summary":"接口用户模型","tags":["接口用户"]}},"/base/{table}/all":{"get":{"consumes":["application/json"],"description":"获取所有","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"表名","in":"path","name":"table","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.Result"}}},"summary":"获取所有","tags":["通用"]}},"/base/{table}/batch":{"delete":{"consumes":["application/x-www-form-urlencoded"],"description":"根据ID批量删除","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"表名","in":"path","name":"table","required":true,"type":"string"},{"collectionFormat":"multi","description":"ID数组","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据ID批量删除","tags":["通用"]},"get":{"consumes":["application/x-www-form-urlencoded"],"description":"根据ID批量获取","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"表名","in":"path","name":"table","required":true,"type":"string"},{"collectionFormat":"multi","description":"ID数组","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.Result"}}},"summary":"根据ID批量获取","tags":["通用"]}},"/base/{table}/count":{"post":{"consumes":["application/json"],"description":"根据条件统计","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"表名","in":"path","name":"table","required":true,"type":"string"},{"description":"逻辑条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-int"}}},"summary":"根据条件统计","tags":["通用"]}},"/base/{table}/create":{"post":{"consumes":["application/json"],"description":"创建","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"表名","in":"path","name":"table","required":true,"type":"string"},{"description":"数据","in":"body","name":"data","required":true,"schema":{"type":"object"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.Result"}}},"summary":"创建","tags":["通用"]}},"/base/{table}/delete":{"post":{"consumes":["application/json"],"description":"根据条件删除","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"表名","in":"path","name":"table","required":true,"type":"string"},{"description":"逻辑条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件删除","tags":["通用"]}},"/base/{table}/list":{"post":{"consumes":["application/json"],"description":"根据条件获取","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"表名","in":"path","name":"table","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"filter","required":true,"schema":{"$ref":"#/definitions/models.Filter"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.Result"}}},"summary":"根据条件获取","tags":["通用"]}},"/base/{table}/model":{"get":{"consumes":["application/json"],"description":"模型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"表名","in":"path","name":"table","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.Result"}}},"summary":"模型","tags":["通用"]}},"/base/{table}/save":{"put":{"consumes":["application/json"],"description":"保存","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"表名","in":"path","name":"table","required":true,"type":"string"},{"description":"数据","in":"body","name":"data","required":true,"schema":{"type":"object"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.Result"}}},"summary":"保存","tags":["通用"]}},"/base/{table}/update":{"put":{"consumes":["application/json"],"description":"根据条件更新","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"表名","in":"path","name":"table","required":true,"type":"string"},{"description":"更新条件","in":"body","name":"update","required":true,"schema":{"$ref":"#/definitions/models.Update"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件更新","tags":["通用"]}},"/base/{table}/{id}":{"delete":{"consumes":["application/json"],"description":"删除","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"表名","in":"path","name":"table","required":true,"type":"string"},{"description":"ID","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"删除","tags":["通用"]},"get":{"consumes":["application/json"],"description":"根据ID获取","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"表名","in":"path","name":"table","required":true,"type":"string"},{"description":"ID","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.Result"}}},"summary":"根据ID获取","tags":["通用"]}},"/busy/all":{"get":{"consumes":["application/json"],"description":"获取所有业务","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_Busy"}}},"summary":"获取所有业务","tags":["业务"]}},"/busy/batch":{"delete":{"consumes":["x-www-form-urlencoded"],"description":"根据ID批量删除业务","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"id列表","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据ID批量删除业务","tags":["业务"]},"get":{"consumes":["x-www-form-urlencoded"],"description":"根据ID批量获取业务","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"id列表","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_Busy"}}},"summary":"根据ID批量获取业务","tags":["业务"]}},"/busy/by":{"delete":{"consumes":["application/json"],"description":"根据ID删除业务","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据ID删除业务","tags":["业务"]},"get":{"consumes":["application/json"],"description":"根据ID获取业务","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-Busy"}}},"summary":"根据ID获取业务","tags":["业务"]}},"/busy/combo":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取业务下拉列表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"搜索关键字","in":"query","name":"search","required":false,"type":"string"},{"description":"类型","in":"query","name":"type","required":false,"type":"string"},{"description":"备注","in":"query","name":"note","required":false,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_BusyCombo"}}},"summary":"获取业务下拉列表","tags":["业务"]}},"/busy/count":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取业务数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"搜索关键字","in":"query","name":"search","required":false,"type":"string"},{"description":"类型","in":"query","name":"type","required":false,"type":"string"},{"description":"备注","in":"query","name":"note","required":false,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"type":"integer"}}},"summary":"获取业务数量","tags":["业务"]},"post":{"consumes":["application/json"],"description":"根据条件查询业务数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"type":"integer"}}},"summary":"根据条件查询业务数量","tags":["业务"]}},"/busy/create":{"post":{"consumes":["application/json"],"description":"新增业务","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"业务","in":"body","name":"busy","required":true,"schema":{"$ref":"#/definitions/Busy"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-Busy"}}},"summary":"新增业务","tags":["业务"]}},"/busy/delete":{"post":{"consumes":["application/json"],"description":"根据条件删除业务","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"删除条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件删除业务","tags":["业务"]}},"/busy/list":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取业务列表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"备注","in":"query","name":"note","required":false,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"},{"description":"搜索关键字","in":"query","name":"search","required":false,"type":"string"},{"description":"类型","in":"query","name":"type","required":false,"type":"string"},{"description":"页码","in":"query","name":"page","required":false,"type":"integer"},{"description":"每页数量","in":"query","name":"limit","required":false,"type":"integer"},{"description":"排序","in":"query","name":"order_by","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_Busy"}}},"summary":"获取业务列表","tags":["业务"]},"post":{"consumes":["application/json"],"description":"根据条件查询业务","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"filter","required":true,"schema":{"$ref":"#/definitions/models.Filter"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_Busy"}}},"summary":"根据条件查询业务","tags":["业务"]}},"/busy/model":{"get":{"consumes":["application/json"],"description":"业务模型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_FieldInfo"}}},"summary":"业务模型","tags":["业务"]}},"/busy/save":{"put":{"consumes":["application/json"],"description":"保存业务","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"业务","in":"body","name":"busy","required":true,"schema":{"$ref":"#/definitions/Busy"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-Busy"}}},"summary":"保存业务","tags":["业务"]}},"/busy/update":{"put":{"consumes":["application/json"],"description":"根据条件更新业务","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"更新条件","in":"body","name":"update","required":true,"schema":{"$ref":"#/definitions/models.Update"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件更新业务","tags":["业务"]}},"/busy_check_flow/all":{"get":{"consumes":["application/json"],"description":"获取所有业务-审核流","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_BusyCheckFlow"}}},"summary":"获取所有业务-审核流","tags":["业务-审核流"]}},"/busy_check_flow/batch":{"delete":{"consumes":["x-www-form-urlencoded"],"description":"根据ID批量删除业务-审核流","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"id列表","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据ID批量删除业务-审核流","tags":["业务-审核流"]},"get":{"consumes":["x-www-form-urlencoded"],"description":"根据ID批量获取业务-审核流","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"id列表","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_BusyCheckFlow"}}},"summary":"根据ID批量获取业务-审核流","tags":["业务-审核流"]}},"/busy_check_flow/by":{"delete":{"consumes":["application/json"],"description":"根据ID删除业务-审核流","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据ID删除业务-审核流","tags":["业务-审核流"]},"get":{"consumes":["application/json"],"description":"根据ID获取业务-审核流","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-BusyCheckFlow"}}},"summary":"根据ID获取业务-审核流","tags":["业务-审核流"]}},"/busy_check_flow/combo":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取业务-审核流下拉列表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"搜索关键字","in":"query","name":"search","required":false,"type":"string"},{"description":"人员组","in":"query","name":"group","required":false,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_BusyCheckFlowCombo"}}},"summary":"获取业务-审核流下拉列表","tags":["业务-审核流"]}},"/busy_check_flow/count":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取业务-审核流数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"搜索关键字","in":"query","name":"search","required":false,"type":"string"},{"description":"人员组","in":"query","name":"group","required":false,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"type":"integer"}}},"summary":"获取业务-审核流数量","tags":["业务-审核流"]},"post":{"consumes":["application/json"],"description":"根据条件查询业务-审核流数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"type":"integer"}}},"summary":"根据条件查询业务-审核流数量","tags":["业务-审核流"]}},"/busy_check_flow/create":{"post":{"consumes":["application/json"],"description":"新增业务-审核流","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"业务-审核流","in":"body","name":"busy_check_flow","required":true,"schema":{"$ref":"#/definitions/BusyCheckFlow"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-BusyCheckFlow"}}},"summary":"新增业务-审核流","tags":["业务-审核流"]}},"/busy_check_flow/delete":{"post":{"consumes":["application/json"],"description":"根据条件删除业务-审核流","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"删除条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件删除业务-审核流","tags":["业务-审核流"]}},"/busy_check_flow/list":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取业务-审核流列表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"搜索关键字","in":"query","name":"search","required":false,"type":"string"},{"description":"人员组","in":"query","name":"group","required":false,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"},{"description":"页码","in":"query","name":"page","required":false,"type":"integer"},{"description":"每页数量","in":"query","name":"limit","required":false,"type":"integer"},{"description":"排序","in":"query","name":"order_by","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_BusyCheckFlow"}}},"summary":"获取业务-审核流列表","tags":["业务-审核流"]},"post":{"consumes":["application/json"],"description":"根据条件查询业务-审核流","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"filter","required":true,"schema":{"$ref":"#/definitions/models.Filter"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_BusyCheckFlow"}}},"summary":"根据条件查询业务-审核流","tags":["业务-审核流"]}},"/busy_check_flow/model":{"get":{"consumes":["application/json"],"description":"业务-审核流模型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_FieldInfo"}}},"summary":"业务-审核流模型","tags":["业务-审核流"]}},"/busy_check_flow/save":{"put":{"consumes":["application/json"],"description":"保存业务-审核流","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"业务-审核流","in":"body","name":"busy_check_flow","required":true,"schema":{"$ref":"#/definitions/BusyCheckFlow"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-BusyCheckFlow"}}},"summary":"保存业务-审核流","tags":["业务-审核流"]}},"/busy_check_flow/update":{"put":{"consumes":["application/json"],"description":"根据条件更新业务-审核流","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"更新条件","in":"body","name":"update","required":true,"schema":{"$ref":"#/definitions/models.Update"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件更新业务-审核流","tags":["业务-审核流"]}},"/busy_check_group/all":{"get":{"consumes":["application/json"],"description":"获取所有业务-审核组","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_BusyCheckGroup"}}},"summary":"获取所有业务-审核组","tags":["业务-审核组"]}},"/busy_check_group/batch":{"delete":{"consumes":["x-www-form-urlencoded"],"description":"根据ID批量删除业务-审核组","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"id列表","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据ID批量删除业务-审核组","tags":["业务-审核组"]},"get":{"consumes":["x-www-form-urlencoded"],"description":"根据ID批量获取业务-审核组","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"id列表","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_BusyCheckGroup"}}},"summary":"根据ID批量获取业务-审核组","tags":["业务-审核组"]}},"/busy_check_group/by":{"delete":{"consumes":["application/json"],"description":"根据ID删除业务-审核组","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据ID删除业务-审核组","tags":["业务-审核组"]},"get":{"consumes":["application/json"],"description":"根据ID获取业务-审核组","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-BusyCheckGroup"}}},"summary":"根据ID获取业务-审核组","tags":["业务-审核组"]}},"/busy_check_group/combo":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取业务-审核组下拉列表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"搜索关键字","in":"query","name":"search","required":false,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_BusyCheckGroupCombo"}}},"summary":"获取业务-审核组下拉列表","tags":["业务-审核组"]}},"/busy_check_group/count":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取业务-审核组数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"搜索关键字","in":"query","name":"search","required":false,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"type":"integer"}}},"summary":"获取业务-审核组数量","tags":["业务-审核组"]},"post":{"consumes":["application/json"],"description":"根据条件查询业务-审核组数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"type":"integer"}}},"summary":"根据条件查询业务-审核组数量","tags":["业务-审核组"]}},"/busy_check_group/create":{"post":{"consumes":["application/json"],"description":"新增业务-审核组","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"业务-审核组","in":"body","name":"busy_check_group","required":true,"schema":{"$ref":"#/definitions/BusyCheckGroup"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-BusyCheckGroup"}}},"summary":"新增业务-审核组","tags":["业务-审核组"]}},"/busy_check_group/delete":{"post":{"consumes":["application/json"],"description":"根据条件删除业务-审核组","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"删除条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件删除业务-审核组","tags":["业务-审核组"]}},"/busy_check_group/list":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取业务-审核组列表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"},{"description":"搜索关键字","in":"query","name":"search","required":false,"type":"string"},{"description":"页码","in":"query","name":"page","required":false,"type":"integer"},{"description":"每页数量","in":"query","name":"limit","required":false,"type":"integer"},{"description":"排序","in":"query","name":"order_by","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_BusyCheckGroup"}}},"summary":"获取业务-审核组列表","tags":["业务-审核组"]},"post":{"consumes":["application/json"],"description":"根据条件查询业务-审核组","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"filter","required":true,"schema":{"$ref":"#/definitions/models.Filter"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_BusyCheckGroup"}}},"summary":"根据条件查询业务-审核组","tags":["业务-审核组"]}},"/busy_check_group/model":{"get":{"consumes":["application/json"],"description":"业务-审核组模型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_FieldInfo"}}},"summary":"业务-审核组模型","tags":["业务-审核组"]}},"/busy_check_group/save":{"put":{"consumes":["application/json"],"description":"保存业务-审核组","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"业务-审核组","in":"body","name":"busy_check_group","required":true,"schema":{"$ref":"#/definitions/BusyCheckGroup"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-BusyCheckGroup"}}},"summary":"保存业务-审核组","tags":["业务-审核组"]}},"/busy_check_group/update":{"put":{"consumes":["application/json"],"description":"根据条件更新业务-审核组","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"更新条件","in":"body","name":"update","required":true,"schema":{"$ref":"#/definitions/models.Update"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件更新业务-审核组","tags":["业务-审核组"]}},"/busy_check_group_dtl/all":{"get":{"consumes":["application/json"],"description":"获取所有业务-审核组明细","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_BusyCheckGroupDtl"}}},"summary":"获取所有业务-审核组明细","tags":["业务-审核组明细"]}},"/busy_check_group_dtl/batch":{"delete":{"consumes":["x-www-form-urlencoded"],"description":"根据ID批量删除业务-审核组明细","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"id列表","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据ID批量删除业务-审核组明细","tags":["业务-审核组明细"]},"get":{"consumes":["x-www-form-urlencoded"],"description":"根据ID批量获取业务-审核组明细","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"id列表","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_BusyCheckGroupDtl"}}},"summary":"根据ID批量获取业务-审核组明细","tags":["业务-审核组明细"]}},"/busy_check_group_dtl/by":{"delete":{"consumes":["application/json"],"description":"根据ID删除业务-审核组明细","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据ID删除业务-审核组明细","tags":["业务-审核组明细"]},"get":{"consumes":["application/json"],"description":"根据ID获取业务-审核组明细","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-BusyCheckGroupDtl"}}},"summary":"根据ID获取业务-审核组明细","tags":["业务-审核组明细"]}},"/busy_check_group_dtl/count":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取业务-审核组明细数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"审核组","in":"query","name":"group","required":false,"type":"string"},{"description":"人员","in":"query","name":"staff","required":false,"type":"string"},{"description":"是否或签","in":"query","name":"is_or","required":false,"type":"boolean"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"type":"integer"}}},"summary":"获取业务-审核组明细数量","tags":["业务-审核组明细"]},"post":{"consumes":["application/json"],"description":"根据条件查询业务-审核组明细数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"type":"integer"}}},"summary":"根据条件查询业务-审核组明细数量","tags":["业务-审核组明细"]}},"/busy_check_group_dtl/create":{"post":{"consumes":["application/json"],"description":"新增业务-审核组明细","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"业务-审核组明细","in":"body","name":"busy_check_group_dtl","required":true,"schema":{"$ref":"#/definitions/BusyCheckGroupDtl"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-BusyCheckGroupDtl"}}},"summary":"新增业务-审核组明细","tags":["业务-审核组明细"]}},"/busy_check_group_dtl/delete":{"post":{"consumes":["application/json"],"description":"根据条件删除业务-审核组明细","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"删除条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件删除业务-审核组明细","tags":["业务-审核组明细"]}},"/busy_check_group_dtl/list":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取业务-审核组明细列表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"审核组","in":"query","name":"group","required":false,"type":"string"},{"description":"人员","in":"query","name":"staff","required":false,"type":"string"},{"description":"是否或签","in":"query","name":"is_or","required":false,"type":"boolean"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"},{"description":"页码","in":"query","name":"page","required":false,"type":"integer"},{"description":"每页数量","in":"query","name":"limit","required":false,"type":"integer"},{"description":"排序","in":"query","name":"order_by","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_BusyCheckGroupDtl"}}},"summary":"获取业务-审核组明细列表","tags":["业务-审核组明细"]},"post":{"consumes":["application/json"],"description":"根据条件查询业务-审核组明细","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"filter","required":true,"schema":{"$ref":"#/definitions/models.Filter"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_BusyCheckGroupDtl"}}},"summary":"根据条件查询业务-审核组明细","tags":["业务-审核组明细"]}},"/busy_check_group_dtl/model":{"get":{"consumes":["application/json"],"description":"业务-审核组明细模型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_FieldInfo"}}},"summary":"业务-审核组明细模型","tags":["业务-审核组明细"]}},"/busy_check_group_dtl/save":{"put":{"consumes":["application/json"],"description":"保存业务-审核组明细","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"业务-审核组明细","in":"body","name":"busy_check_group_dtl","required":true,"schema":{"$ref":"#/definitions/BusyCheckGroupDtl"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-BusyCheckGroupDtl"}}},"summary":"保存业务-审核组明细","tags":["业务-审核组明细"]}},"/busy_check_group_dtl/update":{"put":{"consumes":["application/json"],"description":"根据条件更新业务-审核组明细","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"更新条件","in":"body","name":"update","required":true,"schema":{"$ref":"#/definitions/models.Update"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件更新业务-审核组明细","tags":["业务-审核组明细"]}},"/busy_table/all":{"get":{"consumes":["application/json"],"description":"获取所有业务-表关联","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_BusyTable"}}},"summary":"获取所有业务-表关联","tags":["业务-表关联"]}},"/busy_table/batch":{"delete":{"consumes":["x-www-form-urlencoded"],"description":"根据ID批量删除业务-表关联","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"id列表","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据ID批量删除业务-表关联","tags":["业务-表关联"]},"get":{"consumes":["x-www-form-urlencoded"],"description":"根据ID批量获取业务-表关联","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"id列表","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_BusyTable"}}},"summary":"根据ID批量获取业务-表关联","tags":["业务-表关联"]}},"/busy_table/by":{"delete":{"consumes":["application/json"],"description":"根据ID删除业务-表关联","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据ID删除业务-表关联","tags":["业务-表关联"]},"get":{"consumes":["application/json"],"description":"根据ID获取业务-表关联","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-BusyTable"}}},"summary":"根据ID获取业务-表关联","tags":["业务-表关联"]}},"/busy_table/count":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取业务-表关联数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"表","in":"query","name":"table","required":false,"type":"string"},{"description":"业务","in":"query","name":"busy","required":false,"type":"string"},{"description":"备注","in":"query","name":"note","required":false,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"type":"integer"}}},"summary":"获取业务-表关联数量","tags":["业务-表关联"]},"post":{"consumes":["application/json"],"description":"根据条件查询业务-表关联数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"type":"integer"}}},"summary":"根据条件查询业务-表关联数量","tags":["业务-表关联"]}},"/busy_table/create":{"post":{"consumes":["application/json"],"description":"新增业务-表关联","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"业务-表关联","in":"body","name":"busy_table","required":true,"schema":{"$ref":"#/definitions/BusyTable"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-BusyTable"}}},"summary":"新增业务-表关联","tags":["业务-表关联"]}},"/busy_table/delete":{"post":{"consumes":["application/json"],"description":"根据条件删除业务-表关联","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"删除条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件删除业务-表关联","tags":["业务-表关联"]}},"/busy_table/list":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取业务-表关联列表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"表","in":"query","name":"table","required":false,"type":"string"},{"description":"业务","in":"query","name":"busy","required":false,"type":"string"},{"description":"备注","in":"query","name":"note","required":false,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"},{"description":"页码","in":"query","name":"page","required":false,"type":"integer"},{"description":"每页数量","in":"query","name":"limit","required":false,"type":"integer"},{"description":"排序","in":"query","name":"order_by","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_BusyTable"}}},"summary":"获取业务-表关联列表","tags":["业务-表关联"]},"post":{"consumes":["application/json"],"description":"根据条件查询业务-表关联","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"filter","required":true,"schema":{"$ref":"#/definitions/models.Filter"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_BusyTable"}}},"summary":"根据条件查询业务-表关联","tags":["业务-表关联"]}},"/busy_table/model":{"get":{"consumes":["application/json"],"description":"业务-表关联模型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_FieldInfo"}}},"summary":"业务-表关联模型","tags":["业务-表关联"]}},"/busy_table/save":{"put":{"consumes":["application/json"],"description":"保存业务-表关联","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"业务-表关联","in":"body","name":"busy_table","required":true,"schema":{"$ref":"#/definitions/BusyTable"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-BusyTable"}}},"summary":"保存业务-表关联","tags":["业务-表关联"]}},"/busy_table/update":{"put":{"consumes":["application/json"],"description":"根据条件更新业务-表关联","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"更新条件","in":"body","name":"update","required":true,"schema":{"$ref":"#/definitions/models.Update"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件更新业务-表关联","tags":["业务-表关联"]}},"/customer/all":{"get":{"consumes":["application/json"],"description":"获取所有客户","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_Customer"}}},"summary":"获取所有客户","tags":["客户"]}},"/customer/batch":{"delete":{"consumes":["x-www-form-urlencoded"],"description":"根据ID批量删除客户","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"id列表","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据ID批量删除客户","tags":["客户"]},"get":{"consumes":["x-www-form-urlencoded"],"description":"根据ID批量获取客户","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"id列表","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_Customer"}}},"summary":"根据ID批量获取客户","tags":["客户"]}},"/customer/by":{"delete":{"consumes":["application/json"],"description":"根据ID删除客户","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据ID删除客户","tags":["客户"]},"get":{"consumes":["application/json"],"description":"根据ID获取客户","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-Customer"}}},"summary":"根据ID获取客户","tags":["客户"]}},"/customer/combo":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取客户下拉列表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"搜索关键字","in":"query","name":"search","required":false,"type":"string"},{"description":"类型","in":"query","name":"type","required":false,"type":"string"},{"description":"邮箱","in":"query","name":"email","required":false,"type":"string"},{"description":"地址","in":"query","name":"address","required":false,"type":"string"},{"description":"网址","in":"query","name":"web","required":false,"type":"string"},{"description":"联系电话","in":"query","name":"phone","required":false,"type":"string"},{"description":"税号","in":"query","name":"tax_code","required":false,"type":"string"},{"description":"银行","in":"query","name":"bank","required":false,"type":"string"},{"description":"银行账号","in":"query","name":"bank_account","required":false,"type":"string"},{"description":"备注","in":"query","name":"note","required":false,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_CustomerCombo"}}},"summary":"获取客户下拉列表","tags":["客户"]}},"/customer/count":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取客户数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"搜索关键字","in":"query","name":"search","required":false,"type":"string"},{"description":"类型","in":"query","name":"type","required":false,"type":"string"},{"description":"邮箱","in":"query","name":"email","required":false,"type":"string"},{"description":"地址","in":"query","name":"address","required":false,"type":"string"},{"description":"网址","in":"query","name":"web","required":false,"type":"string"},{"description":"联系电话","in":"query","name":"phone","required":false,"type":"string"},{"description":"税号","in":"query","name":"tax_code","required":false,"type":"string"},{"description":"银行","in":"query","name":"bank","required":false,"type":"string"},{"description":"银行账号","in":"query","name":"bank_account","required":false,"type":"string"},{"description":"备注","in":"query","name":"note","required":false,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"type":"integer"}}},"summary":"获取客户数量","tags":["客户"]},"post":{"consumes":["application/json"],"description":"根据条件查询客户数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"type":"integer"}}},"summary":"根据条件查询客户数量","tags":["客户"]}},"/customer/create":{"post":{"consumes":["application/json"],"description":"新增客户","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"客户","in":"body","name":"customer","required":true,"schema":{"$ref":"#/definitions/Customer"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-Customer"}}},"summary":"新增客户","tags":["客户"]}},"/customer/delete":{"post":{"consumes":["application/json"],"description":"根据条件删除客户","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"删除条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件删除客户","tags":["客户"]}},"/customer/list":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取客户列表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"搜索关键字","in":"query","name":"search","required":false,"type":"string"},{"description":"类型","in":"query","name":"type","required":false,"type":"string"},{"description":"邮箱","in":"query","name":"email","required":false,"type":"string"},{"description":"地址","in":"query","name":"address","required":false,"type":"string"},{"description":"网址","in":"query","name":"web","required":false,"type":"string"},{"description":"联系电话","in":"query","name":"phone","required":false,"type":"string"},{"description":"税号","in":"query","name":"tax_code","required":false,"type":"string"},{"description":"银行","in":"query","name":"bank","required":false,"type":"string"},{"description":"银行账号","in":"query","name":"bank_account","required":false,"type":"string"},{"description":"备注","in":"query","name":"note","required":false,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"},{"description":"页码","in":"query","name":"page","required":false,"type":"integer"},{"description":"每页数量","in":"query","name":"limit","required":false,"type":"integer"},{"description":"排序","in":"query","name":"order_by","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_Customer"}}},"summary":"获取客户列表","tags":["客户"]},"post":{"consumes":["application/json"],"description":"根据条件查询客户","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"filter","required":true,"schema":{"$ref":"#/definitions/models.Filter"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_Customer"}}},"summary":"根据条件查询客户","tags":["客户"]}},"/customer/model":{"get":{"consumes":["application/json"],"description":"客户模型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_FieldInfo"}}},"summary":"客户模型","tags":["客户"]}},"/customer/save":{"put":{"consumes":["application/json"],"description":"保存客户","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"客户","in":"body","name":"customer","required":true,"schema":{"$ref":"#/definitions/Customer"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-Customer"}}},"summary":"保存客户","tags":["客户"]}},"/customer/update":{"put":{"consumes":["application/json"],"description":"根据条件更新客户","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"更新条件","in":"body","name":"update","required":true,"schema":{"$ref":"#/definitions/models.Update"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件更新客户","tags":["客户"]}},"/customer_type/all":{"get":{"consumes":["application/json"],"description":"获取所有客户类型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_CustomerType"}}},"summary":"获取所有客户类型","tags":["客户类型"]}},"/customer_type/batch":{"delete":{"consumes":["x-www-form-urlencoded"],"description":"根据ID批量删除客户类型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"id列表","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据ID批量删除客户类型","tags":["客户类型"]},"get":{"consumes":["x-www-form-urlencoded"],"description":"根据ID批量获取客户类型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"id列表","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_CustomerType"}}},"summary":"根据ID批量获取客户类型","tags":["客户类型"]}},"/customer_type/by":{"delete":{"consumes":["application/json"],"description":"根据ID删除客户类型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据ID删除客户类型","tags":["客户类型"]},"get":{"consumes":["application/json"],"description":"根据ID获取客户类型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-CustomerType"}}},"summary":"根据ID获取客户类型","tags":["客户类型"]}},"/customer_type/combo":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取客户类型下拉列表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"搜索关键字","in":"query","name":"search","required":false,"type":"string"},{"description":"备注","in":"query","name":"note","required":false,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_CustomerTypeCombo"}}},"summary":"获取客户类型下拉列表","tags":["客户类型"]}},"/customer_type/count":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取客户类型数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"搜索关键字","in":"query","name":"search","required":false,"type":"string"},{"description":"备注","in":"query","name":"note","required":false,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"type":"integer"}}},"summary":"获取客户类型数量","tags":["客户类型"]},"post":{"consumes":["application/json"],"description":"根据条件查询客户类型数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"type":"integer"}}},"summary":"根据条件查询客户类型数量","tags":["客户类型"]}},"/customer_type/create":{"post":{"consumes":["application/json"],"description":"新增客户类型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"客户类型","in":"body","name":"customer_type","required":true,"schema":{"$ref":"#/definitions/CustomerType"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-CustomerType"}}},"summary":"新增客户类型","tags":["客户类型"]}},"/customer_type/delete":{"post":{"consumes":["application/json"],"description":"根据条件删除客户类型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"删除条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件删除客户类型","tags":["客户类型"]}},"/customer_type/list":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取客户类型列表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"搜索关键字","in":"query","name":"search","required":false,"type":"string"},{"description":"备注","in":"query","name":"note","required":false,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"},{"description":"页码","in":"query","name":"page","required":false,"type":"integer"},{"description":"每页数量","in":"query","name":"limit","required":false,"type":"integer"},{"description":"排序","in":"query","name":"order_by","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_CustomerType"}}},"summary":"获取客户类型列表","tags":["客户类型"]},"post":{"consumes":["application/json"],"description":"根据条件查询客户类型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"filter","required":true,"schema":{"$ref":"#/definitions/models.Filter"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_CustomerType"}}},"summary":"根据条件查询客户类型","tags":["客户类型"]}},"/customer_type/model":{"get":{"consumes":["application/json"],"description":"客户类型模型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_FieldInfo"}}},"summary":"客户类型模型","tags":["客户类型"]}},"/customer_type/save":{"put":{"consumes":["application/json"],"description":"保存客户类型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"客户类型","in":"body","name":"customer_type","required":true,"schema":{"$ref":"#/definitions/CustomerType"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-CustomerType"}}},"summary":"保存客户类型","tags":["客户类型"]}},"/customer_type/update":{"put":{"consumes":["application/json"],"description":"根据条件更新客户类型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"更新条件","in":"body","name":"update","required":true,"schema":{"$ref":"#/definitions/models.Update"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件更新客户类型","tags":["客户类型"]}},"/ent/all":{"get":{"consumes":["application/json"],"description":"获取所有企业","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_Ent"}}},"summary":"获取所有企业","tags":["企业"]}},"/ent/batch":{"delete":{"consumes":["application/x-www-form-urlencoded"],"description":"根据ID批量删除企业","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"企业ID数组","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据ID批量删除企业","tags":["企业"]},"get":{"consumes":["application/x-www-form-urlencoded"],"description":"根据ID批量获取企业","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"企业ID数组","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_Ent"}}},"summary":"根据ID批量获取企业","tags":["企业"]}},"/ent/count":{"get":{"consumes":["application/x-www-form-urlencoded"],"description":"企业总数","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"搜索","in":"query","name":"search","type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-int"}}},"summary":"企业总数","tags":["企业"]},"post":{"consumes":["application/json"],"description":"根据条件统计企业","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"逻辑条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-int"}}},"summary":"根据条件统计企业","tags":["企业"]}},"/ent/create":{"post":{"consumes":["application/json"],"description":"创建企业","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"企业申请","in":"body","name":"ent_apply","required":true,"schema":{"$ref":"#/definitions/models.EntApply"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-models_EntApply"}}},"summary":"创建企业","tags":["企业"]}},"/ent/delete":{"post":{"consumes":["application/json"],"description":"根据条件删除企业","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"逻辑条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件删除企业","tags":["企业"]}},"/ent/list":{"get":{"consumes":["application/x-www-form-urlencoded"],"description":"企业列表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"页码","in":"query","name":"page","type":"integer"},{"description":"每页条数","in":"query","name":"limit","type":"integer"},{"description":"搜索","in":"query","name":"search","type":"string"},{"description":"排序","in":"query","name":"order_by","type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_Ent"}}},"summary":"企业列表","tags":["企业"]},"post":{"consumes":["application/json"],"description":"根据条件查询企业列表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"filter","required":true,"schema":{"$ref":"#/definitions/models.Filter"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_Ent"}}},"summary":"根据条件查询企业列表","tags":["企业"]}},"/ent/model":{"get":{"consumes":["application/json"],"description":"企业模型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_FieldInfo"}}},"summary":"企业模型","tags":["企业"]}},"/ent/save":{"put":{"consumes":["application/json"],"description":"保存企业","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"企业","in":"body","name":"ent","required":true,"schema":{"$ref":"#/definitions/models.Ent"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-models_Ent"}}},"summary":"保存企业","tags":["企业"]}},"/ent/update":{"put":{"consumes":["application/json"],"description":"根据条件更新企业","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"更新条件","in":"body","name":"update","required":true,"schema":{"$ref":"#/definitions/models.Update"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件更新企业","tags":["企业"]}},"/ent/user/ent":{"get":{"consumes":["application/json"],"description":"获取用户企业","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-models_Ent"}}},"summary":"获取用户企业","tags":["企业"]}},"/ent/{id}":{"delete":{"consumes":["application/json"],"description":"删除企业","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"企业ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"删除企业","tags":["企业"]},"get":{"consumes":["application/json"],"description":"根据ID获取企业","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"企业ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-models_Ent"}}},"summary":"根据ID获取企业","tags":["企业"]}},"/ent_apply/all":{"get":{"consumes":["application/json"],"description":"获取所有企业申请","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_EntApply"}}},"summary":"获取所有企业申请","tags":["企业申请"]}},"/ent_apply/audit":{"patch":{"consumes":["application/json"],"description":"审核企业申请","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"企业审核","in":"body","name":"ent_audit","required":true,"schema":{"$ref":"#/definitions/models.EntAudit"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"审核企业申请","tags":["企业申请"]}},"/ent_apply/batch":{"delete":{"consumes":["application/x-www-form-urlencoded"],"description":"根据ID批量删除企业申请","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"企业申请ID数组","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据ID批量删除企业申请","tags":["企业申请"]},"get":{"consumes":["application/x-www-form-urlencoded"],"description":"根据ID批量获取企业申请","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"企业申请ID数组","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_EntApply"}}},"summary":"根据ID批量获取企业申请","tags":["企业申请"]}},"/ent_apply/count":{"get":{"consumes":["application/x-www-form-urlencoded"],"description":"获取企业申请总数","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"搜索","in":"query","name":"search","type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-int"}}},"summary":"获取企业申请总数","tags":["企业申请"]},"post":{"consumes":["application/json"],"description":"根据条件统计企业申请数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"逻辑条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-int"}}},"summary":"根据条件统计企业申请数量","tags":["企业申请"]}},"/ent_apply/create":{"post":{"consumes":["application/json"],"description":"创建企业申请","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"企业申请","in":"body","name":"ent_apply","required":true,"schema":{"$ref":"#/definitions/models.EntApply"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-models_EntApply"}}},"summary":"创建企业申请","tags":["企业申请"]}},"/ent_apply/delete":{"post":{"consumes":["application/json"],"description":"根据条件删除企业申请","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"逻辑条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件删除企业申请","tags":["企业申请"]}},"/ent_apply/list":{"get":{"consumes":["application/x-www-form-urlencoded"],"description":"企业申请列表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"页码","in":"query","name":"page","type":"integer"},{"description":"每页条数","in":"query","name":"limit","type":"integer"},{"description":"搜索","in":"query","name":"search","type":"string"},{"description":"排序","in":"query","name":"order_by","type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_EntApply"}}},"summary":"企业申请列表","tags":["企业申请"]},"post":{"consumes":["application/json"],"description":"根据条件获取企业申请列表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"filter","required":true,"schema":{"$ref":"#/definitions/models.Filter"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_EntApply"}}},"summary":"根据条件获取企业申请列表","tags":["企业申请"]}},"/ent_apply/model":{"get":{"consumes":["application/json"],"description":"企业申请模型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_FieldInfo"}}},"summary":"企业申请模型","tags":["企业申请"]}},"/ent_apply/save":{"put":{"consumes":["application/json"],"description":"保存企业申请","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"企业申请","in":"body","name":"ent_apply","required":true,"schema":{"$ref":"#/definitions/models.EntApply"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-models_EntApply"}}},"summary":"保存企业申请","tags":["企业申请"]}},"/ent_apply/update":{"put":{"consumes":["application/json"],"description":"根据条件更新企业申请","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"更新条件","in":"body","name":"update","required":true,"schema":{"$ref":"#/definitions/models.Update"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件更新企业申请","tags":["企业申请"]}},"/ent_apply/user/ent/apply":{"get":{"consumes":["application/json"],"description":"获取用户企业申请","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-models_EntApply"}}},"summary":"获取用户企业申请","tags":["企业申请"]}},"/ent_apply/{id}":{"delete":{"consumes":["application/json"],"description":"删除企业申请","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"企业申请ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"删除企业申请","tags":["企业申请"]},"get":{"consumes":["application/json"],"description":"根据ID获取企业申请","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"企业申请ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-models_EntApply"}}},"summary":"根据ID获取企业申请","tags":["企业申请"]}},"/field/all":{"get":{"consumes":["application/json"],"description":"所有字段","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_Field"}}},"summary":"所有字段","tags":["字段"]}},"/field/batch":{"delete":{"consumes":["application/x-www-form-urlencoded"],"description":"根据ID批量删除字段","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"字段ID数组","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据ID批量删除字段","tags":["字段"]},"get":{"consumes":["application/x-www-form-urlencoded"],"description":"根据ID批量获取字段","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"字段ID数组","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_Field"}}},"summary":"根据ID批量获取字段","tags":["字段"]}},"/field/count":{"get":{"consumes":["application/x-www-form-urlencoded"],"description":"字段数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"搜索","in":"query","name":"search","type":"string"},{"description":"表ID","format":"uuid","in":"query","name":"table_id","type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-int"}}},"summary":"字段数量","tags":["字段"]},"post":{"consumes":["application/json"],"description":"根据条件统计字段数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"逻辑条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-int"}}},"summary":"根据条件统计字段数量","tags":["字段"]}},"/field/create":{"post":{"consumes":["application/json"],"description":"创建字段","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"字段","in":"body","name":"field","required":true,"schema":{"$ref":"#/definitions/models.Field"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-models_Field"}}},"summary":"创建字段","tags":["字段"]}},"/field/delete":{"post":{"consumes":["application/json"],"description":"根据条件删除字段","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"删除条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件删除字段","tags":["字段"]}},"/field/list":{"get":{"consumes":["application/x-www-form-urlencoded"],"description":"字段列表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"页码","in":"query","name":"page","type":"integer"},{"description":"每页条数","in":"query","name":"limit","type":"integer"},{"description":"搜索","in":"query","name":"search","type":"string"},{"description":"表ID","format":"uuid","in":"query","name":"table_id","type":"string"},{"description":"排序","in":"query","name":"order_by","type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_Field"}}},"summary":"字段列表","tags":["字段"]},"post":{"consumes":["application/json"],"description":"根据条件获取字段列表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"filter","required":true,"schema":{"$ref":"#/definitions/models.Filter"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_Field"}}},"summary":"根据条件获取字段列表","tags":["字段"]}},"/field/model":{"get":{"consumes":["application/json"],"description":"字段模型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_FieldInfo"}}},"summary":"字段模型","tags":["字段"]}},"/field/save":{"put":{"consumes":["application/json"],"description":"保存字段","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"字段","in":"body","name":"field","required":true,"schema":{"$ref":"#/definitions/models.Field"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-models_Field"}}},"summary":"保存字段","tags":["字段"]}},"/field/update":{"put":{"consumes":["application/json"],"description":"根据条件更新字段","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"更新字段","in":"body","name":"update","required":true,"schema":{"$ref":"#/definitions/models.Update"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件更新字段","tags":["字段"]}},"/field/{id}":{"delete":{"consumes":["application/json"],"description":"删除字段","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"字段ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"删除字段","tags":["字段"]},"get":{"consumes":["application/json"],"description":"字段详情","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"字段ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-models_Field"}}},"summary":"字段详情","tags":["字段"]}},"/file/all":{"get":{"consumes":["application/json"],"description":"获取所有文件","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_File"}}},"summary":"获取所有文件","tags":["文件"]}},"/file/batch":{"delete":{"consumes":["application/x-www-form-urlencoded"],"description":"根据ID批量删除文件","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"文件ID","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据ID批量删除文件","tags":["文件"]},"get":{"consumes":["application/x-www-form-urlencoded"],"description":"根据ID批量获取文件","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"文件ID","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_File"}}},"summary":"根据ID批量获取文件","tags":["文件"]}},"/file/count":{"post":{"consumes":["application/json"],"description":"根据条件获取文件数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"逻辑条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-int"}}},"summary":"根据条件获取文件数量","tags":["文件"]}},"/file/delete":{"post":{"consumes":["application/json"],"description":"根据条件删除文件","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"逻辑条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件删除文件","tags":["文件"]}},"/file/download/{id}":{"get":{"consumes":["application/json"],"description":"下载文件","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"文件ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/octet-stream"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"下载文件","tags":["文件"]}},"/file/list":{"post":{"consumes":["application/json"],"description":"根据条件获取文件列表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"filter","required":true,"schema":{"$ref":"#/definitions/models.Filter"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_File"}}},"summary":"根据条件获取文件列表","tags":["文件"]}},"/file/model":{"get":{"consumes":["application/json"],"description":"文件模型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_FieldInfo"}}},"summary":"文件模型","tags":["文件"]}},"/file/rela/{relaId}":{"get":{"consumes":["application/json"],"description":"根据关联ID获取文件","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"关联ID","format":"uuid","in":"path","name":"relaId","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_File"}}},"summary":"根据关联ID获取文件","tags":["文件"]}},"/file/set/rela":{"patch":{"consumes":["application/json"],"description":"设置文件关联","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"文件关联","in":"body","name":"data","required":true,"schema":{"$ref":"#/definitions/models.FileRela"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"设置文件关联","tags":["文件"]}},"/file/upload":{"post":{"consumes":["multipart/form-data"],"description":"上传文件","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"File","in":"formData","name":"file","required":true,"type":"file"},{"description":"File Type","in":"formData","name":"fileType","required":true,"type":"string"},{"description":"relaId","format":"uuid","in":"formData","name":"relaId","type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-models_File"}}},"summary":"上传文件","tags":["文件"]}},"/file/{id}":{"delete":{"consumes":["application/json"],"description":"根据ID删除文件","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"文件ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据ID删除文件","tags":["文件"]},"get":{"consumes":["application/json"],"description":"根据ID获取文件","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"文件ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-models_File"}}},"summary":"根据ID获取文件","tags":["文件"]}},"/inventory/all":{"get":{"consumes":["application/json"],"description":"获取所有库存","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_Inventory"}}},"summary":"获取所有库存","tags":["库存"]}},"/inventory/batch":{"delete":{"consumes":["x-www-form-urlencoded"],"description":"根据ID批量删除库存","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"id列表","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据ID批量删除库存","tags":["库存"]},"get":{"consumes":["x-www-form-urlencoded"],"description":"根据ID批量获取库存","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"id列表","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_Inventory"}}},"summary":"根据ID批量获取库存","tags":["库存"]}},"/inventory/by":{"delete":{"consumes":["application/json"],"description":"根据ID删除库存","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据ID删除库存","tags":["库存"]},"get":{"consumes":["application/json"],"description":"根据ID获取库存","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-Inventory"}}},"summary":"根据ID获取库存","tags":["库存"]}},"/inventory/count":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取库存数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"追溯码","in":"query","name":"traceable_code","required":false,"type":"string"},{"description":"备注","in":"query","name":"note","required":false,"type":"string"},{"description":"入库日期开始","in":"query","name":"in_date_start","required":false,"type":"string"},{"description":"入库日期结束","in":"query","name":"in_date_end","required":false,"type":"string"},{"description":"过期日期开始","in":"query","name":"expired_date_start","required":false,"type":"string"},{"description":"过期日期结束","in":"query","name":"expired_date_end","required":false,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"},{"description":"物料","in":"query","name":"material","required":false,"type":"string"},{"description":"仓库","in":"query","name":"warehouse","required":false,"type":"string"},{"description":"货位","in":"query","name":"bin","required":false,"type":"string"},{"description":"单位","in":"query","name":"unit","required":false,"type":"string"},{"description":"入库类型","in":"query","name":"in_type","required":false,"type":"string"},{"description":"批号","in":"query","name":"batch_no","required":false,"type":"string"},{"description":"供应商","in":"query","name":"supplier","required":false,"type":"string"},{"description":"客户","in":"query","name":"customer","required":false,"type":"string"},{"description":"来源ID","in":"query","name":"source_id","required":false,"type":"string"},{"description":"状态","in":"query","name":"status","required":false,"type":"string"},{"description":"缸号","in":"query","name":"dyelot","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"type":"integer"}}},"summary":"获取库存数量","tags":["库存"]},"post":{"consumes":["application/json"],"description":"根据条件查询库存数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"type":"integer"}}},"summary":"根据条件查询库存数量","tags":["库存"]}},"/inventory/create":{"post":{"consumes":["application/json"],"description":"新增库存","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"库存","in":"body","name":"inventory","required":true,"schema":{"$ref":"#/definitions/Inventory"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-Inventory"}}},"summary":"新增库存","tags":["库存"]}},"/inventory/delete":{"post":{"consumes":["application/json"],"description":"根据条件删除库存","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"删除条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件删除库存","tags":["库存"]}},"/inventory/list":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取库存列表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"物料","in":"query","name":"material","required":false,"type":"string"},{"description":"仓库","in":"query","name":"warehouse","required":false,"type":"string"},{"description":"货位","in":"query","name":"bin","required":false,"type":"string"},{"description":"单位","in":"query","name":"unit","required":false,"type":"string"},{"description":"入库类型","in":"query","name":"in_type","required":false,"type":"string"},{"description":"批号","in":"query","name":"batch_no","required":false,"type":"string"},{"description":"供应商","in":"query","name":"supplier","required":false,"type":"string"},{"description":"客户","in":"query","name":"customer","required":false,"type":"string"},{"description":"来源ID","in":"query","name":"source_id","required":false,"type":"string"},{"description":"状态","in":"query","name":"status","required":false,"type":"string"},{"description":"缸号","in":"query","name":"dyelot","required":false,"type":"string"},{"description":"追溯码","in":"query","name":"traceable_code","required":false,"type":"string"},{"description":"备注","in":"query","name":"note","required":false,"type":"string"},{"description":"入库日期开始","in":"query","name":"in_date_start","required":false,"type":"string"},{"description":"入库日期结束","in":"query","name":"in_date_end","required":false,"type":"string"},{"description":"过期日期开始","in":"query","name":"expired_date_start","required":false,"type":"string"},{"description":"过期日期结束","in":"query","name":"expired_date_end","required":false,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"},{"description":"页码","in":"query","name":"page","required":false,"type":"integer"},{"description":"每页数量","in":"query","name":"limit","required":false,"type":"integer"},{"description":"排序","in":"query","name":"order_by","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_Inventory"}}},"summary":"获取库存列表","tags":["库存"]},"post":{"consumes":["application/json"],"description":"根据条件查询库存","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"filter","required":true,"schema":{"$ref":"#/definitions/models.Filter"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_Inventory"}}},"summary":"根据条件查询库存","tags":["库存"]}},"/inventory/model":{"get":{"consumes":["application/json"],"description":"库存模型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_FieldInfo"}}},"summary":"库存模型","tags":["库存"]}},"/inventory/save":{"put":{"consumes":["application/json"],"description":"保存库存","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"库存","in":"body","name":"inventory","required":true,"schema":{"$ref":"#/definitions/Inventory"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-Inventory"}}},"summary":"保存库存","tags":["库存"]}},"/inventory/update":{"put":{"consumes":["application/json"],"description":"根据条件更新库存","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"更新条件","in":"body","name":"update","required":true,"schema":{"$ref":"#/definitions/models.Update"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件更新库存","tags":["库存"]}},"/location/all":{"get":{"consumes":["application/json"],"description":"获取所有地点","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_Location"}}},"summary":"获取所有地点","tags":["地点"]}},"/location/batch":{"delete":{"consumes":["x-www-form-urlencoded"],"description":"根据ID批量删除地点","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"id列表","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据ID批量删除地点","tags":["地点"]},"get":{"consumes":["x-www-form-urlencoded"],"description":"根据ID批量获取地点","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"id列表","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_Location"}}},"summary":"根据ID批量获取地点","tags":["地点"]}},"/location/by":{"delete":{"consumes":["application/json"],"description":"根据ID删除地点","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据ID删除地点","tags":["地点"]},"get":{"consumes":["application/json"],"description":"根据ID获取地点","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-Location"}}},"summary":"根据ID获取地点","tags":["地点"]}},"/location/combo":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取地点下拉列表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"搜索关键字","in":"query","name":"search","required":false,"type":"string"},{"description":"类型","in":"query","name":"type","required":false,"type":"string"},{"description":"父级ID","in":"query","name":"pid","required":false,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_LocationCombo"}}},"summary":"获取地点下拉列表","tags":["地点"]}},"/location/count":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取地点数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"类型","in":"query","name":"type","required":false,"type":"string"},{"description":"父级ID","in":"query","name":"pid","required":false,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"},{"description":"搜索关键字","in":"query","name":"search","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"type":"integer"}}},"summary":"获取地点数量","tags":["地点"]},"post":{"consumes":["application/json"],"description":"根据条件查询地点数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"type":"integer"}}},"summary":"根据条件查询地点数量","tags":["地点"]}},"/location/create":{"post":{"consumes":["application/json"],"description":"新增地点","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"地点","in":"body","name":"location","required":true,"schema":{"$ref":"#/definitions/Location"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-Location"}}},"summary":"新增地点","tags":["地点"]}},"/location/delete":{"post":{"consumes":["application/json"],"description":"根据条件删除地点","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"删除条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件删除地点","tags":["地点"]}},"/location/list":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取地点列表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"搜索关键字","in":"query","name":"search","required":false,"type":"string"},{"description":"类型","in":"query","name":"type","required":false,"type":"string"},{"description":"父级ID","in":"query","name":"pid","required":false,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"},{"description":"页码","in":"query","name":"page","required":false,"type":"integer"},{"description":"每页数量","in":"query","name":"limit","required":false,"type":"integer"},{"description":"排序","in":"query","name":"order_by","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_Location"}}},"summary":"获取地点列表","tags":["地点"]},"post":{"consumes":["application/json"],"description":"根据条件查询地点","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"filter","required":true,"schema":{"$ref":"#/definitions/models.Filter"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_Location"}}},"summary":"根据条件查询地点","tags":["地点"]}},"/location/model":{"get":{"consumes":["application/json"],"description":"地点模型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_FieldInfo"}}},"summary":"地点模型","tags":["地点"]}},"/location/save":{"put":{"consumes":["application/json"],"description":"保存地点","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"地点","in":"body","name":"location","required":true,"schema":{"$ref":"#/definitions/Location"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-Location"}}},"summary":"保存地点","tags":["地点"]}},"/location/update":{"put":{"consumes":["application/json"],"description":"根据条件更新地点","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"更新条件","in":"body","name":"update","required":true,"schema":{"$ref":"#/definitions/models.Update"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件更新地点","tags":["地点"]}},"/location_type/all":{"get":{"consumes":["application/json"],"description":"获取所有地点类型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_LocationType"}}},"summary":"获取所有地点类型","tags":["地点类型"]}},"/location_type/batch":{"delete":{"consumes":["x-www-form-urlencoded"],"description":"根据ID批量删除地点类型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"id列表","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据ID批量删除地点类型","tags":["地点类型"]},"get":{"consumes":["x-www-form-urlencoded"],"description":"根据ID批量获取地点类型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"id列表","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_LocationType"}}},"summary":"根据ID批量获取地点类型","tags":["地点类型"]}},"/location_type/by":{"delete":{"consumes":["application/json"],"description":"根据ID删除地点类型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据ID删除地点类型","tags":["地点类型"]},"get":{"consumes":["application/json"],"description":"根据ID获取地点类型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-LocationType"}}},"summary":"根据ID获取地点类型","tags":["地点类型"]}},"/location_type/combo":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取地点类型下拉列表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"搜索关键字","in":"query","name":"search","required":false,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_LocationTypeCombo"}}},"summary":"获取地点类型下拉列表","tags":["地点类型"]}},"/location_type/count":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取地点类型数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"搜索关键字","in":"query","name":"search","required":false,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"type":"integer"}}},"summary":"获取地点类型数量","tags":["地点类型"]},"post":{"consumes":["application/json"],"description":"根据条件查询地点类型数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"type":"integer"}}},"summary":"根据条件查询地点类型数量","tags":["地点类型"]}},"/location_type/create":{"post":{"consumes":["application/json"],"description":"新增地点类型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"地点类型","in":"body","name":"location_type","required":true,"schema":{"$ref":"#/definitions/LocationType"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-LocationType"}}},"summary":"新增地点类型","tags":["地点类型"]}},"/location_type/delete":{"post":{"consumes":["application/json"],"description":"根据条件删除地点类型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"删除条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件删除地点类型","tags":["地点类型"]}},"/location_type/list":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取地点类型列表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"搜索关键字","in":"query","name":"search","required":false,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"},{"description":"页码","in":"query","name":"page","required":false,"type":"integer"},{"description":"每页数量","in":"query","name":"limit","required":false,"type":"integer"},{"description":"排序","in":"query","name":"order_by","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_LocationType"}}},"summary":"获取地点类型列表","tags":["地点类型"]},"post":{"consumes":["application/json"],"description":"根据条件查询地点类型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"filter","required":true,"schema":{"$ref":"#/definitions/models.Filter"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_LocationType"}}},"summary":"根据条件查询地点类型","tags":["地点类型"]}},"/location_type/model":{"get":{"consumes":["application/json"],"description":"地点类型模型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_FieldInfo"}}},"summary":"地点类型模型","tags":["地点类型"]}},"/location_type/save":{"put":{"consumes":["application/json"],"description":"保存地点类型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"地点类型","in":"body","name":"location_type","required":true,"schema":{"$ref":"#/definitions/LocationType"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-LocationType"}}},"summary":"保存地点类型","tags":["地点类型"]}},"/location_type/update":{"put":{"consumes":["application/json"],"description":"根据条件更新地点类型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"更新条件","in":"body","name":"update","required":true,"schema":{"$ref":"#/definitions/models.Update"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件更新地点类型","tags":["地点类型"]}},"/major/all":{"get":{"consumes":["application/json"],"description":"获取所有基础-major","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_Major"}}},"summary":"获取所有基础-major","tags":["基础-major"]}},"/major/batch":{"delete":{"consumes":["x-www-form-urlencoded"],"description":"根据ID批量删除基础-major","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"id列表","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据ID批量删除基础-major","tags":["基础-major"]},"get":{"consumes":["x-www-form-urlencoded"],"description":"根据ID批量获取基础-major","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"id列表","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_Major"}}},"summary":"根据ID批量获取基础-major","tags":["基础-major"]}},"/major/by":{"delete":{"consumes":["application/json"],"description":"根据ID删除基础-major","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据ID删除基础-major","tags":["基础-major"]},"get":{"consumes":["application/json"],"description":"根据ID获取基础-major","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-Major"}}},"summary":"根据ID获取基础-major","tags":["基础-major"]}},"/major/combo":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取基础-major下拉列表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"搜索关键字","in":"query","name":"search","required":false,"type":"string"},{"description":"供应商","in":"query","name":"supply","required":false,"type":"string"},{"description":"颜色","in":"query","name":"color","required":false,"type":"string"},{"description":"类型","in":"query","name":"type","required":false,"type":"string"},{"description":"长度","in":"query","name":"length","required":false,"type":"string"},{"description":"尺码","in":"query","name":"size","required":false,"type":"string"},{"description":"染整方式","in":"query","name":"dye","required":false,"type":"string"},{"description":"异常","in":"query","name":"abnormal","required":false,"type":"string"},{"description":"备注","in":"query","name":"note","required":false,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_MajorCombo"}}},"summary":"获取基础-major下拉列表","tags":["基础-major"]}},"/major/count":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取基础-major数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"搜索关键字","in":"query","name":"search","required":false,"type":"string"},{"description":"供应商","in":"query","name":"supply","required":false,"type":"string"},{"description":"颜色","in":"query","name":"color","required":false,"type":"string"},{"description":"类型","in":"query","name":"type","required":false,"type":"string"},{"description":"长度","in":"query","name":"length","required":false,"type":"string"},{"description":"尺码","in":"query","name":"size","required":false,"type":"string"},{"description":"染整方式","in":"query","name":"dye","required":false,"type":"string"},{"description":"异常","in":"query","name":"abnormal","required":false,"type":"string"},{"description":"备注","in":"query","name":"note","required":false,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"type":"integer"}}},"summary":"获取基础-major数量","tags":["基础-major"]},"post":{"consumes":["application/json"],"description":"根据条件查询基础-major数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"type":"integer"}}},"summary":"根据条件查询基础-major数量","tags":["基础-major"]}},"/major/create":{"post":{"consumes":["application/json"],"description":"新增基础-major","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"基础-major","in":"body","name":"major","required":true,"schema":{"$ref":"#/definitions/Major"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-Major"}}},"summary":"新增基础-major","tags":["基础-major"]}},"/major/delete":{"post":{"consumes":["application/json"],"description":"根据条件删除基础-major","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"删除条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件删除基础-major","tags":["基础-major"]}},"/major/list":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取基础-major列表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"搜索关键字","in":"query","name":"search","required":false,"type":"string"},{"description":"供应商","in":"query","name":"supply","required":false,"type":"string"},{"description":"颜色","in":"query","name":"color","required":false,"type":"string"},{"description":"类型","in":"query","name":"type","required":false,"type":"string"},{"description":"长度","in":"query","name":"length","required":false,"type":"string"},{"description":"尺码","in":"query","name":"size","required":false,"type":"string"},{"description":"染整方式","in":"query","name":"dye","required":false,"type":"string"},{"description":"异常","in":"query","name":"abnormal","required":false,"type":"string"},{"description":"备注","in":"query","name":"note","required":false,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"},{"description":"页码","in":"query","name":"page","required":false,"type":"integer"},{"description":"每页数量","in":"query","name":"limit","required":false,"type":"integer"},{"description":"排序","in":"query","name":"order_by","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_Major"}}},"summary":"获取基础-major列表","tags":["基础-major"]},"post":{"consumes":["application/json"],"description":"根据条件查询基础-major","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"filter","required":true,"schema":{"$ref":"#/definitions/models.Filter"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_Major"}}},"summary":"根据条件查询基础-major","tags":["基础-major"]}},"/major/model":{"get":{"consumes":["application/json"],"description":"基础-major模型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_FieldInfo"}}},"summary":"基础-major模型","tags":["基础-major"]}},"/major/save":{"put":{"consumes":["application/json"],"description":"保存基础-major","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"基础-major","in":"body","name":"major","required":true,"schema":{"$ref":"#/definitions/Major"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-Major"}}},"summary":"保存基础-major","tags":["基础-major"]}},"/major/update":{"put":{"consumes":["application/json"],"description":"根据条件更新基础-major","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"更新条件","in":"body","name":"update","required":true,"schema":{"$ref":"#/definitions/models.Update"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件更新基础-major","tags":["基础-major"]}},"/material/all":{"get":{"consumes":["application/json"],"description":"获取所有物料","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_Material"}}},"summary":"获取所有物料","tags":["物料"]}},"/material/batch":{"delete":{"consumes":["x-www-form-urlencoded"],"description":"根据ID批量删除物料","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"id列表","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据ID批量删除物料","tags":["物料"]},"get":{"consumes":["x-www-form-urlencoded"],"description":"根据ID批量获取物料","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"id列表","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_Material"}}},"summary":"根据ID批量获取物料","tags":["物料"]}},"/material/by":{"delete":{"consumes":["application/json"],"description":"根据ID删除物料","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据ID删除物料","tags":["物料"]},"get":{"consumes":["application/json"],"description":"根据ID获取物料","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-Material"}}},"summary":"根据ID获取物料","tags":["物料"]}},"/material/combo":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取物料下拉列表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"搜索关键字","in":"query","name":"search","required":false,"type":"string"},{"description":"类型","in":"query","name":"type","required":false,"type":"string"},{"description":"来源","in":"query","name":"src","required":false,"type":"string"},{"description":"用途","in":"query","name":"usage","required":false,"type":"string"},{"description":"颜色","in":"query","name":"color","required":false,"type":"string"},{"description":"单位","in":"query","name":"unit","required":false,"type":"string"},{"description":"是否启用","in":"query","name":"is_enabled","required":false,"type":"boolean"},{"description":"规格","in":"query","name":"spec","required":false,"type":"string"},{"description":"成分比","in":"query","name":"component","required":false,"type":"string"},{"description":"门幅","in":"query","name":"width","required":false,"type":"string"},{"description":"克重","in":"query","name":"grammage","required":false,"type":"string"},{"description":"染整方式","in":"query","name":"dyeing","required":false,"type":"string"},{"description":"备注","in":"query","name":"note","required":false,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_MaterialCombo"}}},"summary":"获取物料下拉列表","tags":["物料"]}},"/material/count":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取物料数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"搜索关键字","in":"query","name":"search","required":false,"type":"string"},{"description":"类型","in":"query","name":"type","required":false,"type":"string"},{"description":"来源","in":"query","name":"src","required":false,"type":"string"},{"description":"用途","in":"query","name":"usage","required":false,"type":"string"},{"description":"颜色","in":"query","name":"color","required":false,"type":"string"},{"description":"单位","in":"query","name":"unit","required":false,"type":"string"},{"description":"是否启用","in":"query","name":"is_enabled","required":false,"type":"boolean"},{"description":"规格","in":"query","name":"spec","required":false,"type":"string"},{"description":"成分比","in":"query","name":"component","required":false,"type":"string"},{"description":"门幅","in":"query","name":"width","required":false,"type":"string"},{"description":"克重","in":"query","name":"grammage","required":false,"type":"string"},{"description":"染整方式","in":"query","name":"dyeing","required":false,"type":"string"},{"description":"备注","in":"query","name":"note","required":false,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"type":"integer"}}},"summary":"获取物料数量","tags":["物料"]},"post":{"consumes":["application/json"],"description":"根据条件查询物料数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"type":"integer"}}},"summary":"根据条件查询物料数量","tags":["物料"]}},"/material/create":{"post":{"consumes":["application/json"],"description":"新增物料","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"物料","in":"body","name":"material","required":true,"schema":{"$ref":"#/definitions/Material"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-Material"}}},"summary":"新增物料","tags":["物料"]}},"/material/delete":{"post":{"consumes":["application/json"],"description":"根据条件删除物料","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"删除条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件删除物料","tags":["物料"]}},"/material/list":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取物料列表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"搜索关键字","in":"query","name":"search","required":false,"type":"string"},{"description":"类型","in":"query","name":"type","required":false,"type":"string"},{"description":"来源","in":"query","name":"src","required":false,"type":"string"},{"description":"用途","in":"query","name":"usage","required":false,"type":"string"},{"description":"颜色","in":"query","name":"color","required":false,"type":"string"},{"description":"单位","in":"query","name":"unit","required":false,"type":"string"},{"description":"是否启用","in":"query","name":"is_enabled","required":false,"type":"boolean"},{"description":"规格","in":"query","name":"spec","required":false,"type":"string"},{"description":"成分比","in":"query","name":"component","required":false,"type":"string"},{"description":"门幅","in":"query","name":"width","required":false,"type":"string"},{"description":"克重","in":"query","name":"grammage","required":false,"type":"string"},{"description":"染整方式","in":"query","name":"dyeing","required":false,"type":"string"},{"description":"备注","in":"query","name":"note","required":false,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"},{"description":"页码","in":"query","name":"page","required":false,"type":"integer"},{"description":"每页数量","in":"query","name":"limit","required":false,"type":"integer"},{"description":"排序","in":"query","name":"order_by","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_Material"}}},"summary":"获取物料列表","tags":["物料"]},"post":{"consumes":["application/json"],"description":"根据条件查询物料","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"filter","required":true,"schema":{"$ref":"#/definitions/models.Filter"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_Material"}}},"summary":"根据条件查询物料","tags":["物料"]}},"/material/model":{"get":{"consumes":["application/json"],"description":"物料模型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_FieldInfo"}}},"summary":"物料模型","tags":["物料"]}},"/material/save":{"put":{"consumes":["application/json"],"description":"保存物料","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"物料","in":"body","name":"material","required":true,"schema":{"$ref":"#/definitions/Material"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-Material"}}},"summary":"保存物料","tags":["物料"]}},"/material/update":{"put":{"consumes":["application/json"],"description":"根据条件更新物料","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"更新条件","in":"body","name":"update","required":true,"schema":{"$ref":"#/definitions/models.Update"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件更新物料","tags":["物料"]}},"/material_color/all":{"get":{"consumes":["application/json"],"description":"获取所有物料颜色","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_MaterialColor"}}},"summary":"获取所有物料颜色","tags":["物料颜色"]}},"/material_color/batch":{"delete":{"consumes":["x-www-form-urlencoded"],"description":"根据ID批量删除物料颜色","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"id列表","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据ID批量删除物料颜色","tags":["物料颜色"]},"get":{"consumes":["x-www-form-urlencoded"],"description":"根据ID批量获取物料颜色","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"id列表","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_MaterialColor"}}},"summary":"根据ID批量获取物料颜色","tags":["物料颜色"]}},"/material_color/by":{"delete":{"consumes":["application/json"],"description":"根据ID删除物料颜色","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据ID删除物料颜色","tags":["物料颜色"]},"get":{"consumes":["application/json"],"description":"根据ID获取物料颜色","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-MaterialColor"}}},"summary":"根据ID获取物料颜色","tags":["物料颜色"]}},"/material_color/combo":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取物料颜色下拉列表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"搜索关键字","in":"query","name":"search","required":false,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_MaterialColorCombo"}}},"summary":"获取物料颜色下拉列表","tags":["物料颜色"]}},"/material_color/count":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取物料颜色数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"搜索关键字","in":"query","name":"search","required":false,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"type":"integer"}}},"summary":"获取物料颜色数量","tags":["物料颜色"]},"post":{"consumes":["application/json"],"description":"根据条件查询物料颜色数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"type":"integer"}}},"summary":"根据条件查询物料颜色数量","tags":["物料颜色"]}},"/material_color/create":{"post":{"consumes":["application/json"],"description":"新增物料颜色","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"物料颜色","in":"body","name":"material_color","required":true,"schema":{"$ref":"#/definitions/MaterialColor"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-MaterialColor"}}},"summary":"新增物料颜色","tags":["物料颜色"]}},"/material_color/delete":{"post":{"consumes":["application/json"],"description":"根据条件删除物料颜色","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"删除条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件删除物料颜色","tags":["物料颜色"]}},"/material_color/list":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取物料颜色列表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"搜索关键字","in":"query","name":"search","required":false,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"},{"description":"页码","in":"query","name":"page","required":false,"type":"integer"},{"description":"每页数量","in":"query","name":"limit","required":false,"type":"integer"},{"description":"排序","in":"query","name":"order_by","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_MaterialColor"}}},"summary":"获取物料颜色列表","tags":["物料颜色"]},"post":{"consumes":["application/json"],"description":"根据条件查询物料颜色","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"filter","required":true,"schema":{"$ref":"#/definitions/models.Filter"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_MaterialColor"}}},"summary":"根据条件查询物料颜色","tags":["物料颜色"]}},"/material_color/model":{"get":{"consumes":["application/json"],"description":"物料颜色模型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_FieldInfo"}}},"summary":"物料颜色模型","tags":["物料颜色"]}},"/material_color/save":{"put":{"consumes":["application/json"],"description":"保存物料颜色","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"物料颜色","in":"body","name":"material_color","required":true,"schema":{"$ref":"#/definitions/MaterialColor"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-MaterialColor"}}},"summary":"保存物料颜色","tags":["物料颜色"]}},"/material_color/update":{"put":{"consumes":["application/json"],"description":"根据条件更新物料颜色","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"更新条件","in":"body","name":"update","required":true,"schema":{"$ref":"#/definitions/models.Update"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件更新物料颜色","tags":["物料颜色"]}},"/material_src/all":{"get":{"consumes":["application/json"],"description":"获取所有物料来源","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_MaterialSrc"}}},"summary":"获取所有物料来源","tags":["物料来源"]}},"/material_src/batch":{"delete":{"consumes":["x-www-form-urlencoded"],"description":"根据ID批量删除物料来源","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"id列表","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据ID批量删除物料来源","tags":["物料来源"]},"get":{"consumes":["x-www-form-urlencoded"],"description":"根据ID批量获取物料来源","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"id列表","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_MaterialSrc"}}},"summary":"根据ID批量获取物料来源","tags":["物料来源"]}},"/material_src/by":{"delete":{"consumes":["application/json"],"description":"根据ID删除物料来源","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据ID删除物料来源","tags":["物料来源"]},"get":{"consumes":["application/json"],"description":"根据ID获取物料来源","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-MaterialSrc"}}},"summary":"根据ID获取物料来源","tags":["物料来源"]}},"/material_src/combo":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取物料来源下拉列表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"搜索关键字","in":"query","name":"search","required":false,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_MaterialSrcCombo"}}},"summary":"获取物料来源下拉列表","tags":["物料来源"]}},"/material_src/count":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取物料来源数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"搜索关键字","in":"query","name":"search","required":false,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"type":"integer"}}},"summary":"获取物料来源数量","tags":["物料来源"]},"post":{"consumes":["application/json"],"description":"根据条件查询物料来源数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"type":"integer"}}},"summary":"根据条件查询物料来源数量","tags":["物料来源"]}},"/material_src/create":{"post":{"consumes":["application/json"],"description":"新增物料来源","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"物料来源","in":"body","name":"material_src","required":true,"schema":{"$ref":"#/definitions/MaterialSrc"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-MaterialSrc"}}},"summary":"新增物料来源","tags":["物料来源"]}},"/material_src/delete":{"post":{"consumes":["application/json"],"description":"根据条件删除物料来源","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"删除条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件删除物料来源","tags":["物料来源"]}},"/material_src/list":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取物料来源列表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"搜索关键字","in":"query","name":"search","required":false,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"},{"description":"页码","in":"query","name":"page","required":false,"type":"integer"},{"description":"每页数量","in":"query","name":"limit","required":false,"type":"integer"},{"description":"排序","in":"query","name":"order_by","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_MaterialSrc"}}},"summary":"获取物料来源列表","tags":["物料来源"]},"post":{"consumes":["application/json"],"description":"根据条件查询物料来源","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"filter","required":true,"schema":{"$ref":"#/definitions/models.Filter"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_MaterialSrc"}}},"summary":"根据条件查询物料来源","tags":["物料来源"]}},"/material_src/model":{"get":{"consumes":["application/json"],"description":"物料来源模型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_FieldInfo"}}},"summary":"物料来源模型","tags":["物料来源"]}},"/material_src/save":{"put":{"consumes":["application/json"],"description":"保存物料来源","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"物料来源","in":"body","name":"material_src","required":true,"schema":{"$ref":"#/definitions/MaterialSrc"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-MaterialSrc"}}},"summary":"保存物料来源","tags":["物料来源"]}},"/material_src/update":{"put":{"consumes":["application/json"],"description":"根据条件更新物料来源","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"更新条件","in":"body","name":"update","required":true,"schema":{"$ref":"#/definitions/models.Update"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件更新物料来源","tags":["物料来源"]}},"/material_type/all":{"get":{"consumes":["application/json"],"description":"获取所有物料类型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_MaterialType"}}},"summary":"获取所有物料类型","tags":["物料类型"]}},"/material_type/batch":{"delete":{"consumes":["x-www-form-urlencoded"],"description":"根据ID批量删除物料类型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"id列表","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据ID批量删除物料类型","tags":["物料类型"]},"get":{"consumes":["x-www-form-urlencoded"],"description":"根据ID批量获取物料类型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"id列表","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_MaterialType"}}},"summary":"根据ID批量获取物料类型","tags":["物料类型"]}},"/material_type/by":{"delete":{"consumes":["application/json"],"description":"根据ID删除物料类型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据ID删除物料类型","tags":["物料类型"]},"get":{"consumes":["application/json"],"description":"根据ID获取物料类型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-MaterialType"}}},"summary":"根据ID获取物料类型","tags":["物料类型"]}},"/material_type/combo":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取物料类型下拉列表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"搜索关键字","in":"query","name":"search","required":false,"type":"string"},{"description":"父ID","in":"query","name":"pid","required":false,"type":"string"},{"description":"备注","in":"query","name":"note","required":false,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_MaterialTypeCombo"}}},"summary":"获取物料类型下拉列表","tags":["物料类型"]}},"/material_type/count":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取物料类型数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"搜索关键字","in":"query","name":"search","required":false,"type":"string"},{"description":"父ID","in":"query","name":"pid","required":false,"type":"string"},{"description":"备注","in":"query","name":"note","required":false,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"type":"integer"}}},"summary":"获取物料类型数量","tags":["物料类型"]},"post":{"consumes":["application/json"],"description":"根据条件查询物料类型数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"type":"integer"}}},"summary":"根据条件查询物料类型数量","tags":["物料类型"]}},"/material_type/create":{"post":{"consumes":["application/json"],"description":"新增物料类型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"物料类型","in":"body","name":"material_type","required":true,"schema":{"$ref":"#/definitions/MaterialType"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-MaterialType"}}},"summary":"新增物料类型","tags":["物料类型"]}},"/material_type/delete":{"post":{"consumes":["application/json"],"description":"根据条件删除物料类型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"删除条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件删除物料类型","tags":["物料类型"]}},"/material_type/list":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取物料类型列表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"父ID","in":"query","name":"pid","required":false,"type":"string"},{"description":"备注","in":"query","name":"note","required":false,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"},{"description":"搜索关键字","in":"query","name":"search","required":false,"type":"string"},{"description":"页码","in":"query","name":"page","required":false,"type":"integer"},{"description":"每页数量","in":"query","name":"limit","required":false,"type":"integer"},{"description":"排序","in":"query","name":"order_by","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_MaterialType"}}},"summary":"获取物料类型列表","tags":["物料类型"]},"post":{"consumes":["application/json"],"description":"根据条件查询物料类型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"filter","required":true,"schema":{"$ref":"#/definitions/models.Filter"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_MaterialType"}}},"summary":"根据条件查询物料类型","tags":["物料类型"]}},"/material_type/model":{"get":{"consumes":["application/json"],"description":"物料类型模型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_FieldInfo"}}},"summary":"物料类型模型","tags":["物料类型"]}},"/material_type/save":{"put":{"consumes":["application/json"],"description":"保存物料类型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"物料类型","in":"body","name":"material_type","required":true,"schema":{"$ref":"#/definitions/MaterialType"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-MaterialType"}}},"summary":"保存物料类型","tags":["物料类型"]}},"/material_type/update":{"put":{"consumes":["application/json"],"description":"根据条件更新物料类型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"更新条件","in":"body","name":"update","required":true,"schema":{"$ref":"#/definitions/models.Update"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件更新物料类型","tags":["物料类型"]}},"/material_usage/all":{"get":{"consumes":["application/json"],"description":"获取所有物料用途","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_MaterialUsage"}}},"summary":"获取所有物料用途","tags":["物料用途"]}},"/material_usage/batch":{"delete":{"consumes":["x-www-form-urlencoded"],"description":"根据ID批量删除物料用途","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"id列表","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据ID批量删除物料用途","tags":["物料用途"]},"get":{"consumes":["x-www-form-urlencoded"],"description":"根据ID批量获取物料用途","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"id列表","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_MaterialUsage"}}},"summary":"根据ID批量获取物料用途","tags":["物料用途"]}},"/material_usage/by":{"delete":{"consumes":["application/json"],"description":"根据ID删除物料用途","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据ID删除物料用途","tags":["物料用途"]},"get":{"consumes":["application/json"],"description":"根据ID获取物料用途","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-MaterialUsage"}}},"summary":"根据ID获取物料用途","tags":["物料用途"]}},"/material_usage/combo":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取物料用途下拉列表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"搜索关键字","in":"query","name":"search","required":false,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_MaterialUsageCombo"}}},"summary":"获取物料用途下拉列表","tags":["物料用途"]}},"/material_usage/count":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取物料用途数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"搜索关键字","in":"query","name":"search","required":false,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"type":"integer"}}},"summary":"获取物料用途数量","tags":["物料用途"]},"post":{"consumes":["application/json"],"description":"根据条件查询物料用途数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"type":"integer"}}},"summary":"根据条件查询物料用途数量","tags":["物料用途"]}},"/material_usage/create":{"post":{"consumes":["application/json"],"description":"新增物料用途","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"物料用途","in":"body","name":"material_usage","required":true,"schema":{"$ref":"#/definitions/MaterialUsage"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-MaterialUsage"}}},"summary":"新增物料用途","tags":["物料用途"]}},"/material_usage/delete":{"post":{"consumes":["application/json"],"description":"根据条件删除物料用途","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"删除条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件删除物料用途","tags":["物料用途"]}},"/material_usage/list":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取物料用途列表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"搜索关键字","in":"query","name":"search","required":false,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"},{"description":"页码","in":"query","name":"page","required":false,"type":"integer"},{"description":"每页数量","in":"query","name":"limit","required":false,"type":"integer"},{"description":"排序","in":"query","name":"order_by","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_MaterialUsage"}}},"summary":"获取物料用途列表","tags":["物料用途"]},"post":{"consumes":["application/json"],"description":"根据条件查询物料用途","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"filter","required":true,"schema":{"$ref":"#/definitions/models.Filter"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_MaterialUsage"}}},"summary":"根据条件查询物料用途","tags":["物料用途"]}},"/material_usage/model":{"get":{"consumes":["application/json"],"description":"物料用途模型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_FieldInfo"}}},"summary":"物料用途模型","tags":["物料用途"]}},"/material_usage/save":{"put":{"consumes":["application/json"],"description":"保存物料用途","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"物料用途","in":"body","name":"material_usage","required":true,"schema":{"$ref":"#/definitions/MaterialUsage"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-MaterialUsage"}}},"summary":"保存物料用途","tags":["物料用途"]}},"/material_usage/update":{"put":{"consumes":["application/json"],"description":"根据条件更新物料用途","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"更新条件","in":"body","name":"update","required":true,"schema":{"$ref":"#/definitions/models.Update"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件更新物料用途","tags":["物料用途"]}},"/member/all":{"get":{"consumes":["application/json"],"description":"获取所有基础-人员","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_Member"}}},"summary":"获取所有基础-人员","tags":["基础-人员"]}},"/member/batch":{"delete":{"consumes":["x-www-form-urlencoded"],"description":"根据ID批量删除基础-人员","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"id列表","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据ID批量删除基础-人员","tags":["基础-人员"]},"get":{"consumes":["x-www-form-urlencoded"],"description":"根据ID批量获取基础-人员","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"id列表","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_Member"}}},"summary":"根据ID批量获取基础-人员","tags":["基础-人员"]}},"/member/by":{"delete":{"consumes":["application/json"],"description":"根据ID删除基础-人员","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据ID删除基础-人员","tags":["基础-人员"]},"get":{"consumes":["application/json"],"description":"根据ID获取基础-人员","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-Member"}}},"summary":"根据ID获取基础-人员","tags":["基础-人员"]}},"/member/combo":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取基础-人员下拉列表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"搜索关键字","in":"query","name":"search","required":false,"type":"string"},{"description":"类型","in":"query","name":"type","required":false,"type":"string"},{"description":"性别 0 未知 1 男 2 女","in":"query","name":"gender","required":false,"type":"integer"},{"description":"地址","in":"query","name":"address","required":false,"type":"string"},{"description":"电话","in":"query","name":"phone","required":false,"type":"string"},{"description":"备注","in":"query","name":"note","required":false,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"},{"description":"出生日期开始","in":"query","name":"birth_start","required":false,"type":"string"},{"description":"出生日期结束","in":"query","name":"birth_end","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_MemberCombo"}}},"summary":"获取基础-人员下拉列表","tags":["基础-人员"]}},"/member/count":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取基础-人员数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"搜索关键字","in":"query","name":"search","required":false,"type":"string"},{"description":"类型","in":"query","name":"type","required":false,"type":"string"},{"description":"性别 0 未知 1 男 2 女","in":"query","name":"gender","required":false,"type":"integer"},{"description":"地址","in":"query","name":"address","required":false,"type":"string"},{"description":"电话","in":"query","name":"phone","required":false,"type":"string"},{"description":"备注","in":"query","name":"note","required":false,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"},{"description":"出生日期开始","in":"query","name":"birth_start","required":false,"type":"string"},{"description":"出生日期结束","in":"query","name":"birth_end","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"type":"integer"}}},"summary":"获取基础-人员数量","tags":["基础-人员"]},"post":{"consumes":["application/json"],"description":"根据条件查询基础-人员数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"type":"integer"}}},"summary":"根据条件查询基础-人员数量","tags":["基础-人员"]}},"/member/create":{"post":{"consumes":["application/json"],"description":"新增基础-人员","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"基础-人员","in":"body","name":"member","required":true,"schema":{"$ref":"#/definitions/Member"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-Member"}}},"summary":"新增基础-人员","tags":["基础-人员"]}},"/member/delete":{"post":{"consumes":["application/json"],"description":"根据条件删除基础-人员","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"删除条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件删除基础-人员","tags":["基础-人员"]}},"/member/list":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取基础-人员列表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"搜索关键字","in":"query","name":"search","required":false,"type":"string"},{"description":"类型","in":"query","name":"type","required":false,"type":"string"},{"description":"性别 0 未知 1 男 2 女","in":"query","name":"gender","required":false,"type":"integer"},{"description":"地址","in":"query","name":"address","required":false,"type":"string"},{"description":"电话","in":"query","name":"phone","required":false,"type":"string"},{"description":"备注","in":"query","name":"note","required":false,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"},{"description":"出生日期开始","in":"query","name":"birth_start","required":false,"type":"string"},{"description":"出生日期结束","in":"query","name":"birth_end","required":false,"type":"string"},{"description":"页码","in":"query","name":"page","required":false,"type":"integer"},{"description":"每页数量","in":"query","name":"limit","required":false,"type":"integer"},{"description":"排序","in":"query","name":"order_by","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_Member"}}},"summary":"获取基础-人员列表","tags":["基础-人员"]},"post":{"consumes":["application/json"],"description":"根据条件查询基础-人员","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"filter","required":true,"schema":{"$ref":"#/definitions/models.Filter"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_Member"}}},"summary":"根据条件查询基础-人员","tags":["基础-人员"]}},"/member/model":{"get":{"consumes":["application/json"],"description":"基础-人员模型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_FieldInfo"}}},"summary":"基础-人员模型","tags":["基础-人员"]}},"/member/save":{"put":{"consumes":["application/json"],"description":"保存基础-人员","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"基础-人员","in":"body","name":"member","required":true,"schema":{"$ref":"#/definitions/Member"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-Member"}}},"summary":"保存基础-人员","tags":["基础-人员"]}},"/member/update":{"put":{"consumes":["application/json"],"description":"根据条件更新基础-人员","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"更新条件","in":"body","name":"update","required":true,"schema":{"$ref":"#/definitions/models.Update"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件更新基础-人员","tags":["基础-人员"]}},"/module/all":{"get":{"consumes":["application/json"],"description":"获取所有模块","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_Module"}}},"summary":"获取所有模块","tags":["模块"]}},"/module/batch":{"delete":{"consumes":["application/x-www-form-urlencoded"],"description":"根据ID批量删除模块","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"模块ID数组","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据ID批量删除模块","tags":["模块"]},"get":{"consumes":["application/x-www-form-urlencoded"],"description":"根据ID批量获取模块","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"模块ID数组","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_Module"}}},"summary":"根据ID批量获取模块","tags":["模块"]}},"/module/count":{"get":{"consumes":["application/x-www-form-urlencoded"],"description":"模块数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"搜索","in":"query","name":"search","type":"string"},{"description":"父级ID","format":"uuid","in":"query","name":"pid","type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-int"}}},"summary":"模块数量","tags":["模块"]},"post":{"consumes":["application/json"],"description":"根据条件获取模块数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"逻辑条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-int"}}},"summary":"根据条件获取模块数量","tags":["模块"]}},"/module/create":{"post":{"consumes":["application/json"],"description":"创建模块","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"模块","in":"body","name":"module","required":true,"schema":{"$ref":"#/definitions/models.Module"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-models_Module"}}},"summary":"创建模块","tags":["模块"]}},"/module/delete":{"post":{"consumes":["application/json"],"description":"根据条件删除模块","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"逻辑条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件删除模块","tags":["模块"]}},"/module/list":{"get":{"consumes":["application/x-www-form-urlencoded"],"description":"模块列表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"页码","in":"query","name":"page","type":"integer"},{"description":"每页条数","in":"query","name":"limit","type":"integer"},{"description":"搜索","in":"query","name":"search","type":"string"},{"description":"父级ID","format":"uuid","in":"query","name":"pid","type":"string"},{"description":"排序","in":"query","name":"order_by","type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_Module"}}},"summary":"模块列表","tags":["模块"]},"post":{"consumes":["application/json"],"description":"根据条件获取模块列表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"filter","required":true,"schema":{"$ref":"#/definitions/models.Filter"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_Module"}}},"summary":"根据条件获取模块列表","tags":["模块"]}},"/module/model":{"get":{"consumes":["application/json"],"description":"模块模型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_FieldInfo"}}},"summary":"模块模型","tags":["模块"]}},"/module/save":{"put":{"consumes":["application/json"],"description":"保存模块","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"模块","in":"body","name":"module","required":true,"schema":{"$ref":"#/definitions/models.Module"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-models_Module"}}},"summary":"保存模块","tags":["模块"]}},"/module/tree/{id}":{"get":{"consumes":["application/json"],"description":"获取模块树","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"模块ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_ModuleTree"}}},"summary":"获取模块树","tags":["模块"]}},"/module/update":{"put":{"consumes":["application/json"],"description":"根据条件更新模块","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"更新条件","in":"body","name":"update","required":true,"schema":{"$ref":"#/definitions/models.Update"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件更新模块","tags":["模块"]}},"/module/{id}":{"delete":{"consumes":["application/json"],"description":"删除模块","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"模块ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"删除模块","tags":["模块"]},"get":{"consumes":["application/json"],"description":"获取模块","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"模块ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-models_Module"}}},"summary":"获取模块","tags":["模块"]}},"/other_in/all":{"get":{"consumes":["application/json"],"description":"获取所有其他入库","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_OtherIn"}}},"summary":"获取所有其他入库","tags":["其他入库"]}},"/other_in/batch":{"delete":{"consumes":["x-www-form-urlencoded"],"description":"根据ID批量删除其他入库","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"id列表","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据ID批量删除其他入库","tags":["其他入库"]},"get":{"consumes":["x-www-form-urlencoded"],"description":"根据ID批量获取其他入库","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"id列表","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_OtherIn"}}},"summary":"根据ID批量获取其他入库","tags":["其他入库"]}},"/other_in/by":{"delete":{"consumes":["application/json"],"description":"根据ID删除其他入库","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据ID删除其他入库","tags":["其他入库"]},"get":{"consumes":["application/json"],"description":"根据ID获取其他入库","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-OtherIn"}}},"summary":"根据ID获取其他入库","tags":["其他入库"]}},"/other_in/count":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取其他入库数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"操作员","in":"query","name":"operator","required":false,"type":"string"},{"description":"仓库","in":"query","name":"warehouse","required":false,"type":"string"},{"description":"状态","in":"query","name":"status","required":false,"type":"string"},{"description":"单据编号","in":"query","name":"bill_no","required":false,"type":"string"},{"description":"备注","in":"query","name":"note","required":false,"type":"string"},{"description":"入库日期开始","in":"query","name":"in_date_start","required":false,"type":"string"},{"description":"入库日期结束","in":"query","name":"in_date_end","required":false,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"type":"integer"}}},"summary":"获取其他入库数量","tags":["其他入库"]},"post":{"consumes":["application/json"],"description":"根据条件查询其他入库数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"type":"integer"}}},"summary":"根据条件查询其他入库数量","tags":["其他入库"]}},"/other_in/create":{"post":{"consumes":["application/json"],"description":"新增其他入库","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"其他入库","in":"body","name":"other_in","required":true,"schema":{"$ref":"#/definitions/OtherIn"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-OtherIn"}}},"summary":"新增其他入库","tags":["其他入库"]}},"/other_in/delete":{"post":{"consumes":["application/json"],"description":"根据条件删除其他入库","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"删除条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件删除其他入库","tags":["其他入库"]}},"/other_in/list":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取其他入库列表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"操作员","in":"query","name":"operator","required":false,"type":"string"},{"description":"仓库","in":"query","name":"warehouse","required":false,"type":"string"},{"description":"状态","in":"query","name":"status","required":false,"type":"string"},{"description":"单据编号","in":"query","name":"bill_no","required":false,"type":"string"},{"description":"备注","in":"query","name":"note","required":false,"type":"string"},{"description":"入库日期开始","in":"query","name":"in_date_start","required":false,"type":"string"},{"description":"入库日期结束","in":"query","name":"in_date_end","required":false,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"},{"description":"页码","in":"query","name":"page","required":false,"type":"integer"},{"description":"每页数量","in":"query","name":"limit","required":false,"type":"integer"},{"description":"排序","in":"query","name":"order_by","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_OtherIn"}}},"summary":"获取其他入库列表","tags":["其他入库"]},"post":{"consumes":["application/json"],"description":"根据条件查询其他入库","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"filter","required":true,"schema":{"$ref":"#/definitions/models.Filter"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_OtherIn"}}},"summary":"根据条件查询其他入库","tags":["其他入库"]}},"/other_in/model":{"get":{"consumes":["application/json"],"description":"其他入库模型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_FieldInfo"}}},"summary":"其他入库模型","tags":["其他入库"]}},"/other_in/save":{"put":{"consumes":["application/json"],"description":"保存其他入库","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"其他入库","in":"body","name":"other_in","required":true,"schema":{"$ref":"#/definitions/OtherIn"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-OtherIn"}}},"summary":"保存其他入库","tags":["其他入库"]}},"/other_in/update":{"put":{"consumes":["application/json"],"description":"根据条件更新其他入库","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"更新条件","in":"body","name":"update","required":true,"schema":{"$ref":"#/definitions/models.Update"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件更新其他入库","tags":["其他入库"]}},"/other_in_dtl/all":{"get":{"consumes":["application/json"],"description":"获取所有其他入库明细","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_OtherInDtl"}}},"summary":"获取所有其他入库明细","tags":["其他入库明细"]}},"/other_in_dtl/batch":{"delete":{"consumes":["x-www-form-urlencoded"],"description":"根据ID批量删除其他入库明细","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"id列表","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据ID批量删除其他入库明细","tags":["其他入库明细"]},"get":{"consumes":["x-www-form-urlencoded"],"description":"根据ID批量获取其他入库明细","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"id列表","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_OtherInDtl"}}},"summary":"根据ID批量获取其他入库明细","tags":["其他入库明细"]}},"/other_in_dtl/by":{"delete":{"consumes":["application/json"],"description":"根据ID删除其他入库明细","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据ID删除其他入库明细","tags":["其他入库明细"]},"get":{"consumes":["application/json"],"description":"根据ID获取其他入库明细","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-OtherInDtl"}}},"summary":"根据ID获取其他入库明细","tags":["其他入库明细"]}},"/other_in_dtl/count":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取其他入库明细数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"其他入库","in":"query","name":"other_in","required":false,"type":"string"},{"description":"物料","in":"query","name":"material","required":false,"type":"string"},{"description":"仓库","in":"query","name":"warehouse","required":false,"type":"string"},{"description":"库位","in":"query","name":"bin","required":false,"type":"string"},{"description":"单位","in":"query","name":"unit","required":false,"type":"string"},{"description":"批号","in":"query","name":"batch_no","required":false,"type":"string"},{"description":"状态","in":"query","name":"status","required":false,"type":"string"},{"description":"追溯码","in":"query","name":"traceable_code","required":false,"type":"string"},{"description":"备注","in":"query","name":"note","required":false,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"type":"integer"}}},"summary":"获取其他入库明细数量","tags":["其他入库明细"]},"post":{"consumes":["application/json"],"description":"根据条件查询其他入库明细数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"type":"integer"}}},"summary":"根据条件查询其他入库明细数量","tags":["其他入库明细"]}},"/other_in_dtl/create":{"post":{"consumes":["application/json"],"description":"新增其他入库明细","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"其他入库明细","in":"body","name":"other_in_dtl","required":true,"schema":{"$ref":"#/definitions/OtherInDtl"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-OtherInDtl"}}},"summary":"新增其他入库明细","tags":["其他入库明细"]}},"/other_in_dtl/delete":{"post":{"consumes":["application/json"],"description":"根据条件删除其他入库明细","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"删除条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件删除其他入库明细","tags":["其他入库明细"]}},"/other_in_dtl/list":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取其他入库明细列表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"其他入库","in":"query","name":"other_in","required":false,"type":"string"},{"description":"物料","in":"query","name":"material","required":false,"type":"string"},{"description":"仓库","in":"query","name":"warehouse","required":false,"type":"string"},{"description":"库位","in":"query","name":"bin","required":false,"type":"string"},{"description":"单位","in":"query","name":"unit","required":false,"type":"string"},{"description":"批号","in":"query","name":"batch_no","required":false,"type":"string"},{"description":"状态","in":"query","name":"status","required":false,"type":"string"},{"description":"追溯码","in":"query","name":"traceable_code","required":false,"type":"string"},{"description":"备注","in":"query","name":"note","required":false,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"},{"description":"页码","in":"query","name":"page","required":false,"type":"integer"},{"description":"每页数量","in":"query","name":"limit","required":false,"type":"integer"},{"description":"排序","in":"query","name":"order_by","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_OtherInDtl"}}},"summary":"获取其他入库明细列表","tags":["其他入库明细"]},"post":{"consumes":["application/json"],"description":"根据条件查询其他入库明细","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"filter","required":true,"schema":{"$ref":"#/definitions/models.Filter"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_OtherInDtl"}}},"summary":"根据条件查询其他入库明细","tags":["其他入库明细"]}},"/other_in_dtl/model":{"get":{"consumes":["application/json"],"description":"其他入库明细模型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_FieldInfo"}}},"summary":"其他入库明细模型","tags":["其他入库明细"]}},"/other_in_dtl/save":{"put":{"consumes":["application/json"],"description":"保存其他入库明细","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"其他入库明细","in":"body","name":"other_in_dtl","required":true,"schema":{"$ref":"#/definitions/OtherInDtl"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-OtherInDtl"}}},"summary":"保存其他入库明细","tags":["其他入库明细"]}},"/other_in_dtl/update":{"put":{"consumes":["application/json"],"description":"根据条件更新其他入库明细","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"更新条件","in":"body","name":"update","required":true,"schema":{"$ref":"#/definitions/models.Update"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件更新其他入库明细","tags":["其他入库明细"]}},"/other_out/all":{"get":{"consumes":["application/json"],"description":"获取所有其他出库","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_OtherOut"}}},"summary":"获取所有其他出库","tags":["其他出库"]}},"/other_out/batch":{"delete":{"consumes":["x-www-form-urlencoded"],"description":"根据ID批量删除其他出库","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"id列表","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据ID批量删除其他出库","tags":["其他出库"]},"get":{"consumes":["x-www-form-urlencoded"],"description":"根据ID批量获取其他出库","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"id列表","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_OtherOut"}}},"summary":"根据ID批量获取其他出库","tags":["其他出库"]}},"/other_out/by":{"delete":{"consumes":["application/json"],"description":"根据ID删除其他出库","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据ID删除其他出库","tags":["其他出库"]},"get":{"consumes":["application/json"],"description":"根据ID获取其他出库","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-OtherOut"}}},"summary":"根据ID获取其他出库","tags":["其他出库"]}},"/other_out/count":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取其他出库数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"单据编号","in":"query","name":"bill_no","required":false,"type":"string"},{"description":"备注","in":"query","name":"note","required":false,"type":"string"},{"description":"出库日期开始","in":"query","name":"out_date_start","required":false,"type":"string"},{"description":"出库日期结束","in":"query","name":"out_date_end","required":false,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"},{"description":"操作员","in":"query","name":"operator","required":false,"type":"string"},{"description":"仓库","in":"query","name":"warehouse","required":false,"type":"string"},{"description":"状态","in":"query","name":"status","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"type":"integer"}}},"summary":"获取其他出库数量","tags":["其他出库"]},"post":{"consumes":["application/json"],"description":"根据条件查询其他出库数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"type":"integer"}}},"summary":"根据条件查询其他出库数量","tags":["其他出库"]}},"/other_out/create":{"post":{"consumes":["application/json"],"description":"新增其他出库","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"其他出库","in":"body","name":"other_out","required":true,"schema":{"$ref":"#/definitions/OtherOut"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-OtherOut"}}},"summary":"新增其他出库","tags":["其他出库"]}},"/other_out/delete":{"post":{"consumes":["application/json"],"description":"根据条件删除其他出库","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"删除条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件删除其他出库","tags":["其他出库"]}},"/other_out/list":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取其他出库列表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"操作员","in":"query","name":"operator","required":false,"type":"string"},{"description":"仓库","in":"query","name":"warehouse","required":false,"type":"string"},{"description":"状态","in":"query","name":"status","required":false,"type":"string"},{"description":"单据编号","in":"query","name":"bill_no","required":false,"type":"string"},{"description":"备注","in":"query","name":"note","required":false,"type":"string"},{"description":"出库日期开始","in":"query","name":"out_date_start","required":false,"type":"string"},{"description":"出库日期结束","in":"query","name":"out_date_end","required":false,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"},{"description":"页码","in":"query","name":"page","required":false,"type":"integer"},{"description":"每页数量","in":"query","name":"limit","required":false,"type":"integer"},{"description":"排序","in":"query","name":"order_by","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_OtherOut"}}},"summary":"获取其他出库列表","tags":["其他出库"]},"post":{"consumes":["application/json"],"description":"根据条件查询其他出库","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"filter","required":true,"schema":{"$ref":"#/definitions/models.Filter"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_OtherOut"}}},"summary":"根据条件查询其他出库","tags":["其他出库"]}},"/other_out/model":{"get":{"consumes":["application/json"],"description":"其他出库模型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_FieldInfo"}}},"summary":"其他出库模型","tags":["其他出库"]}},"/other_out/save":{"put":{"consumes":["application/json"],"description":"保存其他出库","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"其他出库","in":"body","name":"other_out","required":true,"schema":{"$ref":"#/definitions/OtherOut"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-OtherOut"}}},"summary":"保存其他出库","tags":["其他出库"]}},"/other_out/update":{"put":{"consumes":["application/json"],"description":"根据条件更新其他出库","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"更新条件","in":"body","name":"update","required":true,"schema":{"$ref":"#/definitions/models.Update"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件更新其他出库","tags":["其他出库"]}},"/other_out_dtl/all":{"get":{"consumes":["application/json"],"description":"获取所有其他出库明细","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_OtherOutDtl"}}},"summary":"获取所有其他出库明细","tags":["其他出库明细"]}},"/other_out_dtl/batch":{"delete":{"consumes":["x-www-form-urlencoded"],"description":"根据ID批量删除其他出库明细","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"id列表","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据ID批量删除其他出库明细","tags":["其他出库明细"]},"get":{"consumes":["x-www-form-urlencoded"],"description":"根据ID批量获取其他出库明细","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"id列表","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_OtherOutDtl"}}},"summary":"根据ID批量获取其他出库明细","tags":["其他出库明细"]}},"/other_out_dtl/by":{"delete":{"consumes":["application/json"],"description":"根据ID删除其他出库明细","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据ID删除其他出库明细","tags":["其他出库明细"]},"get":{"consumes":["application/json"],"description":"根据ID获取其他出库明细","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-OtherOutDtl"}}},"summary":"根据ID获取其他出库明细","tags":["其他出库明细"]}},"/other_out_dtl/count":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取其他出库明细数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"其他出库","in":"query","name":"other_out","required":false,"type":"string"},{"description":"物料","in":"query","name":"material","required":false,"type":"string"},{"description":"仓库","in":"query","name":"warehouse","required":false,"type":"string"},{"description":"货位","in":"query","name":"bin","required":false,"type":"string"},{"description":"批号","in":"query","name":"batch_no","required":false,"type":"string"},{"description":"单位","in":"query","name":"unit","required":false,"type":"string"},{"description":"状态","in":"query","name":"status","required":false,"type":"string"},{"description":"追溯码","in":"query","name":"traceable_code","required":false,"type":"string"},{"description":"备注","in":"query","name":"note","required":false,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"type":"integer"}}},"summary":"获取其他出库明细数量","tags":["其他出库明细"]},"post":{"consumes":["application/json"],"description":"根据条件查询其他出库明细数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"type":"integer"}}},"summary":"根据条件查询其他出库明细数量","tags":["其他出库明细"]}},"/other_out_dtl/create":{"post":{"consumes":["application/json"],"description":"新增其他出库明细","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"其他出库明细","in":"body","name":"other_out_dtl","required":true,"schema":{"$ref":"#/definitions/OtherOutDtl"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-OtherOutDtl"}}},"summary":"新增其他出库明细","tags":["其他出库明细"]}},"/other_out_dtl/delete":{"post":{"consumes":["application/json"],"description":"根据条件删除其他出库明细","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"删除条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件删除其他出库明细","tags":["其他出库明细"]}},"/other_out_dtl/list":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取其他出库明细列表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"},{"description":"其他出库","in":"query","name":"other_out","required":false,"type":"string"},{"description":"物料","in":"query","name":"material","required":false,"type":"string"},{"description":"仓库","in":"query","name":"warehouse","required":false,"type":"string"},{"description":"货位","in":"query","name":"bin","required":false,"type":"string"},{"description":"批号","in":"query","name":"batch_no","required":false,"type":"string"},{"description":"单位","in":"query","name":"unit","required":false,"type":"string"},{"description":"状态","in":"query","name":"status","required":false,"type":"string"},{"description":"追溯码","in":"query","name":"traceable_code","required":false,"type":"string"},{"description":"备注","in":"query","name":"note","required":false,"type":"string"},{"description":"页码","in":"query","name":"page","required":false,"type":"integer"},{"description":"每页数量","in":"query","name":"limit","required":false,"type":"integer"},{"description":"排序","in":"query","name":"order_by","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_OtherOutDtl"}}},"summary":"获取其他出库明细列表","tags":["其他出库明细"]},"post":{"consumes":["application/json"],"description":"根据条件查询其他出库明细","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"filter","required":true,"schema":{"$ref":"#/definitions/models.Filter"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_OtherOutDtl"}}},"summary":"根据条件查询其他出库明细","tags":["其他出库明细"]}},"/other_out_dtl/model":{"get":{"consumes":["application/json"],"description":"其他出库明细模型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_FieldInfo"}}},"summary":"其他出库明细模型","tags":["其他出库明细"]}},"/other_out_dtl/save":{"put":{"consumes":["application/json"],"description":"保存其他出库明细","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"其他出库明细","in":"body","name":"other_out_dtl","required":true,"schema":{"$ref":"#/definitions/OtherOutDtl"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-OtherOutDtl"}}},"summary":"保存其他出库明细","tags":["其他出库明细"]}},"/other_out_dtl/update":{"put":{"consumes":["application/json"],"description":"根据条件更新其他出库明细","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"更新条件","in":"body","name":"update","required":true,"schema":{"$ref":"#/definitions/models.Update"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件更新其他出库明细","tags":["其他出库明细"]}},"/paid_service/all":{"get":{"consumes":["application/json"],"description":"获取所有付费服务","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_PaidService"}}},"summary":"获取所有付费服务","tags":["付费服务"]}},"/paid_service/batch":{"delete":{"consumes":["x-www-form-urlencoded"],"description":"根据ID批量删除付费服务","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"id列表","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据ID批量删除付费服务","tags":["付费服务"]},"get":{"consumes":["x-www-form-urlencoded"],"description":"根据ID批量获取付费服务","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"id列表","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_PaidService"}}},"summary":"根据ID批量获取付费服务","tags":["付费服务"]}},"/paid_service/by":{"delete":{"consumes":["application/json"],"description":"根据ID删除付费服务","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据ID删除付费服务","tags":["付费服务"]},"get":{"consumes":["application/json"],"description":"根据ID获取付费服务","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-PaidService"}}},"summary":"根据ID获取付费服务","tags":["付费服务"]}},"/paid_service/combo":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取付费服务下拉列表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"搜索关键字","in":"query","name":"search","required":false,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_PaidServiceCombo"}}},"summary":"获取付费服务下拉列表","tags":["付费服务"]}},"/paid_service/count":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取付费服务数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"搜索关键字","in":"query","name":"search","required":false,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"type":"integer"}}},"summary":"获取付费服务数量","tags":["付费服务"]},"post":{"consumes":["application/json"],"description":"根据条件查询付费服务数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"type":"integer"}}},"summary":"根据条件查询付费服务数量","tags":["付费服务"]}},"/paid_service/create":{"post":{"consumes":["application/json"],"description":"新增付费服务","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"付费服务","in":"body","name":"paid_service","required":true,"schema":{"$ref":"#/definitions/PaidService"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-PaidService"}}},"summary":"新增付费服务","tags":["付费服务"]}},"/paid_service/delete":{"post":{"consumes":["application/json"],"description":"根据条件删除付费服务","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"删除条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件删除付费服务","tags":["付费服务"]}},"/paid_service/list":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取付费服务列表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"搜索关键字","in":"query","name":"search","required":false,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"},{"description":"页码","in":"query","name":"page","required":false,"type":"integer"},{"description":"每页数量","in":"query","name":"limit","required":false,"type":"integer"},{"description":"排序","in":"query","name":"order_by","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_PaidService"}}},"summary":"获取付费服务列表","tags":["付费服务"]},"post":{"consumes":["application/json"],"description":"根据条件查询付费服务","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"filter","required":true,"schema":{"$ref":"#/definitions/models.Filter"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_PaidService"}}},"summary":"根据条件查询付费服务","tags":["付费服务"]}},"/paid_service/model":{"get":{"consumes":["application/json"],"description":"付费服务模型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_FieldInfo"}}},"summary":"付费服务模型","tags":["付费服务"]}},"/paid_service/save":{"put":{"consumes":["application/json"],"description":"保存付费服务","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"付费服务","in":"body","name":"paid_service","required":true,"schema":{"$ref":"#/definitions/PaidService"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-PaidService"}}},"summary":"保存付费服务","tags":["付费服务"]}},"/paid_service/update":{"put":{"consumes":["application/json"],"description":"根据条件更新付费服务","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"更新条件","in":"body","name":"update","required":true,"schema":{"$ref":"#/definitions/models.Update"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件更新付费服务","tags":["付费服务"]}},"/paid_service_spec/all":{"get":{"consumes":["application/json"],"description":"获取所有服务规格","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_PaidServiceSpec"}}},"summary":"获取所有服务规格","tags":["服务规格"]}},"/paid_service_spec/batch":{"delete":{"consumes":["x-www-form-urlencoded"],"description":"根据ID批量删除服务规格","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"id列表","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据ID批量删除服务规格","tags":["服务规格"]},"get":{"consumes":["x-www-form-urlencoded"],"description":"根据ID批量获取服务规格","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"id列表","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_PaidServiceSpec"}}},"summary":"根据ID批量获取服务规格","tags":["服务规格"]}},"/paid_service_spec/by":{"delete":{"consumes":["application/json"],"description":"根据ID删除服务规格","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据ID删除服务规格","tags":["服务规格"]},"get":{"consumes":["application/json"],"description":"根据ID获取服务规格","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-PaidServiceSpec"}}},"summary":"根据ID获取服务规格","tags":["服务规格"]}},"/paid_service_spec/combo":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取服务规格下拉列表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"},{"description":"搜索关键字","in":"query","name":"search","required":false,"type":"string"},{"description":"服务","in":"query","name":"service","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_PaidServiceSpecCombo"}}},"summary":"获取服务规格下拉列表","tags":["服务规格"]}},"/paid_service_spec/count":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取服务规格数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"搜索关键字","in":"query","name":"search","required":false,"type":"string"},{"description":"服务","in":"query","name":"service","required":false,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"type":"integer"}}},"summary":"获取服务规格数量","tags":["服务规格"]},"post":{"consumes":["application/json"],"description":"根据条件查询服务规格数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"type":"integer"}}},"summary":"根据条件查询服务规格数量","tags":["服务规格"]}},"/paid_service_spec/create":{"post":{"consumes":["application/json"],"description":"新增服务规格","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"服务规格","in":"body","name":"paid_service_spec","required":true,"schema":{"$ref":"#/definitions/PaidServiceSpec"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-PaidServiceSpec"}}},"summary":"新增服务规格","tags":["服务规格"]}},"/paid_service_spec/delete":{"post":{"consumes":["application/json"],"description":"根据条件删除服务规格","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"删除条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件删除服务规格","tags":["服务规格"]}},"/paid_service_spec/list":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取服务规格列表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"},{"description":"搜索关键字","in":"query","name":"search","required":false,"type":"string"},{"description":"服务","in":"query","name":"service","required":false,"type":"string"},{"description":"页码","in":"query","name":"page","required":false,"type":"integer"},{"description":"每页数量","in":"query","name":"limit","required":false,"type":"integer"},{"description":"排序","in":"query","name":"order_by","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_PaidServiceSpec"}}},"summary":"获取服务规格列表","tags":["服务规格"]},"post":{"consumes":["application/json"],"description":"根据条件查询服务规格","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"filter","required":true,"schema":{"$ref":"#/definitions/models.Filter"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_PaidServiceSpec"}}},"summary":"根据条件查询服务规格","tags":["服务规格"]}},"/paid_service_spec/model":{"get":{"consumes":["application/json"],"description":"服务规格模型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_FieldInfo"}}},"summary":"服务规格模型","tags":["服务规格"]}},"/paid_service_spec/save":{"put":{"consumes":["application/json"],"description":"保存服务规格","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"服务规格","in":"body","name":"paid_service_spec","required":true,"schema":{"$ref":"#/definitions/PaidServiceSpec"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-PaidServiceSpec"}}},"summary":"保存服务规格","tags":["服务规格"]}},"/paid_service_spec/update":{"put":{"consumes":["application/json"],"description":"根据条件更新服务规格","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"更新条件","in":"body","name":"update","required":true,"schema":{"$ref":"#/definitions/models.Update"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件更新服务规格","tags":["服务规格"]}},"/paid_service_user/all":{"get":{"consumes":["application/json"],"description":"获取所有用户服务","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_PaidServiceUser"}}},"summary":"获取所有用户服务","tags":["用户服务"]}},"/paid_service_user/batch":{"delete":{"consumes":["x-www-form-urlencoded"],"description":"根据ID批量删除用户服务","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"id列表","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据ID批量删除用户服务","tags":["用户服务"]},"get":{"consumes":["x-www-form-urlencoded"],"description":"根据ID批量获取用户服务","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"id列表","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_PaidServiceUser"}}},"summary":"根据ID批量获取用户服务","tags":["用户服务"]}},"/paid_service_user/buy":{"post":{"consumes":["application/x-www-form-urlencoded"],"description":"用户购买付费服务","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"规格","in":"query","name":"spec","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.Result"}}},"summary":"用户购买付费服务","tags":["用户服务"]}},"/paid_service_user/by":{"delete":{"consumes":["application/json"],"description":"根据ID删除用户服务","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据ID删除用户服务","tags":["用户服务"]},"get":{"consumes":["application/json"],"description":"根据ID获取用户服务","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-PaidServiceUser"}}},"summary":"根据ID获取用户服务","tags":["用户服务"]}},"/paid_service_user/count":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取用户服务数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"服务","in":"query","name":"service","required":false,"type":"string"},{"description":"用户","in":"query","name":"user","required":false,"type":"string"},{"description":"过期时间开始","in":"query","name":"expired_at_start","required":false,"type":"string"},{"description":"过期时间结束","in":"query","name":"expired_at_end","required":false,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"type":"integer"}}},"summary":"获取用户服务数量","tags":["用户服务"]},"post":{"consumes":["application/json"],"description":"根据条件查询用户服务数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"type":"integer"}}},"summary":"根据条件查询用户服务数量","tags":["用户服务"]}},"/paid_service_user/create":{"post":{"consumes":["application/json"],"description":"新增用户服务","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"用户服务","in":"body","name":"paid_service_user","required":true,"schema":{"$ref":"#/definitions/PaidServiceUser"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-PaidServiceUser"}}},"summary":"新增用户服务","tags":["用户服务"]}},"/paid_service_user/delete":{"post":{"consumes":["application/json"],"description":"根据条件删除用户服务","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"删除条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件删除用户服务","tags":["用户服务"]}},"/paid_service_user/list":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取用户服务列表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"服务","in":"query","name":"service","required":false,"type":"string"},{"description":"用户","in":"query","name":"user","required":false,"type":"string"},{"description":"过期时间开始","in":"query","name":"expired_at_start","required":false,"type":"string"},{"description":"过期时间结束","in":"query","name":"expired_at_end","required":false,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"},{"description":"页码","in":"query","name":"page","required":false,"type":"integer"},{"description":"每页数量","in":"query","name":"limit","required":false,"type":"integer"},{"description":"排序","in":"query","name":"order_by","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_PaidServiceUser"}}},"summary":"获取用户服务列表","tags":["用户服务"]},"post":{"consumes":["application/json"],"description":"根据条件查询用户服务","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"filter","required":true,"schema":{"$ref":"#/definitions/models.Filter"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_PaidServiceUser"}}},"summary":"根据条件查询用户服务","tags":["用户服务"]}},"/paid_service_user/list_by_user":{"get":{"consumes":["application/x-www-form-urlencoded"],"description":"用户获取付费服务列表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"排序","in":"query","name":"order_by","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_PaidServiceUser"}}},"summary":"用户获取付费服务列表","tags":["用户服务"]}},"/paid_service_user/model":{"get":{"consumes":["application/json"],"description":"用户服务模型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_FieldInfo"}}},"summary":"用户服务模型","tags":["用户服务"]}},"/paid_service_user/save":{"put":{"consumes":["application/json"],"description":"保存用户服务","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"用户服务","in":"body","name":"paid_service_user","required":true,"schema":{"$ref":"#/definitions/PaidServiceUser"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-PaidServiceUser"}}},"summary":"保存用户服务","tags":["用户服务"]}},"/paid_service_user/update":{"put":{"consumes":["application/json"],"description":"根据条件更新用户服务","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"更新条件","in":"body","name":"update","required":true,"schema":{"$ref":"#/definitions/models.Update"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件更新用户服务","tags":["用户服务"]}},"/paid_service_user_record/all":{"get":{"consumes":["application/json"],"description":"获取所有用户服务购买记录","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_PaidServiceUserRecord"}}},"summary":"获取所有用户服务购买记录","tags":["用户服务购买记录"]}},"/paid_service_user_record/batch":{"delete":{"consumes":["x-www-form-urlencoded"],"description":"根据ID批量删除用户服务购买记录","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"id列表","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据ID批量删除用户服务购买记录","tags":["用户服务购买记录"]},"get":{"consumes":["x-www-form-urlencoded"],"description":"根据ID批量获取用户服务购买记录","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"id列表","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_PaidServiceUserRecord"}}},"summary":"根据ID批量获取用户服务购买记录","tags":["用户服务购买记录"]}},"/paid_service_user_record/by":{"delete":{"consumes":["application/json"],"description":"根据ID删除用户服务购买记录","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据ID删除用户服务购买记录","tags":["用户服务购买记录"]},"get":{"consumes":["application/json"],"description":"根据ID获取用户服务购买记录","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-PaidServiceUserRecord"}}},"summary":"根据ID获取用户服务购买记录","tags":["用户服务购买记录"]}},"/paid_service_user_record/count":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取用户服务购买记录数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"服务","in":"query","name":"service","required":false,"type":"string"},{"description":"用户","in":"query","name":"user","required":false,"type":"string"},{"description":"规格","in":"query","name":"spec","required":false,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"type":"integer"}}},"summary":"获取用户服务购买记录数量","tags":["用户服务购买记录"]},"post":{"consumes":["application/json"],"description":"根据条件查询用户服务购买记录数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"type":"integer"}}},"summary":"根据条件查询用户服务购买记录数量","tags":["用户服务购买记录"]}},"/paid_service_user_record/create":{"post":{"consumes":["application/json"],"description":"新增用户服务购买记录","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"用户服务购买记录","in":"body","name":"paid_service_user_record","required":true,"schema":{"$ref":"#/definitions/PaidServiceUserRecord"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-PaidServiceUserRecord"}}},"summary":"新增用户服务购买记录","tags":["用户服务购买记录"]}},"/paid_service_user_record/delete":{"post":{"consumes":["application/json"],"description":"根据条件删除用户服务购买记录","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"删除条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件删除用户服务购买记录","tags":["用户服务购买记录"]}},"/paid_service_user_record/list":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取用户服务购买记录列表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"服务","in":"query","name":"service","required":false,"type":"string"},{"description":"用户","in":"query","name":"user","required":false,"type":"string"},{"description":"规格","in":"query","name":"spec","required":false,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"},{"description":"页码","in":"query","name":"page","required":false,"type":"integer"},{"description":"每页数量","in":"query","name":"limit","required":false,"type":"integer"},{"description":"排序","in":"query","name":"order_by","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_PaidServiceUserRecord"}}},"summary":"获取用户服务购买记录列表","tags":["用户服务购买记录"]},"post":{"consumes":["application/json"],"description":"根据条件查询用户服务购买记录","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"filter","required":true,"schema":{"$ref":"#/definitions/models.Filter"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_PaidServiceUserRecord"}}},"summary":"根据条件查询用户服务购买记录","tags":["用户服务购买记录"]}},"/paid_service_user_record/list_by_user":{"get":{"consumes":["application/x-www-form-urlencoded"],"description":"用户获取付费服务记录列表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"页码","in":"query","name":"page","required":false,"type":"integer"},{"description":"每页条数","in":"query","name":"size","required":false,"type":"integer"},{"description":"排序","in":"query","name":"order_by","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-PaidServiceUserRecord"}}},"summary":"用户获取付费服务记录列表","tags":["用户服务购买记录"]}},"/paid_service_user_record/model":{"get":{"consumes":["application/json"],"description":"用户服务购买记录模型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_FieldInfo"}}},"summary":"用户服务购买记录模型","tags":["用户服务购买记录"]}},"/paid_service_user_record/save":{"put":{"consumes":["application/json"],"description":"保存用户服务购买记录","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"用户服务购买记录","in":"body","name":"paid_service_user_record","required":true,"schema":{"$ref":"#/definitions/PaidServiceUserRecord"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-PaidServiceUserRecord"}}},"summary":"保存用户服务购买记录","tags":["用户服务购买记录"]}},"/paid_service_user_record/update":{"put":{"consumes":["application/json"],"description":"根据条件更新用户服务购买记录","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"更新条件","in":"body","name":"update","required":true,"schema":{"$ref":"#/definitions/models.Update"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件更新用户服务购买记录","tags":["用户服务购买记录"]}},"/product/all":{"get":{"consumes":["application/json"],"description":"获取所有基础-成品","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_Product"}}},"summary":"获取所有基础-成品","tags":["基础-成品"]}},"/product/batch":{"delete":{"consumes":["x-www-form-urlencoded"],"description":"根据ID批量删除基础-成品","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"id列表","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据ID批量删除基础-成品","tags":["基础-成品"]},"get":{"consumes":["x-www-form-urlencoded"],"description":"根据ID批量获取基础-成品","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"id列表","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_Product"}}},"summary":"根据ID批量获取基础-成品","tags":["基础-成品"]}},"/product/by":{"delete":{"consumes":["application/json"],"description":"根据ID删除基础-成品","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据ID删除基础-成品","tags":["基础-成品"]},"get":{"consumes":["application/json"],"description":"根据ID获取基础-成品","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-Product"}}},"summary":"根据ID获取基础-成品","tags":["基础-成品"]}},"/product/combo":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取基础-成品下拉列表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"搜索关键字","in":"query","name":"search","required":false,"type":"string"},{"description":"供应商","in":"query","name":"supply","required":false,"type":"string"},{"description":"颜色","in":"query","name":"color","required":false,"type":"string"},{"description":"类型","in":"query","name":"type","required":false,"type":"string"},{"description":"尺码","in":"query","name":"size","required":false,"type":"string"},{"description":"长度","in":"query","name":"length","required":false,"type":"string"},{"description":"染整方式","in":"query","name":"dye","required":false,"type":"string"},{"description":"异常","in":"query","name":"abnormal","required":false,"type":"string"},{"description":"备注","in":"query","name":"note","required":false,"type":"string"},{"description":"克重","in":"query","name":"gram","required":false,"type":"string"},{"description":"工艺","in":"query","name":"tech","required":false,"type":"string"},{"description":"规格","in":"query","name":"spec","required":false,"type":"string"},{"description":"成分比","in":"query","name":"percent","required":false,"type":"string"},{"description":"坯布价格开始","in":"query","name":"price_raw_start","required":false,"type":"number"},{"description":"坯布价格结束","in":"query","name":"price_raw_end","required":false,"type":"number"},{"description":"成品价格开始","in":"query","name":"price_end_start","required":false,"type":"number"},{"description":"成品价格结束","in":"query","name":"price_end_end","required":false,"type":"number"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_ProductCombo"}}},"summary":"获取基础-成品下拉列表","tags":["基础-成品"]}},"/product/count":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取基础-成品数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"搜索关键字","in":"query","name":"search","required":false,"type":"string"},{"description":"供应商","in":"query","name":"supply","required":false,"type":"string"},{"description":"颜色","in":"query","name":"color","required":false,"type":"string"},{"description":"类型","in":"query","name":"type","required":false,"type":"string"},{"description":"尺码","in":"query","name":"size","required":false,"type":"string"},{"description":"长度","in":"query","name":"length","required":false,"type":"string"},{"description":"染整方式","in":"query","name":"dye","required":false,"type":"string"},{"description":"异常","in":"query","name":"abnormal","required":false,"type":"string"},{"description":"备注","in":"query","name":"note","required":false,"type":"string"},{"description":"克重","in":"query","name":"gram","required":false,"type":"string"},{"description":"工艺","in":"query","name":"tech","required":false,"type":"string"},{"description":"规格","in":"query","name":"spec","required":false,"type":"string"},{"description":"成分比","in":"query","name":"percent","required":false,"type":"string"},{"description":"坯布价格开始","in":"query","name":"price_raw_start","required":false,"type":"number"},{"description":"坯布价格结束","in":"query","name":"price_raw_end","required":false,"type":"number"},{"description":"成品价格开始","in":"query","name":"price_end_start","required":false,"type":"number"},{"description":"成品价格结束","in":"query","name":"price_end_end","required":false,"type":"number"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"type":"integer"}}},"summary":"获取基础-成品数量","tags":["基础-成品"]},"post":{"consumes":["application/json"],"description":"根据条件查询基础-成品数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"type":"integer"}}},"summary":"根据条件查询基础-成品数量","tags":["基础-成品"]}},"/product/create":{"post":{"consumes":["application/json"],"description":"新增基础-成品","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"基础-成品","in":"body","name":"product","required":true,"schema":{"$ref":"#/definitions/Product"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-Product"}}},"summary":"新增基础-成品","tags":["基础-成品"]}},"/product/delete":{"post":{"consumes":["application/json"],"description":"根据条件删除基础-成品","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"删除条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件删除基础-成品","tags":["基础-成品"]}},"/product/list":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取基础-成品列表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"搜索关键字","in":"query","name":"search","required":false,"type":"string"},{"description":"供应商","in":"query","name":"supply","required":false,"type":"string"},{"description":"颜色","in":"query","name":"color","required":false,"type":"string"},{"description":"类型","in":"query","name":"type","required":false,"type":"string"},{"description":"尺码","in":"query","name":"size","required":false,"type":"string"},{"description":"长度","in":"query","name":"length","required":false,"type":"string"},{"description":"染整方式","in":"query","name":"dye","required":false,"type":"string"},{"description":"异常","in":"query","name":"abnormal","required":false,"type":"string"},{"description":"备注","in":"query","name":"note","required":false,"type":"string"},{"description":"克重","in":"query","name":"gram","required":false,"type":"string"},{"description":"工艺","in":"query","name":"tech","required":false,"type":"string"},{"description":"规格","in":"query","name":"spec","required":false,"type":"string"},{"description":"成分比","in":"query","name":"percent","required":false,"type":"string"},{"description":"坯布价格开始","in":"query","name":"price_raw_start","required":false,"type":"number"},{"description":"坯布价格结束","in":"query","name":"price_raw_end","required":false,"type":"number"},{"description":"成品价格开始","in":"query","name":"price_end_start","required":false,"type":"number"},{"description":"成品价格结束","in":"query","name":"price_end_end","required":false,"type":"number"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"},{"description":"页码","in":"query","name":"page","required":false,"type":"integer"},{"description":"每页数量","in":"query","name":"limit","required":false,"type":"integer"},{"description":"排序","in":"query","name":"order_by","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_Product"}}},"summary":"获取基础-成品列表","tags":["基础-成品"]},"post":{"consumes":["application/json"],"description":"根据条件查询基础-成品","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"filter","required":true,"schema":{"$ref":"#/definitions/models.Filter"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_Product"}}},"summary":"根据条件查询基础-成品","tags":["基础-成品"]}},"/product/model":{"get":{"consumes":["application/json"],"description":"基础-成品模型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_FieldInfo"}}},"summary":"基础-成品模型","tags":["基础-成品"]}},"/product/save":{"put":{"consumes":["application/json"],"description":"保存基础-成品","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"基础-成品","in":"body","name":"product","required":true,"schema":{"$ref":"#/definitions/Product"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-Product"}}},"summary":"保存基础-成品","tags":["基础-成品"]}},"/product/update":{"put":{"consumes":["application/json"],"description":"根据条件更新基础-成品","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"更新条件","in":"body","name":"update","required":true,"schema":{"$ref":"#/definitions/models.Update"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件更新基础-成品","tags":["基础-成品"]}},"/purchase_in/all":{"get":{"consumes":["application/json"],"description":"获取所有采购入库","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_PurchaseIn"}}},"summary":"获取所有采购入库","tags":["采购入库"]}},"/purchase_in/batch":{"delete":{"consumes":["x-www-form-urlencoded"],"description":"根据ID批量删除采购入库","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"id列表","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据ID批量删除采购入库","tags":["采购入库"]},"get":{"consumes":["x-www-form-urlencoded"],"description":"根据ID批量获取采购入库","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"id列表","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_PurchaseIn"}}},"summary":"根据ID批量获取采购入库","tags":["采购入库"]}},"/purchase_in/by":{"delete":{"consumes":["application/json"],"description":"根据ID删除采购入库","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据ID删除采购入库","tags":["采购入库"]},"get":{"consumes":["application/json"],"description":"根据ID获取采购入库","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-PurchaseIn"}}},"summary":"根据ID获取采购入库","tags":["采购入库"]}},"/purchase_in/count":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取采购入库数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"采购订单","in":"query","name":"purchase_order","required":false,"type":"string"},{"description":"操作员","in":"query","name":"operator","required":false,"type":"string"},{"description":"仓库","in":"query","name":"warehouse","required":false,"type":"string"},{"description":"状态","in":"query","name":"status","required":false,"type":"string"},{"description":"单据编号","in":"query","name":"bill_no","required":false,"type":"string"},{"description":"备注","in":"query","name":"note","required":false,"type":"string"},{"description":"入库日期开始","in":"query","name":"in_date_start","required":false,"type":"string"},{"description":"入库日期结束","in":"query","name":"in_date_end","required":false,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"type":"integer"}}},"summary":"获取采购入库数量","tags":["采购入库"]},"post":{"consumes":["application/json"],"description":"根据条件查询采购入库数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"type":"integer"}}},"summary":"根据条件查询采购入库数量","tags":["采购入库"]}},"/purchase_in/create":{"post":{"consumes":["application/json"],"description":"新增采购入库","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"采购入库","in":"body","name":"purchase_in","required":true,"schema":{"$ref":"#/definitions/PurchaseIn"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-PurchaseIn"}}},"summary":"新增采购入库","tags":["采购入库"]}},"/purchase_in/delete":{"post":{"consumes":["application/json"],"description":"根据条件删除采购入库","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"删除条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件删除采购入库","tags":["采购入库"]}},"/purchase_in/list":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取采购入库列表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"采购订单","in":"query","name":"purchase_order","required":false,"type":"string"},{"description":"操作员","in":"query","name":"operator","required":false,"type":"string"},{"description":"仓库","in":"query","name":"warehouse","required":false,"type":"string"},{"description":"状态","in":"query","name":"status","required":false,"type":"string"},{"description":"单据编号","in":"query","name":"bill_no","required":false,"type":"string"},{"description":"备注","in":"query","name":"note","required":false,"type":"string"},{"description":"入库日期开始","in":"query","name":"in_date_start","required":false,"type":"string"},{"description":"入库日期结束","in":"query","name":"in_date_end","required":false,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"},{"description":"页码","in":"query","name":"page","required":false,"type":"integer"},{"description":"每页数量","in":"query","name":"limit","required":false,"type":"integer"},{"description":"排序","in":"query","name":"order_by","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_PurchaseIn"}}},"summary":"获取采购入库列表","tags":["采购入库"]},"post":{"consumes":["application/json"],"description":"根据条件查询采购入库","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"filter","required":true,"schema":{"$ref":"#/definitions/models.Filter"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_PurchaseIn"}}},"summary":"根据条件查询采购入库","tags":["采购入库"]}},"/purchase_in/model":{"get":{"consumes":["application/json"],"description":"采购入库模型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_FieldInfo"}}},"summary":"采购入库模型","tags":["采购入库"]}},"/purchase_in/save":{"put":{"consumes":["application/json"],"description":"保存采购入库","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"采购入库","in":"body","name":"purchase_in","required":true,"schema":{"$ref":"#/definitions/PurchaseIn"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-PurchaseIn"}}},"summary":"保存采购入库","tags":["采购入库"]}},"/purchase_in/update":{"put":{"consumes":["application/json"],"description":"根据条件更新采购入库","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"更新条件","in":"body","name":"update","required":true,"schema":{"$ref":"#/definitions/models.Update"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件更新采购入库","tags":["采购入库"]}},"/purchase_in_dtl/all":{"get":{"consumes":["application/json"],"description":"获取所有采购入库明细","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_PurchaseInDtl"}}},"summary":"获取所有采购入库明细","tags":["采购入库明细"]}},"/purchase_in_dtl/batch":{"delete":{"consumes":["x-www-form-urlencoded"],"description":"根据ID批量删除采购入库明细","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"id列表","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据ID批量删除采购入库明细","tags":["采购入库明细"]},"get":{"consumes":["x-www-form-urlencoded"],"description":"根据ID批量获取采购入库明细","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"id列表","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_PurchaseInDtl"}}},"summary":"根据ID批量获取采购入库明细","tags":["采购入库明细"]}},"/purchase_in_dtl/by":{"delete":{"consumes":["application/json"],"description":"根据ID删除采购入库明细","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据ID删除采购入库明细","tags":["采购入库明细"]},"get":{"consumes":["application/json"],"description":"根据ID获取采购入库明细","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-PurchaseInDtl"}}},"summary":"根据ID获取采购入库明细","tags":["采购入库明细"]}},"/purchase_in_dtl/count":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取采购入库明细数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"追溯码","in":"query","name":"traceable_code","required":false,"type":"string"},{"description":"备注","in":"query","name":"note","required":false,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"},{"description":"采购入库","in":"query","name":"purchase_in","required":false,"type":"string"},{"description":"物料","in":"query","name":"material","required":false,"type":"string"},{"description":"仓库","in":"query","name":"warehouse","required":false,"type":"string"},{"description":"货位","in":"query","name":"bin","required":false,"type":"string"},{"description":"批号","in":"query","name":"batch_no","required":false,"type":"string"},{"description":"单位","in":"query","name":"unit","required":false,"type":"string"},{"description":"状态","in":"query","name":"status","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"type":"integer"}}},"summary":"获取采购入库明细数量","tags":["采购入库明细"]},"post":{"consumes":["application/json"],"description":"根据条件查询采购入库明细数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"type":"integer"}}},"summary":"根据条件查询采购入库明细数量","tags":["采购入库明细"]}},"/purchase_in_dtl/create":{"post":{"consumes":["application/json"],"description":"新增采购入库明细","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"采购入库明细","in":"body","name":"purchase_in_dtl","required":true,"schema":{"$ref":"#/definitions/PurchaseInDtl"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-PurchaseInDtl"}}},"summary":"新增采购入库明细","tags":["采购入库明细"]}},"/purchase_in_dtl/delete":{"post":{"consumes":["application/json"],"description":"根据条件删除采购入库明细","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"删除条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件删除采购入库明细","tags":["采购入库明细"]}},"/purchase_in_dtl/list":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取采购入库明细列表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"采购入库","in":"query","name":"purchase_in","required":false,"type":"string"},{"description":"物料","in":"query","name":"material","required":false,"type":"string"},{"description":"仓库","in":"query","name":"warehouse","required":false,"type":"string"},{"description":"货位","in":"query","name":"bin","required":false,"type":"string"},{"description":"批号","in":"query","name":"batch_no","required":false,"type":"string"},{"description":"单位","in":"query","name":"unit","required":false,"type":"string"},{"description":"状态","in":"query","name":"status","required":false,"type":"string"},{"description":"追溯码","in":"query","name":"traceable_code","required":false,"type":"string"},{"description":"备注","in":"query","name":"note","required":false,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"},{"description":"页码","in":"query","name":"page","required":false,"type":"integer"},{"description":"每页数量","in":"query","name":"limit","required":false,"type":"integer"},{"description":"排序","in":"query","name":"order_by","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_PurchaseInDtl"}}},"summary":"获取采购入库明细列表","tags":["采购入库明细"]},"post":{"consumes":["application/json"],"description":"根据条件查询采购入库明细","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"filter","required":true,"schema":{"$ref":"#/definitions/models.Filter"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_PurchaseInDtl"}}},"summary":"根据条件查询采购入库明细","tags":["采购入库明细"]}},"/purchase_in_dtl/model":{"get":{"consumes":["application/json"],"description":"采购入库明细模型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_FieldInfo"}}},"summary":"采购入库明细模型","tags":["采购入库明细"]}},"/purchase_in_dtl/save":{"put":{"consumes":["application/json"],"description":"保存采购入库明细","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"采购入库明细","in":"body","name":"purchase_in_dtl","required":true,"schema":{"$ref":"#/definitions/PurchaseInDtl"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-PurchaseInDtl"}}},"summary":"保存采购入库明细","tags":["采购入库明细"]}},"/purchase_in_dtl/update":{"put":{"consumes":["application/json"],"description":"根据条件更新采购入库明细","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"更新条件","in":"body","name":"update","required":true,"schema":{"$ref":"#/definitions/models.Update"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件更新采购入库明细","tags":["采购入库明细"]}},"/purchase_order/all":{"get":{"consumes":["application/json"],"description":"获取所有采购订单","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_PurchaseOrder"}}},"summary":"获取所有采购订单","tags":["采购订单"]}},"/purchase_order/batch":{"delete":{"consumes":["x-www-form-urlencoded"],"description":"根据ID批量删除采购订单","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"id列表","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据ID批量删除采购订单","tags":["采购订单"]},"get":{"consumes":["x-www-form-urlencoded"],"description":"根据ID批量获取采购订单","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"id列表","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_PurchaseOrder"}}},"summary":"根据ID批量获取采购订单","tags":["采购订单"]}},"/purchase_order/by":{"delete":{"consumes":["application/json"],"description":"根据ID删除采购订单","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据ID删除采购订单","tags":["采购订单"]},"get":{"consumes":["application/json"],"description":"根据ID获取采购订单","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-PurchaseOrder"}}},"summary":"根据ID获取采购订单","tags":["采购订单"]}},"/purchase_order/count":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取采购订单数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"供应商","in":"query","name":"supplier","required":false,"type":"string"},{"description":"采购员","in":"query","name":"buyer","required":false,"type":"string"},{"description":"状态","in":"query","name":"status","required":false,"type":"string"},{"description":"付款状态","in":"query","name":"pay_status","required":false,"type":"string"},{"description":"单据编号","in":"query","name":"bill_no","required":false,"type":"string"},{"description":"备注","in":"query","name":"note","required":false,"type":"string"},{"description":"单据日期开始","in":"query","name":"order_date_start","required":false,"type":"string"},{"description":"单据日期结束","in":"query","name":"order_date_end","required":false,"type":"string"},{"description":"交货日期开始","in":"query","name":"delivery_date_start","required":false,"type":"string"},{"description":"交货日期结束","in":"query","name":"delivery_date_end","required":false,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"type":"integer"}}},"summary":"获取采购订单数量","tags":["采购订单"]},"post":{"consumes":["application/json"],"description":"根据条件查询采购订单数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"type":"integer"}}},"summary":"根据条件查询采购订单数量","tags":["采购订单"]}},"/purchase_order/create":{"post":{"consumes":["application/json"],"description":"新增采购订单","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"采购订单","in":"body","name":"purchase_order","required":true,"schema":{"$ref":"#/definitions/PurchaseOrder"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-PurchaseOrder"}}},"summary":"新增采购订单","tags":["采购订单"]}},"/purchase_order/delete":{"post":{"consumes":["application/json"],"description":"根据条件删除采购订单","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"删除条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件删除采购订单","tags":["采购订单"]}},"/purchase_order/list":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取采购订单列表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"供应商","in":"query","name":"supplier","required":false,"type":"string"},{"description":"采购员","in":"query","name":"buyer","required":false,"type":"string"},{"description":"状态","in":"query","name":"status","required":false,"type":"string"},{"description":"付款状态","in":"query","name":"pay_status","required":false,"type":"string"},{"description":"单据编号","in":"query","name":"bill_no","required":false,"type":"string"},{"description":"备注","in":"query","name":"note","required":false,"type":"string"},{"description":"单据日期开始","in":"query","name":"order_date_start","required":false,"type":"string"},{"description":"单据日期结束","in":"query","name":"order_date_end","required":false,"type":"string"},{"description":"交货日期开始","in":"query","name":"delivery_date_start","required":false,"type":"string"},{"description":"交货日期结束","in":"query","name":"delivery_date_end","required":false,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"},{"description":"页码","in":"query","name":"page","required":false,"type":"integer"},{"description":"每页数量","in":"query","name":"limit","required":false,"type":"integer"},{"description":"排序","in":"query","name":"order_by","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_PurchaseOrder"}}},"summary":"获取采购订单列表","tags":["采购订单"]},"post":{"consumes":["application/json"],"description":"根据条件查询采购订单","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"filter","required":true,"schema":{"$ref":"#/definitions/models.Filter"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_PurchaseOrder"}}},"summary":"根据条件查询采购订单","tags":["采购订单"]}},"/purchase_order/model":{"get":{"consumes":["application/json"],"description":"采购订单模型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_FieldInfo"}}},"summary":"采购订单模型","tags":["采购订单"]}},"/purchase_order/save":{"put":{"consumes":["application/json"],"description":"保存采购订单","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"采购订单","in":"body","name":"purchase_order","required":true,"schema":{"$ref":"#/definitions/PurchaseOrder"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-PurchaseOrder"}}},"summary":"保存采购订单","tags":["采购订单"]}},"/purchase_order/update":{"put":{"consumes":["application/json"],"description":"根据条件更新采购订单","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"更新条件","in":"body","name":"update","required":true,"schema":{"$ref":"#/definitions/models.Update"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件更新采购订单","tags":["采购订单"]}},"/purchase_order_dtl/all":{"get":{"consumes":["application/json"],"description":"获取所有采购订单明细","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_PurchaseOrderDtl"}}},"summary":"获取所有采购订单明细","tags":["采购订单明细"]}},"/purchase_order_dtl/batch":{"delete":{"consumes":["x-www-form-urlencoded"],"description":"根据ID批量删除采购订单明细","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"id列表","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据ID批量删除采购订单明细","tags":["采购订单明细"]},"get":{"consumes":["x-www-form-urlencoded"],"description":"根据ID批量获取采购订单明细","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"id列表","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_PurchaseOrderDtl"}}},"summary":"根据ID批量获取采购订单明细","tags":["采购订单明细"]}},"/purchase_order_dtl/by":{"delete":{"consumes":["application/json"],"description":"根据ID删除采购订单明细","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据ID删除采购订单明细","tags":["采购订单明细"]},"get":{"consumes":["application/json"],"description":"根据ID获取采购订单明细","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-PurchaseOrderDtl"}}},"summary":"根据ID获取采购订单明细","tags":["采购订单明细"]}},"/purchase_order_dtl/count":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取采购订单明细数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"},{"description":"采购订单","in":"query","name":"purchase_order","required":false,"type":"string"},{"description":"物料","in":"query","name":"material","required":false,"type":"string"},{"description":"单位","in":"query","name":"unit","required":false,"type":"string"},{"description":"状态","in":"query","name":"status","required":false,"type":"string"},{"description":"备注","in":"query","name":"note","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"type":"integer"}}},"summary":"获取采购订单明细数量","tags":["采购订单明细"]},"post":{"consumes":["application/json"],"description":"根据条件查询采购订单明细数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"type":"integer"}}},"summary":"根据条件查询采购订单明细数量","tags":["采购订单明细"]}},"/purchase_order_dtl/create":{"post":{"consumes":["application/json"],"description":"新增采购订单明细","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"采购订单明细","in":"body","name":"purchase_order_dtl","required":true,"schema":{"$ref":"#/definitions/PurchaseOrderDtl"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-PurchaseOrderDtl"}}},"summary":"新增采购订单明细","tags":["采购订单明细"]}},"/purchase_order_dtl/delete":{"post":{"consumes":["application/json"],"description":"根据条件删除采购订单明细","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"删除条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件删除采购订单明细","tags":["采购订单明细"]}},"/purchase_order_dtl/list":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取采购订单明细列表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"采购订单","in":"query","name":"purchase_order","required":false,"type":"string"},{"description":"物料","in":"query","name":"material","required":false,"type":"string"},{"description":"单位","in":"query","name":"unit","required":false,"type":"string"},{"description":"状态","in":"query","name":"status","required":false,"type":"string"},{"description":"备注","in":"query","name":"note","required":false,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"},{"description":"页码","in":"query","name":"page","required":false,"type":"integer"},{"description":"每页数量","in":"query","name":"limit","required":false,"type":"integer"},{"description":"排序","in":"query","name":"order_by","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_PurchaseOrderDtl"}}},"summary":"获取采购订单明细列表","tags":["采购订单明细"]},"post":{"consumes":["application/json"],"description":"根据条件查询采购订单明细","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"filter","required":true,"schema":{"$ref":"#/definitions/models.Filter"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_PurchaseOrderDtl"}}},"summary":"根据条件查询采购订单明细","tags":["采购订单明细"]}},"/purchase_order_dtl/model":{"get":{"consumes":["application/json"],"description":"采购订单明细模型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_FieldInfo"}}},"summary":"采购订单明细模型","tags":["采购订单明细"]}},"/purchase_order_dtl/save":{"put":{"consumes":["application/json"],"description":"保存采购订单明细","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"采购订单明细","in":"body","name":"purchase_order_dtl","required":true,"schema":{"$ref":"#/definitions/PurchaseOrderDtl"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-PurchaseOrderDtl"}}},"summary":"保存采购订单明细","tags":["采购订单明细"]}},"/purchase_order_dtl/update":{"put":{"consumes":["application/json"],"description":"根据条件更新采购订单明细","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"更新条件","in":"body","name":"update","required":true,"schema":{"$ref":"#/definitions/models.Update"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件更新采购订单明细","tags":["采购订单明细"]}},"/role/all":{"get":{"consumes":["application/json"],"description":"获取所有角色","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_Role"}}},"summary":"获取所有角色","tags":["角色"]}},"/role/batch":{"delete":{"consumes":["application/x-www-form-urlencoded"],"description":"根据ID批量删除角色","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"角色ID数组","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据ID批量删除角色","tags":["角色"]},"get":{"consumes":["application/x-www-form-urlencoded"],"description":"根据ID批量获取角色","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"角色ID数组","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_Role"}}},"summary":"根据ID批量获取角色","tags":["角色"]}},"/role/count":{"get":{"consumes":["application/x-www-form-urlencoded"],"description":"获取角色数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"搜索","in":"query","name":"search","type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-int"}}},"summary":"获取角色数量","tags":["角色"]},"post":{"consumes":["application/json"],"description":"根据条件获取角色数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"逻辑条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-int"}}},"summary":"根据条件获取角色数量","tags":["角色"]}},"/role/create":{"post":{"consumes":["application/json"],"description":"创建角色","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"角色","in":"body","name":"role","required":true,"schema":{"$ref":"#/definitions/models.Role"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-models_Role"}}},"summary":"创建角色","tags":["角色"]}},"/role/delete":{"post":{"consumes":["application/json"],"description":"根据条件删除角色","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"删除条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件删除角色","tags":["角色"]}},"/role/list":{"get":{"consumes":["application/x-www-form-urlencoded"],"description":"角色列表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"页码","in":"query","name":"page","type":"integer"},{"description":"每页条数","in":"query","name":"limit","type":"integer"},{"description":"搜索","in":"query","name":"search","type":"string"},{"description":"排序","in":"query","name":"order_by","type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_Role"}}},"summary":"角色列表","tags":["角色"]},"post":{"consumes":["application/json"],"description":"根据条件获取角色列表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"filter","required":true,"schema":{"$ref":"#/definitions/models.Filter"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_Role"}}},"summary":"根据条件获取角色列表","tags":["角色"]}},"/role/model":{"get":{"consumes":["application/json"],"description":"角色模型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_FieldInfo"}}},"summary":"角色模型","tags":["角色"]}},"/role/save":{"put":{"consumes":["application/json"],"description":"保存角色","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"角色","in":"body","name":"role","required":true,"schema":{"$ref":"#/definitions/models.Role"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-models_Role"}}},"summary":"保存角色","tags":["角色"]}},"/role/update":{"put":{"consumes":["application/json"],"description":"根据条件更新角色","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"更新条件","in":"body","name":"update","required":true,"schema":{"$ref":"#/definitions/models.Update"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件更新角色","tags":["角色"]}},"/role/{id}":{"delete":{"consumes":["application/json"],"description":"删除角色","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"角色ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"删除角色","tags":["角色"]},"get":{"consumes":["application/json"],"description":"获取角色","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"角色ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-models_Role"}}},"summary":"获取角色","tags":["角色"]}},"/role_table/all":{"get":{"consumes":["application/json"],"description":"获取所有角色表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_RoleTable"}}},"summary":"获取所有角色表","tags":["角色表"]}},"/role_table/batch":{"delete":{"consumes":["application/json"],"description":"根据ID批量删除角色表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"角色表ID列表","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据ID批量删除角色表","tags":["角色表"]},"get":{"consumes":["application/json"],"description":"根据ID批量获取角色表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"角色表ID列表","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_RoleTable"}}},"summary":"根据ID批量获取角色表","tags":["角色表"]}},"/role_table/count":{"get":{"consumes":["application/x-www-form-urlencoded"],"description":"角色表数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"角色ID","format":"uuid","in":"query","name":"role_id","type":"string"},{"description":"表ID","format":"uuid","in":"query","name":"table_id","type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-int"}}},"summary":"角色表数量","tags":["角色表"]},"post":{"consumes":["application/json"],"description":"根据条件获取角色表数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-int"}}},"summary":"根据条件获取角色表数量","tags":["角色表"]}},"/role_table/create":{"post":{"consumes":["application/json"],"description":"创建角色表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"角色表","in":"body","name":"role_table","required":true,"schema":{"$ref":"#/definitions/models.RoleTable"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-models_RoleTable"}}},"summary":"创建角色表","tags":["角色表"]}},"/role_table/delete":{"post":{"consumes":["application/json"],"description":"根据条件删除角色表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"删除条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件删除角色表","tags":["角色表"]}},"/role_table/list":{"get":{"consumes":["application/x-www-form-urlencoded"],"description":"角色表列表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"页码","in":"query","name":"page","type":"integer"},{"description":"每页条数","in":"query","name":"limit","type":"integer"},{"description":"角色ID","format":"uuid","in":"query","name":"role_id","type":"string"},{"description":"表ID","format":"uuid","in":"query","name":"table_id","type":"string"},{"description":"排序","in":"query","name":"order_by","type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_RoleTable"}}},"summary":"角色表列表","tags":["角色表"]},"post":{"consumes":["application/json"],"description":"根据条件获取角色表列表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"filter","required":true,"schema":{"$ref":"#/definitions/models.Filter"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_RoleTable"}}},"summary":"根据条件获取角色表列表","tags":["角色表"]}},"/role_table/model":{"get":{"consumes":["application/json"],"description":"角色表模型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_FieldInfo"}}},"summary":"角色表模型","tags":["角色表"]}},"/role_table/save":{"put":{"consumes":["application/json"],"description":"保存角色表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"角色表","in":"body","name":"role_table","required":true,"schema":{"$ref":"#/definitions/models.RoleTable"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-models_RoleTable"}}},"summary":"保存角色表","tags":["角色表"]}},"/role_table/tree/{role_id}":{"get":{"consumes":["application/json"],"description":"获取角色表树","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"角色ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_ModuleTree"}}},"summary":"获取角色表树","tags":["角色表"]}},"/role_table/update":{"put":{"consumes":["application/json"],"description":"根据条件更新角色表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"更新条件","in":"body","name":"update","required":true,"schema":{"$ref":"#/definitions/models.Update"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件更新角色表","tags":["角色表"]}},"/role_table/{id}":{"delete":{"consumes":["application/json"],"description":"删除角色表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"角色表ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"删除角色表","tags":["角色表"]},"get":{"consumes":["application/json"],"description":"获取角色表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"角色表ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-models_RoleTable"}}},"summary":"获取角色表","tags":["角色表"]}},"/role_table_save_field/all":{"get":{"consumes":["application/json"],"description":"获取所有角色表保存字段","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_RoleTableSaveField"}}},"summary":"获取所有角色表保存字段","tags":["角色表保存字段"]}},"/role_table_save_field/batch":{"delete":{"consumes":["application/x-www-form-urlencoded"],"description":"批量删除角色表保存字段","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"角色表保存字段ID","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"批量删除角色表保存字段","tags":["角色表保存字段"]},"get":{"consumes":["application/x-www-form-urlencoded"],"description":"批量获取角色表保存字段","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"角色表保存字段ID","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_RoleTableSaveField"}}},"summary":"批量获取角色表保存字段","tags":["角色表保存字段"]}},"/role_table_save_field/count":{"post":{"consumes":["application/json"],"description":"根据条件获取角色表保存字段数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"逻辑条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-int"}}},"summary":"根据条件获取角色表保存字段数量","tags":["角色表保存字段"]}},"/role_table_save_field/create":{"post":{"consumes":["application/json"],"description":"创建角色表保存字段","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"角色表保存字段","in":"body","name":"roleTableSaveField","required":true,"schema":{"$ref":"#/definitions/models.RoleTableSaveField"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-models_RoleTableSaveField"}}},"summary":"创建角色表保存字段","tags":["角色表保存字段"]}},"/role_table_save_field/delete":{"post":{"consumes":["application/json"],"description":"根据条件删除角色表保存字段","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"删除条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件删除角色表保存字段","tags":["角色表保存字段"]}},"/role_table_save_field/disable/batch":{"patch":{"consumes":["application/x-www-form-urlencoded"],"description":"批量禁用角色表保存字段","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"角色表保存字段ID","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"批量禁用角色表保存字段","tags":["角色表保存字段"]}},"/role_table_save_field/disable/{id}":{"patch":{"consumes":["application/json"],"description":"禁用角色表保存字段","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"角色表保存字段ID","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"禁用角色表保存字段","tags":["角色表保存字段"]}},"/role_table_save_field/enable/batch":{"patch":{"consumes":["application/x-www-form-urlencoded"],"description":"批量启用角色表保存字段","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"角色表保存字段ID","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"批量启用角色表保存字段","tags":["角色表保存字段"]}},"/role_table_save_field/enable/{id}":{"patch":{"consumes":["application/json"],"description":"启用角色表保存字段","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"角色表保存字段ID","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"启用角色表保存字段","tags":["角色表保存字段"]}},"/role_table_save_field/list":{"post":{"consumes":["application/json"],"description":"根据条件获取角色表保存字段列表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"filter","required":true,"schema":{"$ref":"#/definitions/models.Filter"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_RoleTableSaveField"}}},"summary":"根据条件获取角色表保存字段列表","tags":["角色表保存字段"]}},"/role_table_save_field/model":{"get":{"consumes":["application/json"],"description":"角色表保存字段模型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_FieldInfo"}}},"summary":"角色表保存字段模型","tags":["角色表保存字段"]}},"/role_table_save_field/{id}":{"delete":{"consumes":["application/json"],"description":"删除角色表保存字段","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"角色表保存字段ID","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"删除角色表保存字段","tags":["角色表保存字段"]},"get":{"consumes":["application/json"],"description":"获取角色表保存字段","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"角色表保存字段ID","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-models_RoleTableSaveField"}}},"summary":"获取角色表保存字段","tags":["角色表保存字段"]}},"/role_table_select_field/all":{"get":{"consumes":["application/json"],"description":"获取所有角色表选择字段","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_RoleTableSelectField"}}},"summary":"获取所有角色表选择字段","tags":["角色表选择字段"]}},"/role_table_select_field/batch":{"delete":{"consumes":["application/x-www-form-urlencoded"],"description":"批量删除角色表选择字段","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"角色表选择字段ID","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"批量删除角色表选择字段","tags":["角色表选择字段"]},"get":{"consumes":["application/x-www-form-urlencoded"],"description":"批量获取角色表选择字段","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"角色表选择字段ID","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_RoleTableSelectField"}}},"summary":"批量获取角色表选择字段","tags":["角色表选择字段"]}},"/role_table_select_field/create":{"post":{"consumes":["application/json"],"description":"创建角色表选择字段","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"角色表选择字段","in":"body","name":"roleTableSelectField","required":true,"schema":{"$ref":"#/definitions/models.RoleTableSelectField"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-models_RoleTableSelectField"}}},"summary":"创建角色表选择字段","tags":["角色表选择字段"]}},"/role_table_select_field/delete":{"post":{"consumes":["application/json"],"description":"根据条件删除角色表选择字段","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"删除条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件删除角色表选择字段","tags":["角色表选择字段"]}},"/role_table_select_field/disable/batch":{"patch":{"consumes":["application/x-www-form-urlencoded"],"description":"批量禁用角色表选择字段","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"角色表选择字段ID","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"批量禁用角色表选择字段","tags":["角色表选择字段"]}},"/role_table_select_field/disable/{id}":{"patch":{"consumes":["application/json"],"description":"禁用角色表选择字段","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"角色表选择字段ID","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"禁用角色表选择字段","tags":["角色表选择字段"]}},"/role_table_select_field/enable/batch":{"patch":{"consumes":["application/x-www-form-urlencoded"],"description":"批量启用角色表选择字段","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"角色表选择字段ID","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"批量启用角色表选择字段","tags":["角色表选择字段"]}},"/role_table_select_field/enable/{id}":{"patch":{"consumes":["application/json"],"description":"启用角色表选择字段","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"角色表选择字段ID","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"启用角色表选择字段","tags":["角色表选择字段"]}},"/role_table_select_field/get/count":{"post":{"consumes":["application/json"],"description":"根据条件获取角色表选择字段数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"查询条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-int"}}},"summary":"根据条件获取角色表选择字段数量","tags":["角色表选择字段"]}},"/role_table_select_field/get/list":{"post":{"consumes":["application/json"],"description":"根据条件获取角色表选择字段","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"filter","required":true,"schema":{"$ref":"#/definitions/models.Filter"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_RoleTableSelectField"}}},"summary":"根据条件获取角色表选择字段","tags":["角色表选择字段"]}},"/role_table_select_field/model":{"get":{"consumes":["application/json"],"description":"角色表选择字段模型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_FieldInfo"}}},"summary":"角色表选择字段模型","tags":["角色表选择字段"]}},"/role_table_select_field/{id}":{"delete":{"consumes":["application/json"],"description":"删除角色表选择字段","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"角色表选择字段ID","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"删除角色表选择字段","tags":["角色表选择字段"]},"get":{"consumes":["application/json"],"description":"获取角色表选择字段","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"角色表选择字段ID","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-models_RoleTableSelectField"}}},"summary":"获取角色表选择字段","tags":["角色表选择字段"]}},"/sale_order/all":{"get":{"consumes":["application/json"],"description":"获取所有销售订单","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_SaleOrder"}}},"summary":"获取所有销售订单","tags":["销售订单"]}},"/sale_order/batch":{"delete":{"consumes":["x-www-form-urlencoded"],"description":"根据ID批量删除销售订单","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"id列表","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据ID批量删除销售订单","tags":["销售订单"]},"get":{"consumes":["x-www-form-urlencoded"],"description":"根据ID批量获取销售订单","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"id列表","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_SaleOrder"}}},"summary":"根据ID批量获取销售订单","tags":["销售订单"]}},"/sale_order/by":{"delete":{"consumes":["application/json"],"description":"根据ID删除销售订单","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据ID删除销售订单","tags":["销售订单"]},"get":{"consumes":["application/json"],"description":"根据ID获取销售订单","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-SaleOrder"}}},"summary":"根据ID获取销售订单","tags":["销售订单"]}},"/sale_order/count":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取销售订单数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"业务员","in":"query","name":"salesman","required":false,"type":"string"},{"description":"客户","in":"query","name":"customer","required":false,"type":"string"},{"description":"状态","in":"query","name":"status","required":false,"type":"string"},{"description":"单据编号","in":"query","name":"bill_no","required":false,"type":"string"},{"description":"备注","in":"query","name":"note","required":false,"type":"string"},{"description":"单据日期开始","in":"query","name":"order_date_start","required":false,"type":"string"},{"description":"单据日期结束","in":"query","name":"order_date_end","required":false,"type":"string"},{"description":"交货日期开始","in":"query","name":"delivery_date_start","required":false,"type":"string"},{"description":"交货日期结束","in":"query","name":"delivery_date_end","required":false,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"type":"integer"}}},"summary":"获取销售订单数量","tags":["销售订单"]},"post":{"consumes":["application/json"],"description":"根据条件查询销售订单数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"type":"integer"}}},"summary":"根据条件查询销售订单数量","tags":["销售订单"]}},"/sale_order/create":{"post":{"consumes":["application/json"],"description":"新增销售订单","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"销售订单","in":"body","name":"sale_order","required":true,"schema":{"$ref":"#/definitions/SaleOrder"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-SaleOrder"}}},"summary":"新增销售订单","tags":["销售订单"]}},"/sale_order/delete":{"post":{"consumes":["application/json"],"description":"根据条件删除销售订单","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"删除条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件删除销售订单","tags":["销售订单"]}},"/sale_order/list":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取销售订单列表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"业务员","in":"query","name":"salesman","required":false,"type":"string"},{"description":"客户","in":"query","name":"customer","required":false,"type":"string"},{"description":"状态","in":"query","name":"status","required":false,"type":"string"},{"description":"单据编号","in":"query","name":"bill_no","required":false,"type":"string"},{"description":"备注","in":"query","name":"note","required":false,"type":"string"},{"description":"单据日期开始","in":"query","name":"order_date_start","required":false,"type":"string"},{"description":"单据日期结束","in":"query","name":"order_date_end","required":false,"type":"string"},{"description":"交货日期开始","in":"query","name":"delivery_date_start","required":false,"type":"string"},{"description":"交货日期结束","in":"query","name":"delivery_date_end","required":false,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"},{"description":"页码","in":"query","name":"page","required":false,"type":"integer"},{"description":"每页数量","in":"query","name":"limit","required":false,"type":"integer"},{"description":"排序","in":"query","name":"order_by","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_SaleOrder"}}},"summary":"获取销售订单列表","tags":["销售订单"]},"post":{"consumes":["application/json"],"description":"根据条件查询销售订单","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"filter","required":true,"schema":{"$ref":"#/definitions/models.Filter"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_SaleOrder"}}},"summary":"根据条件查询销售订单","tags":["销售订单"]}},"/sale_order/model":{"get":{"consumes":["application/json"],"description":"销售订单模型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_FieldInfo"}}},"summary":"销售订单模型","tags":["销售订单"]}},"/sale_order/save":{"put":{"consumes":["application/json"],"description":"保存销售订单","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"销售订单","in":"body","name":"sale_order","required":true,"schema":{"$ref":"#/definitions/SaleOrder"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-SaleOrder"}}},"summary":"保存销售订单","tags":["销售订单"]}},"/sale_order/update":{"put":{"consumes":["application/json"],"description":"根据条件更新销售订单","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"更新条件","in":"body","name":"update","required":true,"schema":{"$ref":"#/definitions/models.Update"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件更新销售订单","tags":["销售订单"]}},"/sale_order_dtl/all":{"get":{"consumes":["application/json"],"description":"获取所有销售订单明细","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_SaleOrderDtl"}}},"summary":"获取所有销售订单明细","tags":["销售订单明细"]}},"/sale_order_dtl/batch":{"delete":{"consumes":["x-www-form-urlencoded"],"description":"根据ID批量删除销售订单明细","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"id列表","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据ID批量删除销售订单明细","tags":["销售订单明细"]},"get":{"consumes":["x-www-form-urlencoded"],"description":"根据ID批量获取销售订单明细","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"id列表","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_SaleOrderDtl"}}},"summary":"根据ID批量获取销售订单明细","tags":["销售订单明细"]}},"/sale_order_dtl/by":{"delete":{"consumes":["application/json"],"description":"根据ID删除销售订单明细","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据ID删除销售订单明细","tags":["销售订单明细"]},"get":{"consumes":["application/json"],"description":"根据ID获取销售订单明细","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-SaleOrderDtl"}}},"summary":"根据ID获取销售订单明细","tags":["销售订单明细"]}},"/sale_order_dtl/count":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取销售订单明细数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"销售订单","in":"query","name":"sale_order","required":false,"type":"string"},{"description":"物料","in":"query","name":"material","required":false,"type":"string"},{"description":"单位","in":"query","name":"unit","required":false,"type":"string"},{"description":"状态","in":"query","name":"status","required":false,"type":"string"},{"description":"备注","in":"query","name":"note","required":false,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"type":"integer"}}},"summary":"获取销售订单明细数量","tags":["销售订单明细"]},"post":{"consumes":["application/json"],"description":"根据条件查询销售订单明细数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"type":"integer"}}},"summary":"根据条件查询销售订单明细数量","tags":["销售订单明细"]}},"/sale_order_dtl/create":{"post":{"consumes":["application/json"],"description":"新增销售订单明细","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"销售订单明细","in":"body","name":"sale_order_dtl","required":true,"schema":{"$ref":"#/definitions/SaleOrderDtl"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-SaleOrderDtl"}}},"summary":"新增销售订单明细","tags":["销售订单明细"]}},"/sale_order_dtl/delete":{"post":{"consumes":["application/json"],"description":"根据条件删除销售订单明细","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"删除条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件删除销售订单明细","tags":["销售订单明细"]}},"/sale_order_dtl/list":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取销售订单明细列表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"},{"description":"销售订单","in":"query","name":"sale_order","required":false,"type":"string"},{"description":"物料","in":"query","name":"material","required":false,"type":"string"},{"description":"单位","in":"query","name":"unit","required":false,"type":"string"},{"description":"状态","in":"query","name":"status","required":false,"type":"string"},{"description":"备注","in":"query","name":"note","required":false,"type":"string"},{"description":"页码","in":"query","name":"page","required":false,"type":"integer"},{"description":"每页数量","in":"query","name":"limit","required":false,"type":"integer"},{"description":"排序","in":"query","name":"order_by","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_SaleOrderDtl"}}},"summary":"获取销售订单明细列表","tags":["销售订单明细"]},"post":{"consumes":["application/json"],"description":"根据条件查询销售订单明细","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"filter","required":true,"schema":{"$ref":"#/definitions/models.Filter"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_SaleOrderDtl"}}},"summary":"根据条件查询销售订单明细","tags":["销售订单明细"]}},"/sale_order_dtl/model":{"get":{"consumes":["application/json"],"description":"销售订单明细模型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_FieldInfo"}}},"summary":"销售订单明细模型","tags":["销售订单明细"]}},"/sale_order_dtl/save":{"put":{"consumes":["application/json"],"description":"保存销售订单明细","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"销售订单明细","in":"body","name":"sale_order_dtl","required":true,"schema":{"$ref":"#/definitions/SaleOrderDtl"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-SaleOrderDtl"}}},"summary":"保存销售订单明细","tags":["销售订单明细"]}},"/sale_order_dtl/update":{"put":{"consumes":["application/json"],"description":"根据条件更新销售订单明细","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"更新条件","in":"body","name":"update","required":true,"schema":{"$ref":"#/definitions/models.Update"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件更新销售订单明细","tags":["销售订单明细"]}},"/sale_out/all":{"get":{"consumes":["application/json"],"description":"获取所有销售出库","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_SaleOut"}}},"summary":"获取所有销售出库","tags":["销售出库"]}},"/sale_out/batch":{"delete":{"consumes":["x-www-form-urlencoded"],"description":"根据ID批量删除销售出库","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"id列表","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据ID批量删除销售出库","tags":["销售出库"]},"get":{"consumes":["x-www-form-urlencoded"],"description":"根据ID批量获取销售出库","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"id列表","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_SaleOut"}}},"summary":"根据ID批量获取销售出库","tags":["销售出库"]}},"/sale_out/by":{"delete":{"consumes":["application/json"],"description":"根据ID删除销售出库","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据ID删除销售出库","tags":["销售出库"]},"get":{"consumes":["application/json"],"description":"根据ID获取销售出库","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-SaleOut"}}},"summary":"根据ID获取销售出库","tags":["销售出库"]}},"/sale_out/count":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取销售出库数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"销售订单","in":"query","name":"sale_order","required":false,"type":"string"},{"description":"操作员","in":"query","name":"operator","required":false,"type":"string"},{"description":"仓库","in":"query","name":"warehouse","required":false,"type":"string"},{"description":"状态","in":"query","name":"status","required":false,"type":"string"},{"description":"单据编号","in":"query","name":"bill_no","required":false,"type":"string"},{"description":"备注","in":"query","name":"note","required":false,"type":"string"},{"description":"出库日期开始","in":"query","name":"out_date_start","required":false,"type":"string"},{"description":"出库日期结束","in":"query","name":"out_date_end","required":false,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"type":"integer"}}},"summary":"获取销售出库数量","tags":["销售出库"]},"post":{"consumes":["application/json"],"description":"根据条件查询销售出库数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"type":"integer"}}},"summary":"根据条件查询销售出库数量","tags":["销售出库"]}},"/sale_out/create":{"post":{"consumes":["application/json"],"description":"新增销售出库","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"销售出库","in":"body","name":"sale_out","required":true,"schema":{"$ref":"#/definitions/SaleOut"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-SaleOut"}}},"summary":"新增销售出库","tags":["销售出库"]}},"/sale_out/delete":{"post":{"consumes":["application/json"],"description":"根据条件删除销售出库","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"删除条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件删除销售出库","tags":["销售出库"]}},"/sale_out/list":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取销售出库列表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"销售订单","in":"query","name":"sale_order","required":false,"type":"string"},{"description":"操作员","in":"query","name":"operator","required":false,"type":"string"},{"description":"仓库","in":"query","name":"warehouse","required":false,"type":"string"},{"description":"状态","in":"query","name":"status","required":false,"type":"string"},{"description":"单据编号","in":"query","name":"bill_no","required":false,"type":"string"},{"description":"备注","in":"query","name":"note","required":false,"type":"string"},{"description":"出库日期开始","in":"query","name":"out_date_start","required":false,"type":"string"},{"description":"出库日期结束","in":"query","name":"out_date_end","required":false,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"},{"description":"页码","in":"query","name":"page","required":false,"type":"integer"},{"description":"每页数量","in":"query","name":"limit","required":false,"type":"integer"},{"description":"排序","in":"query","name":"order_by","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_SaleOut"}}},"summary":"获取销售出库列表","tags":["销售出库"]},"post":{"consumes":["application/json"],"description":"根据条件查询销售出库","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"filter","required":true,"schema":{"$ref":"#/definitions/models.Filter"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_SaleOut"}}},"summary":"根据条件查询销售出库","tags":["销售出库"]}},"/sale_out/model":{"get":{"consumes":["application/json"],"description":"销售出库模型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_FieldInfo"}}},"summary":"销售出库模型","tags":["销售出库"]}},"/sale_out/save":{"put":{"consumes":["application/json"],"description":"保存销售出库","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"销售出库","in":"body","name":"sale_out","required":true,"schema":{"$ref":"#/definitions/SaleOut"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-SaleOut"}}},"summary":"保存销售出库","tags":["销售出库"]}},"/sale_out/update":{"put":{"consumes":["application/json"],"description":"根据条件更新销售出库","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"更新条件","in":"body","name":"update","required":true,"schema":{"$ref":"#/definitions/models.Update"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件更新销售出库","tags":["销售出库"]}},"/sale_out_dtl/all":{"get":{"consumes":["application/json"],"description":"获取所有销售出库明细","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_SaleOutDtl"}}},"summary":"获取所有销售出库明细","tags":["销售出库明细"]}},"/sale_out_dtl/batch":{"delete":{"consumes":["x-www-form-urlencoded"],"description":"根据ID批量删除销售出库明细","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"id列表","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据ID批量删除销售出库明细","tags":["销售出库明细"]},"get":{"consumes":["x-www-form-urlencoded"],"description":"根据ID批量获取销售出库明细","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"id列表","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_SaleOutDtl"}}},"summary":"根据ID批量获取销售出库明细","tags":["销售出库明细"]}},"/sale_out_dtl/by":{"delete":{"consumes":["application/json"],"description":"根据ID删除销售出库明细","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据ID删除销售出库明细","tags":["销售出库明细"]},"get":{"consumes":["application/json"],"description":"根据ID获取销售出库明细","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-SaleOutDtl"}}},"summary":"根据ID获取销售出库明细","tags":["销售出库明细"]}},"/sale_out_dtl/count":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取销售出库明细数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"},{"description":"销售出库","in":"query","name":"sale_out","required":false,"type":"string"},{"description":"物料","in":"query","name":"material","required":false,"type":"string"},{"description":"仓库","in":"query","name":"warehouse","required":false,"type":"string"},{"description":"货位","in":"query","name":"bin","required":false,"type":"string"},{"description":"批号","in":"query","name":"batch_no","required":false,"type":"string"},{"description":"单位","in":"query","name":"unit","required":false,"type":"string"},{"description":"状态","in":"query","name":"status","required":false,"type":"string"},{"description":"追溯码","in":"query","name":"traceable_code","required":false,"type":"string"},{"description":"备注","in":"query","name":"note","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"type":"integer"}}},"summary":"获取销售出库明细数量","tags":["销售出库明细"]},"post":{"consumes":["application/json"],"description":"根据条件查询销售出库明细数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"type":"integer"}}},"summary":"根据条件查询销售出库明细数量","tags":["销售出库明细"]}},"/sale_out_dtl/create":{"post":{"consumes":["application/json"],"description":"新增销售出库明细","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"销售出库明细","in":"body","name":"sale_out_dtl","required":true,"schema":{"$ref":"#/definitions/SaleOutDtl"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-SaleOutDtl"}}},"summary":"新增销售出库明细","tags":["销售出库明细"]}},"/sale_out_dtl/delete":{"post":{"consumes":["application/json"],"description":"根据条件删除销售出库明细","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"删除条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件删除销售出库明细","tags":["销售出库明细"]}},"/sale_out_dtl/list":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取销售出库明细列表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"销售出库","in":"query","name":"sale_out","required":false,"type":"string"},{"description":"物料","in":"query","name":"material","required":false,"type":"string"},{"description":"仓库","in":"query","name":"warehouse","required":false,"type":"string"},{"description":"货位","in":"query","name":"bin","required":false,"type":"string"},{"description":"批号","in":"query","name":"batch_no","required":false,"type":"string"},{"description":"单位","in":"query","name":"unit","required":false,"type":"string"},{"description":"状态","in":"query","name":"status","required":false,"type":"string"},{"description":"追溯码","in":"query","name":"traceable_code","required":false,"type":"string"},{"description":"备注","in":"query","name":"note","required":false,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"},{"description":"页码","in":"query","name":"page","required":false,"type":"integer"},{"description":"每页数量","in":"query","name":"limit","required":false,"type":"integer"},{"description":"排序","in":"query","name":"order_by","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_SaleOutDtl"}}},"summary":"获取销售出库明细列表","tags":["销售出库明细"]},"post":{"consumes":["application/json"],"description":"根据条件查询销售出库明细","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"filter","required":true,"schema":{"$ref":"#/definitions/models.Filter"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_SaleOutDtl"}}},"summary":"根据条件查询销售出库明细","tags":["销售出库明细"]}},"/sale_out_dtl/model":{"get":{"consumes":["application/json"],"description":"销售出库明细模型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_FieldInfo"}}},"summary":"销售出库明细模型","tags":["销售出库明细"]}},"/sale_out_dtl/save":{"put":{"consumes":["application/json"],"description":"保存销售出库明细","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"销售出库明细","in":"body","name":"sale_out_dtl","required":true,"schema":{"$ref":"#/definitions/SaleOutDtl"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-SaleOutDtl"}}},"summary":"保存销售出库明细","tags":["销售出库明细"]}},"/sale_out_dtl/update":{"put":{"consumes":["application/json"],"description":"根据条件更新销售出库明细","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"更新条件","in":"body","name":"update","required":true,"schema":{"$ref":"#/definitions/models.Update"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件更新销售出库明细","tags":["销售出库明细"]}},"/sample/all":{"get":{"consumes":["application/json"],"description":"获取所有基础-样品","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_Sample"}}},"summary":"获取所有基础-样品","tags":["基础-样品"]}},"/sample/batch":{"delete":{"consumes":["x-www-form-urlencoded"],"description":"根据ID批量删除基础-样品","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"id列表","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据ID批量删除基础-样品","tags":["基础-样品"]},"get":{"consumes":["x-www-form-urlencoded"],"description":"根据ID批量获取基础-样品","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"id列表","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_Sample"}}},"summary":"根据ID批量获取基础-样品","tags":["基础-样品"]}},"/sample/by":{"delete":{"consumes":["application/json"],"description":"根据ID删除基础-样品","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据ID删除基础-样品","tags":["基础-样品"]},"get":{"consumes":["application/json"],"description":"根据ID获取基础-样品","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-Sample"}}},"summary":"根据ID获取基础-样品","tags":["基础-样品"]}},"/sample/combo":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取基础-样品下拉列表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"坯布价格开始","in":"query","name":"price_raw_start","required":false,"type":"number"},{"description":"坯布价格结束","in":"query","name":"price_raw_end","required":false,"type":"number"},{"description":"成品价格开始","in":"query","name":"price_end_start","required":false,"type":"number"},{"description":"成品价格结束","in":"query","name":"price_end_end","required":false,"type":"number"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"},{"description":"搜索关键字","in":"query","name":"search","required":false,"type":"string"},{"description":"供应商","in":"query","name":"supply","required":false,"type":"string"},{"description":"颜色","in":"query","name":"color","required":false,"type":"string"},{"description":"类型","in":"query","name":"type","required":false,"type":"string"},{"description":"长度","in":"query","name":"length","required":false,"type":"string"},{"description":"尺码","in":"query","name":"size","required":false,"type":"string"},{"description":"染整方式","in":"query","name":"dye","required":false,"type":"string"},{"description":"异常","in":"query","name":"abnormal","required":false,"type":"string"},{"description":"备注","in":"query","name":"note","required":false,"type":"string"},{"description":"克重","in":"query","name":"gram","required":false,"type":"string"},{"description":"工艺","in":"query","name":"tech","required":false,"type":"string"},{"description":"规格","in":"query","name":"spec","required":false,"type":"string"},{"description":"成分比","in":"query","name":"percent","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_SampleCombo"}}},"summary":"获取基础-样品下拉列表","tags":["基础-样品"]}},"/sample/count":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取基础-样品数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"搜索关键字","in":"query","name":"search","required":false,"type":"string"},{"description":"供应商","in":"query","name":"supply","required":false,"type":"string"},{"description":"颜色","in":"query","name":"color","required":false,"type":"string"},{"description":"类型","in":"query","name":"type","required":false,"type":"string"},{"description":"长度","in":"query","name":"length","required":false,"type":"string"},{"description":"尺码","in":"query","name":"size","required":false,"type":"string"},{"description":"染整方式","in":"query","name":"dye","required":false,"type":"string"},{"description":"异常","in":"query","name":"abnormal","required":false,"type":"string"},{"description":"备注","in":"query","name":"note","required":false,"type":"string"},{"description":"克重","in":"query","name":"gram","required":false,"type":"string"},{"description":"工艺","in":"query","name":"tech","required":false,"type":"string"},{"description":"规格","in":"query","name":"spec","required":false,"type":"string"},{"description":"成分比","in":"query","name":"percent","required":false,"type":"string"},{"description":"坯布价格开始","in":"query","name":"price_raw_start","required":false,"type":"number"},{"description":"坯布价格结束","in":"query","name":"price_raw_end","required":false,"type":"number"},{"description":"成品价格开始","in":"query","name":"price_end_start","required":false,"type":"number"},{"description":"成品价格结束","in":"query","name":"price_end_end","required":false,"type":"number"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"type":"integer"}}},"summary":"获取基础-样品数量","tags":["基础-样品"]},"post":{"consumes":["application/json"],"description":"根据条件查询基础-样品数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"type":"integer"}}},"summary":"根据条件查询基础-样品数量","tags":["基础-样品"]}},"/sample/create":{"post":{"consumes":["application/json"],"description":"新增基础-样品","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"基础-样品","in":"body","name":"sample","required":true,"schema":{"$ref":"#/definitions/Sample"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-Sample"}}},"summary":"新增基础-样品","tags":["基础-样品"]}},"/sample/delete":{"post":{"consumes":["application/json"],"description":"根据条件删除基础-样品","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"删除条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件删除基础-样品","tags":["基础-样品"]}},"/sample/list":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取基础-样品列表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"染整方式","in":"query","name":"dye","required":false,"type":"string"},{"description":"异常","in":"query","name":"abnormal","required":false,"type":"string"},{"description":"备注","in":"query","name":"note","required":false,"type":"string"},{"description":"克重","in":"query","name":"gram","required":false,"type":"string"},{"description":"工艺","in":"query","name":"tech","required":false,"type":"string"},{"description":"规格","in":"query","name":"spec","required":false,"type":"string"},{"description":"成分比","in":"query","name":"percent","required":false,"type":"string"},{"description":"坯布价格开始","in":"query","name":"price_raw_start","required":false,"type":"number"},{"description":"坯布价格结束","in":"query","name":"price_raw_end","required":false,"type":"number"},{"description":"成品价格开始","in":"query","name":"price_end_start","required":false,"type":"number"},{"description":"成品价格结束","in":"query","name":"price_end_end","required":false,"type":"number"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"},{"description":"搜索关键字","in":"query","name":"search","required":false,"type":"string"},{"description":"供应商","in":"query","name":"supply","required":false,"type":"string"},{"description":"颜色","in":"query","name":"color","required":false,"type":"string"},{"description":"类型","in":"query","name":"type","required":false,"type":"string"},{"description":"长度","in":"query","name":"length","required":false,"type":"string"},{"description":"尺码","in":"query","name":"size","required":false,"type":"string"},{"description":"页码","in":"query","name":"page","required":false,"type":"integer"},{"description":"每页数量","in":"query","name":"limit","required":false,"type":"integer"},{"description":"排序","in":"query","name":"order_by","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_Sample"}}},"summary":"获取基础-样品列表","tags":["基础-样品"]},"post":{"consumes":["application/json"],"description":"根据条件查询基础-样品","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"filter","required":true,"schema":{"$ref":"#/definitions/models.Filter"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_Sample"}}},"summary":"根据条件查询基础-样品","tags":["基础-样品"]}},"/sample/model":{"get":{"consumes":["application/json"],"description":"基础-样品模型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_FieldInfo"}}},"summary":"基础-样品模型","tags":["基础-样品"]}},"/sample/save":{"put":{"consumes":["application/json"],"description":"保存基础-样品","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"基础-样品","in":"body","name":"sample","required":true,"schema":{"$ref":"#/definitions/Sample"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-Sample"}}},"summary":"保存基础-样品","tags":["基础-样品"]}},"/sample/update":{"put":{"consumes":["application/json"],"description":"根据条件更新基础-样品","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"更新条件","in":"body","name":"update","required":true,"schema":{"$ref":"#/definitions/models.Update"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件更新基础-样品","tags":["基础-样品"]}},"/supplier/all":{"get":{"consumes":["application/json"],"description":"获取所有供应商","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_Supplier"}}},"summary":"获取所有供应商","tags":["供应商"]}},"/supplier/batch":{"delete":{"consumes":["x-www-form-urlencoded"],"description":"根据ID批量删除供应商","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"id列表","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据ID批量删除供应商","tags":["供应商"]},"get":{"consumes":["x-www-form-urlencoded"],"description":"根据ID批量获取供应商","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"id列表","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_Supplier"}}},"summary":"根据ID批量获取供应商","tags":["供应商"]}},"/supplier/by":{"delete":{"consumes":["application/json"],"description":"根据ID删除供应商","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据ID删除供应商","tags":["供应商"]},"get":{"consumes":["application/json"],"description":"根据ID获取供应商","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-Supplier"}}},"summary":"根据ID获取供应商","tags":["供应商"]}},"/supplier/combo":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取供应商下拉列表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"邮箱","in":"query","name":"email","required":false,"type":"string"},{"description":"地址","in":"query","name":"address","required":false,"type":"string"},{"description":"网址","in":"query","name":"web","required":false,"type":"string"},{"description":"联系电话","in":"query","name":"phone","required":false,"type":"string"},{"description":"税号","in":"query","name":"tax_code","required":false,"type":"string"},{"description":"银行","in":"query","name":"bank","required":false,"type":"string"},{"description":"银行账号","in":"query","name":"bank_account","required":false,"type":"string"},{"description":"备注","in":"query","name":"note","required":false,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"},{"description":"搜索关键字","in":"query","name":"search","required":false,"type":"string"},{"description":"类型","in":"query","name":"type","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_SupplierCombo"}}},"summary":"获取供应商下拉列表","tags":["供应商"]}},"/supplier/count":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取供应商数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"搜索关键字","in":"query","name":"search","required":false,"type":"string"},{"description":"类型","in":"query","name":"type","required":false,"type":"string"},{"description":"邮箱","in":"query","name":"email","required":false,"type":"string"},{"description":"地址","in":"query","name":"address","required":false,"type":"string"},{"description":"网址","in":"query","name":"web","required":false,"type":"string"},{"description":"联系电话","in":"query","name":"phone","required":false,"type":"string"},{"description":"税号","in":"query","name":"tax_code","required":false,"type":"string"},{"description":"银行","in":"query","name":"bank","required":false,"type":"string"},{"description":"银行账号","in":"query","name":"bank_account","required":false,"type":"string"},{"description":"备注","in":"query","name":"note","required":false,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"type":"integer"}}},"summary":"获取供应商数量","tags":["供应商"]},"post":{"consumes":["application/json"],"description":"根据条件查询供应商数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"type":"integer"}}},"summary":"根据条件查询供应商数量","tags":["供应商"]}},"/supplier/create":{"post":{"consumes":["application/json"],"description":"新增供应商","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"供应商","in":"body","name":"supplier","required":true,"schema":{"$ref":"#/definitions/Supplier"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-Supplier"}}},"summary":"新增供应商","tags":["供应商"]}},"/supplier/delete":{"post":{"consumes":["application/json"],"description":"根据条件删除供应商","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"删除条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件删除供应商","tags":["供应商"]}},"/supplier/list":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取供应商列表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"搜索关键字","in":"query","name":"search","required":false,"type":"string"},{"description":"类型","in":"query","name":"type","required":false,"type":"string"},{"description":"邮箱","in":"query","name":"email","required":false,"type":"string"},{"description":"地址","in":"query","name":"address","required":false,"type":"string"},{"description":"网址","in":"query","name":"web","required":false,"type":"string"},{"description":"联系电话","in":"query","name":"phone","required":false,"type":"string"},{"description":"税号","in":"query","name":"tax_code","required":false,"type":"string"},{"description":"银行","in":"query","name":"bank","required":false,"type":"string"},{"description":"银行账号","in":"query","name":"bank_account","required":false,"type":"string"},{"description":"备注","in":"query","name":"note","required":false,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"},{"description":"页码","in":"query","name":"page","required":false,"type":"integer"},{"description":"每页数量","in":"query","name":"limit","required":false,"type":"integer"},{"description":"排序","in":"query","name":"order_by","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_Supplier"}}},"summary":"获取供应商列表","tags":["供应商"]},"post":{"consumes":["application/json"],"description":"根据条件查询供应商","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"filter","required":true,"schema":{"$ref":"#/definitions/models.Filter"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_Supplier"}}},"summary":"根据条件查询供应商","tags":["供应商"]}},"/supplier/model":{"get":{"consumes":["application/json"],"description":"供应商模型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_FieldInfo"}}},"summary":"供应商模型","tags":["供应商"]}},"/supplier/save":{"put":{"consumes":["application/json"],"description":"保存供应商","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"供应商","in":"body","name":"supplier","required":true,"schema":{"$ref":"#/definitions/Supplier"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-Supplier"}}},"summary":"保存供应商","tags":["供应商"]}},"/supplier/update":{"put":{"consumes":["application/json"],"description":"根据条件更新供应商","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"更新条件","in":"body","name":"update","required":true,"schema":{"$ref":"#/definitions/models.Update"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件更新供应商","tags":["供应商"]}},"/supplier_type/all":{"get":{"consumes":["application/json"],"description":"获取所有供应商类型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_SupplierType"}}},"summary":"获取所有供应商类型","tags":["供应商类型"]}},"/supplier_type/batch":{"delete":{"consumes":["x-www-form-urlencoded"],"description":"根据ID批量删除供应商类型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"id列表","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据ID批量删除供应商类型","tags":["供应商类型"]},"get":{"consumes":["x-www-form-urlencoded"],"description":"根据ID批量获取供应商类型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"id列表","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_SupplierType"}}},"summary":"根据ID批量获取供应商类型","tags":["供应商类型"]}},"/supplier_type/by":{"delete":{"consumes":["application/json"],"description":"根据ID删除供应商类型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据ID删除供应商类型","tags":["供应商类型"]},"get":{"consumes":["application/json"],"description":"根据ID获取供应商类型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-SupplierType"}}},"summary":"根据ID获取供应商类型","tags":["供应商类型"]}},"/supplier_type/combo":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取供应商类型下拉列表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"搜索关键字","in":"query","name":"search","required":false,"type":"string"},{"description":"备注","in":"query","name":"note","required":false,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_SupplierTypeCombo"}}},"summary":"获取供应商类型下拉列表","tags":["供应商类型"]}},"/supplier_type/count":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取供应商类型数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"搜索关键字","in":"query","name":"search","required":false,"type":"string"},{"description":"备注","in":"query","name":"note","required":false,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"type":"integer"}}},"summary":"获取供应商类型数量","tags":["供应商类型"]},"post":{"consumes":["application/json"],"description":"根据条件查询供应商类型数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"type":"integer"}}},"summary":"根据条件查询供应商类型数量","tags":["供应商类型"]}},"/supplier_type/create":{"post":{"consumes":["application/json"],"description":"新增供应商类型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"供应商类型","in":"body","name":"supplier_type","required":true,"schema":{"$ref":"#/definitions/SupplierType"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-SupplierType"}}},"summary":"新增供应商类型","tags":["供应商类型"]}},"/supplier_type/delete":{"post":{"consumes":["application/json"],"description":"根据条件删除供应商类型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"删除条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件删除供应商类型","tags":["供应商类型"]}},"/supplier_type/list":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取供应商类型列表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"},{"description":"搜索关键字","in":"query","name":"search","required":false,"type":"string"},{"description":"备注","in":"query","name":"note","required":false,"type":"string"},{"description":"页码","in":"query","name":"page","required":false,"type":"integer"},{"description":"每页数量","in":"query","name":"limit","required":false,"type":"integer"},{"description":"排序","in":"query","name":"order_by","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_SupplierType"}}},"summary":"获取供应商类型列表","tags":["供应商类型"]},"post":{"consumes":["application/json"],"description":"根据条件查询供应商类型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"filter","required":true,"schema":{"$ref":"#/definitions/models.Filter"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_SupplierType"}}},"summary":"根据条件查询供应商类型","tags":["供应商类型"]}},"/supplier_type/model":{"get":{"consumes":["application/json"],"description":"供应商类型模型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_FieldInfo"}}},"summary":"供应商类型模型","tags":["供应商类型"]}},"/supplier_type/save":{"put":{"consumes":["application/json"],"description":"保存供应商类型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"供应商类型","in":"body","name":"supplier_type","required":true,"schema":{"$ref":"#/definitions/SupplierType"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-SupplierType"}}},"summary":"保存供应商类型","tags":["供应商类型"]}},"/supplier_type/update":{"put":{"consumes":["application/json"],"description":"根据条件更新供应商类型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"更新条件","in":"body","name":"update","required":true,"schema":{"$ref":"#/definitions/models.Update"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件更新供应商类型","tags":["供应商类型"]}},"/supply/all":{"get":{"consumes":["application/json"],"description":"获取所有基础-供应商","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_Supply"}}},"summary":"获取所有基础-供应商","tags":["基础-供应商"]}},"/supply/batch":{"delete":{"consumes":["x-www-form-urlencoded"],"description":"根据ID批量删除基础-供应商","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"id列表","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据ID批量删除基础-供应商","tags":["基础-供应商"]},"get":{"consumes":["x-www-form-urlencoded"],"description":"根据ID批量获取基础-供应商","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"id列表","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_Supply"}}},"summary":"根据ID批量获取基础-供应商","tags":["基础-供应商"]}},"/supply/by":{"delete":{"consumes":["application/json"],"description":"根据ID删除基础-供应商","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据ID删除基础-供应商","tags":["基础-供应商"]},"get":{"consumes":["application/json"],"description":"根据ID获取基础-供应商","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-Supply"}}},"summary":"根据ID获取基础-供应商","tags":["基础-供应商"]}},"/supply/combo":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取基础-供应商下拉列表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"地址","in":"query","name":"address","required":false,"type":"string"},{"description":"跟进","in":"query","name":"follow","required":false,"type":"string"},{"description":"电话","in":"query","name":"phone","required":false,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"},{"description":"搜索关键字","in":"query","name":"search","required":false,"type":"string"},{"description":"类型","in":"query","name":"type","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_SupplyCombo"}}},"summary":"获取基础-供应商下拉列表","tags":["基础-供应商"]}},"/supply/count":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取基础-供应商数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"搜索关键字","in":"query","name":"search","required":false,"type":"string"},{"description":"类型","in":"query","name":"type","required":false,"type":"string"},{"description":"地址","in":"query","name":"address","required":false,"type":"string"},{"description":"跟进","in":"query","name":"follow","required":false,"type":"string"},{"description":"电话","in":"query","name":"phone","required":false,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"type":"integer"}}},"summary":"获取基础-供应商数量","tags":["基础-供应商"]},"post":{"consumes":["application/json"],"description":"根据条件查询基础-供应商数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"type":"integer"}}},"summary":"根据条件查询基础-供应商数量","tags":["基础-供应商"]}},"/supply/create":{"post":{"consumes":["application/json"],"description":"新增基础-供应商","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"基础-供应商","in":"body","name":"supply","required":true,"schema":{"$ref":"#/definitions/Supply"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-Supply"}}},"summary":"新增基础-供应商","tags":["基础-供应商"]}},"/supply/delete":{"post":{"consumes":["application/json"],"description":"根据条件删除基础-供应商","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"删除条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件删除基础-供应商","tags":["基础-供应商"]}},"/supply/list":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取基础-供应商列表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"搜索关键字","in":"query","name":"search","required":false,"type":"string"},{"description":"类型","in":"query","name":"type","required":false,"type":"string"},{"description":"地址","in":"query","name":"address","required":false,"type":"string"},{"description":"跟进","in":"query","name":"follow","required":false,"type":"string"},{"description":"电话","in":"query","name":"phone","required":false,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"},{"description":"页码","in":"query","name":"page","required":false,"type":"integer"},{"description":"每页数量","in":"query","name":"limit","required":false,"type":"integer"},{"description":"排序","in":"query","name":"order_by","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_Supply"}}},"summary":"获取基础-供应商列表","tags":["基础-供应商"]},"post":{"consumes":["application/json"],"description":"根据条件查询基础-供应商","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"filter","required":true,"schema":{"$ref":"#/definitions/models.Filter"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_Supply"}}},"summary":"根据条件查询基础-供应商","tags":["基础-供应商"]}},"/supply/model":{"get":{"consumes":["application/json"],"description":"基础-供应商模型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_FieldInfo"}}},"summary":"基础-供应商模型","tags":["基础-供应商"]}},"/supply/save":{"put":{"consumes":["application/json"],"description":"保存基础-供应商","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"基础-供应商","in":"body","name":"supply","required":true,"schema":{"$ref":"#/definitions/Supply"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-Supply"}}},"summary":"保存基础-供应商","tags":["基础-供应商"]}},"/supply/update":{"put":{"consumes":["application/json"],"description":"根据条件更新基础-供应商","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"更新条件","in":"body","name":"update","required":true,"schema":{"$ref":"#/definitions/models.Update"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件更新基础-供应商","tags":["基础-供应商"]}},"/sys/install":{"post":{"consumes":["application/json"],"description":"安装","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"安装","tags":["系统"]}},"/sys/migrate":{"post":{"consumes":["application/json"],"description":"迁移所有表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"迁移所有表","tags":["系统"]}},"/sys/migrate/{name}":{"post":{"consumes":["application/json"],"description":"迁移表","parameters":[{"description":"表名","in":"path","name":"name","required":true,"type":"string"},{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"迁移表","tags":["系统"]}},"/table/all":{"get":{"consumes":["application/json"],"description":"获取所有表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_Table"}}},"summary":"获取所有表","tags":["表"]}},"/table/batch":{"delete":{"consumes":["application/x-www-form-urlencoded"],"description":"根据ID批量删除表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"表ID列表","in":"formData","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据ID批量删除表","tags":["表"]},"post":{"consumes":["application/x-www-form-urlencoded"],"description":"根据ID批量获取表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"表ID列表","in":"formData","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_Table"}}},"summary":"根据ID批量获取表","tags":["表"]}},"/table/count":{"get":{"consumes":["application/x-www-form-urlencoded"],"description":"表数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"搜索","in":"query","name":"search","type":"string"},{"description":"表ID","format":"uuid","in":"query","name":"table_id","type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-int"}}},"summary":"表数量","tags":["表"]},"post":{"consumes":["application/json"],"description":"根据条件获取表数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"查询条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-int"}}},"summary":"根据条件获取表数量","tags":["表"]}},"/table/create":{"post":{"consumes":["application/json"],"description":"创建表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"表","in":"body","name":"table","required":true,"schema":{"$ref":"#/definitions/models.Table"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-models_Table"}}},"summary":"创建表","tags":["表"]}},"/table/delete":{"post":{"consumes":["application/json"],"description":"根据条件删除表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"逻辑条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件删除表","tags":["表"]}},"/table/list":{"get":{"consumes":["application/x-www-form-urlencoded"],"description":"表列表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"页码","in":"query","name":"page","type":"integer"},{"description":"每页条数","in":"query","name":"limit","type":"integer"},{"description":"搜索","in":"query","name":"search","type":"string"},{"description":"模块ID","format":"uuid","in":"query","name":"module_id","type":"string"},{"description":"排序","in":"query","name":"order_by","type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_Table"}}},"summary":"表列表","tags":["表"]},"post":{"consumes":["application/json"],"description":"根据条件获取表列表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"filter","required":true,"schema":{"$ref":"#/definitions/models.Filter"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_Table"}}},"summary":"根据条件获取表列表","tags":["表"]}},"/table/model":{"get":{"consumes":["application/json"],"description":"表模型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_FieldInfo"}}},"summary":"表模型","tags":["表"]}},"/table/save":{"put":{"consumes":["application/json"],"description":"保存表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"表","in":"body","name":"table","required":true,"schema":{"$ref":"#/definitions/models.Table"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-models_Table"}}},"summary":"保存表","tags":["表"]}},"/table/update":{"put":{"consumes":["application/json"],"description":"根据条件更新表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"更新条件","in":"body","name":"update","required":true,"schema":{"$ref":"#/definitions/models.Update"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件更新表","tags":["表"]}},"/table/{id}":{"delete":{"consumes":["application/json"],"description":"删除表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"表ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"删除表","tags":["表"]},"get":{"consumes":["application/json"],"description":"获取表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"表ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-models_Table"}}},"summary":"获取表","tags":["表"]}},"/unit/all":{"get":{"consumes":["application/json"],"description":"获取所有单位","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_Unit"}}},"summary":"获取所有单位","tags":["单位"]}},"/unit/batch":{"delete":{"consumes":["x-www-form-urlencoded"],"description":"根据ID批量删除单位","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"id列表","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据ID批量删除单位","tags":["单位"]},"get":{"consumes":["x-www-form-urlencoded"],"description":"根据ID批量获取单位","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"id列表","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_Unit"}}},"summary":"根据ID批量获取单位","tags":["单位"]}},"/unit/by":{"delete":{"consumes":["application/json"],"description":"根据ID删除单位","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据ID删除单位","tags":["单位"]},"get":{"consumes":["application/json"],"description":"根据ID获取单位","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-Unit"}}},"summary":"根据ID获取单位","tags":["单位"]}},"/unit/combo":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取单位下拉列表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"搜索关键字","in":"query","name":"search","required":false,"type":"string"},{"description":"备注","in":"query","name":"note","required":false,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_UnitCombo"}}},"summary":"获取单位下拉列表","tags":["单位"]}},"/unit/count":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取单位数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"},{"description":"搜索关键字","in":"query","name":"search","required":false,"type":"string"},{"description":"备注","in":"query","name":"note","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"type":"integer"}}},"summary":"获取单位数量","tags":["单位"]},"post":{"consumes":["application/json"],"description":"根据条件查询单位数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"type":"integer"}}},"summary":"根据条件查询单位数量","tags":["单位"]}},"/unit/create":{"post":{"consumes":["application/json"],"description":"新增单位","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"单位","in":"body","name":"unit","required":true,"schema":{"$ref":"#/definitions/Unit"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-Unit"}}},"summary":"新增单位","tags":["单位"]}},"/unit/delete":{"post":{"consumes":["application/json"],"description":"根据条件删除单位","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"删除条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件删除单位","tags":["单位"]}},"/unit/list":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取单位列表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"搜索关键字","in":"query","name":"search","required":false,"type":"string"},{"description":"备注","in":"query","name":"note","required":false,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"},{"description":"页码","in":"query","name":"page","required":false,"type":"integer"},{"description":"每页数量","in":"query","name":"limit","required":false,"type":"integer"},{"description":"排序","in":"query","name":"order_by","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_Unit"}}},"summary":"获取单位列表","tags":["单位"]},"post":{"consumes":["application/json"],"description":"根据条件查询单位","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"filter","required":true,"schema":{"$ref":"#/definitions/models.Filter"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_Unit"}}},"summary":"根据条件查询单位","tags":["单位"]}},"/unit/model":{"get":{"consumes":["application/json"],"description":"单位模型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_FieldInfo"}}},"summary":"单位模型","tags":["单位"]}},"/unit/save":{"put":{"consumes":["application/json"],"description":"保存单位","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"单位","in":"body","name":"unit","required":true,"schema":{"$ref":"#/definitions/Unit"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-Unit"}}},"summary":"保存单位","tags":["单位"]}},"/unit/update":{"put":{"consumes":["application/json"],"description":"根据条件更新单位","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"更新条件","in":"body","name":"update","required":true,"schema":{"$ref":"#/definitions/models.Update"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件更新单位","tags":["单位"]}},"/unit_type/all":{"get":{"consumes":["application/json"],"description":"获取所有单位类型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_UnitType"}}},"summary":"获取所有单位类型","tags":["单位类型"]}},"/unit_type/batch":{"delete":{"consumes":["x-www-form-urlencoded"],"description":"根据ID批量删除单位类型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"id列表","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据ID批量删除单位类型","tags":["单位类型"]},"get":{"consumes":["x-www-form-urlencoded"],"description":"根据ID批量获取单位类型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"id列表","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_UnitType"}}},"summary":"根据ID批量获取单位类型","tags":["单位类型"]}},"/unit_type/by":{"delete":{"consumes":["application/json"],"description":"根据ID删除单位类型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据ID删除单位类型","tags":["单位类型"]},"get":{"consumes":["application/json"],"description":"根据ID获取单位类型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-UnitType"}}},"summary":"根据ID获取单位类型","tags":["单位类型"]}},"/unit_type/combo":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取单位类型下拉列表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"搜索关键字","in":"query","name":"search","required":false,"type":"string"},{"description":"备注","in":"query","name":"note","required":false,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_UnitTypeCombo"}}},"summary":"获取单位类型下拉列表","tags":["单位类型"]}},"/unit_type/count":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取单位类型数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"搜索关键字","in":"query","name":"search","required":false,"type":"string"},{"description":"备注","in":"query","name":"note","required":false,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"type":"integer"}}},"summary":"获取单位类型数量","tags":["单位类型"]},"post":{"consumes":["application/json"],"description":"根据条件查询单位类型数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"type":"integer"}}},"summary":"根据条件查询单位类型数量","tags":["单位类型"]}},"/unit_type/create":{"post":{"consumes":["application/json"],"description":"新增单位类型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"单位类型","in":"body","name":"unit_type","required":true,"schema":{"$ref":"#/definitions/UnitType"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-UnitType"}}},"summary":"新增单位类型","tags":["单位类型"]}},"/unit_type/delete":{"post":{"consumes":["application/json"],"description":"根据条件删除单位类型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"删除条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件删除单位类型","tags":["单位类型"]}},"/unit_type/list":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取单位类型列表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"},{"description":"搜索关键字","in":"query","name":"search","required":false,"type":"string"},{"description":"备注","in":"query","name":"note","required":false,"type":"string"},{"description":"页码","in":"query","name":"page","required":false,"type":"integer"},{"description":"每页数量","in":"query","name":"limit","required":false,"type":"integer"},{"description":"排序","in":"query","name":"order_by","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_UnitType"}}},"summary":"获取单位类型列表","tags":["单位类型"]},"post":{"consumes":["application/json"],"description":"根据条件查询单位类型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"filter","required":true,"schema":{"$ref":"#/definitions/models.Filter"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_UnitType"}}},"summary":"根据条件查询单位类型","tags":["单位类型"]}},"/unit_type/model":{"get":{"consumes":["application/json"],"description":"单位类型模型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_FieldInfo"}}},"summary":"单位类型模型","tags":["单位类型"]}},"/unit_type/save":{"put":{"consumes":["application/json"],"description":"保存单位类型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"单位类型","in":"body","name":"unit_type","required":true,"schema":{"$ref":"#/definitions/UnitType"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-UnitType"}}},"summary":"保存单位类型","tags":["单位类型"]}},"/unit_type/update":{"put":{"consumes":["application/json"],"description":"根据条件更新单位类型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"更新条件","in":"body","name":"update","required":true,"schema":{"$ref":"#/definitions/models.Update"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件更新单位类型","tags":["单位类型"]}},"/user/all":{"get":{"consumes":["application/json"],"description":"获取所有用户","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_User"}}},"summary":"获取所有用户","tags":["用户"]}},"/user/batch":{"delete":{"consumes":["application/x-www-form-urlencoded"],"description":"根据ID批量删除用户","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"用户ID数组","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据ID批量删除用户","tags":["用户"]},"get":{"consumes":["application/x-www-form-urlencoded"],"description":"根据ID批量获取用户","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"用户ID数组","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_User"}}},"summary":"根据ID批量获取用户","tags":["用户"]}},"/user/count":{"get":{"consumes":["application/x-www-form-urlencoded"],"description":"用户数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"搜索","in":"query","name":"search","type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-int"}}},"summary":"用户数量","tags":["用户"]},"post":{"consumes":["application/json"],"description":"根据条件获取用户数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"查询条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-int"}}},"summary":"根据条件获取用户数量","tags":["用户"]}},"/user/create":{"post":{"consumes":["application/json"],"description":"创建用户","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"用户信息","in":"body","name":"user","required":true,"schema":{"$ref":"#/definitions/models.User"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-models_User"}}},"summary":"创建用户","tags":["用户"]}},"/user/delete":{"post":{"consumes":["application/json"],"description":"根据条件删除用户","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"删除条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件删除用户","tags":["用户"]}},"/user/list":{"get":{"consumes":["application/x-www-form-urlencoded"],"description":"获取用户列表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"页码","in":"query","name":"page","type":"integer"},{"description":"每页条数","in":"query","name":"limit","type":"integer"},{"description":"搜索","in":"query","name":"search","type":"string"},{"description":"排序","in":"query","name":"order_by","type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_User"}}},"summary":"获取用户列表","tags":["用户"]},"post":{"consumes":["application/json"],"description":"根据条件获取用户列表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"filter","required":true,"schema":{"$ref":"#/definitions/models.Filter"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_User"}}},"summary":"根据条件获取用户列表","tags":["用户"]}},"/user/login":{"post":{"consumes":["application/json"],"description":"用户登录","parameters":[{"description":"登录信息","in":"body","name":"login","required":true,"schema":{"$ref":"#/definitions/models.Login"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-models_User"}}},"summary":"用户登录","tags":["用户"]}},"/user/logout":{"post":{"consumes":["application/json"],"description":"用户登出","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.Result"}}},"summary":"用户登出","tags":["用户"]}},"/user/model":{"get":{"consumes":["application/json"],"description":"用户模型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_FieldInfo"}}},"summary":"用户模型","tags":["用户"]}},"/user/register":{"post":{"consumes":["application/json"],"description":"用户注册","parameters":[{"description":"注册信息","in":"body","name":"register","required":true,"schema":{"$ref":"#/definitions/models.Login"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-models_User"}}},"summary":"用户注册","tags":["用户"]}},"/user/save":{"put":{"consumes":["application/json"],"description":"保存用户","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"用户信息","in":"body","name":"user","required":true,"schema":{"$ref":"#/definitions/models.User"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-models_User"}}},"summary":"保存用户","tags":["用户"]}},"/user/update":{"put":{"consumes":["application/json"],"description":"根据条件更新用户","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"更新条件","in":"body","name":"update","required":true,"schema":{"$ref":"#/definitions/models.Update"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件更新用户","tags":["用户"]}},"/user/{id}":{"delete":{"consumes":["application/json"],"description":"删除用户","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"用户ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"删除用户","tags":["用户"]},"get":{"consumes":["application/json"],"description":"获取用户","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"用户ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-models_User"}}},"summary":"获取用户","tags":["用户"]}},"/user_field/all":{"get":{"consumes":["application/json"],"description":"获取所有用户字段","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_UserField"}}},"summary":"获取所有用户字段","tags":["用户字段"]}},"/user_field/batch":{"delete":{"consumes":["application/x-www-form-urlencoded"],"description":"根据ID批量删除用户字段","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"用户字段ID数组","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据ID批量删除用户字段","tags":["用户字段"]},"get":{"consumes":["application/x-www-form-urlencoded"],"description":"根据ID批量获取用户字段","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"用户字段ID数组","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_UserField"}}},"summary":"根据ID批量获取用户字段","tags":["用户字段"]}},"/user_field/count":{"get":{"consumes":["application/x-www-form-urlencoded"],"description":"用户字段数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"用户ID","format":"uuid","in":"query","name":"user_id","type":"string"},{"description":"字段ID","format":"uuid","in":"query","name":"field_id","type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-int"}}},"summary":"用户字段数量","tags":["用户字段"]},"post":{"consumes":["application/json"],"description":"根据条件获取用户字段数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-int"}}},"summary":"根据条件获取用户字段数量","tags":["用户字段"]}},"/user_field/create":{"post":{"consumes":["application/json"],"description":"创建用户字段","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"用户字段","in":"body","name":"user_field","required":true,"schema":{"$ref":"#/definitions/models.UserField"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-models_UserField"}}},"summary":"创建用户字段","tags":["用户字段"]}},"/user_field/delete":{"post":{"consumes":["application/json"],"description":"根据条件删除用户字段","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"删除条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件删除用户字段","tags":["用户字段"]}},"/user_field/list":{"get":{"consumes":["application/x-www-form-urlencoded"],"description":"用户字段列表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"页码","in":"query","name":"page","required":true,"type":"integer"},{"description":"每页条数","in":"query","name":"limit","required":true,"type":"integer"},{"description":"用户ID","format":"uuid","in":"query","name":"user_id","type":"string"},{"description":"字段ID","format":"uuid","in":"query","name":"field_id","type":"string"},{"description":"排序","in":"query","name":"order_by","type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_UserField"}}},"summary":"用户字段列表","tags":["用户字段"]},"post":{"consumes":["application/json"],"description":"根据条件获取用户字段列表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"filter","required":true,"schema":{"$ref":"#/definitions/models.Filter"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_UserField"}}},"summary":"根据条件获取用户字段列表","tags":["用户字段"]}},"/user_field/model":{"get":{"consumes":["application/json"],"description":"用户字段模型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_FieldInfo"}}},"summary":"用户字段模型","tags":["用户字段"]}},"/user_field/save":{"put":{"consumes":["application/json"],"description":"保存用户字段","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"用户字段","in":"body","name":"user_field","required":true,"schema":{"$ref":"#/definitions/models.UserField"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-models_UserField"}}},"summary":"保存用户字段","tags":["用户字段"]}},"/user_field/update":{"put":{"consumes":["application/json"],"description":"根据条件更新用户字段","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"更新条件","in":"body","name":"update","required":true,"schema":{"$ref":"#/definitions/models.Update"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件更新用户字段","tags":["用户字段"]}},"/user_field/{id}":{"delete":{"consumes":["application/json"],"description":"删除用户字段","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"用户字段ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"删除用户字段","tags":["用户字段"]},"get":{"consumes":["application/json"],"description":"用户字段详情","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"用户字段ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-models_UserField"}}},"summary":"用户字段详情","tags":["用户字段"]}},"/user_role/all":{"get":{"consumes":["application/json"],"description":"获取所有用户角色","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_UserRole"}}},"summary":"获取所有用户角色","tags":["用户角色"]}},"/user_role/create":{"post":{"consumes":["application/json"],"description":"创建用户角色","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"用户角色","in":"body","name":"userRole","required":true,"schema":{"$ref":"#/definitions/models.UserRole"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-models_UserRole"}}},"summary":"创建用户角色","tags":["用户角色"]}},"/user_role/delete":{"post":{"consumes":["application/json"],"description":"根据条件删除用户角色","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"删除条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件删除用户角色","tags":["用户角色"]}},"/user_role/delete/role/{role_id}":{"delete":{"consumes":["application/json"],"description":"根据角色删除用户角色","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"角色ID","in":"path","name":"role_id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据角色删除用户角色","tags":["用户角色"]}},"/user_role/delete/user/{user_id}":{"delete":{"consumes":["application/json"],"description":"根据用户删除用户角色","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"用户ID","in":"path","name":"user_id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据用户删除用户角色","tags":["用户角色"]}},"/user_role/model":{"get":{"consumes":["application/json"],"description":"用户角色模型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_FieldInfo"}}},"summary":"用户角色模型","tags":["用户角色"]}},"/user_role/roles/user/{user_id}":{"get":{"consumes":["application/json"],"description":"根据用户获取角色","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"用户ID","in":"path","name":"user_id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_Role"}}},"summary":"根据用户获取角色","tags":["用户角色"]}},"/user_role/users/role/{role_id}":{"get":{"consumes":["application/json"],"description":"根据角色获取用户","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"角色ID","in":"path","name":"role_id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_User"}}},"summary":"根据角色获取用户","tags":["用户角色"]}},"/user_table/all":{"get":{"consumes":["application/json"],"description":"获取所有用户表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_UserTable"}}},"summary":"获取所有用户表","tags":["用户表"]}},"/user_table/count":{"get":{"consumes":["application/x-www-form-urlencoded"],"description":"用户表数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"用户ID","format":"uuid","in":"query","name":"user_id","type":"string"},{"description":"表ID","format":"uuid","in":"query","name":"table_id","type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-int"}}},"summary":"用户表数量","tags":["用户表"]},"post":{"consumes":["application/json"],"description":"根据条件获取用户表数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-int"}}},"summary":"根据条件获取用户表数量","tags":["用户表"]}},"/user_table/create":{"post":{"consumes":["application/json"],"description":"创建用户表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"用户表","in":"body","name":"user_table","required":true,"schema":{"$ref":"#/definitions/models.UserTable"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-models_UserTable"}}},"summary":"创建用户表","tags":["用户表"]}},"/user_table/delete":{"post":{"consumes":["application/json"],"description":"根据条件删除用户表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"删除条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件删除用户表","tags":["用户表"]}},"/user_table/list":{"get":{"consumes":["application/x-www-form-urlencoded"],"description":"用户表列表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"页码","in":"query","name":"page","required":true,"type":"integer"},{"description":"每页条数","in":"query","name":"limit","required":true,"type":"integer"},{"description":"用户ID","format":"uuid","in":"query","name":"user_id","type":"string"},{"description":"表ID","format":"uuid","in":"query","name":"table_id","type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_UserTable"}}},"summary":"用户表列表","tags":["用户表"]},"post":{"consumes":["application/json"],"description":"根据条件获取用户表列表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"filter","required":true,"schema":{"$ref":"#/definitions/models.Filter"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_UserTable"}}},"summary":"根据条件获取用户表列表","tags":["用户表"]}},"/user_table/model":{"get":{"consumes":["application/json"],"description":"用户表模型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_FieldInfo"}}},"summary":"用户表模型","tags":["用户表"]}},"/user_table/save":{"put":{"consumes":["application/json"],"description":"保存用户表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"用户表","in":"body","name":"user_table","required":true,"schema":{"$ref":"#/definitions/models.UserTable"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-models_UserTable"}}},"summary":"保存用户表","tags":["用户表"]}},"/user_table/tree/{user_id}":{"get":{"consumes":["application/json"],"description":"获取用户表树","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"用户ID","format":"uuid","in":"path","name":"user_id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_ModuleTree"}}},"summary":"获取用户表树","tags":["用户表"]}},"/user_table/update":{"put":{"consumes":["application/json"],"description":"更新用户表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"更新条件","in":"body","name":"update","required":true,"schema":{"$ref":"#/definitions/models.Update"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"更新用户表","tags":["用户表"]}},"/user_table/{id}":{"delete":{"consumes":["application/json"],"description":"删除用户表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"用户表ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"删除用户表","tags":["用户表"]},"get":{"consumes":["application/json"],"description":"用户表详情","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"用户表ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-models_UserTable"}}},"summary":"用户表详情","tags":["用户表"]}},"/user_table_save_field/all":{"get":{"consumes":["application/json"],"description":"获取所有用户表保存字段","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_UserTableSaveField"}}},"summary":"获取所有用户表保存字段","tags":["用户表保存字段"]}},"/user_table_save_field/batch":{"delete":{"consumes":["application/x-www-form-urlencoded"],"description":"批量删除用户表保存字段","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"用户表保存字段ID","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"批量删除用户表保存字段","tags":["用户表保存字段"]},"get":{"consumes":["application/x-www-form-urlencoded"],"description":"批量获取用户表保存字段","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"用户表保存字段ID","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_UserTableSaveField"}}},"summary":"批量获取用户表保存字段","tags":["用户表保存字段"]}},"/user_table_save_field/count":{"post":{"consumes":["application/json"],"description":"获取用户表保存字段数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"统计条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-int"}}},"summary":"获取用户表保存字段数量","tags":["用户表保存字段"]}},"/user_table_save_field/create":{"post":{"consumes":["application/json"],"description":"创建用户表保存字段","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"用户表保存字段","in":"body","name":"userTableSaveField","required":true,"schema":{"$ref":"#/definitions/models.UserTableSaveField"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-models_UserTableSaveField"}}},"summary":"创建用户表保存字段","tags":["用户表保存字段"]}},"/user_table_save_field/delete":{"post":{"consumes":["application/json"],"description":"根据条件删除用户表保存字段","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"删除条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件删除用户表保存字段","tags":["用户表保存字段"]}},"/user_table_save_field/disable/batch":{"patch":{"consumes":["application/x-www-form-urlencoded"],"description":"批量禁用用户表保存字段","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"用户表保存字段ID","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"批量禁用用户表保存字段","tags":["用户表保存字段"]}},"/user_table_save_field/disable/{id}":{"patch":{"consumes":["application/json"],"description":"禁用用户表保存字段","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"用户表保存字段ID","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"禁用用户表保存字段","tags":["用户表保存字段"]}},"/user_table_save_field/enable/batch":{"patch":{"consumes":["application/x-www-form-urlencoded"],"description":"批量启用用户表保存字段","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"用户表保存字段ID","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"批量启用用户表保存字段","tags":["用户表保存字段"]}},"/user_table_save_field/enable/{id}":{"patch":{"consumes":["application/json"],"description":"启用用户表保存字段","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"用户表保存字段ID","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"启用用户表保存字段","tags":["用户表保存字段"]}},"/user_table_save_field/list":{"post":{"consumes":["application/json"],"description":"根据条件获取用户表保存字段","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"filter","required":true,"schema":{"$ref":"#/definitions/models.Filter"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_UserTableSaveField"}}},"summary":"根据条件获取用户表保存字段","tags":["用户表保存字段"]}},"/user_table_save_field/model":{"get":{"consumes":["application/json"],"description":"用户表保存字段模型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_FieldInfo"}}},"summary":"用户表保存字段模型","tags":["用户表保存字段"]}},"/user_table_save_field/{id}":{"delete":{"consumes":["application/json"],"description":"删除用户表保存字段","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"用户表保存字段ID","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"删除用户表保存字段","tags":["用户表保存字段"]},"get":{"consumes":["application/json"],"description":"获取用户表保存字段","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"用户表保存字段ID","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-models_UserTableSaveField"}}},"summary":"获取用户表保存字段","tags":["用户表保存字段"]}},"/user_table_select_field/all":{"get":{"consumes":["application/json"],"description":"获取所有用户表选择字段","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_UserTableSelectField"}}},"summary":"获取所有用户表选择字段","tags":["用户表选择字段"]}},"/user_table_select_field/batch":{"delete":{"consumes":["application/x-www-form-urlencoded"],"description":"批量删除用户表选择字段","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"IDs","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"批量删除用户表选择字段","tags":["用户表选择字段"]},"get":{"consumes":["application/x-www-form-urlencoded"],"description":"批量获取用户表选择字段","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"IDs","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_UserTableSelectField"}}},"summary":"批量获取用户表选择字段","tags":["用户表选择字段"]}},"/user_table_select_field/count":{"post":{"consumes":["application/json"],"description":"获取用户表选择字段数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"查询条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-int"}}},"summary":"获取用户表选择字段数量","tags":["用户表选择字段"]}},"/user_table_select_field/create":{"post":{"consumes":["application/json"],"description":"创建用户表选择字段","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"用户表选择字段","in":"body","name":"userTableSelectField","required":true,"schema":{"$ref":"#/definitions/models.UserTableSelectField"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-models_UserTableSelectField"}}},"summary":"创建用户表选择字段","tags":["用户表选择字段"]}},"/user_table_select_field/delete":{"post":{"consumes":["application/json"],"description":"根据条件删除用户表选择字段","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"删除条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件删除用户表选择字段","tags":["用户表选择字段"]}},"/user_table_select_field/disable/batch":{"patch":{"consumes":["application/x-www-form-urlencoded"],"description":"批量禁用用户表选择字段","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"IDs","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"批量禁用用户表选择字段","tags":["用户表选择字段"]}},"/user_table_select_field/disable/{id}":{"patch":{"consumes":["application/json"],"description":"禁用用户表选择字段","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"ID","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"禁用用户表选择字段","tags":["用户表选择字段"]}},"/user_table_select_field/enable/batch":{"patch":{"consumes":["application/x-www-form-urlencoded"],"description":"批量启用用户表选择字段","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"IDs","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"批量启用用户表选择字段","tags":["用户表选择字段"]}},"/user_table_select_field/enable/{id}":{"patch":{"consumes":["application/json"],"description":"启用用户表选择字段","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"ID","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"启用用户表选择字段","tags":["用户表选择字段"]}},"/user_table_select_field/list":{"post":{"consumes":["application/json"],"description":"根据条件获取用户表选择字段","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"filter","required":true,"schema":{"$ref":"#/definitions/models.Filter"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_UserTableSelectField"}}},"summary":"根据条件获取用户表选择字段","tags":["用户表选择字段"]}},"/user_table_select_field/model":{"get":{"consumes":["application/json"],"description":"用户表选择字段模型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_FieldInfo"}}},"summary":"用户表选择字段模型","tags":["用户表选择字段"]}},"/user_table_select_field/{id}":{"delete":{"consumes":["application/json"],"description":"删除用户表选择字段","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"ID","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"删除用户表选择字段","tags":["用户表选择字段"]},"get":{"consumes":["application/json"],"description":"获取用户表选择字段","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"ID","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-models_UserTableSelectField"}}},"summary":"获取用户表选择字段","tags":["用户表选择字段"]}},"/warehouse/all":{"get":{"consumes":["application/json"],"description":"获取所有仓库","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_Warehouse"}}},"summary":"获取所有仓库","tags":["仓库"]}},"/warehouse/batch":{"delete":{"consumes":["x-www-form-urlencoded"],"description":"根据ID批量删除仓库","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"id列表","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据ID批量删除仓库","tags":["仓库"]},"get":{"consumes":["x-www-form-urlencoded"],"description":"根据ID批量获取仓库","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"id列表","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_Warehouse"}}},"summary":"根据ID批量获取仓库","tags":["仓库"]}},"/warehouse/by":{"delete":{"consumes":["application/json"],"description":"根据ID删除仓库","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据ID删除仓库","tags":["仓库"]},"get":{"consumes":["application/json"],"description":"根据ID获取仓库","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-Warehouse"}}},"summary":"根据ID获取仓库","tags":["仓库"]}},"/warehouse/combo":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取仓库下拉列表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"搜索关键字","in":"query","name":"search","required":false,"type":"string"},{"description":"地点","in":"query","name":"location","required":false,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_WarehouseCombo"}}},"summary":"获取仓库下拉列表","tags":["仓库"]}},"/warehouse/count":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取仓库数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"搜索关键字","in":"query","name":"search","required":false,"type":"string"},{"description":"地点","in":"query","name":"location","required":false,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"type":"integer"}}},"summary":"获取仓库数量","tags":["仓库"]},"post":{"consumes":["application/json"],"description":"根据条件查询仓库数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"type":"integer"}}},"summary":"根据条件查询仓库数量","tags":["仓库"]}},"/warehouse/create":{"post":{"consumes":["application/json"],"description":"新增仓库","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"仓库","in":"body","name":"warehouse","required":true,"schema":{"$ref":"#/definitions/Warehouse"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-Warehouse"}}},"summary":"新增仓库","tags":["仓库"]}},"/warehouse/delete":{"post":{"consumes":["application/json"],"description":"根据条件删除仓库","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"删除条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件删除仓库","tags":["仓库"]}},"/warehouse/list":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取仓库列表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"},{"description":"搜索关键字","in":"query","name":"search","required":false,"type":"string"},{"description":"地点","in":"query","name":"location","required":false,"type":"string"},{"description":"页码","in":"query","name":"page","required":false,"type":"integer"},{"description":"每页数量","in":"query","name":"limit","required":false,"type":"integer"},{"description":"排序","in":"query","name":"order_by","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_Warehouse"}}},"summary":"获取仓库列表","tags":["仓库"]},"post":{"consumes":["application/json"],"description":"根据条件查询仓库","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"filter","required":true,"schema":{"$ref":"#/definitions/models.Filter"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_Warehouse"}}},"summary":"根据条件查询仓库","tags":["仓库"]}},"/warehouse/model":{"get":{"consumes":["application/json"],"description":"仓库模型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_FieldInfo"}}},"summary":"仓库模型","tags":["仓库"]}},"/warehouse/save":{"put":{"consumes":["application/json"],"description":"保存仓库","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"仓库","in":"body","name":"warehouse","required":true,"schema":{"$ref":"#/definitions/Warehouse"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-Warehouse"}}},"summary":"保存仓库","tags":["仓库"]}},"/warehouse/update":{"put":{"consumes":["application/json"],"description":"根据条件更新仓库","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"更新条件","in":"body","name":"update","required":true,"schema":{"$ref":"#/definitions/models.Update"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件更新仓库","tags":["仓库"]}},"/warehouse_bin/all":{"get":{"consumes":["application/json"],"description":"获取所有库位","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_WarehouseBin"}}},"summary":"获取所有库位","tags":["库位"]}},"/warehouse_bin/batch":{"delete":{"consumes":["x-www-form-urlencoded"],"description":"根据ID批量删除库位","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"id列表","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据ID批量删除库位","tags":["库位"]},"get":{"consumes":["x-www-form-urlencoded"],"description":"根据ID批量获取库位","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"id列表","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_WarehouseBin"}}},"summary":"根据ID批量获取库位","tags":["库位"]}},"/warehouse_bin/by":{"delete":{"consumes":["application/json"],"description":"根据ID删除库位","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据ID删除库位","tags":["库位"]},"get":{"consumes":["application/json"],"description":"根据ID获取库位","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-WarehouseBin"}}},"summary":"根据ID获取库位","tags":["库位"]}},"/warehouse_bin/combo":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取库位下拉列表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"搜索关键字","in":"query","name":"search","required":false,"type":"string"},{"description":"仓库","in":"query","name":"warehouse","required":false,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_WarehouseBinCombo"}}},"summary":"获取库位下拉列表","tags":["库位"]}},"/warehouse_bin/count":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取库位数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"搜索关键字","in":"query","name":"search","required":false,"type":"string"},{"description":"仓库","in":"query","name":"warehouse","required":false,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"type":"integer"}}},"summary":"获取库位数量","tags":["库位"]},"post":{"consumes":["application/json"],"description":"根据条件查询库位数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"type":"integer"}}},"summary":"根据条件查询库位数量","tags":["库位"]}},"/warehouse_bin/create":{"post":{"consumes":["application/json"],"description":"新增库位","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"库位","in":"body","name":"warehouse_bin","required":true,"schema":{"$ref":"#/definitions/WarehouseBin"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-WarehouseBin"}}},"summary":"新增库位","tags":["库位"]}},"/warehouse_bin/delete":{"post":{"consumes":["application/json"],"description":"根据条件删除库位","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"删除条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件删除库位","tags":["库位"]}},"/warehouse_bin/list":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取库位列表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"搜索关键字","in":"query","name":"search","required":false,"type":"string"},{"description":"仓库","in":"query","name":"warehouse","required":false,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"},{"description":"页码","in":"query","name":"page","required":false,"type":"integer"},{"description":"每页数量","in":"query","name":"limit","required":false,"type":"integer"},{"description":"排序","in":"query","name":"order_by","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_WarehouseBin"}}},"summary":"获取库位列表","tags":["库位"]},"post":{"consumes":["application/json"],"description":"根据条件查询库位","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"filter","required":true,"schema":{"$ref":"#/definitions/models.Filter"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_WarehouseBin"}}},"summary":"根据条件查询库位","tags":["库位"]}},"/warehouse_bin/model":{"get":{"consumes":["application/json"],"description":"库位模型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_FieldInfo"}}},"summary":"库位模型","tags":["库位"]}},"/warehouse_bin/save":{"put":{"consumes":["application/json"],"description":"保存库位","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"库位","in":"body","name":"warehouse_bin","required":true,"schema":{"$ref":"#/definitions/WarehouseBin"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-WarehouseBin"}}},"summary":"保存库位","tags":["库位"]}},"/warehouse_bin/update":{"put":{"consumes":["application/json"],"description":"根据条件更新库位","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"更新条件","in":"body","name":"update","required":true,"schema":{"$ref":"#/definitions/models.Update"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件更新库位","tags":["库位"]}},"/wm/all":{"get":{"consumes":["application/json"],"description":"获取所有基础-仓库","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_Wm"}}},"summary":"获取所有基础-仓库","tags":["基础-仓库"]}},"/wm/batch":{"delete":{"consumes":["x-www-form-urlencoded"],"description":"根据ID批量删除基础-仓库","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"id列表","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据ID批量删除基础-仓库","tags":["基础-仓库"]},"get":{"consumes":["x-www-form-urlencoded"],"description":"根据ID批量获取基础-仓库","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"id列表","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_Wm"}}},"summary":"根据ID批量获取基础-仓库","tags":["基础-仓库"]}},"/wm/by":{"delete":{"consumes":["application/json"],"description":"根据ID删除基础-仓库","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据ID删除基础-仓库","tags":["基础-仓库"]},"get":{"consumes":["application/json"],"description":"根据ID获取基础-仓库","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-Wm"}}},"summary":"根据ID获取基础-仓库","tags":["基础-仓库"]}},"/wm/combo":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取基础-仓库下拉列表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"搜索关键字","in":"query","name":"search","required":false,"type":"string"},{"description":"类型","in":"query","name":"type","required":false,"type":"string"},{"description":"负责人","in":"query","name":"manager","required":false,"type":"string"},{"description":"地址","in":"query","name":"address","required":false,"type":"string"},{"description":"电话","in":"query","name":"phone","required":false,"type":"string"},{"description":"备注","in":"query","name":"note","required":false,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_WmCombo"}}},"summary":"获取基础-仓库下拉列表","tags":["基础-仓库"]}},"/wm/count":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取基础-仓库数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"搜索关键字","in":"query","name":"search","required":false,"type":"string"},{"description":"类型","in":"query","name":"type","required":false,"type":"string"},{"description":"负责人","in":"query","name":"manager","required":false,"type":"string"},{"description":"地址","in":"query","name":"address","required":false,"type":"string"},{"description":"电话","in":"query","name":"phone","required":false,"type":"string"},{"description":"备注","in":"query","name":"note","required":false,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"type":"integer"}}},"summary":"获取基础-仓库数量","tags":["基础-仓库"]},"post":{"consumes":["application/json"],"description":"根据条件查询基础-仓库数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"type":"integer"}}},"summary":"根据条件查询基础-仓库数量","tags":["基础-仓库"]}},"/wm/create":{"post":{"consumes":["application/json"],"description":"新增基础-仓库","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"基础-仓库","in":"body","name":"wm","required":true,"schema":{"$ref":"#/definitions/Wm"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-Wm"}}},"summary":"新增基础-仓库","tags":["基础-仓库"]}},"/wm/delete":{"post":{"consumes":["application/json"],"description":"根据条件删除基础-仓库","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"删除条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件删除基础-仓库","tags":["基础-仓库"]}},"/wm/list":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取基础-仓库列表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"搜索关键字","in":"query","name":"search","required":false,"type":"string"},{"description":"类型","in":"query","name":"type","required":false,"type":"string"},{"description":"负责人","in":"query","name":"manager","required":false,"type":"string"},{"description":"地址","in":"query","name":"address","required":false,"type":"string"},{"description":"电话","in":"query","name":"phone","required":false,"type":"string"},{"description":"备注","in":"query","name":"note","required":false,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"},{"description":"页码","in":"query","name":"page","required":false,"type":"integer"},{"description":"每页数量","in":"query","name":"limit","required":false,"type":"integer"},{"description":"排序","in":"query","name":"order_by","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_Wm"}}},"summary":"获取基础-仓库列表","tags":["基础-仓库"]},"post":{"consumes":["application/json"],"description":"根据条件查询基础-仓库","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"filter","required":true,"schema":{"$ref":"#/definitions/models.Filter"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_Wm"}}},"summary":"根据条件查询基础-仓库","tags":["基础-仓库"]}},"/wm/model":{"get":{"consumes":["application/json"],"description":"基础-仓库模型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_FieldInfo"}}},"summary":"基础-仓库模型","tags":["基础-仓库"]}},"/wm/save":{"put":{"consumes":["application/json"],"description":"保存基础-仓库","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"基础-仓库","in":"body","name":"wm","required":true,"schema":{"$ref":"#/definitions/Wm"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-Wm"}}},"summary":"保存基础-仓库","tags":["基础-仓库"]}},"/wm/update":{"put":{"consumes":["application/json"],"description":"根据条件更新基础-仓库","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"更新条件","in":"body","name":"update","required":true,"schema":{"$ref":"#/definitions/models.Update"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件更新基础-仓库","tags":["基础-仓库"]}},"/wm_cell/all":{"get":{"consumes":["application/json"],"description":"获取所有基础-库位","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_WmCell"}}},"summary":"获取所有基础-库位","tags":["基础-库位"]}},"/wm_cell/batch":{"delete":{"consumes":["x-www-form-urlencoded"],"description":"根据ID批量删除基础-库位","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"id列表","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据ID批量删除基础-库位","tags":["基础-库位"]},"get":{"consumes":["x-www-form-urlencoded"],"description":"根据ID批量获取基础-库位","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"collectionFormat":"multi","description":"id列表","in":"query","items":{"type":"string"},"name":"ids","required":true,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_WmCell"}}},"summary":"根据ID批量获取基础-库位","tags":["基础-库位"]}},"/wm_cell/by":{"delete":{"consumes":["application/json"],"description":"根据ID删除基础-库位","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据ID删除基础-库位","tags":["基础-库位"]},"get":{"consumes":["application/json"],"description":"根据ID获取基础-库位","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"ID","format":"uuid","in":"path","name":"id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-WmCell"}}},"summary":"根据ID获取基础-库位","tags":["基础-库位"]}},"/wm_cell/combo":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取基础-库位下拉列表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"搜索关键字","in":"query","name":"search","required":false,"type":"string"},{"description":"类型","in":"query","name":"type","required":false,"type":"string"},{"description":"仓库","in":"query","name":"wm","required":false,"type":"string"},{"description":"备注","in":"query","name":"note","required":false,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_WmCellCombo"}}},"summary":"获取基础-库位下拉列表","tags":["基础-库位"]}},"/wm_cell/count":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取基础-库位数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"搜索关键字","in":"query","name":"search","required":false,"type":"string"},{"description":"类型","in":"query","name":"type","required":false,"type":"string"},{"description":"仓库","in":"query","name":"wm","required":false,"type":"string"},{"description":"备注","in":"query","name":"note","required":false,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"type":"integer"}}},"summary":"获取基础-库位数量","tags":["基础-库位"]},"post":{"consumes":["application/json"],"description":"根据条件查询基础-库位数量","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"type":"integer"}}},"summary":"根据条件查询基础-库位数量","tags":["基础-库位"]}},"/wm_cell/create":{"post":{"consumes":["application/json"],"description":"新增基础-库位","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"基础-库位","in":"body","name":"wm_cell","required":true,"schema":{"$ref":"#/definitions/WmCell"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-WmCell"}}},"summary":"新增基础-库位","tags":["基础-库位"]}},"/wm_cell/delete":{"post":{"consumes":["application/json"],"description":"根据条件删除基础-库位","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"删除条件","in":"body","name":"logic","required":true,"schema":{"$ref":"#/definitions/models.Logic"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件删除基础-库位","tags":["基础-库位"]}},"/wm_cell/list":{"get":{"consumes":["x-www-form-urlencoded"],"description":"获取基础-库位列表","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"搜索关键字","in":"query","name":"search","required":false,"type":"string"},{"description":"类型","in":"query","name":"type","required":false,"type":"string"},{"description":"仓库","in":"query","name":"wm","required":false,"type":"string"},{"description":"备注","in":"query","name":"note","required":false,"type":"string"},{"description":"创建时间开始","in":"query","name":"created_at_start","required":false,"type":"string"},{"description":"创建时间结束","in":"query","name":"created_at_end","required":false,"type":"string"},{"description":"更新时间开始","in":"query","name":"updated_at_start","required":false,"type":"string"},{"description":"更新时间结束","in":"query","name":"updated_at_end","required":false,"type":"string"},{"description":"页码","in":"query","name":"page","required":false,"type":"integer"},{"description":"每页数量","in":"query","name":"limit","required":false,"type":"integer"},{"description":"排序","in":"query","name":"order_by","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_WmCell"}}},"summary":"获取基础-库位列表","tags":["基础-库位"]},"post":{"consumes":["application/json"],"description":"根据条件查询基础-库位","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"过滤条件","in":"body","name":"filter","required":true,"schema":{"$ref":"#/definitions/models.Filter"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_WmCell"}}},"summary":"根据条件查询基础-库位","tags":["基础-库位"]}},"/wm_cell/model":{"get":{"consumes":["application/json"],"description":"基础-库位模型","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-array_models_FieldInfo"}}},"summary":"基础-库位模型","tags":["基础-库位"]}},"/wm_cell/save":{"put":{"consumes":["application/json"],"description":"保存基础-库位","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"基础-库位","in":"body","name":"wm_cell","required":true,"schema":{"$ref":"#/definitions/WmCell"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-WmCell"}}},"summary":"保存基础-库位","tags":["基础-库位"]}},"/wm_cell/update":{"put":{"consumes":["application/json"],"description":"根据条件更新基础-库位","parameters":[{"description":"bearer token","in":"header","name":"Authorization","required":true,"type":"string"},{"description":"更新条件","in":"body","name":"update","required":true,"schema":{"$ref":"#/definitions/models.Update"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/models.R-bool"}}},"summary":"根据条件更新基础-库位","tags":["基础-库位"]}}},"swagger":"2.0"}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化