diff --git a/packages/app-client/src/components/purchase/module/OrderPackage.tsx b/packages/app-client/src/components/purchase/module/OrderPackage.tsx index dc5d5e5..6118b60 100644 --- a/packages/app-client/src/components/purchase/module/OrderPackage.tsx +++ b/packages/app-client/src/components/purchase/module/OrderPackage.tsx @@ -12,7 +12,7 @@ import { import classNames from "classnames"; import { forwardRef, useEffect, useImperativeHandle, useState } from "react"; import { business } from "@/services"; -import { BoxBrand, BoxCategory, BoxProduct, SupplierVO } from "@/types/typings"; +import { BoxBrand, BoxProduct, BoxSpec, SupplierVO } from "@/types/typings"; import { generateShortId } from "@/utils/generateShortId"; import { convertBoxBrandToOrderPackages, @@ -183,20 +183,15 @@ export default forwardRef( ) .map((boxBrand) => { // 将产品按规格分类 - const boxCategoryList: BoxCategory[] = [ - { - id: generateShortId(), - boxCategoryId: "FOUR_GRAIN", - boxCategoryName: "4粒装", - boxProductList: [], - }, - { - id: generateShortId(), - boxCategoryId: "TWO_GRAIN", - boxCategoryName: "2粒装", - boxProductList: [], - }, - ]; + const boxSpecList: BoxSpec[] = + boxBrand.boxSpecVOList?.map((item) => { + return { + id: generateShortId(), + boxSpecId: item.specId, + boxSpecName: item.name, + boxProductList: [], + }; + }) || []; const boxProductList = boxBrand.boxProductVOList?.map( (boxProductVO) => { const boxProduct: BoxProduct = { @@ -204,7 +199,8 @@ export default forwardRef( boxProductId: boxProductVO.productId, boxProductName: boxProductVO.name, boxProductWeight: boxProductVO.weight, - boxCategoryId: boxProductVO.specType, + boxSpecId: boxProductVO.specId, + boxSpecName: boxProductVO.specName, boxCostPrice: boxProductVO.costPrice, boxSalePrice: boxProductVO.salePrice, boxBrandId: boxBrand.brandId, @@ -222,25 +218,24 @@ export default forwardRef( boxBrandName: boxBrand.name, boxBrandImage: boxBrand.image, boxBrandType: boxBrand.type, - boxCategoryList: - boxCategoryList - .map((boxCategory) => { + boxSpecList: + boxSpecList + .map((boxSpec) => { return { id: generateShortId(), - boxCategoryId: boxCategory.boxCategoryId, - boxCategoryName: boxCategory.boxCategoryName, + boxSpecId: boxSpec.boxSpecId, + boxSpecName: boxSpec.boxSpecName, boxProductList: boxProductList?.filter( (boxProduct) => - boxProduct.boxCategoryId === - boxCategory.boxCategoryId, + boxProduct.boxSpecId === boxSpec.boxSpecId, ) || [], }; }) .filter( - (boxCategory) => - boxCategory.boxProductList && - boxCategory.boxProductList.length > 0, + (boxSpec) => + boxSpec.boxProductList && + boxSpec.boxProductList.length > 0, ) || [], }; }) || []; @@ -311,8 +306,8 @@ export default forwardRef( setSelectedBrand(brand); // 初始化所有产品的数量为0 const initialCounts = new Map(); - brand.boxCategoryList?.forEach((category) => { - category.boxProductList.forEach((product) => { + brand.boxSpecList?.forEach((boxSpec) => { + boxSpec.boxProductList.forEach((product) => { initialCounts.set(product.id, 0); }); }); @@ -331,17 +326,15 @@ export default forwardRef( if (selectedBrand) { const updatedBrand = { ...selectedBrand }; - updatedBrand.boxCategoryList = updatedBrand.boxCategoryList?.map( - (category) => { - const updatedProducts = category.boxProductList.map((product) => { - if (product.id === productId) { - return { ...product, boxCount: count }; - } - return product; - }); - return { ...category, boxProductList: updatedProducts }; - }, - ); + updatedBrand.boxSpecList = updatedBrand.boxSpecList?.map((boxSpec) => { + const updatedProducts = boxSpec.boxProductList.map((product) => { + if (product.id === productId) { + return { ...product, boxCount: count }; + } + return product; + }); + return { ...boxSpec, boxProductList: updatedProducts }; + }); setSelectedBrand(updatedBrand); } }; @@ -361,7 +354,7 @@ export default forwardRef( // 过滤掉数量为0的项目 const filteredOrderPackages = newOrderPackages.filter((pkg) => { // 从productCounts中获取对应产品的数量 - const product = selectedBrand.boxCategoryList + const product = selectedBrand.boxSpecList ?.flatMap((c) => c.boxProductList) .find((p) => p.id === pkg.orderPackageId); const count = product ? productCounts.get(product.id) || 0 : 0; @@ -371,7 +364,7 @@ export default forwardRef( // 更新数量信息 const updatedOrderPackages = filteredOrderPackages.map((pkg) => { // 从productCounts中获取对应产品的数量 - const product = selectedBrand.boxCategoryList + const product = selectedBrand.boxSpecList ?.flatMap((c) => c.boxProductList) .find((p) => p.id === pkg.orderPackageId); const count = product ? productCounts.get(product.id) || 0 : 0; @@ -453,17 +446,17 @@ export default forwardRef( ? { ...fullBrandInfo, boxType: item.boxType, // 保持boxType - boxCategoryList: fullBrandInfo.boxCategoryList?.map((category) => { + boxSpecList: fullBrandInfo.boxSpecList?.map((boxSpec) => { // 找到对应的已存在分类数据 - const existingCategory = brandToEdit?.boxCategoryList?.find( - (cat) => cat.boxCategoryId === category.boxCategoryId, + const existingSpec = brandToEdit?.boxSpecList?.find( + (spec) => spec.boxSpecId === boxSpec.boxSpecId, ); return { - ...category, - boxProductList: category.boxProductList.map((product) => { + ...boxSpec, + boxProductList: boxSpec.boxProductList.map((product) => { // 找到对应的产品数据 - const existingProduct = existingCategory?.boxProductList.find( + const existingProduct = existingSpec?.boxProductList.find( (prod) => prod.boxProductId === product.boxProductId, ); @@ -486,7 +479,7 @@ export default forwardRef( // 更新编辑项中的数量 const updateEditingItemCount = ( - categoryIndex: number, + specIndex: number, detailIndex: number, count: number, ) => { @@ -501,25 +494,23 @@ export default forwardRef( const updatedItem = { ...editingItem }; - // 确保boxCategoryList存在 - if (!updatedItem.boxCategoryList) { - updatedItem.boxCategoryList = fullBrandInfo.boxCategoryList.map( - (category) => ({ - ...category, - boxProductList: category.boxProductList.map((product) => ({ - ...product, - boxCount: 0, - })), - }), - ); + // 确保boxSpecList存在 + if (!updatedItem.boxSpecList) { + updatedItem.boxSpecList = fullBrandInfo.boxSpecList.map((boxSpec) => ({ + ...boxSpec, + boxProductList: boxSpec.boxProductList.map((product) => ({ + ...product, + boxCount: 0, + })), + })); } - // 确保category存在 - if (!updatedItem.boxCategoryList[categoryIndex]) { - updatedItem.boxCategoryList[categoryIndex] = { - ...fullBrandInfo.boxCategoryList[categoryIndex], - boxProductList: fullBrandInfo.boxCategoryList[ - categoryIndex + // 确保spec存在 + if (!updatedItem.boxSpecList[specIndex]) { + updatedItem.boxSpecList[specIndex] = { + ...fullBrandInfo.boxSpecList[specIndex], + boxProductList: fullBrandInfo.boxSpecList[ + specIndex ].boxProductList.map((product) => ({ ...product, boxCount: 0, @@ -528,26 +519,24 @@ export default forwardRef( } // 更新对应的产品数量 - const category = { ...updatedItem.boxCategoryList[categoryIndex] }; + const boxSpec = { ...updatedItem.boxSpecList[specIndex] }; // 确保boxProductList存在 - if (!category.boxProductList) { - category.boxProductList = fullBrandInfo.boxCategoryList[ - categoryIndex + if (!boxSpec.boxProductList) { + boxSpec.boxProductList = fullBrandInfo.boxSpecList[ + specIndex ].boxProductList.map((product) => ({ ...product, boxCount: 0, })); } - const boxProductList = [...category.boxProductList]; + const boxProductList = [...boxSpec.boxProductList]; // 确保产品存在 if (!boxProductList[detailIndex]) { boxProductList[detailIndex] = { - ...fullBrandInfo.boxCategoryList[categoryIndex].boxProductList[ - detailIndex - ], + ...fullBrandInfo.boxSpecList[specIndex].boxProductList[detailIndex], boxCount: 0, }; } @@ -557,10 +546,10 @@ export default forwardRef( boxCount: count, }; - category.boxProductList = boxProductList; - const updatedCategories = [...updatedItem.boxCategoryList]; - updatedCategories[categoryIndex] = category; - updatedItem.boxCategoryList = updatedCategories; + boxSpec.boxProductList = boxProductList; + const updatedSpecList = [...updatedItem.boxSpecList]; + updatedSpecList[specIndex] = boxSpec; + updatedItem.boxSpecList = updatedSpecList; setEditingItem(updatedItem); }; @@ -686,17 +675,17 @@ export default forwardRef( {/* 详细信息展示,按分类显示 */} - {item.boxCategoryList && - item.boxCategoryList.map((categoryData, categoryIndex) => ( + {item.boxSpecList && + item.boxSpecList.map((boxSpec, boxIndex) => ( - {categoryData.boxCategoryName} + {boxSpec.boxSpecName} - {categoryData.boxProductList + {boxSpec.boxProductList .map( (detail) => `${detail.boxProductName} 共 ${detail.boxCount} 个`, @@ -854,13 +843,13 @@ export default forwardRef( 纸箱规格(点击 +/- 修改数量,0表示不使用) - {selectedBrand.boxCategoryList?.map((category) => ( - + {selectedBrand.boxSpecList?.map((boxSpec) => ( + - {category.boxCategoryName} + {boxSpec.boxSpecName} - {category.boxProductList.map((boxProduct) => { + {boxSpec.boxProductList.map((boxProduct) => { const currentCount = productCounts.get(boxProduct.id) || 0; return ( @@ -1005,91 +994,81 @@ export default forwardRef( 纸箱详情 - {editingItem?.boxCategoryList && - editingItem.boxCategoryList.map( - (categoryData, categoryIndex) => ( - - - {categoryData.boxCategoryName} - - - {categoryData.boxProductList.map( - (detail, detailIndex) => { - const currentCount = detail?.boxCount || 0; - - return ( - - - {detail.boxProductName} - - - { - const newCount = Math.max( - 0, - currentCount - 1, - ); - updateEditingItemCount( - categoryIndex, - detailIndex, - newCount, - ); - }} - > - - - - { - const num = Number(value); - if ( - !Number.isNaN(num) && - num >= 0 - ) { - updateEditingItemCount( - categoryIndex, - detailIndex, - num, - ); - } - }} - /> - - { - updateEditingItemCount( - categoryIndex, - detailIndex, - currentCount + 1, - ); - }} - > - - - - 个 - - - - ); - }, - )} - + {editingItem?.boxSpecList && + editingItem.boxSpecList.map((boxSpec, specId) => ( + + + {boxSpec.boxSpecName} - ), - )} + + {boxSpec.boxProductList.map((detail, detailIndex) => { + const currentCount = detail?.boxCount || 0; + + return ( + + + {detail.boxProductName} + + + { + const newCount = Math.max( + 0, + currentCount - 1, + ); + updateEditingItemCount( + specId, + detailIndex, + newCount, + ); + }} + > + + + + { + const num = Number(value); + if (!Number.isNaN(num) && num >= 0) { + updateEditingItemCount( + specId, + detailIndex, + num, + ); + } + }} + /> + + { + updateEditingItemCount( + specId, + detailIndex, + currentCount + 1, + ); + }} + > + + + + 个 + + + + ); + })} + + + ))} diff --git a/packages/app-client/src/components/purchase/module/PurchasePreview.tsx b/packages/app-client/src/components/purchase/module/PurchasePreview.tsx index dd69453..a0c3e8a 100644 --- a/packages/app-client/src/components/purchase/module/PurchasePreview.tsx +++ b/packages/app-client/src/components/purchase/module/PurchasePreview.tsx @@ -68,18 +68,7 @@ export default function PurchasePreview(props: IPurchasePreviewProps) { const [columns] = useState>([ { title: "规格", - key: "boxCategoryId", - render: (record: any) => { - return ( - - {record.boxCategoryId === "FOUR_GRAIN" - ? "4粒" - : record.boxCategoryId === "TWO_GRAIN" - ? "2粒" - : "其他"} - - ); - }, + key: "boxSpecName", fixed: "left", }, { diff --git a/packages/app-client/src/components/purchase/section/EmptyBoxInfoSection.tsx b/packages/app-client/src/components/purchase/section/EmptyBoxInfoSection.tsx index 1676042..df3f4f4 100644 --- a/packages/app-client/src/components/purchase/section/EmptyBoxInfoSection.tsx +++ b/packages/app-client/src/components/purchase/section/EmptyBoxInfoSection.tsx @@ -1,12 +1,10 @@ import { Table } from "@nutui/nutui-react-taro"; import { formatCurrency } from "@/utils/format"; -export default function EmptyBoxInfoSection(props: { +export default function EmptyBoxInfoSection(_props: { purchaseOrderVO: BusinessAPI.PurchaseOrderVO; readOnly?: boolean; }) { - const { purchaseOrderVO } = props; - // 将所有空箱信息合并并按品牌、型号、规格分组 // const groupedEmptyBoxData = purchaseOrderVO.orderSupplierList?.reduce( // (acc, supplier) => { diff --git a/packages/app-client/src/components/purchase/section/PackageInfoSection.tsx b/packages/app-client/src/components/purchase/section/PackageInfoSection.tsx index f4afc1f..fc9990c 100644 --- a/packages/app-client/src/components/purchase/section/PackageInfoSection.tsx +++ b/packages/app-client/src/components/purchase/section/PackageInfoSection.tsx @@ -4,7 +4,6 @@ import { Button, Input, Popup, SafeArea, Table } from "@nutui/nutui-react-taro"; import { Icon } from "@/components"; import { View } from "@tarojs/components"; - export default function PackageInfoSection(props: { purchaseOrderVO: BusinessAPI.PurchaseOrderVO; onChange?: (purchaseOrderVO: BusinessAPI.PurchaseOrderVO) => void; @@ -20,7 +19,7 @@ export default function PackageInfoSection(props: { }, { title: "规格", - key: "boxCategoryName", + key: "boxSpecName", }, { title: "纸箱型号", @@ -33,22 +32,28 @@ export default function PackageInfoSection(props: { { title: "销售单价(元/斤)", key: "boxSalePrice", - render: (value: BusinessAPI.OrderPackage & { orderPackageId?: string, isTotalRow?: boolean }) => { + render: ( + value: BusinessAPI.OrderPackage & { + orderPackageId?: string; + isTotalRow?: boolean; + }, + ) => { // 合计行不显示编辑按钮 if (value.isTotalRow) { return formatCurrency(value.boxSalePrice as number); } return ( - { if (!readOnly) { e.stopPropagation(); // 设置临时编辑值为当前值 setTempEditValues((prev) => ({ ...prev, - [value.orderPackageId || ""]: editValues[value.orderPackageId || ""], + [value.orderPackageId || ""]: + editValues[value.orderPackageId || ""], })); setVisiblePopup((prev) => ({ ...prev, @@ -57,9 +62,11 @@ export default function PackageInfoSection(props: { } }} > - {formatCurrency(value.boxSalePrice as number)} + + {formatCurrency(value.boxSalePrice as number)} + {!readOnly && ( - + )} @@ -70,7 +77,12 @@ export default function PackageInfoSection(props: { { title: "销售金额(元)", key: "boxSalePayment", - render: (value: BusinessAPI.OrderPackage & { boxProductCount: number, isTotalRow?: boolean }) => + render: ( + value: BusinessAPI.OrderPackage & { + boxProductCount: number; + isTotalRow?: boolean; + }, + ) => formatCurrency( Number((value?.boxSalePrice || 0) * value.boxProductCount) as number, ), @@ -78,22 +90,28 @@ export default function PackageInfoSection(props: { { title: "箱重(斤)", key: "boxProductWeight", - render: (value: BusinessAPI.OrderPackage & { orderPackageId?: string, isTotalRow?: boolean }) => { + render: ( + value: BusinessAPI.OrderPackage & { + orderPackageId?: string; + isTotalRow?: boolean; + }, + ) => { // 合计行不显示编辑按钮 if (value.isTotalRow) { return formatCurrency(value.boxProductWeight); } return ( - { if (!readOnly) { e.stopPropagation(); // 设置临时编辑值为当前值 setTempEditValues((prev) => ({ ...prev, - [value.orderPackageId || ""]: editValues[value.orderPackageId || ""], + [value.orderPackageId || ""]: + editValues[value.orderPackageId || ""], })); setVisiblePopup((prev) => ({ ...prev, @@ -102,9 +120,11 @@ export default function PackageInfoSection(props: { } }} > - {formatCurrency(value.boxProductWeight)} + + {formatCurrency(value.boxProductWeight)} + {!readOnly && ( - + )} @@ -115,22 +135,28 @@ export default function PackageInfoSection(props: { { title: "成本单价(元)", key: "boxCostPrice", - render: (value: BusinessAPI.OrderPackage & { orderPackageId?: string, isTotalRow?: boolean }) => { + render: ( + value: BusinessAPI.OrderPackage & { + orderPackageId?: string; + isTotalRow?: boolean; + }, + ) => { // 合计行不显示编辑按钮 if (value.isTotalRow) { return formatCurrency(value.boxCostPrice as number); } return ( - { if (!readOnly) { e.stopPropagation(); // 设置临时编辑值为当前值 setTempEditValues((prev) => ({ ...prev, - [value.orderPackageId || ""]: editValues[value.orderPackageId || ""], + [value.orderPackageId || ""]: + editValues[value.orderPackageId || ""], })); setVisiblePopup((prev) => ({ ...prev, @@ -139,9 +165,11 @@ export default function PackageInfoSection(props: { } }} > - {formatCurrency(value.boxCostPrice as number)} + + {formatCurrency(value.boxCostPrice as number)} + {!readOnly && ( - + )} @@ -226,20 +254,17 @@ export default function PackageInfoSection(props: { (acc, supplier) => { supplier.orderPackageList?.forEach((pkg) => { // 生成分组键 - const key = `${pkg.boxBrandName}-${pkg.boxProductName}-${pkg.boxCategoryId}`; + const key = `${pkg.boxBrandName}-${pkg.boxProductName}-${pkg.boxSpecId}`; // 转换规格字段 - const boxCategoryName = - pkg.boxCategoryId === "FOUR_GRAIN" - ? "4粒" - : pkg.boxCategoryId === "TWO_GRAIN" - ? "2粒" - : "其他"; + const boxSpecId = pkg.boxSpecId; + const boxSpecName = pkg.boxSpecName; if (!acc[key]) { acc[key] = { ...pkg, - boxCategoryName, + boxSpecId, + boxSpecName, boxProductCount: 0, }; } diff --git a/packages/app-client/src/pages/delivery/document/delivery.tsx b/packages/app-client/src/pages/delivery/document/delivery.tsx index 158ff68..abdbe1d 100644 --- a/packages/app-client/src/pages/delivery/document/delivery.tsx +++ b/packages/app-client/src/pages/delivery/document/delivery.tsx @@ -213,7 +213,8 @@ export default hocAuth(function Page(props: CommonComponent) { packingSpec: { data: shipOrderVO.shipOrderPackageList?.map((item) => ({ - boxCategory: item.boxCategory || "", + boxSpecId: item.boxSpecId || "", + boxSpecName: item.boxSpecName || "", boxType: item.boxProduct || "", quantity: item.quantity?.toString() || "", unitPrice: item.unitPrice?.toString() || "", @@ -1078,13 +1079,7 @@ export default hocAuth(function Page(props: CommonComponent) { htmlString += `
- ${ - item.boxCategory === "FOUR_GRAIN" - ? "4粒装" - : item.boxCategory === "TWO_GRAIN" - ? "2粒装" - : "未知" - } + ${item.boxSpecName}
`; @@ -2126,11 +2121,7 @@ export default hocAuth(function Page(props: CommonComponent) { )} > - {item.boxCategory === "FOUR_GRAIN" - ? "4粒装" - : item.boxCategory === "TWO_GRAIN" - ? "2粒装" - : "未知"} + {item.boxSpecName} diff --git a/packages/app-client/src/pages/delivery/document/purchase.tsx b/packages/app-client/src/pages/delivery/document/purchase.tsx index 6ef1986..610f126 100644 --- a/packages/app-client/src/pages/delivery/document/purchase.tsx +++ b/packages/app-client/src/pages/delivery/document/purchase.tsx @@ -151,7 +151,8 @@ export default hocAuth(function Page(props: CommonComponent) { packingSpec: { data: shipOrderVO.shipOrderPackageList?.map((item) => ({ - boxCategory: item.boxCategory || "", + boxSpecId: item.boxSpecId || "", + boxSpecName: item.boxSpecName || "", boxType: item.boxProduct || "", quantity: item.quantity?.toString() || "", unitPrice: item.unitPrice?.toString() || "", @@ -1006,13 +1007,7 @@ export default hocAuth(function Page(props: CommonComponent) { htmlString += `
- ${ - item.boxCategory === "FOUR_GRAIN" - ? "4粒装" - : item.boxCategory === "TWO_GRAIN" - ? "2粒装" - : "未知" - } + ${item.boxSpecName}
`; @@ -1948,11 +1943,7 @@ export default hocAuth(function Page(props: CommonComponent) { )} > - {item.boxCategory === "FOUR_GRAIN" - ? "4粒装" - : item.boxCategory === "TWO_GRAIN" - ? "2粒装" - : "未知"} + {item.boxSpecName} diff --git a/packages/app-client/src/pages/purchase/purchaser/create.tsx b/packages/app-client/src/pages/purchase/purchaser/create.tsx index db6d52d..0485eb0 100644 --- a/packages/app-client/src/pages/purchase/purchaser/create.tsx +++ b/packages/app-client/src/pages/purchase/purchaser/create.tsx @@ -25,11 +25,11 @@ import { Weigh, WeighRef, } from "@/components"; -import { calculateSupplierWeights } from "@/utils/calculateSupplierWeights"; import { business } from "@/services"; import { generateShortId } from "@/utils/generateShortId"; import Taro from "@tarojs/taro"; import buildUrl from "@/utils/buildUrl"; +import { SupplierWeightCalculator } from "@/utils/SupplierWeightCalculator"; const defaultSupplierList: SupplierVO[] = [ { @@ -191,10 +191,15 @@ export default hocAuth(function Page(props: CommonComponent) { }, [active]); useEffect(() => { - setPurchaseOrder((prev) => ({ - ...prev!, - orderSupplierList: calculateSupplierWeights(orderSupplierList), - })); + if (orderSupplierList) { + const supplierWeightCalculator = new SupplierWeightCalculator( + orderSupplierList as any, + ); + setPurchaseOrder((prev) => ({ + ...prev!, + orderSupplierList: supplierWeightCalculator.calculate(), + })); + } }, [orderSupplierList]); useEffect(() => { diff --git a/packages/app-client/src/services/business/boxSpec.ts b/packages/app-client/src/services/business/boxSpec.ts new file mode 100644 index 0000000..16170e5 --- /dev/null +++ b/packages/app-client/src/services/business/boxSpec.ts @@ -0,0 +1,126 @@ +// @ts-ignore +/* eslint-disable */ +import request from "../request"; + +/** 创建纸箱规格 POST /operation/createBoxSpec */ +export async function createBoxSpec( + body: BusinessAPI.BoxSpecCreateCmd, + options?: { [key: string]: any }, +) { + return request( + "/operation/createBoxSpec", + { + method: "POST", + headers: { + "Content-Type": "application/json", + }, + data: body, + ...(options || {}), + }, + ); +} + +/** 纸箱规格删除 DELETE /operation/destroyBoxSpec */ +export async function destroyBoxSpec( + body: BusinessAPI.BoxSpecDestroyCmd, + options?: { [key: string]: any }, +) { + return request("/operation/destroyBoxSpec", { + method: "DELETE", + headers: { + "Content-Type": "application/json", + }, + data: body, + ...(options || {}), + }); +} + +/** 纸箱规格列表 GET /operation/listBoxSpec */ +export async function listBoxSpec( + // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) + params: BusinessAPI.listBoxSpecParams, + options?: { [key: string]: any }, +) { + return request("/operation/listBoxSpec", { + method: "GET", + params: { + ...params, + boxSpecListQry: undefined, + ...params["boxSpecListQry"], + }, + ...(options || {}), + }); +} + +/** 纸箱规格列表 GET /operation/pageBoxSpec */ +export async function pageBoxSpec( + // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) + params: BusinessAPI.pageBoxSpecParams, + options?: { [key: string]: any }, +) { + return request("/operation/pageBoxSpec", { + method: "GET", + params: { + ...params, + boxSpecPageQry: undefined, + ...params["boxSpecPageQry"], + }, + ...(options || {}), + }); +} + +/** 纸箱规格详情 GET /operation/showBoxSpec */ +export async function showBoxSpec( + // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) + params: BusinessAPI.showBoxSpecParams, + options?: { [key: string]: any }, +) { + return request( + "/operation/showBoxSpec", + { + method: "GET", + params: { + ...params, + boxSpecShowQry: undefined, + ...params["boxSpecShowQry"], + }, + ...(options || {}), + }, + ); +} + +/** 纸箱规格更新 PUT /operation/updateBoxSpec */ +export async function updateBoxSpec( + body: BusinessAPI.BoxSpecUpdateCmd, + options?: { [key: string]: any }, +) { + return request( + "/operation/updateBoxSpec", + { + method: "PUT", + headers: { + "Content-Type": "application/json", + }, + data: body, + ...(options || {}), + }, + ); +} + +/** 纸箱规格更新 PATCH /operation/updateBoxSpec */ +export async function updateBoxSpec1( + body: BusinessAPI.BoxSpecUpdateCmd, + options?: { [key: string]: any }, +) { + return request( + "/operation/updateBoxSpec", + { + method: "PATCH", + headers: { + "Content-Type": "application/json", + }, + data: body, + ...(options || {}), + }, + ); +} diff --git a/packages/app-client/src/services/business/index.ts b/packages/app-client/src/services/business/index.ts index f645fe3..4005998 100644 --- a/packages/app-client/src/services/business/index.ts +++ b/packages/app-client/src/services/business/index.ts @@ -23,12 +23,14 @@ import * as costItem from "./costItem"; import * as company from "./company"; import * as companyPaymentAccount from "./companyPaymentAccount"; import * as channel from "./channel"; +import * as boxSpec from "./boxSpec"; import * as boxProduct from "./boxProduct"; import * as boxBrand from "./boxBrand"; import * as agreement from "./agreement"; import * as role from "./role"; import * as permission from "./permission"; import * as extraction from "./extraction"; + export default { user, supplier, @@ -51,6 +53,7 @@ export default { company, companyPaymentAccount, channel, + boxSpec, boxProduct, boxBrand, agreement, diff --git a/packages/app-client/src/services/business/typings.d.ts b/packages/app-client/src/services/business/typings.d.ts index 6a5a70a..cc4376b 100644 --- a/packages/app-client/src/services/business/typings.d.ts +++ b/packages/app-client/src/services/business/typings.d.ts @@ -103,12 +103,14 @@ declare namespace BusinessAPI { name: string; /** 品牌图片URL */ image?: string; + /** 纸箱规格ID */ + specIds?: number[]; /** 备注 */ remark?: string; /** 状态:1_启用;0_禁用 */ status: boolean; - /** 品牌类型:1_我方纸箱;2_瓜农纸箱;3_第三方纸箱 */ - type: "OUR_BOX" | "FARMER_BOX" | "THIRD_PARTY_BOX"; + /** 品牌类型:1_我方纸箱;2_瓜农纸箱;3_第三方纸箱;4_礼盒; */ + type: "OUR_BOX" | "FARMER_BOX" | "THIRD_PARTY_BOX" | "GIFT_BOX"; }; type BoxBrandDestroyCmd = { @@ -132,8 +134,8 @@ declare namespace BusinessAPI { brandId?: string; /** 是否包含纸箱产品 */ withProduct?: boolean; - /** 品牌类型:1_我方纸箱;2_瓜农纸箱;3_第三方纸箱 */ - type?: "OUR_BOX" | "FARMER_BOX" | "THIRD_PARTY_BOX"; + /** 品牌类型:1_我方纸箱;2_瓜农纸箱;3_第三方纸箱;4_礼盒; */ + type?: "OUR_BOX" | "FARMER_BOX" | "THIRD_PARTY_BOX" | "GIFT_BOX"; }; type BoxBrandPageQry = { @@ -153,8 +155,8 @@ declare namespace BusinessAPI { status?: boolean; /** 纸箱品牌ID */ brandId?: string; - /** 品牌类型:1_我方纸箱;2_瓜农纸箱;3_第三方纸箱 */ - type?: "OUR_BOX" | "FARMER_BOX" | "THIRD_PARTY_BOX"; + /** 品牌类型:1_我方纸箱;2_瓜农纸箱;3_第三方纸箱;4_礼盒; */ + type?: "OUR_BOX" | "FARMER_BOX" | "THIRD_PARTY_BOX" | "GIFT_BOX"; offset?: number; }; @@ -172,12 +174,14 @@ declare namespace BusinessAPI { name: string; /** 品牌图片URL */ image?: string; + /** 纸箱规格ID */ + specIds?: number[]; /** 备注 */ remark?: string; /** 状态:1_启用;0_禁用 */ status: boolean; - /** 品牌类型:1_我方纸箱;2_瓜农纸箱;3_第三方纸箱 */ - type: "OUR_BOX" | "FARMER_BOX" | "THIRD_PARTY_BOX"; + /** 品牌类型:1_我方纸箱;2_瓜农纸箱;3_第三方纸箱;4_礼盒; */ + type: "OUR_BOX" | "FARMER_BOX" | "THIRD_PARTY_BOX" | "GIFT_BOX"; }; type BoxBrandVO = { @@ -187,14 +191,18 @@ declare namespace BusinessAPI { name: string; /** 品牌图片URL */ image?: string; + /** 纸箱规格ID */ + specIds?: number[]; /** 备注 */ remark?: string; /** 状态:1_启用;0_禁用 */ status: boolean; - /** 品牌类型:1_我方纸箱;2_瓜农纸箱;3_第三方纸箱 */ - type: "OUR_BOX" | "FARMER_BOX" | "THIRD_PARTY_BOX"; + /** 品牌类型:1_我方纸箱;2_瓜农纸箱;3_第三方纸箱;4_礼盒; */ + type: "OUR_BOX" | "FARMER_BOX" | "THIRD_PARTY_BOX" | "GIFT_BOX"; /** 纸箱产品列表 */ boxProductVOList?: BoxProductVO[]; + /** 纸箱规格列表 */ + boxSpecVOList?: BoxSpecVO[]; /** 创建时间 */ createdAt?: string; }; @@ -210,16 +218,18 @@ declare namespace BusinessAPI { costPrice?: number; /** 销售价 */ salePrice?: number; - /** 规格:1_2粒装;2_4粒装 */ - specType: "TWO_GRAIN" | "FOUR_GRAIN"; + /** 规格ID */ + specId?: string; + /** 规格名称 */ + specName?: string; /** 品牌ID */ brandId: string; /** 备注 */ remark?: string; /** 状态:1_启用;0_禁用 */ status: boolean; - /** 品牌类型:1_我方纸箱;2_瓜农纸箱;3_第三方纸箱 */ - type: "OUR_BOX" | "FARMER_BOX" | "THIRD_PARTY_BOX"; + /** 品牌类型:1_我方纸箱;2_瓜农纸箱;3_第三方纸箱;4_礼盒; */ + type: "OUR_BOX" | "FARMER_BOX" | "THIRD_PARTY_BOX" | "GIFT_BOX"; }; type BoxProductDestroyCmd = { @@ -245,10 +255,10 @@ declare namespace BusinessAPI { name?: string; /** 纸箱品牌ID */ brandId?: string; - /** 规格:1_2粒装;2_4粒装 */ - specType?: "TWO_GRAIN" | "FOUR_GRAIN"; - /** 品牌类型:1_我方纸箱;2_瓜农纸箱;3_第三方纸箱 */ - type?: "OUR_BOX" | "FARMER_BOX" | "THIRD_PARTY_BOX"; + /** 规格ID */ + specId?: string; + /** 品牌类型:1_我方纸箱;2_瓜农纸箱;3_第三方纸箱;4_礼盒; */ + type?: "OUR_BOX" | "FARMER_BOX" | "THIRD_PARTY_BOX" | "GIFT_BOX"; }; type BoxProductPageQry = { @@ -272,10 +282,10 @@ declare namespace BusinessAPI { name?: string; /** 纸箱品牌ID */ brandId?: string; - /** 规格:1_2粒装;2_4粒装 */ - specType?: "TWO_GRAIN" | "FOUR_GRAIN"; - /** 品牌类型:1_我方纸箱;2_瓜农纸箱;3_第三方纸箱 */ - type?: "OUR_BOX" | "FARMER_BOX" | "THIRD_PARTY_BOX"; + /** 规格ID */ + specId?: string; + /** 品牌类型:1_我方纸箱;2_瓜农纸箱;3_第三方纸箱;4_礼盒; */ + type?: "OUR_BOX" | "FARMER_BOX" | "THIRD_PARTY_BOX" | "GIFT_BOX"; offset?: number; }; @@ -297,16 +307,18 @@ declare namespace BusinessAPI { costPrice?: number; /** 销售价 */ salePrice?: number; - /** 规格:1_2粒装;2_4粒装 */ - specType: "TWO_GRAIN" | "FOUR_GRAIN"; + /** 规格ID */ + specId?: string; + /** 规格名称 */ + specName?: string; /** 品牌ID */ brandId: string; /** 备注 */ remark?: string; /** 状态:1_启用;0_禁用 */ status: boolean; - /** 品牌类型:1_我方纸箱;2_瓜农纸箱;3_第三方纸箱 */ - type: "OUR_BOX" | "FARMER_BOX" | "THIRD_PARTY_BOX"; + /** 品牌类型:1_我方纸箱;2_瓜农纸箱;3_第三方纸箱;4_礼盒; */ + type: "OUR_BOX" | "FARMER_BOX" | "THIRD_PARTY_BOX" | "GIFT_BOX"; }; type BoxProductVO = { @@ -320,12 +332,94 @@ declare namespace BusinessAPI { costPrice: number; /** 销售价 */ salePrice: number; - /** 规格:1_2粒装;2_4粒装 */ - specType: "TWO_GRAIN" | "FOUR_GRAIN"; + /** 规格ID */ + specId: string; + /** 规格名称 */ + specName: string; /** 品牌ID */ brandId: string; - /** 品牌类型:1_我方纸箱;2_瓜农纸箱;3_第三方纸箱 */ - type: "OUR_BOX" | "FARMER_BOX" | "THIRD_PARTY_BOX"; + /** 品牌类型:1_我方纸箱;2_瓜农纸箱;3_第三方纸箱;4_礼盒; */ + type: "OUR_BOX" | "FARMER_BOX" | "THIRD_PARTY_BOX" | "GIFT_BOX"; + /** 备注 */ + remark?: string; + /** 状态:1_启用;0_禁用 */ + status: boolean; + /** 创建时间 */ + createdAt?: string; + }; + + type BoxSpecCreateCmd = { + /** 规格ID */ + specId: string; + /** 规格名称 */ + name: string; + /** 排序号 */ + sort: number; + /** 备注 */ + remark?: string; + /** 状态:1_启用;0_禁用 */ + status: boolean; + }; + + type BoxSpecDestroyCmd = { + /** 纸箱规格ID */ + specId: string; + }; + + type BoxSpecListQry = { + /** 状态:1_启用;0_禁用; */ + status?: boolean; + /** 纸箱规格ID */ + specId?: string; + }; + + type BoxSpecPageQry = { + pageSize?: number; + pageIndex?: number; + orderBy?: string; + orderDirection?: string; + groupBy?: string; + needTotalCount?: boolean; + /** 自定义字段key */ + customFieldKey?: string; + /** 自定义字段value */ + customFieldValue?: string; + /** 备注 */ + remark?: string; + /** 状态:1_启用;0_禁用; */ + status?: boolean; + /** 纸箱规格ID */ + specId?: string; + offset?: number; + }; + + type BoxSpecShowQry = { + /** 状态:1_启用;0_禁用; */ + status?: boolean; + /** 纸箱规格ID */ + specId?: string; + }; + + type BoxSpecUpdateCmd = { + /** 纸箱规格ID */ + specId: string; + /** 规格名称 */ + name: string; + /** 排序号 */ + sort: number; + /** 备注 */ + remark?: string; + /** 状态:1_启用;0_禁用 */ + status: boolean; + }; + + type BoxSpecVO = { + /** 规格ID */ + specId: string; + /** 规格名称 */ + name: string; + /** 排序号 */ + sort: number; /** 备注 */ remark?: string; /** 状态:1_启用;0_禁用 */ @@ -878,6 +972,8 @@ declare namespace BusinessAPI { | "FIXED_COST" | "WORKER_ADVANCE" | "PRODUCTION_ADVANCE"; + /** 是否在录入时显示 */ + showInEntry?: boolean; /** 项目名称 */ name?: string; offset?: number; @@ -1823,6 +1919,10 @@ declare namespace BusinessAPI { boxProductListQry: BoxProductListQry; }; + type listBoxSpecParams = { + boxSpecListQry: BoxSpecListQry; + }; + type listCompanyParams = { companyListQry: CompanyListQry; }; @@ -2145,6 +2245,15 @@ declare namespace BusinessAPI { notEmpty?: boolean; }; + type MultiResponseBoxSpecVO = { + success?: boolean; + errCode?: string; + errMessage?: string; + data?: BoxSpecVO[]; + empty?: boolean; + notEmpty?: boolean; + }; + type MultiResponseCompanyPaymentAccountVO = { success?: boolean; errCode?: string; @@ -2384,6 +2493,8 @@ declare namespace BusinessAPI { payerType?: "US" | "OTHER"; /** 负责人 */ principal?: string; + /** 是否需要数量和价格 */ + requireQuantityAndPrice?: boolean; /** 费用类型:1_包装材料;2_人工费用;3_其他费用;4_固定费用;5_工头垫付;6_产地垫付 */ costType: | "PACKAGING_MATERIALS" @@ -2392,8 +2503,6 @@ declare namespace BusinessAPI { | "FIXED_COST" | "WORKER_ADVANCE" | "PRODUCTION_ADVANCE"; - /** 是否需要填写数量和单价 */ - requireQuantityAndPrice: boolean; }; type OrderDealer = { @@ -2448,8 +2557,12 @@ declare namespace BusinessAPI { boxBrandName: string; /** 箱子品牌图片 */ boxBrandImage?: string; - /** 箱子分类ID */ - boxCategoryId: string; + /** 箱子品牌类型:1_我方纸箱;2_瓜农纸箱;3_第三方纸箱;4_礼盒; */ + boxBrandType: "OUR_BOX" | "FARMER_BOX" | "THIRD_PARTY_BOX" | "GIFT_BOX"; + /** 箱子规格ID */ + boxSpecId: string; + /** 箱子规格名称 */ + boxSpecName: string; /** 箱子产品ID */ boxProductId: string; /** 箱子产品名称 */ @@ -2596,6 +2709,10 @@ declare namespace BusinessAPI { boxProductPageQry: BoxProductPageQry; }; + type pageBoxSpecParams = { + boxSpecPageQry: BoxSpecPageQry; + }; + type pageChannelParams = { channelPageQry: ChannelPageQry; }; @@ -2699,6 +2816,19 @@ declare namespace BusinessAPI { totalPages?: number; }; + type PageResponseBoxSpecVO = { + success?: boolean; + errCode?: string; + errMessage?: string; + totalCount?: number; + pageSize?: number; + pageIndex?: number; + data?: BoxSpecVO[]; + empty?: boolean; + notEmpty?: boolean; + totalPages?: number; + }; + type PageResponseChannelVO = { success?: boolean; errCode?: string; @@ -3752,8 +3882,10 @@ declare namespace BusinessAPI { orderPackageId: string; /** 发货单ID */ shipOrderId: string; + /** 箱型ID */ + boxSpecId?: number; /** 箱型 */ - boxCategory?: string; + boxSpecName?: string; /** 箱号 */ boxProduct?: string; /** 数量 */ @@ -3921,7 +4053,7 @@ declare namespace BusinessAPI { shipOrderItemList?: ShipOrderItem[]; /** 发货单子项表 */ shipOrderPackageList?: ShipOrderPackage[]; - /** 发货单费用项 */ + /** 发货单成本项目信息 */ orderCostList?: OrderCost[]; }; @@ -3937,6 +4069,10 @@ declare namespace BusinessAPI { boxProductShowQry: BoxProductShowQry; }; + type showBoxSpecParams = { + boxSpecShowQry: BoxSpecShowQry; + }; + type showChannelParams = { channelShowQry: ChannelShowQry; }; @@ -4050,6 +4186,13 @@ declare namespace BusinessAPI { data?: BoxProductVO; }; + type SingleResponseBoxSpecVO = { + success?: boolean; + errCode?: string; + errMessage?: string; + data?: BoxSpecVO; + }; + type SingleResponseCategoryVO = { success?: boolean; errCode?: string; diff --git a/packages/app-client/src/types/typings.ts b/packages/app-client/src/types/typings.ts index d22dbb8..370db65 100644 --- a/packages/app-client/src/types/typings.ts +++ b/packages/app-client/src/types/typings.ts @@ -13,7 +13,9 @@ export interface CommonComponent { user: AuthAPI.UserVO; shareOptions: any; role: "origin-entry" | "market-buyer" | "reviewer" | "boss"; - setRole: (role: "origin-entry" | "market-buyer" | "reviewer" | "boss") => void; + setRole: ( + role: "origin-entry" | "market-buyer" | "reviewer" | "boss", + ) => void; router: Router; options: Taro.getLaunchOptionsSync.LaunchOptions; isInitialized: boolean; @@ -33,9 +35,9 @@ export interface BoxBrand { boxBrandId: string; boxBrandName: string; boxBrandImage: string; - boxBrandType: "OUR_BOX" | "FARMER_BOX" | "THIRD_PARTY_BOX"; + boxBrandType: "OUR_BOX" | "FARMER_BOX" | "THIRD_PARTY_BOX" | "GIFT_BOX"; boxType: "USED" | "EXTRA" | "EXTRA_USED" | "REMAIN" | "OWN" | "DEFAULT"; - boxCategoryList: BoxCategory[]; + boxSpecList: BoxSpec[]; } export interface BoxProduct { @@ -46,15 +48,16 @@ export interface BoxProduct { boxProductName: string; boxCount: number; boxProductWeight: number; - boxCategoryId: "FOUR_GRAIN" | "TWO_GRAIN"; + boxSpecId: string; + boxSpecName: string; boxCostPrice: number; boxSalePrice: number; } -export interface BoxCategory { +export interface BoxSpec { id: string; - boxCategoryId: "FOUR_GRAIN" | "TWO_GRAIN"; - boxCategoryName: string; + boxSpecId: string; + boxSpecName: string; boxProductList: BoxProduct[]; } diff --git a/packages/app-client/src/utils/SupplierWeightCalculator.ts b/packages/app-client/src/utils/SupplierWeightCalculator.ts new file mode 100644 index 0000000..c098c83 --- /dev/null +++ b/packages/app-client/src/utils/SupplierWeightCalculator.ts @@ -0,0 +1,189 @@ +import { Decimal } from "decimal.js"; + +/** + * 农户重量计算器类 + * 用于计算每个农户的净重和毛重,并赋值到原数据中 + */ +export class SupplierWeightCalculator { + private suppliers: BusinessAPI.OrderSupplier[]; + + constructor(suppliers: BusinessAPI.OrderSupplier[]) { + this.suppliers = suppliers; + this.init(); + } + + /** + * 初始化计算规则 + */ + private init() { + Decimal.set({ + precision: 20, + rounding: 0, // 向下舍入(更保守的计算方式) + toExpNeg: -7, + toExpPos: 21, + }); + } + + /** + * 计算所有农户的重量信息 + * @returns {Array} 包含净重、毛重和空磅的农户数据 + */ + calculate(): BusinessAPI.OrderSupplier[] { + if (!this.suppliers || this.suppliers.length === 0) { + return this.suppliers; + } + + // 使用第一个瓜农的空磅重量作为初始空磅重量 + const initialEmptyWeight = this.suppliers[0].emptyWeight; + let previousTotalWeight = initialEmptyWeight; // 上一个农户的总磅重量(kg) + + for (let i = 0; i < this.suppliers.length; i++) { + const supplier = this.suppliers[i]; + const isFirstSupplier = i === 0; + const isLastSupplier = supplier.isLast; + + // 设置空磅重量(第一个农户使用自己的空磅重量,其他使用前一个农户的总磅重量) + if (isFirstSupplier) { + // 第一个农户的空磅重量已经是正确的 + } else { + supplier.emptyWeight = this.suppliers[i - 1].totalWeight; + } + + // 计算本次使用纸箱的总重量(斤) + const usedBoxesWeight = new Decimal( + this.calculateBoxesTotalWeight(supplier.orderPackageList || [], "USED"), + ) + .add( + this.calculateBoxesTotalWeight( + supplier.orderPackageList || [], + "OWN", + ), + ) + .toNumber(); + + // 计算额外配送的已使用纸箱总重量(斤) + const extraUsedBoxesWeight = this.calculateBoxesTotalWeight( + supplier.orderPackageList || [], + "EXTRA_USED", + ); + + if (!supplier.isPaper) { + // 如果不是纸箱包装,直接使用原始重量(kg转斤) + supplier.grossWeight = new Decimal(supplier.totalWeight) + .sub(supplier.emptyWeight) + .mul(2) + .toNumber(); + + supplier.netWeight = new Decimal(supplier.grossWeight) + .sub(usedBoxesWeight) + .sub(extraUsedBoxesWeight) + .toNumber(); + + previousTotalWeight = supplier.totalWeight; + supplier.invoiceAmount = new Decimal(supplier.netWeight) + .mul(supplier.purchasePrice) + .toNumber(); + continue; + } + + // 计算额外配送的纸箱总重量(斤) + const extraBoxesWeight = this.calculateBoxesTotalWeight( + supplier.orderPackageList || [], + "EXTRA", + ); + + // 计算车上剩余纸箱(斤) + const remainingBoxesWeight = this.calculateBoxesTotalWeight( + supplier.orderPackageList || [], + "REMAIN", + ); + + if (isFirstSupplier && isLastSupplier) { + // 既是第一个也是最后一个瓜农(单个瓜农情况)- 优先使用最后一个瓜农算法 + // 净重 = (总磅 - 空磅) * 2 + 剩余空箱子重量 - 已使用额外纸箱重量 + supplier.netWeight = new Decimal(supplier.totalWeight) + .sub(initialEmptyWeight) + .mul(2) + .add(remainingBoxesWeight) + .sub(extraUsedBoxesWeight) + .toNumber(); + // 毛重 = 净重 + 本次使用纸箱重量 + supplier.grossWeight = new Decimal(supplier.netWeight) + .add(usedBoxesWeight) + .toNumber(); + } else if (isLastSupplier) { + // 最后一个农户(根据isLast标识判断) + // 净重 = (总磅 - 前一个总磅) * 2 + 剩余空箱子重量 - 额外纸箱重量 + supplier.netWeight = new Decimal(supplier.totalWeight) + .sub(previousTotalWeight) + .mul(2) + .add(remainingBoxesWeight) + .sub(extraBoxesWeight) + .toNumber(); + // 毛重 = 净重 + 本次使用纸箱重量 + supplier.grossWeight = new Decimal(supplier.netWeight) + .add(usedBoxesWeight) + .toNumber(); + } else if (isFirstSupplier) { + // 第一个农户(但不是最后一个) + // 净重 = (总磅 - 空磅) * 2 - 额外纸箱重量 + supplier.netWeight = new Decimal(supplier.totalWeight) + .sub(initialEmptyWeight) + .mul(2) + .sub(extraBoxesWeight) + .toNumber(); + // 毛重 = 净重 + 本次使用纸箱重量 + supplier.grossWeight = new Decimal(supplier.netWeight) + .add(usedBoxesWeight) + .toNumber(); + } else { + // 中间农户 + // 净重 = (总磅 - 前一个总磅) * 2 - 额外纸箱重量 + supplier.netWeight = new Decimal(supplier.totalWeight) + .sub(previousTotalWeight) + .mul(2) + .sub(extraBoxesWeight) + .toNumber(); + // 毛重 = 净重 + 本次使用纸箱重量 + supplier.grossWeight = new Decimal(supplier.netWeight) + .add(usedBoxesWeight) + .toNumber(); + } + + previousTotalWeight = supplier.totalWeight; + supplier.invoiceAmount = new Decimal(supplier.netWeight) + .mul(supplier.purchasePrice) + .toNumber(); + } + + return this.suppliers; + } + + /** + * 计算纸箱的总重量(斤) + * @param {Array} orderPackageList - 包装信息列表 + * @param {string} boxType - 箱子类型 ('USED' 或 'EXTRA',不传则计算所有) + * @returns {number} 总重量(斤) + */ + private calculateBoxesTotalWeight( + orderPackageList: BusinessAPI.OrderPackage[], + boxType?: any, + ): number { + if (!orderPackageList) return 0; + + let filteredPackages = orderPackageList; + if (boxType) { + filteredPackages = orderPackageList.filter( + (pkg) => pkg.boxType === boxType, + ); + } + + return filteredPackages.reduce((sum, pkg) => { + // 纸箱重量单位是斤,直接使用 + const boxWeight = pkg.boxProductWeight || 0; + return new Decimal(sum) + .add(new Decimal(pkg.boxCount || 0).mul(boxWeight)) + .toNumber(); + }, 0); + } +} diff --git a/packages/app-client/src/utils/calculateSupplierWeights.ts b/packages/app-client/src/utils/calculateSupplierWeights.ts deleted file mode 100644 index af90a3a..0000000 --- a/packages/app-client/src/utils/calculateSupplierWeights.ts +++ /dev/null @@ -1,293 +0,0 @@ -/** - * 计算每个农户的净重和毛重,并赋值到原数据中 - * @param {Array} suppliers - 农户数据数组 - * @returns {Array} 包含净重、毛重和空磅的农户数据 - */ -export function calculateSupplierWeights(suppliers) { - if (!suppliers || suppliers.length === 0) { - return suppliers; - } - - // 使用第一个瓜农的空磅重量作为初始空磅重量 - const initialEmptyWeight = suppliers[0].emptyWeight; - let previousTotalWeight = initialEmptyWeight; // 上一个农户的总磅重量(kg) - - for (let i = 0; i < suppliers.length; i++) { - const supplier = suppliers[i]; - const isFirstSupplier = i === 0; - const isLastSupplier = supplier.isLast === true; - - // 设置空磅重量(第一个农户使用自己的空磅重量,其他使用前一个农户的总磅重量) - if (isFirstSupplier) { - // 第一个农户的空磅重量已经是正确的 - } else { - supplier.emptyWeight = suppliers[i - 1].totalWeight; - } - - // 计算本次使用纸箱的总重量(斤) - const usedBoxesWeight = calculateBoxesTotalWeight(supplier.orderPackageList, 'USED') + calculateBoxesTotalWeight(supplier.orderPackageList, 'OWN'); - - if (!supplier.isPaper) { - // 如果不是纸箱包装,直接使用原始重量(kg转斤) - supplier.grossWeight = (supplier.totalWeight - supplier.emptyWeight) * 2; - supplier.netWeight = supplier.grossWeight - usedBoxesWeight; - previousTotalWeight = supplier.totalWeight; - supplier.invoiceAmount = supplier.netWeight * supplier.purchasePrice; - continue; - } - - // 计算额外配送的纸箱总重量(斤) - const extraBoxesWeight = calculateBoxesTotalWeight( - supplier.orderPackageList, - 'EXTRA' - ); - - // 计算额外配送的已使用纸箱总重量(斤) - const extraUsedBoxesWeight = calculateBoxesTotalWeight( - supplier.orderPackageList, - 'EXTRA_USED' - ); - - // 计算车上剩余纸箱(斤) - const remainingBoxesWeight = calculateBoxesTotalWeight( - supplier.orderPackageList, - 'REMAIN' - ); - - if (isFirstSupplier && isLastSupplier) { - // 既是第一个也是最后一个瓜农(单个瓜农情况)- 优先使用最后一个瓜农算法 - // 净重 = (总磅 - 空磅) * 2 + 剩余空箱子重量 - 已使用额外纸箱重量 - supplier.netWeight = (supplier.totalWeight - initialEmptyWeight) * 2 + remainingBoxesWeight - extraUsedBoxesWeight; - // 毛重 = 净重 + 本次使用纸箱重量 - supplier.grossWeight = supplier.netWeight + usedBoxesWeight; - - } else if (isLastSupplier) { - // 最后一个农户(根据isLast标识判断) - // 净重 = (总磅 - 前一个总磅) * 2 + 剩余空箱子重量 - 额外纸箱重量 - supplier.netWeight = (supplier.totalWeight - previousTotalWeight) * 2 + remainingBoxesWeight - extraBoxesWeight; - // 毛重 = 净重 + 本次使用纸箱重量 - supplier.grossWeight = supplier.netWeight + usedBoxesWeight; - - } else if (isFirstSupplier) { - // 第一个农户(但不是最后一个) - // 净重 = (总磅 - 空磅) * 2 - 额外纸箱重量 - supplier.netWeight = (supplier.totalWeight - initialEmptyWeight) * 2 - extraBoxesWeight; - // 毛重 = 净重 + 本次使用纸箱重量 - supplier.grossWeight = supplier.netWeight + usedBoxesWeight; - - } else { - // 中间农户 - // 净重 = (总磅 - 前一个总磅) * 2 - 额外纸箱重量 - supplier.netWeight = (supplier.totalWeight - previousTotalWeight) * 2 - extraBoxesWeight; - // 毛重 = 净重 + 本次使用纸箱重量 - supplier.grossWeight = supplier.netWeight + usedBoxesWeight; - } - - previousTotalWeight = supplier.totalWeight; - supplier.invoiceAmount = supplier.netWeight * supplier.purchasePrice; - } - - return suppliers; -} - -/** - * 计算纸箱的总重量(斤) - * @param {Array} orderPackageList - 包装信息列表 - * @param {string} boxType - 箱子类型 ('used' 或 'extra',不传则计算所有) - * @returns {number} 总重量(斤) - */ -function calculateBoxesTotalWeight(orderPackageList, boxType?: any) { - if (!orderPackageList) return 0; - - let filteredPackages = orderPackageList; - if (boxType) { - filteredPackages = orderPackageList.filter((pkg) => pkg.boxType === boxType); - } - - return filteredPackages.reduce((sum, pkg) => { - // 纸箱重量单位是斤,直接使用 - const boxWeight = pkg.boxProductWeight || 0; - return sum + pkg.boxCount * boxWeight; - }, 0); -} - -// // 使用示例 - 单个瓜农(既是第一个也是最后一个) -// const singleSupplier = [ -// { -// id: "1", -// name: "瓜农1", -// isPaper: true, -// isLast: true, // 单个瓜农也是最后一个 -// emptyWeight: 25, // kg -// totalWeight: 50, // kg -// orderPackageList: [ -// { -// boxBrandId: "brand1", -// boxCategoryId: "TWO_GRAIN", -// boxProductId: "product1", -// boxProductWeight: 0.6, // 斤 -// boxCount: 2, -// boxType: "used" -// }, -// { -// boxBrandId: "brand1", -// boxCategoryId: "TWO_GRAIN", -// boxProductId: "product1", -// boxProductWeight: 0.6, // 斤 -// boxCount: 1, -// boxType: "extra-used" -// } -// ] -// } -// ]; -// -// // 使用示例 - 多个瓜农 -// const multipleSuppliers = [ -// { -// id: "1", -// name: "瓜农1", -// isPaper: true, -// emptyWeight: 25, // kg -// totalWeight: 50, // kg -// orderPackageList: [ -// { -// boxBrandId: "brand1", -// boxCategoryId: "TWO_GRAIN", -// boxProductId: "product1", -// boxProductWeight: 0.6, // 斤 -// boxCount: 2, -// boxType: "used" -// }, -// { -// boxBrandId: "brand1", -// boxCategoryId: "TWO_GRAIN", -// boxProductId: "product1", -// boxProductWeight: 0.6, // 斤 -// boxCount: 1, -// boxType: "extra" -// } -// ] -// }, -// { -// id: "2", -// name: "瓜农2", -// isPaper: true, -// isLast: true, // 标记为最后一个瓜农 -// totalWeight: 80, // kg -// orderPackageList: [ -// { -// boxBrandId: "brand2", -// boxCategoryId: "THREE_GRAIN", -// boxProductId: "product2", -// boxProductWeight: 1.0, // 斤 -// boxCount: 2, -// boxType: "used" -// } -// ] -// } -// ]; -// -// // 使用示例 - 第一个但不是最后一个 -// const firstNotLastSuppliers = [ -// { -// id: "1", -// name: "瓜农1", -// isPaper: true, -// emptyWeight: 25, // kg -// totalWeight: 50, // kg -// orderPackageList: [ -// { -// boxBrandId: "brand1", -// boxCategoryId: "TWO_GRAIN", -// boxProductId: "product1", -// boxProductWeight: 0.6, // 斤 -// boxCount: 2, -// boxType: "used" -// } -// ] -// }, -// { -// id: "2", -// name: "瓜农2", -// isPaper: true, -// // 没有isLast标记,当作中间农户 -// totalWeight: 80, // kg -// orderPackageList: [ -// { -// boxBrandId: "brand2", -// boxCategoryId: "THREE_GRAIN", -// boxProductId: "product2", -// boxProductWeight: 1.0, // 斤 -// boxCount: 2, -// boxType: "used" -// } -// ] -// } -// ]; -// -// console.log("=== 单个瓜农测试(既是第一个也是最后一个)==="); -// const result1 = calculateSupplierWeights(singleSupplier); -// console.log(JSON.stringify(result1, null, 2)); -// -// console.log("\n=== 多个瓜农测试 ==="); -// const result2 = calculateSupplierWeights(multipleSuppliers); -// console.log(JSON.stringify(result2, null, 2)); -// -// console.log("\n=== 第一个但不是最后一个测试 ==="); -// const result3 = calculateSupplierWeights(firstNotLastSuppliers); -// console.log(JSON.stringify(result3, null, 2)); -// -// // 详细显示结果 -// function displayResults(suppliers, title) { -// console.log(`\n${title}:`); -// suppliers.forEach((supplier, index) => { -// -// const isFirstSupplier = index === 0; -// const isLastSupplier = supplier.isLast === true; -// -// console.log(`\n农户${index + 1} ${supplier.name}:`); -// console.log(` 是否第一个: ${index === 0 ? '是' : '否'}`); -// console.log(` 是否最后一个: ${supplier.isLast ? '是' : '否'}`); -// console.log(` 空磅重量: ${supplier.emptyWeight} kg`); -// console.log(` 总磅重量: ${supplier.totalWeight} kg`); -// console.log(` 净重: ${supplier.netWeight?.toFixed(2) || 'N/A'} 斤`); -// console.log(` 毛重: ${supplier.grossWeight?.toFixed(2) || 'N/A'} 斤`); -// -// if (supplier.isPaper) { -// const usedBoxesWeight = calculateBoxesTotalWeight(supplier.orderPackageList, 'used'); -// const extraUsedBoxesWeight = calculateBoxesTotalWeight(supplier.orderPackageList, 'extra-used'); -// const extraBoxesWeight = calculateBoxesTotalWeight(supplier.orderPackageList, 'extra'); -// const remainingEmptyBoxesWeight = calculateBoxesTotalWeight(supplier.orderPackageList, 'remaining'); -// -// if (isFirstSupplier && isLastSupplier) { -// console.log(` 本次使用纸箱重量: ${usedBoxesWeight.toFixed(2)} 斤`); -// console.log(` 已用额外运输纸箱重量: ${extraUsedBoxesWeight.toFixed(2)} 斤`); -// console.log(` 车上剩余纸箱重量: ${remainingEmptyBoxesWeight.toFixed(2)} 斤`); -// console.log(` 净重 = (总磅${supplier.totalWeight} - 空磅${supplier.emptyWeight}) × 2 + 车上剩余纸箱重量${remainingEmptyBoxesWeight.toFixed(2)} - 已用额外运输纸箱重量${extraUsedBoxesWeight.toFixed(2)} = ${supplier.netWeight?.toFixed(2)}斤`); -// console.log(` 毛重 = 净重${supplier.netWeight?.toFixed(2)} + 本次使用纸箱重量${usedBoxesWeight.toFixed(2)} = ${supplier.grossWeight?.toFixed(2)}斤`); -// } else if (isFirstSupplier) { -// // 第一个瓜农 -// console.log(` 本次使用纸箱重量: ${usedBoxesWeight.toFixed(2)} 斤`); -// console.log(` 额外运输纸箱重量: ${extraBoxesWeight.toFixed(2)} 斤`); -// console.log(` 净重 = (总磅${supplier.totalWeight} - 空磅${supplier.emptyWeight}) × 2 - 额外运输纸箱重量${extraBoxesWeight.toFixed(2)} = ${supplier.netWeight?.toFixed(2)}斤`); -// console.log(` 毛重 = 净重${supplier.netWeight?.toFixed(2)} + 本次使用纸箱重量${usedBoxesWeight.toFixed(2)} = ${supplier.grossWeight?.toFixed(2)}斤`); -// } else if (isLastSupplier) { -// // 最后一个瓜农 -// console.log(` 本次使用纸箱重量: ${usedBoxesWeight.toFixed(2)} 斤`); -// console.log(` 已用额外运输纸箱重量: ${extraUsedBoxesWeight.toFixed(2)} 斤`); -// console.log(` 车上剩余纸箱重量: ${remainingEmptyBoxesWeight.toFixed(2)} 斤`); -// console.log(` 净重 = (总磅${supplier.totalWeight} - 空磅${suppliers[index-1]?.totalWeight}) × 2 + 车上剩余纸箱重量${remainingEmptyBoxesWeight.toFixed(2)} - 已用额外运输纸箱重量${extraUsedBoxesWeight.toFixed(2)} = ${supplier.netWeight?.toFixed(2)}斤`); -// console.log(` 毛重 = 净重${supplier.netWeight?.toFixed(2)} + 本次使用纸箱重量${usedBoxesWeight.toFixed(2)} = ${supplier.grossWeight?.toFixed(2)}斤`); -// } else { -// console.log(` 本次使用纸箱重量: ${usedBoxesWeight.toFixed(2)} 斤`); -// console.log(` 额外运输纸箱重量: ${extraBoxesWeight.toFixed(2)} 斤`); -// console.log(` 净重 = (总磅${supplier.totalWeight} - 空磅${suppliers[index-1]?.totalWeight}) × 2 - 额外运输纸箱重量${extraBoxesWeight.toFixed(2)} = ${supplier.netWeight?.toFixed(2)}斤`); -// console.log(` 毛重 = 净重${supplier.netWeight?.toFixed(2)} + 本次使用纸箱重量${usedBoxesWeight.toFixed(2)} = ${supplier.grossWeight?.toFixed(2)}斤`); -// } -// } -// }); -// } -// -// displayResults(result1, "单个瓜农结果"); -// displayResults(result2, "多个瓜农结果"); -// displayResults(result3, "第一个但不是最后一个结果"); diff --git a/packages/app-client/src/utils/orderPackage.ts b/packages/app-client/src/utils/orderPackage.ts index 1a6f277..1b90056 100644 --- a/packages/app-client/src/utils/orderPackage.ts +++ b/packages/app-client/src/utils/orderPackage.ts @@ -1,9 +1,9 @@ // 将BoxBrand转换为OrderPackage数组 -import { BoxBrand, BoxCategory, BoxProduct } from "@/types/typings"; +import { BoxBrand, BoxProduct, BoxSpec } from "@/types/typings"; import { generateShortId } from "@/utils/generateShortId"; // 添加一个辅助函数用于分组 -const groupBy = ( +const groupBy = ( array: T[], keyFn: (item: T) => string, ): Record => { @@ -22,19 +22,21 @@ const groupBy = ( export const convertBoxBrandToOrderPackages = ( boxBrand: BoxBrand, - boxType: BusinessAPI.OrderPackage["boxType"] = "USED" + boxType: BusinessAPI.OrderPackage["boxType"] = "USED", ): BusinessAPI.OrderPackage[] => { const orderPackages: BusinessAPI.OrderPackage[] = []; - boxBrand.boxCategoryList?.forEach((category) => { + boxBrand.boxSpecList?.forEach((category) => { category.boxProductList.forEach((product) => { orderPackages.push({ orderPackageId: product.id, boxBrandId: product.boxBrandId, boxBrandName: product.boxBrandName, boxBrandImage: boxBrand.boxBrandImage, - boxCategoryId: product.boxCategoryId, + boxSpecId: product.boxSpecId, + boxSpecName: product.boxSpecName, boxProductId: product.boxProductId, + boxBrandType: boxBrand.boxBrandType, boxProductName: product.boxProductName, boxProductWeight: product.boxProductWeight, boxCount: product.boxCount || 0, @@ -50,54 +52,48 @@ export const convertBoxBrandToOrderPackages = ( // 将OrderPackage数组转换为BoxBrand数组 export const convertOrderPackagesToBoxBrands = ( - orderPackages: BusinessAPI.OrderPackage[] + orderPackages: BusinessAPI.OrderPackage[], ): BoxBrand[] => { // 按品牌ID分组 - const packagesByBrand = groupBy( - orderPackages, - (pkg) => pkg.boxBrandId - ); + const packagesByBrand = groupBy(orderPackages, (pkg) => pkg.boxBrandId); // 转换为BoxBrand数组 return Object.entries(packagesByBrand).map(([brandId, packages]) => { const firstPackage = packages[0]; // 按分类ID分组 - const packagesByCategory = groupBy( - packages, - (pkg) => pkg.boxCategoryId - ); + const packagesBySpec = groupBy(packages, (pkg) => pkg.boxSpecId); // 创建BoxCategory数组 - const boxCategories: BoxCategory[] = Object.entries(packagesByCategory).map( - ([categoryId, categoryPackages]) => { - const firstCategoryPackage = categoryPackages[0]; + const boxSpecList: BoxSpec[] = Object.entries(packagesBySpec).map( + ([specId, specList]) => { + const firstCategoryPackage = specList[0]; // 创建BoxProduct数组 - const boxProducts: BoxProduct[] = categoryPackages.map((pkg) => ({ - id: pkg.orderPackageId || generateShortId(), - boxBrandId: pkg.boxBrandId, - boxBrandName: pkg.boxBrandName, - boxProductId: pkg.boxProductId, - boxProductName: pkg.boxProductName, - boxProductWeight: pkg.boxProductWeight, - boxCategoryId: pkg.boxCategoryId, - boxCostPrice: pkg.boxCostPrice, - boxSalePrice: pkg.boxSalePrice, - boxCount: pkg.boxCount, - } as BoxProduct)); + const boxProducts: BoxProduct[] = specList.map( + (pkg) => + ({ + id: pkg.orderPackageId || generateShortId(), + boxBrandId: pkg.boxBrandId, + boxBrandName: pkg.boxBrandName, + boxProductId: pkg.boxProductId, + boxProductName: pkg.boxProductName, + boxProductWeight: pkg.boxProductWeight, + boxSpecId: pkg.boxSpecId, + boxSpecName: pkg.boxSpecName, + boxCostPrice: pkg.boxCostPrice, + boxSalePrice: pkg.boxSalePrice, + boxCount: pkg.boxCount, + }) as BoxProduct, + ); return { id: generateShortId(), - boxCategoryId: categoryId as "FOUR_GRAIN" | "TWO_GRAIN", - boxCategoryName: firstCategoryPackage.boxCategoryId === "FOUR_GRAIN" - ? "4粒装" - : firstCategoryPackage.boxCategoryId === "TWO_GRAIN" - ? "2粒装" - : "未知", + boxSpecId: specId, + boxSpecName: firstCategoryPackage.boxSpecName, boxProductList: boxProducts, }; - } + }, ); return { @@ -105,8 +101,9 @@ export const convertOrderPackagesToBoxBrands = ( boxBrandId: brandId, boxType: firstPackage.boxType, boxBrandName: firstPackage.boxBrandName, - boxBrandImage: firstPackage.boxBrandImage, - boxCategoryList: boxCategories, + boxBrandImage: firstPackage.boxBrandImage!, + boxBrandType: firstPackage.boxBrandType, + boxSpecList: boxSpecList, }; }); }; diff --git a/swagger/business.json b/swagger/business.json index f68ef24..2a017b3 100644 --- a/swagger/business.json +++ b/swagger/business.json @@ -1 +1 @@ -{"openapi":"3.1.0","info":{"title":"OpenAPI definition","version":"v0"},"servers":[{"url":"http://localhost:8083","description":"Generated server url"}],"tags":[{"name":"Product","description":"产品管理"},{"name":"Permission","description":"权限管理"},{"name":"Role","description":"应用角色管理"},{"name":"PurchaseOrder","description":"采购订单管理"},{"name":"ShipOrder","description":"发货单管理"},{"name":"Employee","description":"员工信息管理"},{"name":"Setting","description":"系统设置管理"},{"name":"BoxBrand","description":"纸箱品牌管理"},{"name":"BoxProduct","description":"纸箱产品管理"},{"name":"Channel","description":"渠道管理"},{"name":"Extraction","description":"信息抽取"},{"name":"Dealer","description":"经销商表管理"},{"name":"Company","description":"公司管理管理"},{"name":"DealerPaymentAccount","description":"经销商付款账户管理"},{"name":"User","description":"用户管理"},{"name":"MaterialCategory","description":"素材分类"},{"name":"DealerWarehouse","description":"经销商仓库管理"},{"name":"Platform","description":"平台管理"},{"name":"Dictionary","description":"字典管理"},{"name":"Material","description":"素材管理"},{"name":"GiftBox","description":"礼盒管理"},{"name":"DealerRebateCustomer","description":"经销商返点客户管理"},{"name":"Menu","description":"应用菜单"},{"name":"Agreement","description":"协议管理"},{"name":"Supplier","description":"供应商管理"},{"name":"CompanyPaymentAccount","description":"公司付款账户管理"},{"name":"CostItem","description":"费用项目管理"}],"paths":{"/operation/updateUser":{"put":{"tags":["User"],"summary":"更新用户","operationId":"updateUser","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseUserVO"}}}}}},"patch":{"tags":["User"],"summary":"更新用户","operationId":"updateUser_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseUserVO"}}}}}}},"/operation/updateSupplier":{"put":{"tags":["Supplier"],"summary":"供应商更新","operationId":"updateSupplier","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SupplierUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseSupplierVO"}}}}}},"patch":{"tags":["Supplier"],"summary":"供应商更新","operationId":"updateSupplier_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SupplierUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseSupplierVO"}}}}}}},"/operation/updateShipOrder":{"put":{"tags":["ShipOrder"],"summary":"发货单更新","operationId":"updateShipOrder","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ShipOrderUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseShipOrderVO"}}}}}},"patch":{"tags":["ShipOrder"],"summary":"发货单更新","operationId":"updateShipOrder_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ShipOrderUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseShipOrderVO"}}}}}}},"/operation/updateSetting":{"put":{"tags":["Setting"],"summary":"系统设置更新","operationId":"updateSetting","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SettingUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseSettingVO"}}}}}},"patch":{"tags":["Setting"],"summary":"系统设置更新","operationId":"updateSetting_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SettingUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseSettingVO"}}}}}}},"/operation/updatePurchaseOrder":{"put":{"tags":["PurchaseOrder"],"summary":"采购订单更新","operationId":"updatePurchaseOrder","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PurchaseOrderUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponsePurchaseOrderVO"}}}}},"deprecated":true},"patch":{"tags":["PurchaseOrder"],"summary":"采购订单更新","operationId":"updatePurchaseOrder_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PurchaseOrderUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponsePurchaseOrderVO"}}}}},"deprecated":true}},"/operation/updateProduct":{"put":{"tags":["Product"],"summary":"产品更新","operationId":"updateProduct","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseProductVO"}}}}}},"patch":{"tags":["Product"],"summary":"产品更新","operationId":"updateProduct_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseProductVO"}}}}}}},"/operation/updatePlatform":{"put":{"tags":["Platform"],"summary":"平台更新","operationId":"updatePlatform","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlatformUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponsePlatformVO"}}}}}},"patch":{"tags":["Platform"],"summary":"平台更新","operationId":"updatePlatform_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlatformUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponsePlatformVO"}}}}}}},"/operation/updateMenu":{"put":{"tags":["Menu"],"summary":"菜单更新","operationId":"updateMenu","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MenuUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseMenuVO"}}}}}},"patch":{"tags":["Menu"],"summary":"菜单更新","operationId":"updateMenu_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MenuUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseMenuVO"}}}}}}},"/operation/updateMaterial":{"put":{"tags":["Material"],"summary":"素材内容更新","operationId":"updateMaterial","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MaterialUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseMaterialVO"}}}}}},"patch":{"tags":["Material"],"summary":"素材内容更新","operationId":"updateMaterial_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MaterialUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseMaterialVO"}}}}}}},"/operation/updateMaterialCategory":{"put":{"tags":["MaterialCategory"],"summary":"更新素材分类","operationId":"updateMaterialCategory","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CategoryUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseCategoryVO"}}}}}},"patch":{"tags":["MaterialCategory"],"summary":"更新素材分类","operationId":"updateMaterialCategory_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CategoryUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseCategoryVO"}}}}}}},"/operation/updateGiftBox":{"put":{"tags":["GiftBox"],"summary":"礼盒更新","operationId":"updateGiftBox","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GiftBoxUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseGiftBoxVO"}}}}}},"patch":{"tags":["GiftBox"],"summary":"礼盒更新","operationId":"updateGiftBox_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GiftBoxUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseGiftBoxVO"}}}}}}},"/operation/updateEmployee":{"put":{"tags":["Employee"],"summary":"员工信息更新","operationId":"updateEmployee","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmployeeUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseEmployeeVO"}}}}}},"patch":{"tags":["Employee"],"summary":"员工信息更新","operationId":"updateEmployee_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmployeeUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseEmployeeVO"}}}}}}},"/operation/updateDictionary":{"put":{"tags":["Dictionary"],"summary":"字典更新","operationId":"updateDictionary","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DictionaryUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseDictionaryVO"}}}}}},"patch":{"tags":["Dictionary"],"summary":"字典更新","operationId":"updateDictionary_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DictionaryUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseDictionaryVO"}}}}}}},"/operation/updateDealer":{"put":{"tags":["Dealer"],"summary":"经销商表更新","operationId":"updateDealer","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealerUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseDealerVO"}}}}}},"patch":{"tags":["Dealer"],"summary":"经销商表更新","operationId":"updateDealer_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealerUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseDealerVO"}}}}}}},"/operation/updateDealerWarehouse":{"put":{"tags":["DealerWarehouse"],"summary":"经销商仓库更新","operationId":"updateDealerWarehouse","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealerWarehouseUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseDealerWarehouseVO"}}}}}},"patch":{"tags":["DealerWarehouse"],"summary":"经销商仓库更新","operationId":"updateDealerWarehouse_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealerWarehouseUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseDealerWarehouseVO"}}}}}}},"/operation/updateDealerRebateCustomer":{"put":{"tags":["DealerRebateCustomer"],"summary":"经销商返点客户更新","operationId":"updateDealerRebateCustomer","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealerRebateCustomerUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseDealerRebateCustomerVO"}}}}}},"patch":{"tags":["DealerRebateCustomer"],"summary":"经销商返点客户更新","operationId":"updateDealerRebateCustomer_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealerRebateCustomerUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseDealerRebateCustomerVO"}}}}}}},"/operation/updateDealerPaymentAccount":{"put":{"tags":["DealerPaymentAccount"],"summary":"经销商付款账户更新","operationId":"updateDealerPaymentAccount","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealerPaymentAccountUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseDealerPaymentAccountVO"}}}}}},"patch":{"tags":["DealerPaymentAccount"],"summary":"经销商付款账户更新","operationId":"updateDealerPaymentAccount_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealerPaymentAccountUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseDealerPaymentAccountVO"}}}}}}},"/operation/updateCostItem":{"put":{"tags":["CostItem"],"summary":"费用项目更新","operationId":"updateCostItem","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CostItemUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseCostItemVO"}}}}}},"patch":{"tags":["CostItem"],"summary":"费用项目更新","operationId":"updateCostItem_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CostItemUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseCostItemVO"}}}}}}},"/operation/updateCompany":{"put":{"tags":["Company"],"summary":"公司管理更新","operationId":"updateCompany","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseCompanyVO"}}}}}},"patch":{"tags":["Company"],"summary":"公司管理更新","operationId":"updateCompany_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseCompanyVO"}}}}}}},"/operation/updateCompanyPaymentAccount":{"put":{"tags":["CompanyPaymentAccount"],"summary":"公司付款账户更新","operationId":"updateCompanyPaymentAccount","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyPaymentAccountUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseCompanyPaymentAccountVO"}}}}}},"patch":{"tags":["CompanyPaymentAccount"],"summary":"公司付款账户更新","operationId":"updateCompanyPaymentAccount_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyPaymentAccountUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseCompanyPaymentAccountVO"}}}}}}},"/operation/updateChannel":{"put":{"tags":["Channel"],"summary":"渠道更新","operationId":"updateChannel","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChannelUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseChannelVO"}}}}}},"patch":{"tags":["Channel"],"summary":"渠道更新","operationId":"updateChannel_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChannelUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseChannelVO"}}}}}}},"/operation/updateBoxProduct":{"put":{"tags":["BoxProduct"],"summary":"纸箱产品更新","operationId":"updateBoxProduct","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BoxProductUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseBoxProductVO"}}}}}},"patch":{"tags":["BoxProduct"],"summary":"纸箱产品更新","operationId":"updateBoxProduct_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BoxProductUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseBoxProductVO"}}}}}}},"/operation/updateBoxBrand":{"put":{"tags":["BoxBrand"],"summary":"纸箱品牌更新","operationId":"updateBoxBrand","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BoxBrandUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseBoxBrandVO"}}}}}},"patch":{"tags":["BoxBrand"],"summary":"纸箱品牌更新","operationId":"updateBoxBrand_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BoxBrandUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseBoxBrandVO"}}}}}}},"/operation/updateAgreement":{"put":{"tags":["Agreement"],"summary":"协议更新","operationId":"updateAgreement","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgreementUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseAgreementVO"}}}}}},"patch":{"tags":["Agreement"],"summary":"协议更新","operationId":"updateAgreement_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgreementUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseAgreementVO"}}}}}}},"/operation/generateDocumentShipOrder":{"put":{"tags":["ShipOrder"],"summary":"发货单生成单据","operationId":"generateDocumentShipOrder","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ShipOrderGenerateDocumentCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}},"patch":{"tags":["ShipOrder"],"summary":"发货单生成单据","operationId":"generateDocumentShipOrder_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ShipOrderGenerateDocumentCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/dragProduct":{"put":{"tags":["Product"],"summary":"产品拖拽排序","operationId":"dragProduct","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductDragCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}},"patch":{"tags":["Product"],"summary":"产品拖拽排序","operationId":"dragProduct_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductDragCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/dragDealer":{"put":{"tags":["Dealer"],"summary":"经销商表拖拽排序","operationId":"dragDealer","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealerDragCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}},"patch":{"tags":["Dealer"],"summary":"经销商表拖拽排序","operationId":"dragDealer_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealerDragCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/dragCostItem":{"put":{"tags":["CostItem"],"summary":"费用项目拖拽排序","operationId":"dragCostItem","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CostItemDragCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}},"patch":{"tags":["CostItem"],"summary":"费用项目拖拽排序","operationId":"dragCostItem_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CostItemDragCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/dragBoxProduct":{"put":{"tags":["BoxProduct"],"summary":"纸箱产品拖拽排序","operationId":"dragBoxProduct","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BoxProductDragCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}},"patch":{"tags":["BoxProduct"],"summary":"纸箱产品拖拽排序","operationId":"dragBoxProduct_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BoxProductDragCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/dragBoxBrand":{"put":{"tags":["BoxBrand"],"summary":"纸箱品牌拖拽排序","operationId":"dragBoxBrand","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BoxBrandDragCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}},"patch":{"tags":["BoxBrand"],"summary":"纸箱品牌拖拽排序","operationId":"dragBoxBrand_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BoxBrandDragCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/withdrawReviewPurchaseOrder":{"post":{"tags":["PurchaseOrder"],"summary":"采购订单撤回提审(录入员撤回提审)","operationId":"withdrawReviewPurchaseOrder","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PurchaseOrderWithdrawReviewCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/updateRole":{"post":{"tags":["Role"],"summary":"更新应用应用角色","operationId":"updateRole","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RoleUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseRoleVO"}}}}}}},"/operation/updatePermission":{"post":{"tags":["Permission"],"summary":"更新权限","operationId":"updatePermission","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PermissionUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponsePermissionVO"}}}}}}},"/operation/updateEmployeeRole":{"post":{"tags":["Employee"],"summary":"修改员工角色","operationId":"updateEmployeeRole","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserRoleUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/submitReviewPurchaseOrder":{"post":{"tags":["PurchaseOrder"],"summary":"采购订单提审(录入员提审)","operationId":"submitReviewPurchaseOrder","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PurchaseOrderSubmitReviewCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/savePurchaseOrderStep3":{"post":{"tags":["PurchaseOrder"],"summary":"采购订单第三步:人工和辅料等费用信息保存","operationId":"savePurchaseOrderStep3","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PurchaseOrderStep3Cmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/savePurchaseOrderStep2":{"post":{"tags":["PurchaseOrder"],"summary":"采购订单第二步:供应商信息保存","operationId":"savePurchaseOrderStep2","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PurchaseOrderStep2Cmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/savePurchaseOrderStep1":{"post":{"tags":["PurchaseOrder"],"summary":"采购订单第一步:车辆信息和经销商信息保存","operationId":"savePurchaseOrderStep1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PurchaseOrderStep1Cmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponsePurchaseOrderVO"}}}}}}},"/operation/restEmployeePassword":{"post":{"tags":["Employee"],"summary":"重置员工密码","operationId":"restEmployeePassword","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmployeeRestPasswordCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/rejectFinalPurchaseOrder":{"post":{"tags":["PurchaseOrder"],"summary":"采购订单驳回审批(老板驳回审批)","operationId":"rejectFinalPurchaseOrder","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PurchaseOrderRejectFinalCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/rejectApprovePurchaseOrder":{"post":{"tags":["PurchaseOrder"],"summary":"采购订单驳回审核(审核员驳回审核)","operationId":"rejectApprovePurchaseOrder","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PurchaseOrderRejectApproveCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/finalApprovePurchaseOrder":{"post":{"tags":["PurchaseOrder"],"summary":"采购订单审批(老板审批)","operationId":"finalApprovePurchaseOrder","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PurchaseOrderFinalApproveCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/extraction/vehicle":{"post":{"tags":["Extraction"],"summary":"智能提取物流信息","operationId":"vehicleExtraction","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VehicleExtractionCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseVehicleExtractionVO"}}}}}}},"/operation/enableUser":{"post":{"tags":["User"],"summary":"启用用户","operationId":"enableUser","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserEnableCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/dragMenu":{"post":{"tags":["Menu"],"summary":"菜单拖拽","operationId":"dragMenu","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MenuDragCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/disableUser":{"post":{"tags":["User"],"summary":"禁用用户","operationId":"disableUser","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserDisableCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/disableEmployee":{"post":{"tags":["Employee"],"summary":"封禁员工","operationId":"disableEmployee","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmployeeDisableCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/destroyRole":{"post":{"tags":["Role"],"summary":"删除应用角色","operationId":"destroyRole","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RoleDestroyCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/destroyPermission":{"post":{"tags":["Permission"],"summary":"删除权限","operationId":"destroyPermission","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PermissionDestroyCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/createUser":{"post":{"tags":["User"],"summary":"创建会员","operationId":"createUser","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserCreateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseUserVO"}}}}}}},"/operation/createSupplier":{"post":{"tags":["Supplier"],"summary":"创建供应商","operationId":"createSupplier","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SupplierCreateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseSupplierVO"}}}}}}},"/operation/createShipOrder":{"post":{"tags":["ShipOrder"],"summary":"创建发货单","operationId":"createShipOrder","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ShipOrderCreateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseShipOrderVO"}}}}}}},"/operation/createRole":{"post":{"tags":["Role"],"summary":"创建应用角色","operationId":"createRole","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RoleCreateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseRoleVO"}}}}}}},"/operation/createPurchaseOrder":{"post":{"tags":["PurchaseOrder"],"summary":"创建采购订单(暂存)","operationId":"createPurchaseOrder","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PurchaseOrderCreateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponsePurchaseOrderVO"}}}}},"deprecated":true}},"/operation/createProduct":{"post":{"tags":["Product"],"summary":"创建产品","operationId":"createProduct","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductCreateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseProductVO"}}}}}}},"/operation/createPlatform":{"post":{"tags":["Platform"],"summary":"创建平台","operationId":"createPlatform","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlatformCreateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponsePlatformVO"}}}}}}},"/operation/createPermission":{"post":{"tags":["Permission"],"summary":"创建权限","operationId":"createPermission","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PermissionCreateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponsePermissionVO"}}}}}}},"/operation/createMenu":{"post":{"tags":["Menu"],"summary":"创建菜单","operationId":"createMenu","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MenuCreateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseMenuVO"}}}}}}},"/operation/createMaterial":{"post":{"tags":["Material"],"summary":"创建素材内容","operationId":"createMaterial","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MaterialCreateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseMaterialVO"}}}}}}},"/operation/createMaterialCategory":{"post":{"tags":["MaterialCategory"],"summary":"创建素材分类","operationId":"createMaterialCategory","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CategoryCreateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseCategoryVO"}}}}}}},"/operation/createGiftBox":{"post":{"tags":["GiftBox"],"summary":"创建礼盒","operationId":"createGiftBox","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GiftBoxCreateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseGiftBoxVO"}}}}}}},"/operation/createEmployee":{"post":{"tags":["Employee"],"summary":"创建员工信息","operationId":"createEmployee","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmployeeCreateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseEmployeeVO"}}}}}}},"/operation/createDictionary":{"post":{"tags":["Dictionary"],"summary":"创建字典","operationId":"createDictionary","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DictionaryCreateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseDictionaryVO"}}}}}}},"/operation/createDealer":{"post":{"tags":["Dealer"],"summary":"创建经销商表","operationId":"createDealer","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealerCreateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseDealerVO"}}}}}}},"/operation/createDealerWarehouse":{"post":{"tags":["DealerWarehouse"],"summary":"创建经销商仓库","operationId":"createDealerWarehouse","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealerWarehouseCreateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseDealerWarehouseVO"}}}}}}},"/operation/createDealerRebateCustomer":{"post":{"tags":["DealerRebateCustomer"],"summary":"创建经销商返点客户","operationId":"createDealerRebateCustomer","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealerRebateCustomerCreateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseDealerRebateCustomerVO"}}}}}}},"/operation/createDealerPaymentAccount":{"post":{"tags":["DealerPaymentAccount"],"summary":"创建经销商付款账户","operationId":"createDealerPaymentAccount","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealerPaymentAccountCreateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseDealerPaymentAccountVO"}}}}}}},"/operation/createCostItem":{"post":{"tags":["CostItem"],"summary":"创建费用项目","operationId":"createCostItem","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CostItemCreateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseCostItemVO"}}}}}}},"/operation/createCompany":{"post":{"tags":["Company"],"summary":"创建公司管理","operationId":"createCompany","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyCreateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseCompanyVO"}}}}}}},"/operation/createCompanyPaymentAccount":{"post":{"tags":["CompanyPaymentAccount"],"summary":"创建公司付款账户","operationId":"createCompanyPaymentAccount","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyPaymentAccountCreateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseCompanyPaymentAccountVO"}}}}}}},"/operation/createChannel":{"post":{"tags":["Channel"],"summary":"创建渠道","operationId":"createChannel","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChannelCreateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseChannelVO"}}}}}}},"/operation/createBoxProduct":{"post":{"tags":["BoxProduct"],"summary":"创建纸箱产品","operationId":"createBoxProduct","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BoxProductCreateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseBoxProductVO"}}}}}}},"/operation/createBoxBrand":{"post":{"tags":["BoxBrand"],"summary":"创建纸箱品牌","operationId":"createBoxBrand","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BoxBrandCreateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseBoxBrandVO"}}}}}}},"/operation/createAgreement":{"post":{"tags":["Agreement"],"summary":"创建协议","operationId":"createAgreement","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgreementCreateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseAgreementVO"}}}}}}},"/operation/batchCreateMaterial":{"post":{"tags":["Material"],"summary":"创建素材内容","operationId":"batchCreateMaterial","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MaterialBatchAddCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponseMaterialVO"}}}}}}},"/operation/approvePurchaseOrder":{"post":{"tags":["PurchaseOrder"],"summary":"采购订单审核(审核员审核)","operationId":"approvePurchaseOrder","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PurchaseOrderApproveCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/treeMenu":{"get":{"tags":["Menu"],"summary":"菜单列表","operationId":"treeMenu","parameters":[{"name":"menuTreeQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/MenuTreeQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponseTreeLong"}}}}}}},"/operation/treeMaterialCategory":{"get":{"tags":["MaterialCategory"],"summary":"素材分类树","operationId":"treeMaterialCategory","parameters":[{"name":"categoryTreeQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/CategoryTreeQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponseTreeLong"}}}}}}},"/operation/showUser":{"get":{"tags":["User"],"summary":"获取用户","operationId":"showUser","parameters":[{"name":"userShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/UserShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseUserVO"}}}}}}},"/operation/showSupplier":{"get":{"tags":["Supplier"],"summary":"供应商详情","operationId":"showSupplier","parameters":[{"name":"supplierShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/SupplierShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseSupplierVO"}}}}}}},"/operation/showShipOrder":{"get":{"tags":["ShipOrder"],"summary":"发货单详情","operationId":"showShipOrder","parameters":[{"name":"shipOrderShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/ShipOrderShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseShipOrderVO"}}}}}}},"/operation/showSetting":{"get":{"tags":["Setting"],"summary":"系统设置详情","operationId":"showSetting","parameters":[{"name":"settingShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/SettingShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseSettingVO"}}}}}}},"/operation/showRole":{"get":{"tags":["Role"],"summary":"查看应用角色","operationId":"showRole","parameters":[{"name":"roleShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/RoleShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseRoleVO"}}}}}}},"/operation/showPurchaseOrder":{"get":{"tags":["PurchaseOrder"],"summary":"采购订单详情","operationId":"showPurchaseOrder","parameters":[{"name":"purchaseOrderShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/PurchaseOrderShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponsePurchaseOrderVO"}}}}}}},"/operation/showProduct":{"get":{"tags":["Product"],"summary":"产品详情","operationId":"showProduct","parameters":[{"name":"productShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/ProductShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseProductVO"}}}}}}},"/operation/showPlatform":{"get":{"tags":["Platform"],"summary":"平台详情","operationId":"showPlatform","parameters":[{"name":"platformShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/PlatformShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponsePlatformVO"}}}}}}},"/operation/showPermission":{"get":{"tags":["Permission"],"summary":"查看权限","operationId":"showPermission","parameters":[{"name":"permissionShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/PermissionShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponsePermissionVO"}}}}}}},"/operation/showMenu":{"get":{"tags":["Menu"],"summary":"菜单详情","operationId":"showMenu","parameters":[{"name":"menuShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/MenuShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseMenuVO"}}}}}}},"/operation/showMaterial":{"get":{"tags":["Material"],"summary":"素材内容详情","operationId":"showMaterial","parameters":[{"name":"materialShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/MaterialShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseMaterialVO"}}}}}}},"/operation/showMaterialCategory":{"get":{"tags":["MaterialCategory"],"summary":"素材分类","operationId":"showMaterialCategory","parameters":[{"name":"categoryShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/CategoryShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseCategoryVO"}}}}}}},"/operation/showGiftBox":{"get":{"tags":["GiftBox"],"summary":"礼盒详情","operationId":"showGiftBox","parameters":[{"name":"giftBoxShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/GiftBoxShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseGiftBoxVO"}}}}}}},"/operation/showEmployee":{"get":{"tags":["Employee"],"summary":"员工信息详情","operationId":"showEmployee","parameters":[{"name":"employeeShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/EmployeeShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseEmployeeVO"}}}}}}},"/operation/showDictionary":{"get":{"tags":["Dictionary"],"summary":"字典详情","operationId":"showDictionary","parameters":[{"name":"dictionaryShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/DictionaryShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseDictionaryVO"}}}}}}},"/operation/showDealer":{"get":{"tags":["Dealer"],"summary":"经销商表详情","operationId":"showDealer","parameters":[{"name":"dealerShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/DealerShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseDealerVO"}}}}}}},"/operation/showDealerWarehouse":{"get":{"tags":["DealerWarehouse"],"summary":"经销商仓库详情","operationId":"showDealerWarehouse","parameters":[{"name":"dealerWarehouseShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/DealerWarehouseShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseDealerWarehouseVO"}}}}}}},"/operation/showDealerRebateCustomer":{"get":{"tags":["DealerRebateCustomer"],"summary":"经销商返点客户详情","operationId":"showDealerRebateCustomer","parameters":[{"name":"dealerRebateCustomerShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/DealerRebateCustomerShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseDealerRebateCustomerVO"}}}}}}},"/operation/showDealerPaymentAccount":{"get":{"tags":["DealerPaymentAccount"],"summary":"经销商付款账户详情","operationId":"showDealerPaymentAccount","parameters":[{"name":"dealerPaymentAccountShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/DealerPaymentAccountShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseDealerPaymentAccountVO"}}}}}}},"/operation/showCostItem":{"get":{"tags":["CostItem"],"summary":"费用项目详情","operationId":"showCostItem","parameters":[{"name":"costItemShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/CostItemShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseCostItemVO"}}}}}}},"/operation/showCompany":{"get":{"tags":["Company"],"summary":"公司管理详情","operationId":"showCompany","parameters":[{"name":"companyShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/CompanyShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseCompanyVO"}}}}}}},"/operation/showCompanyPaymentAccount":{"get":{"tags":["CompanyPaymentAccount"],"summary":"公司付款账户详情","operationId":"showCompanyPaymentAccount","parameters":[{"name":"companyPaymentAccountShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/CompanyPaymentAccountShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseCompanyPaymentAccountVO"}}}}}}},"/operation/showChannel":{"get":{"tags":["Channel"],"summary":"渠道详情","operationId":"showChannel","parameters":[{"name":"channelShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/ChannelShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseChannelVO"}}}}}}},"/operation/showBoxProduct":{"get":{"tags":["BoxProduct"],"summary":"纸箱产品详情","operationId":"showBoxProduct","parameters":[{"name":"boxProductShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/BoxProductShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseBoxProductVO"}}}}}}},"/operation/showBoxBrand":{"get":{"tags":["BoxBrand"],"summary":"纸箱品牌详情","operationId":"showBoxBrand","parameters":[{"name":"boxBrandShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/BoxBrandShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseBoxBrandVO"}}}}}}},"/operation/showAgreement":{"get":{"tags":["Agreement"],"summary":"协议详情","operationId":"showAgreement","parameters":[{"name":"agreementShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/AgreementShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseAgreementVO"}}}}}}},"/operation/pageUser":{"get":{"tags":["User"],"summary":"用户列表","operationId":"pageUser","parameters":[{"name":"userPageQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/UserPageQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageResponseUserVO"}}}}}}},"/operation/pageSupplier":{"get":{"tags":["Supplier"],"summary":"供应商列表","operationId":"pageSupplier","parameters":[{"name":"supplierPageQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/SupplierPageQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageResponseSupplierVO"}}}}}}},"/operation/pageShipOrder":{"get":{"tags":["ShipOrder"],"summary":"发货单列表","operationId":"pageShipOrder","parameters":[{"name":"shipOrderPageQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/ShipOrderPageQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageResponseShipOrderVO"}}}}}}},"/operation/pageRole":{"get":{"tags":["Role"],"summary":"应用角色分页","operationId":"pageRole","parameters":[{"name":"rolePageQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/RolePageQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageResponseRoleVO"}}}}}}},"/operation/pagePurchaseOrder":{"get":{"tags":["PurchaseOrder"],"summary":"采购订单列表","operationId":"pagePurchaseOrder","parameters":[{"name":"purchaseOrderPageQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/PurchaseOrderPageQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageResponsePurchaseOrderVO"}}}}}}},"/operation/pageProduct":{"get":{"tags":["Product"],"summary":"产品列表","operationId":"pageProduct","parameters":[{"name":"productPageQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/ProductPageQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageResponseProductVO"}}}}}}},"/operation/pagePlatform":{"get":{"tags":["Platform"],"summary":"平台列表","operationId":"pagePlatform","parameters":[{"name":"platformPageQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/PlatformPageQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageResponsePlatformVO"}}}}}}},"/operation/pagePermission":{"get":{"tags":["Permission"],"summary":"权限分页","operationId":"pagePermission","parameters":[{"name":"permissionPageQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/PermissionPageQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageResponsePermissionVO"}}}}}}},"/operation/pageMaterial":{"get":{"tags":["Material"],"summary":"素材内容列表","operationId":"pageMaterial","parameters":[{"name":"materialPageQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/MaterialPageQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageResponseMaterialVO"}}}}}}},"/operation/pageGiftBox":{"get":{"tags":["GiftBox"],"summary":"礼盒列表","operationId":"pageGiftBox","parameters":[{"name":"giftBoxPageQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/GiftBoxPageQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageResponseGiftBoxVO"}}}}}}},"/operation/pageEmployee":{"get":{"tags":["Employee"],"summary":"员工信息列表","operationId":"pageEmployee","parameters":[{"name":"employeePageQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/EmployeePageQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageResponseEmployeeVO"}}}}}}},"/operation/pageDictionary":{"get":{"tags":["Dictionary"],"summary":"字典列表","operationId":"pageDictionary","parameters":[{"name":"dictionaryPageQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/DictionaryPageQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageResponseDictionaryVO"}}}}}}},"/operation/pageDealer":{"get":{"tags":["Dealer"],"summary":"经销商表列表","operationId":"pageDealer","parameters":[{"name":"dealerPageQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/DealerPageQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageResponseDealerVO"}}}}}}},"/operation/pageDealerWarehouse":{"get":{"tags":["DealerWarehouse"],"summary":"经销商仓库列表","operationId":"pageDealerWarehouse","parameters":[{"name":"dealerWarehousePageQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/DealerWarehousePageQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageResponseDealerWarehouseVO"}}}}}}},"/operation/pageDealerRebateCustomer":{"get":{"tags":["DealerRebateCustomer"],"summary":"经销商返点客户列表","operationId":"pageDealerRebateCustomer","parameters":[{"name":"dealerRebateCustomerPageQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/DealerRebateCustomerPageQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageResponseDealerRebateCustomerVO"}}}}}}},"/operation/pageDealerPaymentAccount":{"get":{"tags":["DealerPaymentAccount"],"summary":"经销商付款账户列表","operationId":"pageDealerPaymentAccount","parameters":[{"name":"dealerPaymentAccountPageQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/DealerPaymentAccountPageQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageResponseDealerPaymentAccountVO"}}}}}}},"/operation/pageCostItem":{"get":{"tags":["CostItem"],"summary":"费用项目列表","operationId":"pageCostItem","parameters":[{"name":"costItemPageQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/CostItemPageQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageResponseCostItemVO"}}}}}}},"/operation/pageCompany":{"get":{"tags":["Company"],"summary":"公司管理列表","operationId":"pageCompany","parameters":[{"name":"companyPageQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/CompanyPageQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageResponseCompanyVO"}}}}}}},"/operation/pageCompanyPaymentAccount":{"get":{"tags":["CompanyPaymentAccount"],"summary":"公司付款账户列表","operationId":"pageCompanyPaymentAccount","parameters":[{"name":"companyPaymentAccountPageQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/CompanyPaymentAccountPageQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageResponseCompanyPaymentAccountVO"}}}}}}},"/operation/pageChannel":{"get":{"tags":["Channel"],"summary":"渠道分页","operationId":"pageChannel","parameters":[{"name":"channelPageQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/ChannelPageQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageResponseChannelVO"}}}}}}},"/operation/pageBoxProduct":{"get":{"tags":["BoxProduct"],"summary":"纸箱产品列表","operationId":"pageBoxProduct","parameters":[{"name":"boxProductPageQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/BoxProductPageQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageResponseBoxProductVO"}}}}}}},"/operation/pageBoxBrand":{"get":{"tags":["BoxBrand"],"summary":"纸箱品牌列表","operationId":"pageBoxBrand","parameters":[{"name":"boxBrandPageQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/BoxBrandPageQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageResponseBoxBrandVO"}}}}}}},"/operation/pageAgreement":{"get":{"tags":["Agreement"],"summary":"协议列表","operationId":"pageAgreement","parameters":[{"name":"agreementPageQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/AgreementPageQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageResponseAgreementVO"}}}}}}},"/operation/ossToken":{"get":{"tags":["Material"],"summary":"获取OSS上传凭证","operationId":"ossToken","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseOssTokenVO"}}}}}}},"/operation/listUser":{"get":{"tags":["User"],"summary":"用户列表","operationId":"listUser","parameters":[{"name":"userListQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/UserListQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponseUserVO"}}}}}}},"/operation/listSupplier":{"get":{"tags":["Supplier"],"summary":"供应商列表","operationId":"listSupplier","parameters":[{"name":"supplierListQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/SupplierListQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponseSupplierVO"}}}}}}},"/operation/listShipOrder":{"get":{"tags":["ShipOrder"],"summary":"发货单列表","operationId":"listShipOrder","parameters":[{"name":"shipOrderListQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/ShipOrderListQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponseShipOrderVO"}}}}}}},"/operation/listRole":{"get":{"tags":["Role"],"summary":"应用角色列表","operationId":"listRole","parameters":[{"name":"roleListQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/RoleListQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponseRoleVO"}}}}}}},"/operation/listPurchaseOrder":{"get":{"tags":["PurchaseOrder"],"summary":"采购订单列表","operationId":"listPurchaseOrder","parameters":[{"name":"purchaseOrderListQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/PurchaseOrderListQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponsePurchaseOrderVO"}}}}}}},"/operation/listProduct":{"get":{"tags":["Product"],"summary":"产品列表","operationId":"listProduct","parameters":[{"name":"productListQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/ProductListQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponseProductVO"}}}}}}},"/operation/listPlatform":{"get":{"tags":["Platform"],"summary":"平台列表","operationId":"listPlatform","parameters":[{"name":"platformListQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/PlatformListQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponsePlatformVO"}}}}}}},"/operation/listPermission":{"get":{"tags":["Permission"],"summary":"权限列表","operationId":"listPermission","parameters":[{"name":"permissionListQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/PermissionListQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponsePermissionVO"}}}}}}},"/operation/listMenu":{"get":{"tags":["Menu"],"summary":"菜单列表","operationId":"listMenu","parameters":[{"name":"menuListQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/MenuListQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponseMenuVO"}}}}}}},"/operation/listGiftBox":{"get":{"tags":["GiftBox"],"summary":"礼盒列表","operationId":"listGiftBox","parameters":[{"name":"giftBoxListQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/GiftBoxListQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponseGiftBoxVO"}}}}}}},"/operation/listEmployee":{"get":{"tags":["Employee"],"summary":"员工信息列表","operationId":"listEmployee","parameters":[{"name":"employeeListQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/EmployeeListQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponseEmployeeVO"}}}}}}},"/operation/listDictionary":{"get":{"tags":["Dictionary"],"summary":"字典列表","operationId":"listDictionary","parameters":[{"name":"dictionaryListQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/DictionaryListQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponseDictionaryVO"}}}}}}},"/operation/listDealer":{"get":{"tags":["Dealer"],"summary":"经销商表列表","operationId":"listDealer","parameters":[{"name":"dealerListQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/DealerListQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponseDealerVO"}}}}}}},"/operation/listDealerWarehouse":{"get":{"tags":["DealerWarehouse"],"summary":"经销商仓库列表","operationId":"listDealerWarehouse","parameters":[{"name":"dealerWarehouseListQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/DealerWarehouseListQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponseDealerWarehouseVO"}}}}}}},"/operation/listDealerRebateCustomer":{"get":{"tags":["DealerRebateCustomer"],"summary":"经销商返点客户列表","operationId":"listDealerRebateCustomer","parameters":[{"name":"dealerRebateCustomerListQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/DealerRebateCustomerListQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponseDealerRebateCustomerVO"}}}}}}},"/operation/listDealerPaymentAccount":{"get":{"tags":["DealerPaymentAccount"],"summary":"经销商付款账户列表","operationId":"listDealerPaymentAccount","parameters":[{"name":"dealerPaymentAccountListQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/DealerPaymentAccountListQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponseDealerPaymentAccountVO"}}}}}}},"/operation/listCostItem":{"get":{"tags":["CostItem"],"summary":"费用项目列表","operationId":"listCostItem","parameters":[{"name":"costItemListQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/CostItemListQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponseCostItemVO"}}}}}}},"/operation/listCompany":{"get":{"tags":["Company"],"summary":"公司管理列表","operationId":"listCompany","parameters":[{"name":"companyListQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/CompanyListQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponseCompanyVO"}}}}}}},"/operation/listCompanyPaymentAccount":{"get":{"tags":["CompanyPaymentAccount"],"summary":"公司付款账户列表","operationId":"listCompanyPaymentAccount","parameters":[{"name":"companyPaymentAccountListQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/CompanyPaymentAccountListQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponseCompanyPaymentAccountVO"}}}}}}},"/operation/listBoxProduct":{"get":{"tags":["BoxProduct"],"summary":"纸箱产品列表","operationId":"listBoxProduct","parameters":[{"name":"boxProductListQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/BoxProductListQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponseBoxProductVO"}}}}}}},"/operation/listBoxBrand":{"get":{"tags":["BoxBrand"],"summary":"纸箱品牌列表","operationId":"listBoxBrand","parameters":[{"name":"boxBrandListQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/BoxBrandListQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponseBoxBrandVO"}}}}}}},"/operation/listAgreement":{"get":{"tags":["Agreement"],"summary":"协议列表","operationId":"listAgreement","parameters":[{"name":"agreementListQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/AgreementListQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponseAgreementVO"}}}}}}},"/operation/getLastVehicleNo":{"get":{"tags":["PurchaseOrder"],"summary":"获取上一车车次号","operationId":"getLastVehicleNo","parameters":[{"name":"lastVehicleNoQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/LastVehicleNoQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseString"}}}}}}},"/operation/countPurchaseOrderByState":{"get":{"tags":["PurchaseOrder"],"summary":"获取某个状态的数量","operationId":"countPurchaseOrderByState","parameters":[{"name":"purchaseOrderCountQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/PurchaseOrderCountQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseLong"}}}}}}},"/operation/checkSupplier":{"get":{"tags":["Supplier"],"summary":"检查供应商","operationId":"checkSupplier","parameters":[{"name":"supplierCheckQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/SupplierCheckQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseSupplierVO"}}}}}}},"/operation/destroyUser":{"delete":{"tags":["User"],"summary":"删除用户","operationId":"destroyUser","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserDestroyCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/destroySupplier":{"delete":{"tags":["Supplier"],"summary":"供应商删除","operationId":"destroySupplier","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SupplierDestroyCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/destroyShipOrder":{"delete":{"tags":["ShipOrder"],"summary":"发货单删除","operationId":"destroyShipOrder","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ShipOrderDestroyCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/destroyPurchaseOrder":{"delete":{"tags":["PurchaseOrder"],"summary":"采购订单删除","operationId":"destroyPurchaseOrder","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PurchaseOrderDestroyCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/destroyProduct":{"delete":{"tags":["Product"],"summary":"产品删除","operationId":"destroyProduct","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductDestroyCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/destroyPlatform":{"delete":{"tags":["Platform"],"summary":"平台删除","operationId":"destroyPlatform","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlatformDestroyCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/destroyMenu":{"delete":{"tags":["Menu"],"summary":"菜单更新","operationId":"destroyMenu","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MenuDestroyCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/destroyMaterial":{"delete":{"tags":["Material"],"summary":"删除素材内容","operationId":"destroyMaterial","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MaterialDestroyCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/destroyMaterialCategory":{"delete":{"tags":["MaterialCategory"],"summary":"删除素材分类","operationId":"destroyMaterialCategory","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CategoryDestroyCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/destroyGiftBox":{"delete":{"tags":["GiftBox"],"summary":"礼盒删除","operationId":"destroyGiftBox","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GiftBoxDestroyCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/destroyEmployee":{"delete":{"tags":["Employee"],"summary":"员工信息删除","operationId":"destroyEmployee","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmployeeDestroyCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/destroyDictionary":{"delete":{"tags":["Dictionary"],"summary":"字典删除","operationId":"destroyDictionary","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DictionaryDestroyCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/destroyDealer":{"delete":{"tags":["Dealer"],"summary":"经销商表删除","operationId":"destroyDealer","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealerDestroyCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/destroyDealerWarehouse":{"delete":{"tags":["DealerWarehouse"],"summary":"经销商仓库删除","operationId":"destroyDealerWarehouse","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealerWarehouseDestroyCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/destroyDealerRebateCustomer":{"delete":{"tags":["DealerRebateCustomer"],"summary":"经销商返点客户删除","operationId":"destroyDealerRebateCustomer","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealerRebateCustomerDestroyCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/destroyDealerPaymentAccount":{"delete":{"tags":["DealerPaymentAccount"],"summary":"经销商付款账户删除","operationId":"destroyDealerPaymentAccount","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealerPaymentAccountDestroyCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/destroyCostItem":{"delete":{"tags":["CostItem"],"summary":"费用项目删除","operationId":"destroyCostItem","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CostItemDestroyCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/destroyCompany":{"delete":{"tags":["Company"],"summary":"公司管理删除","operationId":"destroyCompany","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyDestroyCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/destroyCompanyPaymentAccount":{"delete":{"tags":["CompanyPaymentAccount"],"summary":"公司付款账户删除","operationId":"destroyCompanyPaymentAccount","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyPaymentAccountDestroyCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/destroyChannel":{"delete":{"tags":["Channel"],"summary":"渠道删除","operationId":"destroyChannel","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChannelDestroyCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/destroyBoxProduct":{"delete":{"tags":["BoxProduct"],"summary":"纸箱产品删除","operationId":"destroyBoxProduct","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BoxProductDestroyCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/destroyBoxBrand":{"delete":{"tags":["BoxBrand"],"summary":"纸箱品牌删除","operationId":"destroyBoxBrand","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BoxBrandDestroyCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/destroyAgreement":{"delete":{"tags":["Agreement"],"summary":"协议删除","operationId":"destroyAgreement","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgreementDestroyCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}}},"components":{"schemas":{"Response":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"}}},"UserUpdateCmd":{"type":"object","properties":{"name":{"type":"string","title":"会员名称"},"nickname":{"type":"string","title":"会员昵称"},"avatar":{"type":"string","title":"头像"},"phone":{"type":"string","title":"会员手机号"},"birthday":{"type":"string","title":"会员生日"},"gender":{"type":"integer","format":"int32","title":"会员性别"},"cardType":{"type":"integer","format":"int32","title":"会员卡号生成方式:1 系统生成 2 自定义"},"remark":{"type":"string","title":"备注"},"labelId":{"type":"array","items":{"type":"integer","format":"int64"},"title":"客户标签"},"userId":{"type":"string","title":"用户ID"}},"required":["userId"],"title":"用户更新命令"},"SingleResponseUserVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/UserVO"}}},"UserVO":{"type":"object","properties":{"userId":{"type":"string","title":"用户编号"},"nickname":{"type":"string","title":"昵称"},"avatar":{"type":"string","title":"头像"},"name":{"type":"string","title":"姓名"},"gender":{"type":"integer","format":"int32","title":"性别"},"birthday":{"type":"string","title":"生日"},"phone":{"type":"string","title":"手机号"},"remark":{"type":"string","title":"备注"},"state":{"type":"string","enum":["ENABLE","DISABLE"],"title":"状态"},"isAdmin":{"type":"boolean","title":"是否是管理员"},"isPartner":{"type":"boolean","title":"是否是小区合伙人"},"createdAt":{"type":"string","title":"创建时间"},"bindPhoneAt":{"type":"string","title":"绑定手机号码时间"},"lastLoginAt":{"type":"string","title":"最后一次登录时间"},"mpOpenid":{"type":"string","title":"微信公众号openid"},"maOpenid":{"type":"string","title":"微信小程序openid"},"unionid":{"type":"string","title":"开放平台unionid"}},"required":["avatar","bindPhoneAt","birthday","createdAt","gender","isAdmin","isPartner","lastLoginAt","maOpenid","mpOpenid","name","nickname","phone","state","unionid","userId"],"title":"用户信息"},"SupplierUpdateCmd":{"type":"object","properties":{"supplierId":{"type":"string","title":"供应商ID"},"name":{"type":"string","title":"姓名"},"idCard":{"type":"string","title":"身份证号"},"phone":{"type":"string","title":"手机号"},"bankCard":{"type":"string","title":"银行卡号"},"wechatQr":{"type":"string","title":"微信收款码URL"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"}},"required":["bankCard","idCard","name","phone","status","supplierId"],"title":"供应商更新"},"SingleResponseSupplierVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/SupplierVO"}}},"SupplierVO":{"type":"object","properties":{"supplierId":{"type":"string","title":"供应商ID"},"name":{"type":"string","title":"姓名"},"idCard":{"type":"string","title":"身份证号"},"phone":{"type":"string","title":"手机号"},"bankCard":{"type":"string","title":"银行卡号"},"wechatQr":{"type":"string","title":"微信收款码URL"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"createdBy":{"type":"string","title":"创建人ID"},"createdByName":{"type":"string","title":"创建人姓名"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"}},"required":["bankCard","createdBy","idCard","name","phone","status","supplierId"],"title":"供应商"},"ShipOrderItem":{"type":"object","properties":{"itemId":{"type":"string","title":"发货单子项ID"},"shipOrderId":{"type":"string","title":"发货单ID"},"grossWeight":{"type":"number","title":"毛重(斤)"},"boxWeight":{"type":"number","title":"箱重(斤)"},"netWeight":{"type":"number","title":"净重(斤)"},"unitPrice":{"type":"number","title":"单价(元)"},"totalAmount":{"type":"number","title":"总金额(元)"},"watermelonGrade":{"type":"string","title":"西瓜品级"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"}},"required":["itemId","shipOrderId"],"title":"发货单子项表"},"ShipOrderUpdateCmd":{"type":"object","properties":{"shipOrderId":{"type":"string","title":"发货单ID"},"estimatedArrivalDate":{"type":"string","format":"date","title":"预计到仓时间"},"watermelonGrade":{"type":"string","title":"西瓜品级"},"shippingAddress":{"type":"string","title":"发货地址"},"companyId":{"type":"string","title":"公司ID"},"companyName":{"type":"string","title":"公司名称"},"remark":{"type":"string","title":"备注"},"shipOrderItemList":{"type":"array","items":{"$ref":"#/components/schemas/ShipOrderItem"},"title":"发货单明细"},"shipDocument":{"type":"string","title":"发货单据"},"purchaseDocument":{"type":"string","title":"采购底单"},"costDocument":{"type":"string","title":"成本单据"}},"required":["shipOrderId"],"title":"发货单更新"},"ShipOrderPackage":{"type":"object","properties":{"orderPackageId":{"type":"string","title":"发货单子项ID"},"shipOrderId":{"type":"string","title":"发货单ID"},"boxCategory":{"type":"string","title":"箱型"},"boxProduct":{"type":"string","title":"箱号"},"quantity":{"type":"integer","format":"int32","title":"数量"},"unitPrice":{"type":"number","title":"单价(元)"},"itemAmount":{"type":"number","title":"金额(元)"},"singleWeight":{"type":"number","title":"单重(斤)"},"totalWeight":{"type":"number","title":"总重(斤)"},"boxBrandImage":{"type":"string","title":"箱子品牌图片"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"}},"required":["orderPackageId","shipOrderId"],"title":"发货单包装表"},"ShipOrderVO":{"type":"object","properties":{"shipOrderId":{"type":"string","title":"发货单ID"},"purchaseOrderId":{"type":"string","title":"采购单ID"},"orderSn":{"type":"string","title":"发货单编号"},"dealerId":{"type":"string","title":"经销商ID"},"dealerName":{"type":"string","title":"经销商名称"},"warehouseId":{"type":"string","title":"仓库ID"},"warehouseName":{"type":"string","title":"仓库名称"},"companyId":{"type":"string","title":"公司ID"},"companyName":{"type":"string","title":"公司名称"},"vehicleNo":{"type":"string","title":"车次号"},"shippingAddress":{"type":"string","title":"发货地址"},"receivingAddress":{"type":"string","title":"收货地址"},"shippingDate":{"type":"string","format":"date","title":"发货日期"},"estimatedArrivalDate":{"type":"string","format":"date","title":"预计到仓时间"},"watermelonGrade":{"type":"string","title":"西瓜品级"},"driverName":{"type":"string","title":"司机姓名"},"driverPhone":{"type":"string","title":"司机手机号"},"licensePlate":{"type":"string","title":"车牌号码"},"freightDebt":{"type":"number","title":"运费欠款(元)"},"strawMatDebt":{"type":"number","title":"草帘欠款(元)"},"trademarkFee":{"type":"number","title":"商标费(元)"},"laborFee":{"type":"number","title":"人工费(元)"},"cartonFee":{"type":"number","title":"纸箱费(元)"},"codingFee":{"type":"number","title":"打码费(元)"},"provisionFee":{"type":"number","title":"计提费(元)"},"totalAmount":{"type":"number","title":"合计金额(元)"},"farmerInfo":{"type":"string","title":"瓜农姓名逗号隔开"},"shipDocument":{"type":"string","title":"发货单据"},"purchaseDocument":{"type":"string","title":"采购底单"},"costDocument":{"type":"string","title":"成本单据"},"state":{"type":"string","enum":["WAIT_PAYMENT","PARTIAL_PAYMENT","FULL_PAYMENT","REJECT_FINISH","FINISH"],"title":"发货单状态:1_待回款;2_部分回款;3_已回款;4_拒收完结;5_已完结;"},"remark":{"type":"string","title":"备注"},"createdBy":{"type":"string","title":"创建人ID"},"createdByName":{"type":"string","title":"创建人姓名"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"},"shipOrderItemList":{"type":"array","items":{"$ref":"#/components/schemas/ShipOrderItem"},"title":"发货单明细"},"shipOrderPackageList":{"type":"array","items":{"$ref":"#/components/schemas/ShipOrderPackage"},"title":"发货单子项表"}},"required":["createdBy","purchaseOrderId","shipOrderId"],"title":"发货单"},"SingleResponseShipOrderVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/ShipOrderVO"}}},"AliPayConfigValue":{"allOf":[{"$ref":"#/components/schemas/SettingValue"},{"type":"object","properties":{"appId":{"type":"string","title":"支付宝appid"},"privateKey":{"type":"string","title":"支付宝私钥"},"publicKey":{"type":"string","title":"支付宝公钥"},"gatewayUrl":{"type":"string","title":"支付宝网关地址"},"notifyUrl":{"type":"string","title":"支付宝回调地址"}}}],"required":["appId","gatewayUrl","notifyUrl","privateKey","publicKey"],"title":"支付宝配置"},"ChargingPilePurchaseConfig":{"allOf":[{"$ref":"#/components/schemas/SettingValue"},{"type":"object","properties":{"title":{"type":"string","title":"标题"},"description":{"type":"string","title":"描述"},"price":{"type":"number","title":"购买价格"},"linePrice":{"type":"number","title":"划线价格"},"image":{"type":"array","items":{"type":"string"},"title":"图片"},"content":{"type":"string","title":"设备内容"}}}],"required":["content","description","image","linePrice","price","title"],"title":"充电桩设备购买配置"},"CustomMenuConfigValue":{"allOf":[{"$ref":"#/components/schemas/SettingValue"},{"type":"object","properties":{"menuItems":{"type":"array","items":{"$ref":"#/components/schemas/MenuItem"},"title":"菜单列表"}}}],"required":["menuItems"],"title":"自定义菜单配置"},"CustomThemeConfigValue":{"allOf":[{"$ref":"#/components/schemas/SettingValue"},{"type":"object","properties":{"themeName":{"type":"string","title":"主题名称"},"primaryColor":{"type":"string","title":"主题颜色"},"secondaryColor":{"type":"string","title":"次要颜色"}}}],"required":["primaryColor","secondaryColor","themeName"],"title":"自定义主题配置"},"MenuItem":{"type":"object","properties":{"menuId":{"type":"string","title":"菜单Id"},"menuName":{"type":"string","title":"菜单名称"},"menuIcon":{"type":"string","title":"菜单图标"},"menuRedirect":{"type":"object","additionalProperties":{},"properties":{"empty":{"type":"boolean"}},"title":"菜单路径"},"menuSort":{"type":"integer","format":"int32","title":"菜单排序"}},"required":["menuIcon","menuId","menuName","menuRedirect","menuSort"],"title":"菜单项"},"SettingUpdateCmd":{"type":"object","properties":{"settingId":{"type":"string","title":"系统设置项ID"},"settingKey":{"type":"string","enum":["WX_MA_CONFIG","WX_MA_MESSAGE_PUSH_CONFIG","WX_MA_SUBSCRIBE_MESSAGE_CONFIG","WX_MA_CODE_UPLOAD_CONFIG","WX_PAY_CONFIG","TENCENT_MAP_CONFIG","SMS_CONFIG","VIRTUAL_PHONE_CONFIG","WX_MP_CONFIG","WX_MP_MESSAGE_PUSH_CONFIG","ALI_PAY_CONFIG","CHARGING_PILE_PURCHASE_CONFIG","CUSTOM_THEME_CONFIG","CUSTOM_MENU_CONFIG","WX_CP_NOTIFY_CONFIG"],"title":"系统设置项key"},"settingValue":{"oneOf":[{"$ref":"#/components/schemas/AliPayConfigValue"},{"$ref":"#/components/schemas/ChargingPilePurchaseConfig"},{"$ref":"#/components/schemas/CustomMenuConfigValue"},{"$ref":"#/components/schemas/CustomThemeConfigValue"},{"$ref":"#/components/schemas/TencentMapConfigValue"},{"$ref":"#/components/schemas/WxCpNotifyConfigValue"},{"$ref":"#/components/schemas/WxMaCodeUploadConfigValue"},{"$ref":"#/components/schemas/WxMaConfigValue"},{"$ref":"#/components/schemas/WxMaMessagePushConfigValue"},{"$ref":"#/components/schemas/WxMaSubscribeMessageConfigValue"},{"$ref":"#/components/schemas/WxMpConfigValue"},{"$ref":"#/components/schemas/WxMpMessagePushConfigValue"},{"$ref":"#/components/schemas/WxPayConfigValue"}],"title":"系统设置项内容"}},"required":["settingKey","settingValue"],"title":"系统设置更新"},"SettingValue":{"discriminator":{"propertyName":"settingKey"},"properties":{"settingKey":{"type":"string"}},"required":["settingKey"]},"TencentMapConfigValue":{"allOf":[{"$ref":"#/components/schemas/SettingValue"},{"type":"object","properties":{"appKey":{"type":"string","title":"腾讯地图AppKey"}}}],"required":["appKey"],"title":"腾讯地图配置"},"WxCpNotifyConfigValue":{"allOf":[{"$ref":"#/components/schemas/SettingValue"},{"type":"object","properties":{"communityApplyNotifyKey":{"type":"string","title":"小区申请通知key"}}}],"required":["communityApplyNotifyKey"],"title":"企业微信通知配置"},"WxMaCodeUploadConfigValue":{"allOf":[{"$ref":"#/components/schemas/SettingValue"},{"type":"object","properties":{"appId":{"type":"string","title":"小程序APPID"},"version":{"type":"string","title":"当前版本号"},"desc":{"type":"string","title":"更新描述"},"ipWhiteList":{"type":"string","title":"上传IP白名单"},"pagePath":{"type":"string","title":"页面路径"},"orderCenterPath":{"type":"string","title":"小程序订单中心path"},"codeUploadKey":{"type":"string","title":"小程序代码上传密钥"}}}],"required":["appId","codeUploadKey","desc","ipWhiteList","orderCenterPath","pagePath","version"],"title":"小程序代码上传配置"},"WxMaConfigValue":{"allOf":[{"$ref":"#/components/schemas/SettingValue"},{"type":"object","properties":{"wxMaName":{"type":"string","title":"小程序名称"},"wxMaOriginalId":{"type":"string","title":"小程序原始ID"},"wxMaLogo":{"type":"string","title":"小程序Logo"},"wxMaCheckFile":{"type":"string","title":"校验文件"},"appId":{"type":"string","title":"AppID(小程序ID)"},"appSecret":{"type":"string","title":"AppSecret(小程序密钥)"}}}],"required":["appId","appSecret","wxMaCheckFile","wxMaLogo","wxMaName","wxMaOriginalId"],"title":"分类创建"},"WxMaMessagePushConfigValue":{"allOf":[{"$ref":"#/components/schemas/SettingValue"},{"type":"object","properties":{"token":{"type":"string","title":"Token(令牌)"},"encodingAESKey":{"type":"string","title":"EncodingAESKey"},"msgEncryptMode":{"type":"string","title":"消息加密方式"},"dataFormat":{"type":"string","title":"数据格式"},"ipWhiteList":{"type":"string","title":"IP白名单"},"url":{"type":"string","title":"URL(服务器地址)"}}}],"required":["dataFormat","encodingAESKey","ipWhiteList","msgEncryptMode","token","url"],"title":"小程序消息推送配置"},"WxMaSubscribeMessageConfigValue":{"allOf":[{"$ref":"#/components/schemas/SettingValue"}],"title":"小程序订阅消息配置"},"WxMpConfigValue":{"allOf":[{"$ref":"#/components/schemas/SettingValue"},{"type":"object","properties":{"wxMpName":{"type":"string","title":"公众号名称"},"wxMpOriginalId":{"type":"string","title":"公众号原始ID"},"wxMpLogo":{"type":"string","title":"公众号Logo"},"appId":{"type":"string","title":"AppID(公众号ID)"},"appSecret":{"type":"string","title":"AppSecret(公众号密钥)"}}}],"required":["appId","appSecret","wxMpLogo","wxMpName","wxMpOriginalId"],"title":"微信公众号配置"},"WxMpMessagePushConfigValue":{"allOf":[{"$ref":"#/components/schemas/SettingValue"},{"type":"object","properties":{"token":{"type":"string","title":"Token(令牌)"},"encodingAESKey":{"type":"string","title":"EncodingAESKey"},"msgEncryptMode":{"type":"string","title":"消息加密方式"},"dataFormat":{"type":"string","title":"数据格式"},"ipWhiteList":{"type":"string","title":"IP白名单"},"url":{"type":"string","title":"URL(服务器地址)"}}}],"required":["dataFormat","encodingAESKey","ipWhiteList","msgEncryptMode","token","url"],"title":"公众号消息推送配置"},"WxPayConfigValue":{"allOf":[{"$ref":"#/components/schemas/SettingValue"},{"type":"object","properties":{"appId":{"type":"string","title":"微信公众号或者小程序等的appid"},"mchId":{"type":"string","title":"微信支付商户号"},"mchKey":{"type":"string","title":"微信支付商户密钥"},"keyPath":{"type":"string","title":"apiclient_cert.p12文件的绝对路径"},"apiV3Key":{"type":"string","title":"apiV3 秘钥值"},"certSerialNo":{"type":"string","title":"apiV3 证书序列号值"},"privateCertString":{"type":"string","title":"apiclient_cert.pem证书文件"},"privateKeyString":{"type":"string","title":"apiclient_key.pem证书文件"},"publicKeyString":{"type":"string","title":"微信支付公钥,pub_key.pem证书文件"},"publicKeyId":{"type":"string","title":"微信支付公钥ID"},"notifyUrl":{"type":"string","title":"微信支付回调地址"}}}],"required":["apiV3Key","appId","certSerialNo","keyPath","mchId","mchKey","notifyUrl","privateCertString","privateKeyString","publicKeyId","publicKeyString"],"title":"微信支付配置"},"SettingVO":{"type":"object","properties":{"settingKey":{"type":"string","enum":["WX_MA_CONFIG","WX_MA_MESSAGE_PUSH_CONFIG","WX_MA_SUBSCRIBE_MESSAGE_CONFIG","WX_MA_CODE_UPLOAD_CONFIG","WX_PAY_CONFIG","TENCENT_MAP_CONFIG","SMS_CONFIG","VIRTUAL_PHONE_CONFIG","WX_MP_CONFIG","WX_MP_MESSAGE_PUSH_CONFIG","ALI_PAY_CONFIG","CHARGING_PILE_PURCHASE_CONFIG","CUSTOM_THEME_CONFIG","CUSTOM_MENU_CONFIG","WX_CP_NOTIFY_CONFIG"],"title":"系统设置项key"},"settingValue":{"oneOf":[{"$ref":"#/components/schemas/AliPayConfigValue"},{"$ref":"#/components/schemas/ChargingPilePurchaseConfig"},{"$ref":"#/components/schemas/CustomMenuConfigValue"},{"$ref":"#/components/schemas/CustomThemeConfigValue"},{"$ref":"#/components/schemas/TencentMapConfigValue"},{"$ref":"#/components/schemas/WxCpNotifyConfigValue"},{"$ref":"#/components/schemas/WxMaCodeUploadConfigValue"},{"$ref":"#/components/schemas/WxMaConfigValue"},{"$ref":"#/components/schemas/WxMaMessagePushConfigValue"},{"$ref":"#/components/schemas/WxMaSubscribeMessageConfigValue"},{"$ref":"#/components/schemas/WxMpConfigValue"},{"$ref":"#/components/schemas/WxMpMessagePushConfigValue"},{"$ref":"#/components/schemas/WxPayConfigValue"}],"title":"系统设置项内容"}},"required":["settingKey","settingValue"],"title":"系统设置"},"SingleResponseSettingVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/SettingVO"}}},"OrderCost":{"type":"object","properties":{"orderCostId":{"type":"string","title":"记录ID"},"orderId":{"type":"string","title":"订单ID"},"itemId":{"type":"string","title":"成本项目ID"},"name":{"type":"string","title":"成本项目名称"},"price":{"type":"number","title":"单价"},"unit":{"type":"string","title":"单位"},"count":{"type":"integer","format":"int32","title":"数量"},"payerType":{"type":"string","enum":["US","OTHER"],"title":"付款方类型:1-我方,2-对方"},"principal":{"type":"string","title":"负责人"},"costType":{"type":"string","enum":["PACKAGING_MATERIALS","HUMAN_COST","OTHER_COST","FIXED_COST","WORKER_ADVANCE","PRODUCTION_ADVANCE"],"title":"费用类型:1_包装材料;2_人工费用;3_其他费用;4_固定费用;5_工头垫付;6_产地垫付"}},"required":["costType","count","itemId","name","orderCostId","payerType","price","unit"],"title":"采购订单成本项目信息创建"},"OrderDealer":{"type":"object","properties":{"orderDealerId":{"type":"string","title":"记录ID"},"orderId":{"type":"string","title":"采购订单ID"},"dealerId":{"type":"string","title":"经销商ID"},"shortName":{"type":"string","title":"经销商简称"},"dealerType":{"type":"string","enum":["MARKET","SUPERMARKET"],"title":"经销商类型:1_市场;2_超市;"},"enableShare":{"type":"boolean","title":"是否开启分成"},"shareRatio":{"type":"number","title":"分成比例"},"freightCostFlag":{"type":"boolean","title":"运费是否作为成本"},"strawMatCostFlag":{"type":"boolean","title":"草帘是否作为成本"},"includePackingFlag":{"type":"boolean","title":"发货单合计金额是否含包装费"},"enableAccrualTax":{"type":"boolean","title":"是否开启计提税金"},"accrualTaxRatio":{"type":"number","title":"计提税金比例"},"enableCompanyRebate":{"type":"boolean","title":"是否开启公司返点"},"companyRebateRatio":{"type":"number","title":"公司返点比例"},"documentTypes":{"type":"string","title":"单据类型:delivery-发货单, purchase-采购底单, cost-成本单"},"taxSubsidy":{"type":"number","title":"税费补贴"},"taxProvision":{"type":"number","title":"计提税金"},"costDifference":{"type":"number","title":"成本差异"},"profitSharing":{"type":"number","title":"利润分成"}},"required":["dealerId","dealerType","shortName"],"title":"采购订单经销商信息创建"},"OrderPackage":{"type":"object","properties":{"orderPackageId":{"type":"string","title":"记录ID"},"orderSupplierId":{"type":"string","title":"供应商记录ID"},"boxBrandId":{"type":"string","title":"箱子品牌ID"},"boxBrandName":{"type":"string","title":"箱子品牌名称"},"boxBrandImage":{"type":"string","title":"箱子品牌图片"},"boxCategoryId":{"type":"string","title":"箱子分类ID"},"boxProductId":{"type":"string","title":"箱子产品ID"},"boxProductName":{"type":"string","title":"箱子产品名称"},"boxProductWeight":{"type":"number","title":"单个箱子重量(kg)"},"boxCount":{"type":"integer","format":"int32","title":"箱子数量"},"boxCostPrice":{"type":"number","title":"成本单价(元/个)"},"boxSalePrice":{"type":"number","title":"销售单价(元/个)"},"boxType":{"type":"string","enum":["USED","EXTRA","EXTRA_USED","REMAIN","OWN"],"title":"箱子类型:1_本次使用;2_额外运输;3_已使用额外运输;4_车上剩余;"}},"required":["boxBrandId","boxBrandName","boxCategoryId","boxCount","boxProductId","boxProductName","boxProductWeight","boxType"],"title":"采购订单包装箱信息创建"},"OrderSupplier":{"type":"object","properties":{"orderSupplierId":{"type":"string","title":"记录ID"},"orderId":{"type":"string","title":"订单ID"},"supplierId":{"type":"string","title":"供应商ID"},"name":{"type":"string","title":"供应商姓名"},"idCard":{"type":"string","title":"身份证号"},"bankCard":{"type":"string","title":"银行卡号"},"phone":{"type":"string","title":"手机号"},"wechatQr":{"type":"string","title":"微信二维码"},"isLast":{"type":"boolean","title":"是否最后一家"},"isPaper":{"type":"boolean","title":"空磅是否包含纸箱"},"emptyWeight":{"type":"number","title":"空车重量(kg)"},"totalWeight":{"type":"number","title":"总重量(kg)"},"grossWeight":{"type":"number","title":"毛重(kg)"},"netWeight":{"type":"number","title":"净重(kg)"},"purchasePrice":{"type":"number","title":"采购单价(元/斤)"},"salePrice":{"type":"number","title":"销售单价(元/斤)"},"invoiceAmount":{"type":"number","title":"发票金额"},"emptyWeightImg":{"type":"string","title":"空车照片"},"totalWeightImg":{"type":"string","title":"满载照片"},"invoiceUpload":{"type":"boolean","title":"是否上传票证"},"invoiceImg":{"type":"array","items":{"type":"string"},"title":"发票"},"contractUpload":{"type":"boolean","title":"是否上传合同"},"contractImg":{"type":"array","items":{"type":"string"},"title":"合同"},"productId":{"type":"string","title":"产品ID"},"productName":{"type":"string","title":"产品名称"},"orderPackageList":{"type":"array","items":{"$ref":"#/components/schemas/OrderPackage"},"title":"采购订单包装箱信息"}},"required":["bankCard","contractUpload","emptyWeight","grossWeight","idCard","invoiceAmount","invoiceUpload","isLast","isPaper","name","netWeight","orderSupplierId","phone","purchasePrice","salePrice","totalWeight"],"title":"采购订单供应商信息创建"},"OrderVehicle":{"type":"object","properties":{"vehicleId":{"type":"string","title":"记录ID"},"orderId":{"type":"string","title":"订单ID"},"vehicleNo":{"type":"string","title":"车货编码"},"plate":{"type":"string","title":"车牌号"},"driver":{"type":"string","title":"司机姓名"},"phone":{"type":"string","title":"司机电话"},"origin":{"type":"string","title":"出发地"},"destination":{"type":"string","title":"目的地"},"priceType":{"type":"string","enum":["MAIN_FREIGHT","SHORT_TRANSPORT"],"title":"运费类型:1-主运费;2-短驳费;"},"price":{"type":"number","title":"运输价格"},"dealerId":{"type":"string","title":"经销商ID"},"dealerName":{"type":"string","title":"经销商名称"},"openStrawCurtain":{"type":"boolean","title":"是否开启草帘"},"strawCurtainPrice":{"type":"number","title":"草帘费用"},"deliveryTime":{"type":"string","format":"date","title":"采购日期"}},"required":["dealerName","deliveryTime","destination","driver","openStrawCurtain","origin","phone","plate","price"],"title":"采购订单车辆运输信息创建"},"PurchaseOrderUpdateCmd":{"type":"object","properties":{"orderId":{"type":"string","title":"采购订单ID"},"active":{"type":"integer","format":"int32","title":"步骤标识"},"originPrincipal":{"type":"string","title":"产地负责人"},"remark":{"type":"string","title":"备注"},"orderVehicle":{"$ref":"#/components/schemas/OrderVehicle","title":"车辆信息"},"orderDealer":{"$ref":"#/components/schemas/OrderDealer","title":"经销商信息"},"orderSupplierList":{"type":"array","items":{"$ref":"#/components/schemas/OrderSupplier"},"title":"供应商信息"},"orderCostList":{"type":"array","items":{"$ref":"#/components/schemas/OrderCost"},"title":"采购订单费用信息"}},"required":["orderCostList","orderDealer","orderId","orderSupplierList","orderVehicle"],"title":"采购订单更新"},"OrderCompany":{"type":"object","properties":{"orderCompanyId":{"type":"string","title":"记录ID"},"orderId":{"type":"string","title":"订单ID"},"companyId":{"type":"string","title":"公司ID"},"shortName":{"type":"string","title":"公司简称"},"fullName":{"type":"string","title":"公司全称"},"taxNumber":{"type":"string","title":"税号"},"contactPerson":{"type":"string","title":"联系人"},"contactPhone":{"type":"string","title":"联系电话"},"address":{"type":"string","title":"发货地址"},"accountId":{"type":"string","title":"账户ID"},"bankName":{"type":"string","title":"银行名称"},"branchName":{"type":"string","title":"支行名称"},"accountName":{"type":"string","title":"账户名称"},"accountNumber":{"type":"string","title":"银行账号"}},"required":["address","companyId","contactPerson","contactPhone","fullName","orderCompanyId","orderId","shortName","taxNumber"],"title":"采购订单公司信息创建"},"OrderRebate":{"type":"object","properties":{"orderRebateId":{"type":"string","title":"记录ID"},"orderId":{"type":"string","title":"订单ID"},"customerId":{"type":"string","title":"客户ID"},"dealerId":{"type":"string","title":"经销商ID"},"name":{"type":"string","title":"客户名称"},"calcMethod":{"type":"string","enum":["NET_WEIGHT","FIXED_AMOUNT"],"title":"返点计算方式:1_按净重计算;2_固定金额;"},"netWeight":{"type":"number","title":"返点净重"},"unitPrice":{"type":"number","title":"返点单价"},"amount":{"type":"number","title":"返点金额"}}},"PurchaseOrderVO":{"type":"object","properties":{"orderId":{"type":"string","title":"订单ID"},"orderSn":{"type":"string","title":"订单编号"},"draft":{"type":"boolean","title":"是否是草稿"},"active":{"type":"integer","format":"int32","title":"步骤标识"},"originPrincipal":{"type":"string","title":"产地负责人"},"pricingMethod":{"type":"string","enum":["BY_GROSS_WEIGHT","BY_NET_WEIGHT"],"title":"报价方式:1_按毛重报价;2_按净重报价;"},"saleAmount":{"type":"number","title":"销售金额"},"packageFee":{"type":"number","title":"包装费"},"avgUnitPrice":{"type":"number","title":"平均单价(元/斤)"},"rebate":{"type":"boolean","title":"是否返点"},"grossWeight":{"type":"number","title":"毛重(斤)"},"netWeight":{"type":"number","title":"净重(斤)"},"totalCost":{"type":"number","title":"成本合计"},"freightCharge":{"type":"number","title":"运费"},"supplierCount":{"type":"integer","format":"int32","title":"瓜农数量"},"state":{"type":"string","enum":["DRAFT","WAITING_AUDIT","WAITING_BOSS_APPROVE","SHIPPING","PAID","COMPLETED"],"title":"订单状态: 0-草稿, 1-待审核, 2-待老板审核, 3-已发货(待付款), 4-已付款, 5-已完结"},"remark":{"type":"string","title":"备注"},"createdBy":{"type":"string","title":"创建人ID"},"createdByName":{"type":"string","title":"创建人姓名"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"},"orderRebate":{"$ref":"#/components/schemas/OrderRebate","title":"返点信息"},"orderVehicle":{"$ref":"#/components/schemas/OrderVehicle","title":"车辆信息"},"orderCompany":{"$ref":"#/components/schemas/OrderCompany","title":"公司信息"},"orderDealer":{"$ref":"#/components/schemas/OrderDealer","title":"经销商信息"},"orderSupplierList":{"type":"array","items":{"$ref":"#/components/schemas/OrderSupplier"},"title":"供应商信息"},"orderCostList":{"type":"array","items":{"$ref":"#/components/schemas/OrderCost"},"title":"采购订单费用信息"}},"required":["createdBy","draft","orderCompany","orderCostList","orderDealer","orderId","orderRebate","orderSn","orderSupplierList","orderVehicle"],"title":"采购订单"},"SingleResponsePurchaseOrderVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/PurchaseOrderVO"}}},"ProductUpdateCmd":{"type":"object","properties":{"productId":{"type":"string","title":"产品表ID"},"name":{"type":"string","title":"产品名称"},"costItemIds":{"type":"array","items":{"type":"integer","format":"int64"},"title":"关联成本费用id"},"remark":{"type":"string","title":"备注"},"sort":{"type":"number","title":"排序号"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"}},"required":["name","productId","sort","status"],"title":"产品表更新"},"CostItemVO":{"type":"object","properties":{"itemId":{"type":"string","title":"项目ID"},"costType":{"type":"string","enum":["PACKAGING_MATERIALS","HUMAN_COST","OTHER_COST","FIXED_COST","WORKER_ADVANCE","PRODUCTION_ADVANCE"],"title":"费用类型:1_包装材料;2_人工费用;3_其他费用;4_固定费用;5_工头垫付;6_产地垫付"},"name":{"type":"string","title":"项目名称"},"unit":{"type":"string","title":"单位"},"price":{"type":"number","title":"单价"},"showInEntry":{"type":"boolean","title":"是否在录入时显示"},"requireQuantityAndPrice":{"type":"boolean","title":"是否需要填写数量和单价"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"}},"required":["costType","itemId","name","price","requireQuantityAndPrice","showInEntry","status","unit"],"title":"费用项目"},"ProductVO":{"type":"object","properties":{"productId":{"type":"string","title":"产品ID"},"name":{"type":"string","title":"产品名称"},"costItemIds":{"type":"array","items":{"type":"integer","format":"int64"},"title":"关联成本费用id"},"remark":{"type":"string","title":"备注"},"sort":{"type":"number","title":"排序号"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用"},"costItemVOList":{"type":"array","items":{"$ref":"#/components/schemas/CostItemVO"},"title":"成本费用"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"}},"required":["name","productId","sort","status"],"title":"产品表"},"SingleResponseProductVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/ProductVO"}}},"PlatformUpdateCmd":{"type":"object","properties":{"platformName":{"type":"string","title":"平台名称"},"homePage":{"type":"string","title":"首页"},"platformId":{"type":"string","title":"平台ID"}},"required":["homePage","platformId","platformName"],"title":"平台更新"},"PlatformVO":{"type":"object","properties":{"platformId":{"type":"string","title":"平台id"},"platformName":{"type":"string","title":"平台名称"},"homePage":{"type":"string","title":"应用首页"}},"required":["homePage","platformId","platformName"],"title":"平台"},"SingleResponsePlatformVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/PlatformVO"}}},"MenuUpdateCmd":{"type":"object","properties":{"path":{"type":"string","title":"路径"},"component":{"type":"string","title":"组件"},"name":{"type":"string","title":"菜单名称"},"pid":{"type":"string","title":"上级菜单Id"},"type":{"type":"string","title":"菜单类型"},"platformId":{"type":"string","title":"平台id"},"roleId":{"type":"array","items":{"type":"integer","format":"int64"},"title":"角色Id"},"hideInMenu":{"type":"boolean","title":"是否隐藏"},"permissionId":{"type":"integer","format":"int64","title":"权限Id"},"menuId":{"type":"string","title":"菜单Id"}},"required":["component","menuId","name","path","platformId","type"],"title":"更新菜单"},"MenuVO":{"type":"object","properties":{"menuId":{"type":"string","title":"菜单id"},"path":{"type":"string","title":"菜单路径"},"component":{"type":"string","title":"组件"},"name":{"type":"string","title":"菜单名称"},"pid":{"type":"string","title":"父菜单id"},"sort":{"type":"string","title":"排序"},"type":{"type":"string","enum":["MENU","PAGE","BUTTON"],"title":"菜单类型"},"platformId":{"type":"string","title":"平台id"},"hideInMenu":{"type":"boolean","title":"是否隐藏"},"routes":{"type":"array","items":{"required":["component","hideInMenu","menuId","name","path","pid","platformId","sort","type"],"title":"菜单"},"title":"子菜单"},"permissionId":{"type":"integer","format":"int64","title":"权限id"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"}},"required":["component","hideInMenu","menuId","name","path","permissionId","pid","platformId","sort","type"],"title":"菜单"},"SingleResponseMenuVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/MenuVO"}}},"MaterialUpdateCmd":{"type":"object","properties":{"name":{"type":"string","title":"素材内容标题"},"categoryId":{"type":"string","title":"分类ID"},"path":{"type":"string","title":"素材内容路劲"},"type":{"type":"string","enum":["FILE_IMAGE","FILE_VIDEO","PRODUCT","CUSTOMER_INTENTION","COURSE","ROOM","SPEECH"],"title":"素材类型"},"materialId":{"type":"string","title":"素材内容ID"}},"title":"更新素材内容"},"CategoryVO":{"type":"object","properties":{"type":{"type":"string","enum":["FILE_IMAGE","FILE_VIDEO","PRODUCT","CUSTOMER_INTENTION","COURSE","ROOM","SPEECH"],"example":"视频","title":"分类类型"},"categoryId":{"type":"string","title":"分类"},"name":{"type":"string","example":"名称","title":"分类名称"},"pid":{"type":"string","example":"名称","title":"上级分类id"},"sort":{"type":"string","example":"名称","title":"排序号"},"children":{"type":"array","items":{"required":["categoryId","name"],"title":"分类响应"},"title":"下级分类"},"count":{"type":"integer","format":"int32","title":"分类关联数量"}},"required":["categoryId","count","name"],"title":"分类响应"},"MaterialVO":{"type":"object","properties":{"materialId":{"type":"string","title":"素材内容ID"},"name":{"type":"string","title":"素材内容标题"},"path":{"type":"string","title":"素材内容路劲"},"url":{"type":"string","title":"素材内容地址"},"categoryId":{"type":"string","title":"上级分类id"},"type":{"type":"string","enum":["FILE_IMAGE","FILE_VIDEO","PRODUCT","CUSTOMER_INTENTION","COURSE","ROOM","SPEECH"],"title":"素材类型"},"categoryVO":{"$ref":"#/components/schemas/CategoryVO","title":"分类内容"}},"required":["categoryId","materialId","name","path","type","url"],"title":"素材内容"},"SingleResponseMaterialVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/MaterialVO"}}},"CategoryUpdateCmd":{"type":"object","properties":{"type":{"type":"string","enum":["FILE_IMAGE","FILE_VIDEO","PRODUCT","CUSTOMER_INTENTION","COURSE","ROOM","SPEECH"],"example":"视频","title":"分类类型"},"name":{"type":"string","example":"名称","title":"分类名称"},"pid":{"type":"string","example":"名称","title":"上级分类id"},"sort":{"type":"integer","format":"int32","example":"排序","title":"排序"},"categoryId":{"type":"string","title":"分类Id"}},"required":["categoryId"],"title":"分类"},"SingleResponseCategoryVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/CategoryVO"}}},"GiftBoxUpdateCmd":{"type":"object","properties":{"boxId":{"type":"string","title":"礼盒ID"},"name":{"type":"string","title":"礼盒名称"},"costPrice":{"type":"number","title":"成本价"},"weight":{"type":"number","title":"重量(kg)"},"salePrice":{"type":"number","title":"售价"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"}},"required":["boxId","costPrice","name","salePrice","status","weight"],"title":"礼盒更新"},"GiftBoxVO":{"type":"object","properties":{"boxId":{"type":"string","title":"礼盒ID"},"name":{"type":"string","title":"礼盒名称"},"costPrice":{"type":"number","title":"成本价"},"weight":{"type":"number","title":"重量(kg)"},"salePrice":{"type":"number","title":"售价"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"}},"required":["boxId","costPrice","name","salePrice","status","weight"],"title":"礼盒"},"SingleResponseGiftBoxVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/GiftBoxVO"}}},"EmployeeUpdateCmd":{"type":"object","properties":{"employeeId":{"type":"string","title":"员工信息ID"},"name":{"type":"string","minLength":1,"title":"姓名"},"number":{"type":"string","minLength":1,"title":"工号"},"gender":{"type":"integer","format":"int32","title":"性别"},"avatar":{"type":"string","title":"头像"},"phone":{"type":"string","minLength":1,"pattern":"^(1[3-9])\\d{9}$","title":"手机号"},"remark":{"type":"string","maxLength":200,"minLength":0,"title":"备注"}},"required":["employeeId","gender","name","number","phone"],"title":"员工信息更新"},"EmployeeVO":{"type":"object","properties":{"employeeId":{"type":"string","title":"员工信息"},"name":{"type":"string","title":"姓名"},"number":{"type":"string","title":"工号"},"avatar":{"type":"string","title":"头像"},"gender":{"type":"integer","format":"int32","title":"性别"},"phone":{"type":"string","title":"手机号"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"},"userId":{"type":"string","title":"用户ID"},"roleIdList":{"type":"array","items":{"type":"integer","format":"int64"},"title":"角色ID"},"userRoleList":{"type":"array","items":{"$ref":"#/components/schemas/UserRoleVO"},"title":"角色信息"}},"required":["employeeId","gender","name","number","phone","roleIdList","userId"],"title":"员工信息"},"SingleResponseEmployeeVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/EmployeeVO"}}},"UserRoleVO":{"type":"object","properties":{"name":{"type":"string","title":"角色名称"},"slug":{"type":"string","title":"角色标识"},"roleId":{"type":"string","title":"角色ID"},"userId":{"type":"string","title":"用户ID"},"description":{"type":"string","title":"描述"}},"required":["description","name","roleId","slug","userId"],"title":"用户角色"},"DictionaryUpdateCmd":{"type":"object","properties":{"id":{"type":"integer","format":"int32","title":"自增id"},"code":{"type":"string","title":"代码"},"name":{"type":"string","title":"字典名称"},"parentId":{"type":"string","title":"上级id"},"sortNo":{"type":"integer","format":"int32","title":"排序号"},"type":{"type":"string","title":"类型"},"dictionaryId":{"type":"string","title":"字典ID"}},"required":["dictionaryId"],"title":"字典更新"},"DictionaryVO":{"type":"object","properties":{"dictionaryId":{"type":"integer","format":"int32","title":"自增id"},"code":{"type":"string","title":"代码"},"name":{"type":"string","title":"字典名称"},"parentId":{"type":"string","title":"上级id"},"sortNo":{"type":"integer","format":"int32","title":"排序号"},"type":{"type":"string","title":"类型"}},"title":"字典"},"SingleResponseDictionaryVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/DictionaryVO"}}},"DealerUpdateCmd":{"type":"object","properties":{"dealerId":{"type":"string","title":"经销商表ID"},"shortName":{"type":"string","title":"经销商简称"},"fullName":{"type":"string","title":"经销商全称"},"dealerType":{"type":"string","enum":["MARKET","SUPERMARKET"],"title":"经销商类型:1_市场;2_超市;"},"enableShare":{"type":"boolean","title":"是否开启分成"},"shareRatio":{"type":"number","title":"分成比例"},"freightCostFlag":{"type":"boolean","title":"运费是否作为成本"},"strawMatCostFlag":{"type":"boolean","title":"草帘是否作为成本"},"includePackingFlag":{"type":"boolean","title":"发货单合计金额是否含包装费"},"documentTypes":{"type":"string","title":"单据类型:delivery-发货单, purchase-采购底单, cost-成本单"},"receivable":{"type":"number","title":"应收金额"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"enableAccrualTax":{"type":"boolean","title":"是否开启计提税金"},"accrualTaxRatio":{"type":"number","title":"计提税金比例"},"enableCompanyRebate":{"type":"boolean","title":"是否开启公司返点"},"companyRebateRatio":{"type":"number","title":"公司返点比例"},"deliveryTemplate":{"type":"string","title":"发货单模板"}},"required":["dealerId","dealerType","shortName","status"],"title":"经销商表更新"},"DealerPaymentAccountVO":{"type":"object","properties":{"accountId":{"type":"string","title":"账户ID"},"dealerId":{"type":"string","title":"经销商ID"},"companyName":{"type":"string","title":"公司名称"},"taxNumber":{"type":"string","title":"税号"},"bankAccount":{"type":"string","title":"银行账号"},"companyAddress":{"type":"string","title":"单位地址"},"phone":{"type":"string","title":"电话"},"openingBank":{"type":"string","title":"开户行"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"},"dealerVO":{"required":["dealerId","dealerType","shortName","status"],"title":"经销商信息"}},"required":["accountId","bankAccount","companyName","dealerId","taxNumber"],"title":"经销商付款账户"},"DealerVO":{"type":"object","properties":{"dealerId":{"type":"string","title":"经销商ID"},"shortName":{"type":"string","title":"经销商简称"},"fullName":{"type":"string","title":"经销商全称"},"dealerType":{"type":"string","enum":["MARKET","SUPERMARKET"],"title":"经销商类型:1_市场;2_超市;"},"enableShare":{"type":"boolean","title":"是否开启分成"},"shareRatio":{"type":"number","title":"分成比例"},"freightCostFlag":{"type":"boolean","title":"运费是否作为成本"},"strawMatCostFlag":{"type":"boolean","title":"草帘是否作为成本"},"includePackingFlag":{"type":"boolean","title":"发货单合计金额是否含包装费"},"documentTypes":{"type":"string","title":"单据类型:delivery-发货单, purchase-采购底单, cost-成本单"},"receivable":{"type":"number","title":"应收金额"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"deliveryTemplate":{"type":"string","title":"发货单模板"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"},"dealerPaymentAccountVOList":{"type":"array","items":{"$ref":"#/components/schemas/DealerPaymentAccountVO"},"title":"经销商账户列表"},"enableAccrualTax":{"type":"boolean","title":"是否开启计提税金"},"accrualTaxRatio":{"type":"number","title":"计提税金比例"},"enableCompanyRebate":{"type":"boolean","title":"是否开启公司返点"},"companyRebateRatio":{"type":"number","title":"公司返点比例"}},"required":["dealerId","dealerType","shortName","status"],"title":"经销商表"},"SingleResponseDealerVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/DealerVO"}}},"DealerWarehouseUpdateCmd":{"type":"object","properties":{"warehouseId":{"type":"string","title":"经销商仓库ID"},"dealerId":{"type":"string","title":"经销商ID"},"accountId":{"type":"string","title":"经销商账户ID"},"name":{"type":"string","title":"仓库名称"},"address":{"type":"string","title":"仓库地址"},"contactPerson":{"type":"string","title":"联系人"},"contactPhone":{"type":"string","title":"联系电话"},"receiverName":{"type":"string","title":"收货人姓名"},"receiverPhone":{"type":"string","title":"收货人电话"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"remark":{"type":"string","title":"备注"}},"required":["accountId","address","dealerId","name","status","warehouseId"],"title":"经销商仓库更新"},"DealerWarehouseVO":{"type":"object","properties":{"warehouseId":{"type":"string","title":"仓库ID"},"dealerId":{"type":"string","title":"经销商ID"},"accountId":{"type":"string","title":"经销商账户ID"},"name":{"type":"string","title":"仓库名称"},"address":{"type":"string","title":"仓库地址"},"contactPerson":{"type":"string","title":"联系人"},"contactPhone":{"type":"string","title":"联系电话"},"receiverName":{"type":"string","title":"收货人姓名"},"receiverPhone":{"type":"string","title":"收货人电话"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"remark":{"type":"string","title":"备注"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"},"dealerVO":{"$ref":"#/components/schemas/DealerVO","title":"经销商信息"},"dealerPaymentAccountVO":{"$ref":"#/components/schemas/DealerPaymentAccountVO","title":"经销商账户信息"}},"required":["accountId","address","dealerId","name","status","warehouseId"],"title":"经销商仓库"},"SingleResponseDealerWarehouseVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/DealerWarehouseVO"}}},"DealerRebateCustomerUpdateCmd":{"type":"object","properties":{"customerId":{"type":"string","title":"经销商返点客户ID"},"dealerId":{"type":"string","title":"经销商ID"},"name":{"type":"string","title":"客户名称"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"remark":{"type":"string","title":"备注"},"calcMethod":{"type":"string","enum":["NET_WEIGHT","FIXED_AMOUNT","NOT_FIXED"],"title":"返点计算方式:1_按净重计算;2_固定金额;3_不固定"},"unitPrice":{"type":"number","title":"返点单价"},"amount":{"type":"number","title":"返点金额"}},"required":["customerId","dealerId","name","status"],"title":"经销商返点客户更新"},"DealerRebateCustomerVO":{"type":"object","properties":{"customerId":{"type":"string","title":"客户ID"},"dealerId":{"type":"string","title":"经销商ID"},"name":{"type":"string","title":"客户名称"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"remark":{"type":"string","title":"备注"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"},"dealerVO":{"$ref":"#/components/schemas/DealerVO","title":"经销商信息"},"calcMethod":{"type":"string","enum":["NET_WEIGHT","FIXED_AMOUNT","NOT_FIXED"],"title":"返点计算方式:1_按净重计算;2_固定金额;3_不固定"},"unitPrice":{"type":"number","title":"返点单价"},"amount":{"type":"number","title":"返点金额"}},"required":["customerId","dealerId","name","status"],"title":"经销商返点客户"},"SingleResponseDealerRebateCustomerVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/DealerRebateCustomerVO"}}},"DealerPaymentAccountUpdateCmd":{"type":"object","properties":{"accountId":{"type":"string","title":"经销商付款账户ID"},"dealerId":{"type":"string","title":"经销商ID"},"companyName":{"type":"string","title":"公司名称"},"taxNumber":{"type":"string","title":"税号"},"bankAccount":{"type":"string","title":"银行账号"},"companyAddress":{"type":"string","title":"单位地址"},"phone":{"type":"string","title":"电话"},"openingBank":{"type":"string","title":"开户行"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"}},"required":["accountId","bankAccount","companyName","dealerId","taxNumber"],"title":"经销商付款账户更新"},"SingleResponseDealerPaymentAccountVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/DealerPaymentAccountVO"}}},"CostItemUpdateCmd":{"type":"object","properties":{"itemId":{"type":"string","title":"费用项目ID"},"costType":{"type":"string","enum":["PACKAGING_MATERIALS","HUMAN_COST","OTHER_COST","FIXED_COST","WORKER_ADVANCE","PRODUCTION_ADVANCE"],"title":"费用类型:1_包装材料;2_人工费用;3_其他费用;4_固定费用;5_工头垫付;6_产地垫付"},"name":{"type":"string","title":"项目名称"},"unit":{"type":"string","title":"单位"},"price":{"type":"number","title":"单价"},"showInEntry":{"type":"boolean","title":"是否在录入时显示"},"requireQuantityAndPrice":{"type":"boolean","title":"是否需要填写数量和单价"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用"}},"required":["costType","itemId","name","price","requireQuantityAndPrice","showInEntry","status","unit"],"title":"费用项目更新"},"SingleResponseCostItemVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/CostItemVO"}}},"CompanyUpdateCmd":{"type":"object","properties":{"companyId":{"type":"string","title":"公司管理ID"},"logo":{"type":"string","title":"公司logo"},"shortName":{"type":"string","title":"公司简称"},"fullName":{"type":"string","title":"公司全称"},"taxNumber":{"type":"string","title":"税号"},"contactPerson":{"type":"string","title":"联系人"},"contactPhone":{"type":"string","title":"联系电话"},"address":{"type":"string","title":"发货地址"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"}},"required":["address","companyId","contactPerson","contactPhone","fullName","shortName","status","taxNumber"],"title":"公司管理更新"},"CompanyVO":{"type":"object","properties":{"companyId":{"type":"string","title":"公司ID"},"logo":{"type":"string","title":"公司logo"},"shortName":{"type":"string","title":"公司简称"},"fullName":{"type":"string","title":"公司全称"},"taxNumber":{"type":"string","title":"税号"},"contactPerson":{"type":"string","title":"联系人"},"contactPhone":{"type":"string","title":"联系电话"},"address":{"type":"string","title":"发货地址"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"}},"required":["address","companyId","contactPerson","contactPhone","fullName","logo","shortName","status","taxNumber"],"title":"公司管理"},"SingleResponseCompanyVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/CompanyVO"}}},"CompanyPaymentAccountUpdateCmd":{"type":"object","properties":{"accountId":{"type":"string","title":"公司付款账户ID"},"companyId":{"type":"string","title":"公司ID"},"accountCategory":{"type":"string","enum":["COMPANY_ACCOUNT","PRIVATE_ACCOUNT"],"title":"账户类别:1_对公账户;2_私人账户"},"accountType":{"type":"string","enum":["BANK_CARD","ALIPAY","WECHAT"],"title":"账户类型:1_银行卡;2_支付宝;3_微信"},"bankName":{"type":"string","title":"银行名称"},"branchName":{"type":"string","title":"支行名称"},"publicAccountType":{"type":"string","enum":["BASIC_ACCOUNT","GENERAL_ACCOUNT","SPECIAL_ACCOUNT","TEMPORARY_ACCOUNT"],"title":"对公账户类型:1_基本户;2_一般户;3_专用账户;4_临时户"},"accountName":{"type":"string","title":"开户公司名称、支付宝昵称、微信号"},"accountNumber":{"type":"string","title":"银行账号、支付宝账号、微信账号"},"isPrimary":{"type":"boolean","title":"是否主付款账户:0_否;1_是"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;2_禁用;"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"}},"required":["accountCategory","accountId","accountName","accountNumber","accountType","companyId","isPrimary","status"],"title":"公司付款账户更新"},"CompanyPaymentAccountVO":{"type":"object","properties":{"accountId":{"type":"string","title":"账户ID"},"companyId":{"type":"string","title":"公司ID"},"accountCategory":{"type":"string","enum":["COMPANY_ACCOUNT","PRIVATE_ACCOUNT"],"title":"账户类别:1_对公账户;2_私人账户"},"accountType":{"type":"string","enum":["BANK_CARD","ALIPAY","WECHAT"],"title":"账户类型:1_银行卡;2_支付宝;3_微信"},"bankName":{"type":"string","title":"银行名称"},"branchName":{"type":"string","title":"支行名称"},"publicAccountType":{"type":"string","enum":["BASIC_ACCOUNT","GENERAL_ACCOUNT","SPECIAL_ACCOUNT","TEMPORARY_ACCOUNT"],"title":"对公账户类型:1_基本户;2_一般户;3_专用账户;4_临时户"},"accountName":{"type":"string","title":"开户公司名称、支付宝昵称、微信号"},"accountNumber":{"type":"string","title":"银行账号、支付宝账号、微信账号"},"isPrimary":{"type":"boolean","title":"是否主付款账户:0_否;1_是"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;2_禁用;"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"},"companyVO":{"$ref":"#/components/schemas/CompanyVO","title":"公司信息"}},"required":["accountCategory","accountId","accountName","accountNumber","accountType","companyId","isPrimary","status"],"title":"公司付款账户"},"SingleResponseCompanyPaymentAccountVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/CompanyPaymentAccountVO"}}},"ChannelUpdateCmd":{"type":"object","properties":{"domain":{"type":"string","title":"域名"},"logo":{"type":"string","title":"Logo"},"title":{"type":"string","title":"标题"},"subTitle":{"type":"string","title":"副标题"},"backgroundImageUrl":{"type":"string","title":"背景图片"},"technicalSupport":{"type":"string","title":"技术支持"},"channelId":{"type":"string","title":"渠道ID"}},"required":["channelId"],"title":"渠道更新"},"ChannelVO":{"type":"object","properties":{"channelId":{"type":"string","title":"渠道ID"},"domain":{"type":"string","title":"域名"},"logo":{"type":"string","title":"Logo"},"title":{"type":"string","title":"标题"},"subTitle":{"type":"string","title":"副标题"},"backgroundImageUrl":{"type":"string","title":"背景图片"},"technicalSupport":{"type":"string","title":"技术支持"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"},"wxMpId":{"type":"string","title":"微信公众号Id"},"wxOpenId":{"type":"string","title":"第三方应用Id"}},"required":["channelId"],"title":"渠道"},"SingleResponseChannelVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/ChannelVO"}}},"BoxProductUpdateCmd":{"type":"object","properties":{"productId":{"type":"string","title":"纸箱产品ID"},"name":{"type":"string","title":"纸箱名称"},"weight":{"type":"number","title":"重量(kg)"},"costPrice":{"type":"number","title":"成本价"},"salePrice":{"type":"number","title":"销售价"},"specType":{"type":"string","enum":["TWO_GRAIN","FOUR_GRAIN"],"title":"规格:1_2粒装;2_4粒装"},"brandId":{"type":"string","title":"品牌ID"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用"},"type":{"type":"string","enum":["OUR_BOX","FARMER_BOX","THIRD_PARTY_BOX"],"title":"品牌类型:1_我方纸箱;2_瓜农纸箱;3_第三方纸箱"}},"required":["brandId","name","productId","specType","status","type"],"title":"纸箱产品更新"},"BoxProductVO":{"type":"object","properties":{"productId":{"type":"string","title":"产品ID"},"name":{"type":"string","title":"纸箱名称"},"weight":{"type":"number","title":"重量(kg)"},"costPrice":{"type":"number","title":"成本价"},"salePrice":{"type":"number","title":"销售价"},"specType":{"type":"string","enum":["TWO_GRAIN","FOUR_GRAIN"],"title":"规格:1_2粒装;2_4粒装"},"brandId":{"type":"string","title":"品牌ID"},"type":{"type":"string","enum":["OUR_BOX","FARMER_BOX","THIRD_PARTY_BOX"],"title":"品牌类型:1_我方纸箱;2_瓜农纸箱;3_第三方纸箱"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"}},"required":["brandId","costPrice","name","productId","salePrice","specType","status","type","weight"],"title":"纸箱产品"},"SingleResponseBoxProductVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/BoxProductVO"}}},"BoxBrandUpdateCmd":{"type":"object","properties":{"brandId":{"type":"string","title":"纸箱品牌ID"},"name":{"type":"string","title":"品牌名称"},"image":{"type":"string","title":"品牌图片URL"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用"},"type":{"type":"string","enum":["OUR_BOX","FARMER_BOX","THIRD_PARTY_BOX"],"title":"品牌类型:1_我方纸箱;2_瓜农纸箱;3_第三方纸箱"}},"required":["brandId","name","status","type"],"title":"纸箱品牌更新"},"BoxBrandVO":{"type":"object","properties":{"brandId":{"type":"string","title":"品牌ID"},"name":{"type":"string","title":"品牌名称"},"image":{"type":"string","title":"品牌图片URL"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用"},"type":{"type":"string","enum":["OUR_BOX","FARMER_BOX","THIRD_PARTY_BOX"],"title":"品牌类型:1_我方纸箱;2_瓜农纸箱;3_第三方纸箱"},"boxProductVOList":{"type":"array","items":{"$ref":"#/components/schemas/BoxProductVO"},"title":"纸箱产品列表"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"}},"required":["brandId","name","status","type"],"title":"纸箱品牌"},"SingleResponseBoxBrandVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/BoxBrandVO"}}},"AgreementUpdateCmd":{"type":"object","properties":{"agreementId":{"type":"string","title":"协议ID"},"scene":{"type":"array","items":{"type":"string","enum":["STAKEHOLDER_SETUP","CUSTOMER_SETUP","PERSONAL_CENTER"]},"title":"使用场景"},"title":{"type":"string","title":"协议标题"},"subTitle":{"type":"string","title":"副标题"},"content":{"type":"string","title":"协议内容"}},"required":["agreementId"],"title":"协议更新"},"AgreementVO":{"type":"object","properties":{"agreementId":{"type":"string","title":"协议id"},"scene":{"type":"array","items":{"type":"string","enum":["STAKEHOLDER_SETUP","CUSTOMER_SETUP","PERSONAL_CENTER"]},"title":"使用场景"},"title":{"type":"string","title":"协议标题"},"subTitle":{"type":"string","title":"副标题"},"content":{"type":"string","title":"协议内容"}},"required":["agreementId"],"title":"协议"},"SingleResponseAgreementVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/AgreementVO"}}},"ShipOrderGenerateDocumentCmd":{"type":"object","properties":{"shipOrderId":{"type":"string","title":"发货单ID"},"estimatedArrivalDate":{"type":"string","format":"date","title":"预计到仓时间"},"watermelonGrade":{"type":"string","title":"西瓜品级"},"shippingAddress":{"type":"string","title":"发货地址"},"remark":{"type":"string","title":"备注"},"shipOrderItemList":{"type":"array","items":{"$ref":"#/components/schemas/ShipOrderItem"},"title":"发货单明细"},"shipDocument":{"type":"string","title":"发货单据"},"purchaseDocument":{"type":"string","title":"采购底单"},"costDocument":{"type":"string","title":"成本单据"}},"required":["shipOrderId"],"title":"发货单生成单据"},"ProductDragCmd":{"type":"object","properties":{"prevId":{"type":"integer","format":"int64","title":"相邻元素前"},"nextId":{"type":"integer","format":"int64","title":"相邻元素后"},"currentId":{"type":"integer","format":"int64","title":"当前元素"}},"title":"产品拖拽"},"DealerDragCmd":{"type":"object","properties":{"prevId":{"type":"integer","format":"int64","title":"相邻元素前"},"nextId":{"type":"integer","format":"int64","title":"相邻元素后"},"currentId":{"type":"integer","format":"int64","title":"当前元素"}},"title":"经销商拖拽"},"CostItemDragCmd":{"type":"object","properties":{"prevId":{"type":"integer","format":"int64","title":"相邻元素前"},"nextId":{"type":"integer","format":"int64","title":"相邻元素后"},"currentId":{"type":"integer","format":"int64","title":"当前元素"}},"title":"费用项目拖拽"},"BoxProductDragCmd":{"type":"object","properties":{"prevId":{"type":"integer","format":"int64","title":"相邻元素前"},"nextId":{"type":"integer","format":"int64","title":"相邻元素后"},"currentId":{"type":"integer","format":"int64","title":"当前元素"}},"title":"纸箱产品拖拽"},"BoxBrandDragCmd":{"type":"object","properties":{"prevId":{"type":"integer","format":"int64","title":"相邻元素前"},"nextId":{"type":"integer","format":"int64","title":"相邻元素后"},"currentId":{"type":"integer","format":"int64","title":"当前元素"}},"title":"纸箱品牌拖拽"},"PurchaseOrderWithdrawReviewCmd":{"type":"object","properties":{"orderId":{"type":"string","title":"采购订单ID"}},"required":["orderId"],"title":"采购订单撤回提审(录入员撤回提审)"},"RoleUpdateCmd":{"type":"object","properties":{"platformId":{"type":"string","title":"平台id"},"slug":{"type":"string","title":"角色标识"},"name":{"type":"string","title":"角色名称"},"type":{"type":"string","title":"角色类型"},"description":{"type":"string","title":"角色详情"},"menuId":{"type":"array","items":{"type":"integer","format":"int64"},"title":"角色id"},"roleId":{"type":"string","title":"角色ID"}},"required":["menuId","name","platformId","roleId","slug","type"],"title":"角色新增"},"RoleVO":{"type":"object","properties":{"roleId":{"type":"string","title":"角色id"},"slug":{"type":"string","title":"标识"},"name":{"type":"string","title":"名称"},"type":{"type":"string","title":"类型"},"description":{"type":"string","title":"描述"},"platformId":{"type":"string","title":"平台id"},"permissionId":{"type":"array","items":{"type":"integer","format":"int64"},"title":"权限列表"},"menuId":{"type":"array","items":{"type":"integer","format":"int64"},"title":"菜单列表"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"}},"required":["createdAt","menuId","name","permissionId","platformId","roleId","slug","type"],"title":"角色"},"SingleResponseRoleVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/RoleVO"}}},"PermissionUpdateCmd":{"type":"object","properties":{"slug":{"type":"string","title":"权限标识"},"name":{"type":"string","title":"权限名称"},"permissionId":{"type":"string","title":"权限Id"}},"required":["name","permissionId","slug"],"title":"权限更新"},"PermissionVO":{"type":"object","properties":{"permissionId":{"type":"string","title":"权限Id"},"slug":{"type":"string","title":"权限标识"},"name":{"type":"string","title":"权限名称"}},"required":["name","permissionId","slug"],"title":"权限"},"SingleResponsePermissionVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/PermissionVO"}}},"UserRoleUpdateCmd":{"type":"object","properties":{"userId":{"type":"string","title":"用户ID"},"roleIdList":{"type":"array","items":{"type":"integer","format":"int64"},"title":"角色ID"},"cover":{"type":"boolean","title":"是否覆盖"}},"required":["cover","userId"],"title":"用户角色更新"},"PurchaseOrderSubmitReviewCmd":{"type":"object","properties":{"orderId":{"type":"string","title":"采购订单ID"}},"required":["orderId"],"title":"采购订单提审(录入员提审)"},"PurchaseOrderStep3Cmd":{"type":"object","properties":{"orderId":{"type":"string","title":"采购订单ID"},"active":{"type":"integer","format":"int32","title":"步骤标识"},"orderCostList":{"type":"array","items":{"$ref":"#/components/schemas/OrderCost"},"title":"采购订单费用信息"}},"required":["orderCostList","orderId"],"title":"采购订单第三步:人工和辅料等费用信息保存"},"PurchaseOrderStep2Cmd":{"type":"object","properties":{"orderId":{"type":"string","title":"采购订单ID"},"active":{"type":"integer","format":"int32","title":"步骤标识"},"orderSupplierList":{"type":"array","items":{"$ref":"#/components/schemas/OrderSupplier"},"title":"供应商信息"}},"required":["orderId","orderSupplierList"],"title":"采购订单第二步:供应商信息保存"},"PurchaseOrderStep1Cmd":{"type":"object","properties":{"orderId":{"type":"string","title":"采购订单ID"},"active":{"type":"integer","format":"int32","title":"步骤标识"},"orderVehicle":{"$ref":"#/components/schemas/OrderVehicle","title":"车辆信息"},"orderDealer":{"$ref":"#/components/schemas/OrderDealer","title":"经销商信息"}},"required":["orderDealer","orderVehicle"],"title":"采购订单第一步:车辆信息和经销商信息保存"},"EmployeeRestPasswordCmd":{"type":"object","properties":{"password":{"type":"string","pattern":"^(?=.*[a-z])(?=.*[A-Z])(?=.*\\d)(?=.*[@$!%*?&])[A-Za-z\\d@$!%*?&]{8,}$","title":"新密码"},"userId":{"type":"string","title":"用户id"}},"required":["password","userId"],"title":"员工信息更新"},"PurchaseOrderRejectFinalCmd":{"type":"object","properties":{"orderId":{"type":"string","title":"采购订单ID"}},"required":["orderId"],"title":"采购订单驳回审批(老板驳回审批)"},"PurchaseOrderRejectApproveCmd":{"type":"object","properties":{"orderId":{"type":"string","title":"采购订单ID"},"rejectReason":{"type":"string","title":"驳回原因"}},"required":["orderId","rejectReason"],"title":"采购订单驳回审核(审核员驳回审核)"},"PurchaseOrderFinalApproveCmd":{"type":"object","properties":{"orderId":{"type":"string","title":"采购订单ID"}},"required":["orderId"],"title":"采购订单审批(老板审批)"},"VehicleExtractionCmd":{"type":"object","properties":{"message":{"type":"string","title":"消息内容"},"dealerNames":{"type":"string","title":"经销商信息"}},"required":["dealerNames","message"],"title":"车辆信息抽取"},"SingleResponseVehicleExtractionVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/VehicleExtractionVO"}}},"VehicleExtractionVO":{"type":"object","properties":{"plate":{"type":"string","title":"车牌"},"driver":{"type":"string","title":"司机"},"phone":{"type":"string","title":"手机"},"origin":{"type":"string","title":"出发地"},"destination":{"type":"string","title":"目的地"},"price":{"type":"number","title":"价格"},"dealerName":{"type":"string","title":"经销商"},"dealerId":{"type":"string","title":"经销商ID"},"dealerVO":{"$ref":"#/components/schemas/DealerVO","title":"经销商信息"}},"required":["dealerId"],"title":"车辆信息抽取"},"UserEnableCmd":{"type":"object","properties":{"userId":{"type":"string","title":"用户ID"}},"required":["userId"],"title":"用户启用"},"MenuDragCmd":{"type":"object","properties":{"prevId":{"type":"integer","format":"int64","title":"相邻元素前"},"nextId":{"type":"integer","format":"int64","title":"相邻元素后"},"currentId":{"type":"integer","format":"int64","title":"当前元素"}},"title":"菜单拖拽"},"UserDisableCmd":{"type":"object","properties":{"userId":{"type":"string","title":"用户ID"}},"required":["userId"],"title":"用户封禁"},"EmployeeDisableCmd":{"type":"object","properties":{"employeeId":{"type":"string","title":"员工信息ID"}},"required":["employeeId"],"title":"员工封禁"},"RoleDestroyCmd":{"type":"object","properties":{"roleId":{"type":"string","title":"角色ID"}},"title":"角色新增"},"PermissionDestroyCmd":{"type":"object","properties":{"permissionId":{"type":"string","title":"权限Id"}},"required":["permissionId"],"title":"权限删除"},"UserCreateCmd":{"type":"object","properties":{"name":{"type":"string","title":"会员名称"},"nickname":{"type":"string","title":"会员昵称"},"avatar":{"type":"string","title":"头像"},"phone":{"type":"string","title":"会员手机号"},"birthday":{"type":"string","title":"会员生日"},"gender":{"type":"integer","format":"int32","title":"会员性别"},"cardType":{"type":"integer","format":"int32","title":"会员卡号生成方式:1 系统生成 2 自定义"},"remark":{"type":"string","title":"备注"},"labelId":{"type":"array","items":{"type":"integer","format":"int64"},"title":"客户标签"}},"required":["name","phone"],"title":"用户更新命令"},"SupplierCreateCmd":{"type":"object","properties":{"supplierId":{"type":"string","title":"供应商ID"},"name":{"type":"string","title":"姓名"},"idCard":{"type":"string","title":"身份证号"},"phone":{"type":"string","title":"手机号"},"bankCard":{"type":"string","title":"银行卡号"},"wechatQr":{"type":"string","title":"微信收款码URL"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"}},"required":["bankCard","idCard","name","phone","status","supplierId"],"title":"供应商创建"},"ShipOrderCreateCmd":{"type":"object","properties":{"createdBy":{"type":"string","title":"创建人ID"},"createdByName":{"type":"string","title":"创建人姓名"},"shipOrderId":{"type":"string","title":"发货单ID"},"purchaseOrderId":{"type":"string","title":"采购单ID"},"orderSn":{"type":"string","title":"发货单编号"},"shippingAddress":{"type":"string","title":"发货地址"},"receivingAddress":{"type":"string","title":"收货地址"},"shippingDate":{"type":"string","format":"date","title":"发货日期"},"estimatedArrivalDate":{"type":"string","format":"date","title":"预计到仓时间"},"watermelonGrade":{"type":"string","title":"西瓜品级"},"driverName":{"type":"string","title":"司机姓名"},"driverPhone":{"type":"string","title":"司机手机号"},"licensePlate":{"type":"string","title":"车牌号码"},"freightDebt":{"type":"number","title":"运费欠款(元)"},"strawMatDebt":{"type":"number","title":"草帘欠款(元)"},"trademarkFee":{"type":"number","title":"商标费(元)"},"laborFee":{"type":"number","title":"人工费(元)"},"cartonFee":{"type":"number","title":"纸箱费(元)"},"codingFee":{"type":"number","title":"打码费(元)"},"provisionFee":{"type":"number","title":"计提费(元)"},"totalAmount":{"type":"number","title":"合计金额(元)"},"farmerInfo":{"type":"string","title":"瓜农姓名逗号隔开"},"companyId":{"type":"string","title":"公司ID"},"companyName":{"type":"string","title":"公司名称"},"remark":{"type":"string","title":"备注"}},"required":["createdBy","purchaseOrderId","shipOrderId"],"title":"发货单创建"},"RoleCreateCmd":{"type":"object","properties":{"platformId":{"type":"string","title":"平台id"},"slug":{"type":"string","title":"角色标识"},"name":{"type":"string","title":"角色名称"},"type":{"type":"string","title":"角色类型"},"description":{"type":"string","title":"角色详情"},"menuId":{"type":"array","items":{"type":"integer","format":"int64"},"title":"角色id"}},"required":["menuId","name","platformId","slug","type"],"title":"角色新增"},"PurchaseOrderCreateCmd":{"type":"object","properties":{"orderId":{"type":"string","title":"采购订单ID"},"active":{"type":"integer","format":"int32","title":"步骤标识"},"originPrincipal":{"type":"string","title":"产地负责人"},"remark":{"type":"string","title":"备注"},"orderVehicle":{"$ref":"#/components/schemas/OrderVehicle","title":"车辆信息"},"orderDealer":{"$ref":"#/components/schemas/OrderDealer","title":"经销商信息"},"orderSupplierList":{"type":"array","items":{"$ref":"#/components/schemas/OrderSupplier"},"title":"供应商信息"},"orderCostList":{"type":"array","items":{"$ref":"#/components/schemas/OrderCost"},"title":"采购订单费用信息"}},"required":["orderCostList","orderDealer","orderSupplierList","orderVehicle"],"title":"采购订单创建"},"ProductCreateCmd":{"type":"object","properties":{"productId":{"type":"string","title":"产品ID"},"name":{"type":"string","title":"产品名称"},"costItemIds":{"type":"array","items":{"type":"integer","format":"int64"},"title":"关联成本费用id"},"remark":{"type":"string","title":"备注"},"sort":{"type":"number","title":"排序号"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"}},"required":["name","productId","sort","status"],"title":"产品表创建"},"PlatformCreateCmd":{"type":"object","properties":{"platformName":{"type":"string","title":"平台名称"},"homePage":{"type":"string","title":"首页"}},"required":["homePage","platformName"],"title":"平台创建"},"PermissionCreateCmd":{"type":"object","properties":{"slug":{"type":"string","title":"权限标识"},"name":{"type":"string","title":"权限名称"}},"required":["name","slug"],"title":"权限创建"},"MenuCreateCmd":{"type":"object","properties":{"path":{"type":"string","title":"路径"},"component":{"type":"string","title":"组件"},"name":{"type":"string","title":"菜单名称"},"pid":{"type":"string","title":"上级菜单Id"},"type":{"type":"string","title":"菜单类型"},"platformId":{"type":"string","title":"平台id"},"roleId":{"type":"array","items":{"type":"integer","format":"int64"},"title":"角色Id"},"hideInMenu":{"type":"boolean","title":"是否隐藏"},"permissionId":{"type":"integer","format":"int64","title":"权限Id"}},"required":["component","name","path","platformId","type"],"title":"创建菜单请求"},"MaterialCreateCmd":{"type":"object","properties":{"name":{"type":"string","title":"素材内容标题"},"categoryId":{"type":"string","title":"分类ID"},"path":{"type":"string","title":"素材内容路劲"},"type":{"type":"string","enum":["FILE_IMAGE","FILE_VIDEO","PRODUCT","CUSTOMER_INTENTION","COURSE","ROOM","SPEECH"],"title":"素材类型"}},"title":"创建素材内容"},"CategoryCreateCmd":{"type":"object","properties":{"type":{"type":"string","enum":["FILE_IMAGE","FILE_VIDEO","PRODUCT","CUSTOMER_INTENTION","COURSE","ROOM","SPEECH"],"example":"视频","title":"分类类型"},"name":{"type":"string","example":"名称","title":"分类名称"},"pid":{"type":"string","example":"名称","title":"上级分类id"},"sort":{"type":"integer","format":"int32","example":"排序","title":"排序"}},"title":"分类创建"},"GiftBoxCreateCmd":{"type":"object","properties":{"boxId":{"type":"string","title":"礼盒ID"},"name":{"type":"string","title":"礼盒名称"},"costPrice":{"type":"number","title":"成本价"},"weight":{"type":"number","title":"重量(kg)"},"salePrice":{"type":"number","title":"售价"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"}},"required":["boxId","costPrice","name","salePrice","status","weight"],"title":"礼盒创建"},"EmployeeCreateCmd":{"type":"object","properties":{"name":{"type":"string","minLength":1,"title":"姓名"},"number":{"type":"string","minLength":1,"title":"工号"},"gender":{"type":"integer","format":"int32","title":"性别"},"phone":{"type":"string","minLength":1,"pattern":"^(1[3-9])\\d{9}$","title":"手机号"},"remark":{"type":"string","maxLength":200,"minLength":0,"title":"备注"},"status":{"type":"boolean","title":"状态"},"username":{"type":"string","example":18367831980,"maxLength":20,"minLength":4,"title":"登录账号"},"password":{"type":"string","example":18367831980,"maxLength":20,"minLength":8,"pattern":"^(?=.*[a-z])(?=.*[A-Z])(?=.*\\d)(?=.*[@$!%*?&])[A-Za-z\\d@$!%*?&]{8,}$","title":"登录密码"},"roleId":{"type":"array","items":{"type":"integer","format":"int64"},"title":"角色ID"}},"required":["gender","name","number","password","phone","roleId","status","username"],"title":"员工信息创建"},"DictionaryCreateCmd":{"type":"object","properties":{"id":{"type":"integer","format":"int32","title":"自增id"},"code":{"type":"string","title":"代码"},"name":{"type":"string","title":"字典名称"},"parentId":{"type":"string","title":"上级id"},"sortNo":{"type":"integer","format":"int32","title":"排序号"},"type":{"type":"string","title":"类型"}},"title":"字典创建"},"DealerCreateCmd":{"type":"object","properties":{"dealerId":{"type":"string","title":"经销商ID"},"shortName":{"type":"string","title":"经销商简称"},"fullName":{"type":"string","title":"经销商全称"},"dealerType":{"type":"string","enum":["MARKET","SUPERMARKET"],"title":"经销商类型:1_市场;2_超市;"},"enableShare":{"type":"boolean","title":"是否开启分成"},"shareRatio":{"type":"number","title":"分成比例"},"freightCostFlag":{"type":"boolean","title":"运费是否作为成本"},"strawMatCostFlag":{"type":"boolean","title":"草帘是否作为成本"},"includePackingFlag":{"type":"boolean","title":"发货单合计金额是否含包装费"},"documentTypes":{"type":"string","title":"单据类型:delivery-发货单, purchase-采购底单, cost-成本单"},"receivable":{"type":"number","title":"应收金额"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"enableAccrualTax":{"type":"boolean","title":"是否开启计提税金"},"accrualTaxRatio":{"type":"number","title":"计提税金比例"},"enableCompanyRebate":{"type":"boolean","title":"是否开启公司返点"},"companyRebateRatio":{"type":"number","title":"公司返点比例"}},"required":["dealerId","dealerType","shortName","status"],"title":"经销商表创建"},"DealerWarehouseCreateCmd":{"type":"object","properties":{"warehouseId":{"type":"string","title":"仓库ID"},"dealerId":{"type":"string","title":"经销商ID"},"accountId":{"type":"string","title":"经销商账户ID"},"name":{"type":"string","title":"仓库名称"},"address":{"type":"string","title":"仓库地址"},"contactPerson":{"type":"string","title":"联系人"},"contactPhone":{"type":"string","title":"联系电话"},"receiverName":{"type":"string","title":"收货人姓名"},"receiverPhone":{"type":"string","title":"收货人电话"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"remark":{"type":"string","title":"备注"}},"required":["accountId","address","dealerId","name","status","warehouseId"],"title":"经销商仓库创建"},"DealerRebateCustomerCreateCmd":{"type":"object","properties":{"customerId":{"type":"string","title":"客户ID"},"dealerId":{"type":"string","title":"经销商ID"},"name":{"type":"string","title":"客户名称"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"remark":{"type":"string","title":"备注"},"calcMethod":{"type":"string","enum":["NET_WEIGHT","FIXED_AMOUNT","NOT_FIXED"],"title":"返点计算方式:1_按净重计算;2_固定金额;3_不固定"},"unitPrice":{"type":"number","title":"返点单价"},"amount":{"type":"number","title":"返点金额"}},"required":["customerId","dealerId","name","status"],"title":"经销商返点客户创建"},"DealerPaymentAccountCreateCmd":{"type":"object","properties":{"accountId":{"type":"string","title":"账户ID"},"dealerId":{"type":"string","title":"经销商ID"},"companyName":{"type":"string","title":"公司名称"},"taxNumber":{"type":"string","title":"税号"},"bankAccount":{"type":"string","title":"银行账号"},"companyAddress":{"type":"string","title":"单位地址"},"phone":{"type":"string","title":"电话"},"openingBank":{"type":"string","title":"开户行"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"}},"required":["accountId","bankAccount","companyName","dealerId","taxNumber"],"title":"经销商付款账户创建"},"CostItemCreateCmd":{"type":"object","properties":{"itemId":{"type":"string","title":"项目ID"},"costType":{"type":"string","enum":["PACKAGING_MATERIALS","HUMAN_COST","OTHER_COST","FIXED_COST","WORKER_ADVANCE","PRODUCTION_ADVANCE"],"title":"费用类型:1_包装材料;2_人工费用;3_其他费用;4_固定费用;5_工头垫付;6_产地垫付"},"name":{"type":"string","title":"项目名称"},"unit":{"type":"string","title":"单位"},"price":{"type":"number","title":"单价"},"showInEntry":{"type":"boolean","title":"是否在录入时显示"},"requireQuantityAndPrice":{"type":"boolean","title":"是否需要填写数量和单价"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用"}},"required":["costType","itemId","name","price","requireQuantityAndPrice","showInEntry","status","unit"],"title":"费用项目创建"},"CompanyCreateCmd":{"type":"object","properties":{"companyId":{"type":"string","title":"公司ID"},"logo":{"type":"string","title":"公司logo"},"shortName":{"type":"string","title":"公司简称"},"fullName":{"type":"string","title":"公司全称"},"taxNumber":{"type":"string","title":"税号"},"contactPerson":{"type":"string","title":"联系人"},"contactPhone":{"type":"string","title":"联系电话"},"address":{"type":"string","title":"发货地址"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"}},"required":["address","companyId","contactPerson","contactPhone","fullName","shortName","status","taxNumber"],"title":"公司管理创建"},"CompanyPaymentAccountCreateCmd":{"type":"object","properties":{"accountId":{"type":"string","title":"账户ID"},"companyId":{"type":"string","title":"公司ID"},"accountCategory":{"type":"string","enum":["COMPANY_ACCOUNT","PRIVATE_ACCOUNT"],"title":"账户类别:1_对公账户;2_私人账户"},"accountType":{"type":"string","enum":["BANK_CARD","ALIPAY","WECHAT"],"title":"账户类型:1_银行卡;2_支付宝;3_微信"},"bankName":{"type":"string","title":"银行名称"},"branchName":{"type":"string","title":"支行名称"},"publicAccountType":{"type":"string","enum":["BASIC_ACCOUNT","GENERAL_ACCOUNT","SPECIAL_ACCOUNT","TEMPORARY_ACCOUNT"],"title":"对公账户类型:1_基本户;2_一般户;3_专用账户;4_临时户"},"accountName":{"type":"string","title":"开户公司名称、支付宝昵称、微信号"},"accountNumber":{"type":"string","title":"银行账号、支付宝账号、微信账号"},"isPrimary":{"type":"boolean","title":"是否主付款账户:0_否;1_是"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;2_禁用;"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"}},"required":["accountCategory","accountId","accountName","accountNumber","accountType","companyId","isPrimary","status"],"title":"公司付款账户创建"},"ChannelCreateCmd":{"type":"object","properties":{"domain":{"type":"string","title":"域名"},"logo":{"type":"string","title":"Logo"},"title":{"type":"string","title":"标题"},"subTitle":{"type":"string","title":"副标题"},"backgroundImageUrl":{"type":"string","title":"背景图片"},"technicalSupport":{"type":"string","title":"技术支持"}},"title":"渠道新增"},"BoxProductCreateCmd":{"type":"object","properties":{"productId":{"type":"string","title":"产品ID"},"name":{"type":"string","title":"纸箱名称"},"weight":{"type":"number","title":"重量(kg)"},"costPrice":{"type":"number","title":"成本价"},"salePrice":{"type":"number","title":"销售价"},"specType":{"type":"string","enum":["TWO_GRAIN","FOUR_GRAIN"],"title":"规格:1_2粒装;2_4粒装"},"brandId":{"type":"string","title":"品牌ID"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用"},"type":{"type":"string","enum":["OUR_BOX","FARMER_BOX","THIRD_PARTY_BOX"],"title":"品牌类型:1_我方纸箱;2_瓜农纸箱;3_第三方纸箱"}},"required":["brandId","name","productId","specType","status","type"],"title":"纸箱产品创建"},"BoxBrandCreateCmd":{"type":"object","properties":{"brandId":{"type":"string","title":"品牌ID"},"name":{"type":"string","title":"品牌名称"},"image":{"type":"string","title":"品牌图片URL"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用"},"type":{"type":"string","enum":["OUR_BOX","FARMER_BOX","THIRD_PARTY_BOX"],"title":"品牌类型:1_我方纸箱;2_瓜农纸箱;3_第三方纸箱"}},"required":["brandId","name","status","type"],"title":"纸箱品牌创建"},"AgreementCreateCmd":{"type":"object","properties":{"agreementId":{"type":"string","title":"协议id"},"scene":{"type":"array","items":{"type":"string","enum":["STAKEHOLDER_SETUP","CUSTOMER_SETUP","PERSONAL_CENTER"]},"title":"使用场景"},"title":{"type":"string","title":"协议标题"},"subTitle":{"type":"string","title":"副标题"},"content":{"type":"string","title":"协议内容"}},"required":["agreementId"],"title":"协议创建"},"MaterialBatchAddCmd":{"type":"object","properties":{"materialCreateCmdList":{"type":"array","items":{"$ref":"#/components/schemas/MaterialCreateCmd"},"title":"创建素材内容"}},"title":"创建素材内容"},"MultiResponseMaterialVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/MaterialVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"}}},"PurchaseOrderApproveCmd":{"type":"object","properties":{"orderId":{"type":"string","title":"采购订单ID"},"active":{"type":"integer","format":"int32","title":"步骤标识"},"originPrincipal":{"type":"string","title":"产地负责人"},"remark":{"type":"string","title":"备注"},"orderVehicle":{"$ref":"#/components/schemas/OrderVehicle","title":"车辆信息"},"orderDealer":{"$ref":"#/components/schemas/OrderDealer","title":"经销商信息"},"orderSupplierList":{"type":"array","items":{"$ref":"#/components/schemas/OrderSupplier"},"title":"供应商信息"},"orderCostList":{"type":"array","items":{"$ref":"#/components/schemas/OrderCost"},"title":"采购订单费用信息"},"draft":{"type":"boolean","title":"是否是暂存"},"pricingMethod":{"type":"string","enum":["BY_GROSS_WEIGHT","BY_NET_WEIGHT"]},"orderCompany":{"$ref":"#/components/schemas/OrderCompany","title":"公司信息"},"orderRebate":{"$ref":"#/components/schemas/OrderRebate","title":"返点信息"}},"required":["draft","orderCompany","orderCostList","orderDealer","orderId","orderRebate","orderSupplierList","orderVehicle"],"title":"采购订单更新"},"MenuTreeQry":{"type":"object","properties":{"platformId":{"type":"string","title":"平台id"},"pid":{"type":"string","title":"父级id"}},"title":"菜单请求"},"MultiResponseTreeLong":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/TreeLong"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"}}},"TreeLong":{"type":"object","additionalProperties":{},"properties":{"name":{"type":"object","properties":{"empty":{"type":"boolean"}}},"id":{"type":"integer","format":"int64"},"parentId":{"type":"integer","format":"int64"},"config":{"$ref":"#/components/schemas/TreeNodeConfig"},"weight":{},"empty":{"type":"boolean"}}},"TreeNodeConfig":{"type":"object","properties":{"idKey":{"type":"string"},"parentIdKey":{"type":"string"},"weightKey":{"type":"string"},"nameKey":{"type":"string"},"childrenKey":{"type":"string"},"deep":{"type":"integer","format":"int32"}}},"CategoryTreeQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"typeList":{"type":"array","items":{"type":"string","enum":["FILE_IMAGE","FILE_VIDEO","PRODUCT","CUSTOMER_INTENTION","COURSE","ROOM","SPEECH"]},"title":"分类类型"},"name":{"type":"string","title":"分类名称"}},"title":"分类"},"UserShowQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"userId":{"type":"string","title":"用户ID"}},"required":["userId"],"title":"查询用户请求"},"SupplierShowQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"supplierId":{"type":"string","title":"供应商ID"}},"title":"供应商查询"},"ShipOrderShowQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"shipOrderId":{"type":"string","title":"发货单ID"},"purchaseOrderId":{"type":"string","title":"采购单ID"}},"title":"发货单查询"},"SettingShowQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"settingKey":{"type":"string","enum":["WX_MA_CONFIG","WX_MA_MESSAGE_PUSH_CONFIG","WX_MA_SUBSCRIBE_MESSAGE_CONFIG","WX_MA_CODE_UPLOAD_CONFIG","WX_PAY_CONFIG","TENCENT_MAP_CONFIG","SMS_CONFIG","VIRTUAL_PHONE_CONFIG","WX_MP_CONFIG","WX_MP_MESSAGE_PUSH_CONFIG","ALI_PAY_CONFIG","CHARGING_PILE_PURCHASE_CONFIG","CUSTOM_THEME_CONFIG","CUSTOM_MENU_CONFIG","WX_CP_NOTIFY_CONFIG"],"title":"系统设置项key"}},"required":["settingKey"],"title":"设置查询"},"RoleShowQry":{"type":"object","properties":{"roleId":{"type":"string","title":"角色编号"}},"title":"角色查询"},"PurchaseOrderShowQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"orderId":{"type":"string","title":"采购订单ID"}},"title":"采购订单查询"},"ProductShowQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"productId":{"type":"string","title":"产品表ID"}},"title":"产品表查询"},"PlatformShowQry":{"type":"object","properties":{"platformId":{"type":"string","title":"平台ID"}},"required":["platformId"],"title":"平台查询"},"PermissionShowQry":{"type":"object","properties":{"permissionId":{"type":"string","title":"权限Id"}},"required":["permissionId"],"title":"权限查询"},"MenuShowQry":{"type":"object","properties":{"menuId":{"type":"string","title":"菜单Id"}},"required":["menuId"],"title":"菜单详情"},"MaterialShowQry":{"type":"object","properties":{"materialId":{"type":"string","title":"素材内容ID"}},"required":["materialId"],"title":"素材内容请求"},"CategoryShowQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"categoryId":{"type":"string","title":"分类Id"}},"required":["categoryId"],"title":"分类"},"GiftBoxShowQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"boxId":{"type":"string","title":"礼盒ID"}},"title":"礼盒查询"},"EmployeeShowQry":{"type":"object","properties":{"employeeId":{"type":"string","title":"员工信息ID"},"userId":{"type":"string","title":"用户ID"}},"title":"员工信息查询"},"DictionaryShowQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"dictionaryId":{"type":"string","title":"字典ID"}},"title":"字典查询"},"DealerShowQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"dealerId":{"type":"string","title":"经销商表ID"}},"title":"经销商表查询"},"DealerWarehouseShowQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"warehouseId":{"type":"string","title":"经销商仓库ID"},"accountId":{"type":"string","title":"经销商付款账户ID"},"dealerId":{"type":"string","title":"经销商ID"}},"title":"经销商仓库查询"},"DealerRebateCustomerShowQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"customerId":{"type":"string","title":"经销商返点客户ID"},"dealerId":{"type":"string","title":"经销商ID"}},"title":"经销商返点客户查询"},"DealerPaymentAccountShowQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"accountId":{"type":"string","title":"经销商付款账户ID"},"dealerId":{"type":"string","title":"经销商ID"}},"title":"经销商付款账户查询"},"CostItemShowQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"itemId":{"type":"string","title":"费用项目ID"}},"title":"费用项目查询"},"CompanyShowQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"companyId":{"type":"string","title":"公司管理ID"}},"title":"公司管理查询"},"CompanyPaymentAccountShowQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"accountId":{"type":"string","title":"公司付款账户ID"}},"title":"公司付款账户查询"},"ChannelShowQry":{"type":"object","properties":{"channelId":{"type":"string","title":"渠道编号"},"domain":{"type":"string","title":"域名"}},"required":["channelId"],"title":"渠道查询"},"BoxProductShowQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"productId":{"type":"string","title":"纸箱产品ID"}},"title":"纸箱产品查询"},"BoxBrandShowQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"brandId":{"type":"string","title":"纸箱品牌ID"}},"title":"纸箱品牌查询"},"AgreementShowQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"agreementId":{"type":"string","title":"协议ID"}},"title":"协议查询"},"UserPageQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"customFieldKey":{"type":"string","title":"自定义字段key"},"customFieldValue":{"type":"string","title":"自定义字段value"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"keyword":{"type":"string","title":"关键词"},"cardNo":{"type":"string","title":"会员卡号"},"phone":{"type":"string","title":"会员手机号码"},"name":{"type":"string","title":"会员名称"},"nickname":{"type":"string","title":"会员昵称"},"createdAt":{"type":"array","items":{"type":"string","format":"date-time"},"title":"查询创建时间"},"isBindPhone":{"type":"boolean","title":"是否绑定手机号码"},"gender":{"type":"integer","format":"int32","title":"性别"},"bindPhoneAt":{"type":"array","items":{"type":"string","format":"date-time"},"title":"查询绑定手机号码时间"},"state":{"type":"array","items":{"type":"string","enum":["ENABLE","DISABLE"]},"title":"状态"},"isAdmin":{"type":"boolean","title":"是否是管理员"},"userIdList":{"type":"array","items":{"type":"integer","format":"int64"},"title":"会员id列表"},"excludeUserIdList":{"type":"array","items":{"type":"integer","format":"int64"},"title":"排除的用户id列表"},"communityId":{"type":"integer","format":"int64","title":"小区id"},"offset":{"type":"integer","format":"int32"}},"title":"查询用户分页请求"},"PageResponseUserVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"totalCount":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"$ref":"#/components/schemas/UserVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"},"totalPages":{"type":"integer","format":"int32"}}},"SupplierPageQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"customFieldKey":{"type":"string","title":"自定义字段key"},"customFieldValue":{"type":"string","title":"自定义字段value"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"supplierId":{"type":"string","title":"供应商ID"},"name":{"type":"string","title":"供应商名称"},"idCard":{"type":"string","title":"身份证号"},"phone":{"type":"string","title":"手机号"},"bankCard":{"type":"string","title":"银行卡号"},"offset":{"type":"integer","format":"int32"}},"title":"供应商分页查询"},"PageResponseSupplierVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"totalCount":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"$ref":"#/components/schemas/SupplierVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"},"totalPages":{"type":"integer","format":"int32"}}},"ShipOrderPageQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"customFieldKey":{"type":"string","title":"自定义字段key"},"customFieldValue":{"type":"string","title":"自定义字段value"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"shipOrderId":{"type":"string","title":"发货单ID"},"vehicleNo":{"type":"string","title":"车辆编号"},"orderSn":{"type":"string","title":"采购订单编号"},"state":{"type":"string","enum":["WAIT_PAYMENT","PARTIAL_PAYMENT","FULL_PAYMENT","REJECT_FINISH","FINISH"],"title":"发货单状态:1_待回款;2_部分回款;3_已回款;4_拒收完结;5_已完结;"},"supplierName":{"type":"string","title":"供应商名称"},"dealerId":{"type":"string","title":"经销商ID"},"offset":{"type":"integer","format":"int32"}},"title":"发货单分页查询"},"PageResponseShipOrderVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"totalCount":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"$ref":"#/components/schemas/ShipOrderVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"},"totalPages":{"type":"integer","format":"int32"}}},"RolePageQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"name":{"type":"string","title":"角色名称"},"slug":{"type":"string","title":"角色标识"},"type":{"type":"string","title":"角色类型"},"roleId":{"type":"string","title":"角色编号"},"platformId":{"type":"string","title":"平台id"},"offset":{"type":"integer","format":"int32"}},"title":"角色分页查询"},"PageResponseRoleVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"totalCount":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"$ref":"#/components/schemas/RoleVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"},"totalPages":{"type":"integer","format":"int32"}}},"PurchaseOrderPageQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"customFieldKey":{"type":"string","title":"自定义字段key"},"customFieldValue":{"type":"string","title":"自定义字段value"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"orderId":{"type":"string","title":"采购订单ID"},"vehicleNo":{"type":"string","title":"车辆编号"},"orderSn":{"type":"string","title":"采购订单编号"},"state":{"type":"string","enum":["DRAFT","WAITING_AUDIT","WAITING_BOSS_APPROVE","SHIPPING","PAID","COMPLETED"],"title":"订单状态: 0-草稿, 1-待审核, 2-待老板审核, 3-已发货(待付款), 4-已付款, 5-已完结"},"supplierName":{"type":"string","title":"供应商名称"},"dealerId":{"type":"string","title":"经销商ID"},"offset":{"type":"integer","format":"int32"}},"title":"采购订单分页查询"},"PageResponsePurchaseOrderVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"totalCount":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"$ref":"#/components/schemas/PurchaseOrderVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"},"totalPages":{"type":"integer","format":"int32"}}},"ProductPageQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"customFieldKey":{"type":"string","title":"自定义字段key"},"customFieldValue":{"type":"string","title":"自定义字段value"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"productId":{"type":"string","title":"产品表ID"},"offset":{"type":"integer","format":"int32"}},"title":"产品表分页查询"},"PageResponseProductVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"totalCount":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"$ref":"#/components/schemas/ProductVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"},"totalPages":{"type":"integer","format":"int32"}}},"PlatformPageQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"platformId":{"type":"string","title":"平台ID"},"offset":{"type":"integer","format":"int32"}},"required":["platformId"],"title":"平台分页查询"},"PageResponsePlatformVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"totalCount":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"$ref":"#/components/schemas/PlatformVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"},"totalPages":{"type":"integer","format":"int32"}}},"PermissionPageQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"slug":{"type":"string","title":"权限标识"},"name":{"type":"string","title":"权限名称"},"offset":{"type":"integer","format":"int32"}},"title":"权限分页查询"},"PageResponsePermissionVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"totalCount":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"$ref":"#/components/schemas/PermissionVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"},"totalPages":{"type":"integer","format":"int32"}}},"MaterialPageQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"title":{"type":"string","title":"素材内容标题"},"type":{"type":"string","enum":["FILE_IMAGE","FILE_VIDEO","PRODUCT","CUSTOMER_INTENTION","COURSE","ROOM","SPEECH"],"title":"素材类型"},"materialId":{"type":"string","title":"素材内容ID"},"categoryId":{"type":"string","title":"分类ID"},"offset":{"type":"integer","format":"int32"}},"title":"素材内容分页请求"},"PageResponseMaterialVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"totalCount":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"$ref":"#/components/schemas/MaterialVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"},"totalPages":{"type":"integer","format":"int32"}}},"GiftBoxPageQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"customFieldKey":{"type":"string","title":"自定义字段key"},"customFieldValue":{"type":"string","title":"自定义字段value"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"boxId":{"type":"string","title":"礼盒ID"},"name":{"type":"string","title":"礼盒名称"},"offset":{"type":"integer","format":"int32"}},"title":"礼盒分页查询"},"PageResponseGiftBoxVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"totalCount":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"$ref":"#/components/schemas/GiftBoxVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"},"totalPages":{"type":"integer","format":"int32"}}},"EmployeePageQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"employeeId":{"type":"string","title":"员工信息ID"},"name":{"type":"string","title":"姓名"},"number":{"type":"string","title":"工号"},"phone":{"type":"string","title":"手机号"},"status":{"type":"integer","format":"int32","title":"状态"},"offset":{"type":"integer","format":"int32"}},"required":["employeeId","name","number","phone"],"title":"员工信息分页查询"},"PageResponseEmployeeVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"totalCount":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"$ref":"#/components/schemas/EmployeeVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"},"totalPages":{"type":"integer","format":"int32"}}},"DictionaryPageQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"customFieldKey":{"type":"string","title":"自定义字段key"},"customFieldValue":{"type":"string","title":"自定义字段value"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"dictionaryId":{"type":"string","title":"字典ID"},"name":{"type":"string","title":"字典名称"},"type":{"type":"string","title":"字典类型"},"offset":{"type":"integer","format":"int32"}},"title":"字典分页查询"},"PageResponseDictionaryVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"totalCount":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"$ref":"#/components/schemas/DictionaryVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"},"totalPages":{"type":"integer","format":"int32"}}},"DealerPageQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"customFieldKey":{"type":"string","title":"自定义字段key"},"customFieldValue":{"type":"string","title":"自定义字段value"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"shortName":{"type":"string","title":"经销商简称"},"fullName":{"type":"string","title":"经销商全称"},"dealerType":{"type":"string","enum":["MARKET","SUPERMARKET"],"title":"经销商类型:1_市场;2_超市;"},"offset":{"type":"integer","format":"int32"}},"title":"经销商表分页查询"},"PageResponseDealerVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"totalCount":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"$ref":"#/components/schemas/DealerVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"},"totalPages":{"type":"integer","format":"int32"}}},"DealerWarehousePageQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"customFieldKey":{"type":"string","title":"自定义字段key"},"customFieldValue":{"type":"string","title":"自定义字段value"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"dealerId":{"type":"string","title":"经销商ID"},"accountId":{"type":"string","title":"经销商付款账户ID"},"offset":{"type":"integer","format":"int32"}},"title":"经销商仓库分页查询"},"PageResponseDealerWarehouseVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"totalCount":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"$ref":"#/components/schemas/DealerWarehouseVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"},"totalPages":{"type":"integer","format":"int32"}}},"DealerRebateCustomerPageQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"customFieldKey":{"type":"string","title":"自定义字段key"},"customFieldValue":{"type":"string","title":"自定义字段value"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"dealerId":{"type":"string","title":"经销商ID"},"name":{"type":"string","title":"客户名称"},"calcMethod":{"type":"string","enum":["NET_WEIGHT","FIXED_AMOUNT","NOT_FIXED"],"title":"返点计算方式"},"offset":{"type":"integer","format":"int32"}},"title":"经销商返点客户分页查询"},"PageResponseDealerRebateCustomerVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"totalCount":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"$ref":"#/components/schemas/DealerRebateCustomerVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"},"totalPages":{"type":"integer","format":"int32"}}},"DealerPaymentAccountPageQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"customFieldKey":{"type":"string","title":"自定义字段key"},"customFieldValue":{"type":"string","title":"自定义字段value"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"dealerId":{"type":"string","title":"经销商ID"},"offset":{"type":"integer","format":"int32"}},"title":"经销商付款账户分页查询"},"PageResponseDealerPaymentAccountVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"totalCount":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"$ref":"#/components/schemas/DealerPaymentAccountVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"},"totalPages":{"type":"integer","format":"int32"}}},"CostItemPageQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"customFieldKey":{"type":"string","title":"自定义字段key"},"customFieldValue":{"type":"string","title":"自定义字段value"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"itemId":{"type":"string","title":"费用项目ID"},"costType":{"type":"string","enum":["PACKAGING_MATERIALS","HUMAN_COST","OTHER_COST","FIXED_COST","WORKER_ADVANCE","PRODUCTION_ADVANCE"],"title":"费用类型:1_包装材料;2_人工费用;3_其他费用;4_固定费用;5_工头垫付;6_产地垫付"},"name":{"type":"string","title":"项目名称"},"offset":{"type":"integer","format":"int32"}},"title":"费用项目分页查询"},"PageResponseCostItemVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"totalCount":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"$ref":"#/components/schemas/CostItemVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"},"totalPages":{"type":"integer","format":"int32"}}},"CompanyPageQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"customFieldKey":{"type":"string","title":"自定义字段key"},"customFieldValue":{"type":"string","title":"自定义字段value"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"companyId":{"type":"string","title":"公司管理ID"},"shortName":{"type":"string","title":"公司名称"},"fullName":{"type":"string","title":"公司全称"},"taxNumber":{"type":"string","title":"税号"},"offset":{"type":"integer","format":"int32"}},"title":"公司管理分页查询"},"PageResponseCompanyVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"totalCount":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"$ref":"#/components/schemas/CompanyVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"},"totalPages":{"type":"integer","format":"int32"}}},"CompanyPaymentAccountPageQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"customFieldKey":{"type":"string","title":"自定义字段key"},"customFieldValue":{"type":"string","title":"自定义字段value"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"accountId":{"type":"string","title":"公司付款账户ID"},"companyId":{"type":"string","title":"公司ID"},"accountName":{"type":"string","title":"付款账户名称"},"accountCategory":{"type":"string","enum":["COMPANY_ACCOUNT","PRIVATE_ACCOUNT"],"title":"账户类别:1_对公账户;2_私人账户"},"offset":{"type":"integer","format":"int32"}},"title":"公司付款账户分页查询"},"PageResponseCompanyPaymentAccountVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"totalCount":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"$ref":"#/components/schemas/CompanyPaymentAccountVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"},"totalPages":{"type":"integer","format":"int32"}}},"ChannelPageQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"domain":{"type":"string","title":"域名"},"offset":{"type":"integer","format":"int32"}},"title":"渠道分页查询"},"PageResponseChannelVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"totalCount":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"$ref":"#/components/schemas/ChannelVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"},"totalPages":{"type":"integer","format":"int32"}}},"BoxProductPageQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"customFieldKey":{"type":"string","title":"自定义字段key"},"customFieldValue":{"type":"string","title":"自定义字段value"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"productId":{"type":"string","title":"纸箱产品ID"},"name":{"type":"string","title":"纸箱产品名称"},"brandId":{"type":"string","title":"纸箱品牌ID"},"specType":{"type":"string","enum":["TWO_GRAIN","FOUR_GRAIN"],"title":"规格:1_2粒装;2_4粒装"},"type":{"type":"string","enum":["OUR_BOX","FARMER_BOX","THIRD_PARTY_BOX"],"title":"品牌类型:1_我方纸箱;2_瓜农纸箱;3_第三方纸箱"},"offset":{"type":"integer","format":"int32"}},"title":"纸箱产品分页查询"},"PageResponseBoxProductVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"totalCount":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"$ref":"#/components/schemas/BoxProductVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"},"totalPages":{"type":"integer","format":"int32"}}},"BoxBrandPageQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"customFieldKey":{"type":"string","title":"自定义字段key"},"customFieldValue":{"type":"string","title":"自定义字段value"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"brandId":{"type":"string","title":"纸箱品牌ID"},"type":{"type":"string","enum":["OUR_BOX","FARMER_BOX","THIRD_PARTY_BOX"],"title":"品牌类型:1_我方纸箱;2_瓜农纸箱;3_第三方纸箱"},"offset":{"type":"integer","format":"int32"}},"title":"纸箱品牌分页查询"},"PageResponseBoxBrandVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"totalCount":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"$ref":"#/components/schemas/BoxBrandVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"},"totalPages":{"type":"integer","format":"int32"}}},"AgreementPageQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"customFieldKey":{"type":"string","title":"自定义字段key"},"customFieldValue":{"type":"string","title":"自定义字段value"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"agreementId":{"type":"string","title":"协议ID"},"scene":{"type":"string","title":"协议类型"},"offset":{"type":"integer","format":"int32"}},"title":"协议分页查询"},"PageResponseAgreementVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"totalCount":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"$ref":"#/components/schemas/AgreementVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"},"totalPages":{"type":"integer","format":"int32"}}},"OssTokenVO":{"type":"object","properties":{"securityToken":{"type":"string"},"accessKeySecret":{"type":"string"},"accessKeyId":{"type":"string"},"domain":{"type":"string"},"bucket":{"type":"string"},"region":{"type":"string"}},"title":"商家响应"},"SingleResponseOssTokenVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/OssTokenVO"}}},"UserListQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"userIdList":{"type":"array","items":{"type":"integer","format":"int64"},"title":"用户ID"},"name":{"type":"string","title":"用户名"}},"title":"查询用户请求"},"MultiResponseUserVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/UserVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"}}},"SupplierListQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"supplierId":{"type":"string","title":"供应商ID"},"name":{"type":"string","title":"供应商名称"}},"title":"供应商列表查询"},"MultiResponseSupplierVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/SupplierVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"}}},"ShipOrderListQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"shipOrderId":{"type":"string","title":"发货单ID"}},"title":"发货单列表查询"},"MultiResponseShipOrderVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/ShipOrderVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"}}},"RoleListQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"name":{"type":"string","title":"角色名称"},"userId":{"type":"string","title":"用户Id"},"roleId":{"type":"string","title":"角色编号"},"roleIdList":{"type":"array","items":{"type":"integer","format":"int64"},"title":"应用角色Id"},"platformId":{"type":"string","title":"平台Id"},"type":{"type":"integer","format":"int32","title":"角色类型"},"offset":{"type":"integer","format":"int32"}},"title":"角色查询"},"MultiResponseRoleVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/RoleVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"}}},"PurchaseOrderListQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"orderId":{"type":"string","title":"采购订单ID"}},"title":"采购订单列表查询"},"MultiResponsePurchaseOrderVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/PurchaseOrderVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"}}},"ProductListQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"productId":{"type":"string","title":"产品表ID"}},"title":"产品表列表查询"},"MultiResponseProductVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/ProductVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"}}},"PlatformListQry":{"title":"平台列表查询"},"MultiResponsePlatformVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/PlatformVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"}}},"PermissionListQry":{"title":"权限查询"},"MultiResponsePermissionVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/PermissionVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"}}},"MenuListQry":{"type":"object","properties":{"platformId":{"type":"string","title":"平台id"},"pid":{"type":"string","title":"父级id"}},"title":"菜单请求"},"MultiResponseMenuVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/MenuVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"}}},"GiftBoxListQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"boxId":{"type":"string","title":"礼盒ID"}},"title":"礼盒列表查询"},"MultiResponseGiftBoxVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/GiftBoxVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"}}},"EmployeeListQry":{"type":"object","properties":{"employeeId":{"type":"string","title":"员工信息ID"}},"required":["employeeId"],"title":"员工信息列表查询"},"MultiResponseEmployeeVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/EmployeeVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"}}},"DictionaryListQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"dictionaryId":{"type":"string","title":"字典ID"},"type":{"type":"string","title":"字典类型"}},"title":"字典列表查询"},"MultiResponseDictionaryVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/DictionaryVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"}}},"DealerListQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"dealerId":{"type":"string","title":"经销商表ID"},"shortName":{"type":"string","title":"经销商简称"},"dealerType":{"type":"string","enum":["MARKET","SUPERMARKET"]}},"title":"经销商表列表查询"},"MultiResponseDealerVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/DealerVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"}}},"DealerWarehouseListQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"dealerId":{"type":"string","title":"经销商ID"},"accountId":{"type":"string","title":"经销商付款账户ID"},"name":{"type":"string","title":"仓库名称"}},"title":"经销商仓库列表查询"},"MultiResponseDealerWarehouseVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/DealerWarehouseVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"}}},"DealerRebateCustomerListQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"dealerId":{"type":"string","title":"经销商ID"},"name":{"type":"string","title":"客户名称"},"calcMethod":{"type":"string","enum":["NET_WEIGHT","FIXED_AMOUNT","NOT_FIXED"],"title":"返点计算方式"}},"title":"经销商返点客户列表查询"},"MultiResponseDealerRebateCustomerVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/DealerRebateCustomerVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"}}},"DealerPaymentAccountListQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"dealerId":{"type":"string","title":"经销商ID"},"keyword":{"type":"string","title":"关键词"}},"title":"经销商付款账户列表查询"},"MultiResponseDealerPaymentAccountVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/DealerPaymentAccountVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"}}},"CostItemListQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用"},"itemId":{"type":"string","title":"费用项目ID"},"costType":{"type":"string","enum":["PACKAGING_MATERIALS","HUMAN_COST","OTHER_COST","FIXED_COST","WORKER_ADVANCE","PRODUCTION_ADVANCE"],"title":"费用类型:1_包装材料;2_人工费用;3_其他费用;4_固定费用;5_工头垫付;6_产地垫付"},"showInEntry":{"type":"boolean","title":"是否在录入时显示"}},"title":"费用项目列表查询"},"MultiResponseCostItemVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/CostItemVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"}}},"CompanyListQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"companyId":{"type":"string","title":"公司管理ID"}},"title":"公司管理列表查询"},"MultiResponseCompanyVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/CompanyVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"}}},"CompanyPaymentAccountListQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"accountId":{"type":"string","title":"公司付款账户ID"},"accountName":{"type":"string","title":"公司付款账户名称"},"companyName":{"type":"string","title":"公司名称"},"companyId":{"type":"string","title":"公司ID"},"accountCategory":{"type":"string","enum":["COMPANY_ACCOUNT","PRIVATE_ACCOUNT"],"title":"账户类别:1_对公账户;2_私人账户"}},"title":"公司付款账户列表查询"},"MultiResponseCompanyPaymentAccountVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/CompanyPaymentAccountVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"}}},"BoxProductListQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"productId":{"type":"string","title":"纸箱产品ID"},"name":{"type":"string","title":"纸箱产品名称"},"brandId":{"type":"string","title":"纸箱品牌ID"},"specType":{"type":"string","enum":["TWO_GRAIN","FOUR_GRAIN"],"title":"规格:1_2粒装;2_4粒装"},"type":{"type":"string","enum":["OUR_BOX","FARMER_BOX","THIRD_PARTY_BOX"],"title":"品牌类型:1_我方纸箱;2_瓜农纸箱;3_第三方纸箱"}},"title":"纸箱产品列表查询"},"MultiResponseBoxProductVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/BoxProductVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"}}},"BoxBrandListQry":{"type":"object","properties":{"status":{"type":"boolean","title":"纸箱品牌状态"},"brandId":{"type":"string","title":"纸箱品牌ID"},"withProduct":{"type":"boolean","title":"是否包含纸箱产品"},"type":{"type":"string","enum":["OUR_BOX","FARMER_BOX","THIRD_PARTY_BOX"],"title":"品牌类型:1_我方纸箱;2_瓜农纸箱;3_第三方纸箱"}},"title":"纸箱品牌列表查询"},"MultiResponseBoxBrandVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/BoxBrandVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"}}},"AgreementListQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"agreementId":{"type":"string","title":"协议ID"},"scene":{"type":"string","enum":["STAKEHOLDER_SETUP","CUSTOMER_SETUP","PERSONAL_CENTER"],"title":"协议类型"}},"title":"协议列表查询"},"MultiResponseAgreementVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/AgreementVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"}}},"LastVehicleNoQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"}},"title":"上一车车次号查询参数"},"SingleResponseString":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"string"}}},"PurchaseOrderCountQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"state":{"type":"string","enum":["DRAFT","WAITING_AUDIT","WAITING_BOSS_APPROVE","SHIPPING","PAID","COMPLETED"],"title":"订单状态: 0-草稿, 1-待审核, 2-待老板审核, 3-已发货(待付款), 4-已付款, 5-已完结"}},"title":"采购订单数量查询"},"SingleResponseLong":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"integer","format":"int64"}}},"SupplierCheckQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"customFieldKey":{"type":"string","title":"自定义字段key"},"customFieldValue":{"type":"string","title":"自定义字段value"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"supplierId":{"type":"string","title":"供应商ID"},"name":{"type":"string","title":"供应商名称"},"idCard":{"type":"string","title":"身份证号"},"phone":{"type":"string","title":"手机号"},"offset":{"type":"integer","format":"int32"}},"title":"供应商检测"},"UserDestroyCmd":{"type":"object","properties":{"userId":{"type":"string","title":"用户ID"}},"required":["userId"],"title":"用户删除命令"},"SupplierDestroyCmd":{"type":"object","properties":{"supplierId":{"type":"string","title":"供应商ID"}},"required":["supplierId"],"title":"删除供应商"},"ShipOrderDestroyCmd":{"type":"object","properties":{"shipOrderId":{"type":"string","title":"发货单ID"}},"required":["shipOrderId"],"title":"删除发货单"},"PurchaseOrderDestroyCmd":{"type":"object","properties":{"orderId":{"type":"string","title":"采购订单ID"}},"required":["orderId"],"title":"删除采购订单"},"ProductDestroyCmd":{"type":"object","properties":{"productId":{"type":"string","title":"产品表ID"}},"required":["productId"],"title":"删除产品表"},"PlatformDestroyCmd":{"type":"object","properties":{"platformId":{"type":"string","title":"平台ID"}},"required":["platformId"],"title":"删除平台"},"MenuDestroyCmd":{"type":"object","properties":{"menuId":{"type":"string","title":"菜单Id"}},"required":["menuId"],"title":"菜单删除"},"MaterialDestroyCmd":{"type":"object","properties":{"materialId":{"type":"string","title":"素材Id"}},"required":["materialId"],"title":"素材删除"},"CategoryDestroyCmd":{"type":"object","properties":{"categoryId":{"type":"string","title":"分类Id"}},"required":["categoryId"],"title":"分类删除"},"GiftBoxDestroyCmd":{"type":"object","properties":{"boxId":{"type":"string","title":"礼盒ID"}},"required":["boxId"],"title":"删除礼盒"},"EmployeeDestroyCmd":{"type":"object","properties":{"employeeId":{"type":"string","title":"员工信息ID"}},"required":["employeeId"],"title":"删除员工信息"},"DictionaryDestroyCmd":{"type":"object","properties":{"dictionaryId":{"type":"string","title":"字典ID"}},"required":["dictionaryId"],"title":"删除字典"},"DealerDestroyCmd":{"type":"object","properties":{"dealerId":{"type":"string","title":"经销商表ID"}},"required":["dealerId"],"title":"删除经销商表"},"DealerWarehouseDestroyCmd":{"type":"object","properties":{"warehouseId":{"type":"string","title":"经销商仓库ID"}},"required":["warehouseId"],"title":"删除经销商仓库"},"DealerRebateCustomerDestroyCmd":{"type":"object","properties":{"customerId":{"type":"string","title":"经销商返点客户ID"}},"required":["customerId"],"title":"删除经销商返点客户"},"DealerPaymentAccountDestroyCmd":{"type":"object","properties":{"accountId":{"type":"string","title":"经销商付款账户ID"}},"required":["accountId"],"title":"删除经销商付款账户"},"CostItemDestroyCmd":{"type":"object","properties":{"itemId":{"type":"string","title":"费用项目ID"}},"required":["itemId"],"title":"删除费用项目"},"CompanyDestroyCmd":{"type":"object","properties":{"companyId":{"type":"string","title":"公司管理ID"}},"required":["companyId"],"title":"删除公司管理"},"CompanyPaymentAccountDestroyCmd":{"type":"object","properties":{"accountId":{"type":"string","title":"公司付款账户ID"}},"required":["accountId"],"title":"删除公司付款账户"},"ChannelDestroyCmd":{"type":"object","properties":{"channelId":{"type":"string","title":"渠道ID"}},"required":["channelId"],"title":"渠道删除"},"BoxProductDestroyCmd":{"type":"object","properties":{"productId":{"type":"string","title":"纸箱产品ID"}},"required":["productId"],"title":"删除纸箱产品"},"BoxBrandDestroyCmd":{"type":"object","properties":{"brandId":{"type":"string","title":"纸箱品牌ID"}},"required":["brandId"],"title":"删除纸箱品牌"},"AgreementDestroyCmd":{"type":"object","properties":{"agreementId":{"type":"string","title":"协议ID"}},"required":["agreementId"],"title":"删除协议"}}}} +{"openapi":"3.1.0","info":{"title":"OpenAPI definition","version":"v0"},"servers":[{"url":"http://localhost:8083","description":"Generated server url"}],"tags":[{"name":"Product","description":"产品管理"},{"name":"Permission","description":"权限管理"},{"name":"Role","description":"应用角色管理"},{"name":"PurchaseOrder","description":"采购订单管理"},{"name":"ShipOrder","description":"发货单管理"},{"name":"Employee","description":"员工信息管理"},{"name":"Setting","description":"系统设置管理"},{"name":"BoxBrand","description":"纸箱品牌管理"},{"name":"BoxProduct","description":"纸箱产品管理"},{"name":"BoxSpec","description":"纸箱规格管理"},{"name":"Channel","description":"渠道管理"},{"name":"Extraction","description":"信息抽取"},{"name":"Dealer","description":"经销商表管理"},{"name":"Company","description":"公司管理管理"},{"name":"DealerPaymentAccount","description":"经销商付款账户管理"},{"name":"User","description":"用户管理"},{"name":"MaterialCategory","description":"素材分类"},{"name":"DealerWarehouse","description":"经销商仓库管理"},{"name":"Platform","description":"平台管理"},{"name":"Dictionary","description":"字典管理"},{"name":"Material","description":"素材管理"},{"name":"GiftBox","description":"礼盒管理"},{"name":"DealerRebateCustomer","description":"经销商返点客户管理"},{"name":"Menu","description":"应用菜单"},{"name":"Agreement","description":"协议管理"},{"name":"Supplier","description":"供应商管理"},{"name":"CompanyPaymentAccount","description":"公司付款账户管理"},{"name":"CostItem","description":"费用项目管理"}],"paths":{"/operation/updateUser":{"put":{"tags":["User"],"summary":"更新用户","operationId":"updateUser","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseUserVO"}}}}}},"patch":{"tags":["User"],"summary":"更新用户","operationId":"updateUser_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseUserVO"}}}}}}},"/operation/updateSupplier":{"put":{"tags":["Supplier"],"summary":"供应商更新","operationId":"updateSupplier","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SupplierUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseSupplierVO"}}}}}},"patch":{"tags":["Supplier"],"summary":"供应商更新","operationId":"updateSupplier_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SupplierUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseSupplierVO"}}}}}}},"/operation/updateShipOrder":{"put":{"tags":["ShipOrder"],"summary":"发货单更新","operationId":"updateShipOrder","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ShipOrderUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseShipOrderVO"}}}}}},"patch":{"tags":["ShipOrder"],"summary":"发货单更新","operationId":"updateShipOrder_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ShipOrderUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseShipOrderVO"}}}}}}},"/operation/updateSetting":{"put":{"tags":["Setting"],"summary":"系统设置更新","operationId":"updateSetting","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SettingUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseSettingVO"}}}}}},"patch":{"tags":["Setting"],"summary":"系统设置更新","operationId":"updateSetting_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SettingUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseSettingVO"}}}}}}},"/operation/updatePurchaseOrder":{"put":{"tags":["PurchaseOrder"],"summary":"采购订单更新","operationId":"updatePurchaseOrder","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PurchaseOrderUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponsePurchaseOrderVO"}}}}},"deprecated":true},"patch":{"tags":["PurchaseOrder"],"summary":"采购订单更新","operationId":"updatePurchaseOrder_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PurchaseOrderUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponsePurchaseOrderVO"}}}}},"deprecated":true}},"/operation/updateProduct":{"put":{"tags":["Product"],"summary":"产品更新","operationId":"updateProduct","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseProductVO"}}}}}},"patch":{"tags":["Product"],"summary":"产品更新","operationId":"updateProduct_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseProductVO"}}}}}}},"/operation/updatePlatform":{"put":{"tags":["Platform"],"summary":"平台更新","operationId":"updatePlatform","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlatformUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponsePlatformVO"}}}}}},"patch":{"tags":["Platform"],"summary":"平台更新","operationId":"updatePlatform_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlatformUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponsePlatformVO"}}}}}}},"/operation/updateMenu":{"put":{"tags":["Menu"],"summary":"菜单更新","operationId":"updateMenu","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MenuUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseMenuVO"}}}}}},"patch":{"tags":["Menu"],"summary":"菜单更新","operationId":"updateMenu_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MenuUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseMenuVO"}}}}}}},"/operation/updateMaterial":{"put":{"tags":["Material"],"summary":"素材内容更新","operationId":"updateMaterial","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MaterialUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseMaterialVO"}}}}}},"patch":{"tags":["Material"],"summary":"素材内容更新","operationId":"updateMaterial_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MaterialUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseMaterialVO"}}}}}}},"/operation/updateMaterialCategory":{"put":{"tags":["MaterialCategory"],"summary":"更新素材分类","operationId":"updateMaterialCategory","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CategoryUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseCategoryVO"}}}}}},"patch":{"tags":["MaterialCategory"],"summary":"更新素材分类","operationId":"updateMaterialCategory_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CategoryUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseCategoryVO"}}}}}}},"/operation/updateGiftBox":{"put":{"tags":["GiftBox"],"summary":"礼盒更新","operationId":"updateGiftBox","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GiftBoxUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseGiftBoxVO"}}}}}},"patch":{"tags":["GiftBox"],"summary":"礼盒更新","operationId":"updateGiftBox_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GiftBoxUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseGiftBoxVO"}}}}}}},"/operation/updateEmployee":{"put":{"tags":["Employee"],"summary":"员工信息更新","operationId":"updateEmployee","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmployeeUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseEmployeeVO"}}}}}},"patch":{"tags":["Employee"],"summary":"员工信息更新","operationId":"updateEmployee_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmployeeUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseEmployeeVO"}}}}}}},"/operation/updateDictionary":{"put":{"tags":["Dictionary"],"summary":"字典更新","operationId":"updateDictionary","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DictionaryUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseDictionaryVO"}}}}}},"patch":{"tags":["Dictionary"],"summary":"字典更新","operationId":"updateDictionary_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DictionaryUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseDictionaryVO"}}}}}}},"/operation/updateDealer":{"put":{"tags":["Dealer"],"summary":"经销商表更新","operationId":"updateDealer","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealerUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseDealerVO"}}}}}},"patch":{"tags":["Dealer"],"summary":"经销商表更新","operationId":"updateDealer_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealerUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseDealerVO"}}}}}}},"/operation/updateDealerWarehouse":{"put":{"tags":["DealerWarehouse"],"summary":"经销商仓库更新","operationId":"updateDealerWarehouse","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealerWarehouseUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseDealerWarehouseVO"}}}}}},"patch":{"tags":["DealerWarehouse"],"summary":"经销商仓库更新","operationId":"updateDealerWarehouse_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealerWarehouseUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseDealerWarehouseVO"}}}}}}},"/operation/updateDealerRebateCustomer":{"put":{"tags":["DealerRebateCustomer"],"summary":"经销商返点客户更新","operationId":"updateDealerRebateCustomer","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealerRebateCustomerUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseDealerRebateCustomerVO"}}}}}},"patch":{"tags":["DealerRebateCustomer"],"summary":"经销商返点客户更新","operationId":"updateDealerRebateCustomer_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealerRebateCustomerUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseDealerRebateCustomerVO"}}}}}}},"/operation/updateDealerPaymentAccount":{"put":{"tags":["DealerPaymentAccount"],"summary":"经销商付款账户更新","operationId":"updateDealerPaymentAccount","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealerPaymentAccountUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseDealerPaymentAccountVO"}}}}}},"patch":{"tags":["DealerPaymentAccount"],"summary":"经销商付款账户更新","operationId":"updateDealerPaymentAccount_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealerPaymentAccountUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseDealerPaymentAccountVO"}}}}}}},"/operation/updateCostItem":{"put":{"tags":["CostItem"],"summary":"费用项目更新","operationId":"updateCostItem","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CostItemUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseCostItemVO"}}}}}},"patch":{"tags":["CostItem"],"summary":"费用项目更新","operationId":"updateCostItem_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CostItemUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseCostItemVO"}}}}}}},"/operation/updateCompany":{"put":{"tags":["Company"],"summary":"公司管理更新","operationId":"updateCompany","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseCompanyVO"}}}}}},"patch":{"tags":["Company"],"summary":"公司管理更新","operationId":"updateCompany_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseCompanyVO"}}}}}}},"/operation/updateCompanyPaymentAccount":{"put":{"tags":["CompanyPaymentAccount"],"summary":"公司付款账户更新","operationId":"updateCompanyPaymentAccount","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyPaymentAccountUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseCompanyPaymentAccountVO"}}}}}},"patch":{"tags":["CompanyPaymentAccount"],"summary":"公司付款账户更新","operationId":"updateCompanyPaymentAccount_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyPaymentAccountUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseCompanyPaymentAccountVO"}}}}}}},"/operation/updateChannel":{"put":{"tags":["Channel"],"summary":"渠道更新","operationId":"updateChannel","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChannelUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseChannelVO"}}}}}},"patch":{"tags":["Channel"],"summary":"渠道更新","operationId":"updateChannel_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChannelUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseChannelVO"}}}}}}},"/operation/updateBoxSpec":{"put":{"tags":["BoxSpec"],"summary":"纸箱规格更新","operationId":"updateBoxSpec","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BoxSpecUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseBoxSpecVO"}}}}}},"patch":{"tags":["BoxSpec"],"summary":"纸箱规格更新","operationId":"updateBoxSpec_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BoxSpecUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseBoxSpecVO"}}}}}}},"/operation/updateBoxProduct":{"put":{"tags":["BoxProduct"],"summary":"纸箱产品更新","operationId":"updateBoxProduct","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BoxProductUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseBoxProductVO"}}}}}},"patch":{"tags":["BoxProduct"],"summary":"纸箱产品更新","operationId":"updateBoxProduct_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BoxProductUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseBoxProductVO"}}}}}}},"/operation/updateBoxBrand":{"put":{"tags":["BoxBrand"],"summary":"纸箱品牌更新","operationId":"updateBoxBrand","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BoxBrandUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseBoxBrandVO"}}}}}},"patch":{"tags":["BoxBrand"],"summary":"纸箱品牌更新","operationId":"updateBoxBrand_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BoxBrandUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseBoxBrandVO"}}}}}}},"/operation/updateAgreement":{"put":{"tags":["Agreement"],"summary":"协议更新","operationId":"updateAgreement","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgreementUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseAgreementVO"}}}}}},"patch":{"tags":["Agreement"],"summary":"协议更新","operationId":"updateAgreement_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgreementUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseAgreementVO"}}}}}}},"/operation/generateDocumentShipOrder":{"put":{"tags":["ShipOrder"],"summary":"发货单生成单据","operationId":"generateDocumentShipOrder","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ShipOrderGenerateDocumentCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}},"patch":{"tags":["ShipOrder"],"summary":"发货单生成单据","operationId":"generateDocumentShipOrder_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ShipOrderGenerateDocumentCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/dragProduct":{"put":{"tags":["Product"],"summary":"产品拖拽排序","operationId":"dragProduct","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductDragCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}},"patch":{"tags":["Product"],"summary":"产品拖拽排序","operationId":"dragProduct_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductDragCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/dragDealer":{"put":{"tags":["Dealer"],"summary":"经销商表拖拽排序","operationId":"dragDealer","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealerDragCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}},"patch":{"tags":["Dealer"],"summary":"经销商表拖拽排序","operationId":"dragDealer_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealerDragCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/dragCostItem":{"put":{"tags":["CostItem"],"summary":"费用项目拖拽排序","operationId":"dragCostItem","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CostItemDragCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}},"patch":{"tags":["CostItem"],"summary":"费用项目拖拽排序","operationId":"dragCostItem_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CostItemDragCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/dragBoxProduct":{"put":{"tags":["BoxProduct"],"summary":"纸箱产品拖拽排序","operationId":"dragBoxProduct","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BoxProductDragCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}},"patch":{"tags":["BoxProduct"],"summary":"纸箱产品拖拽排序","operationId":"dragBoxProduct_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BoxProductDragCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/dragBoxBrand":{"put":{"tags":["BoxBrand"],"summary":"纸箱品牌拖拽排序","operationId":"dragBoxBrand","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BoxBrandDragCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}},"patch":{"tags":["BoxBrand"],"summary":"纸箱品牌拖拽排序","operationId":"dragBoxBrand_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BoxBrandDragCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/withdrawReviewPurchaseOrder":{"post":{"tags":["PurchaseOrder"],"summary":"采购订单撤回提审(录入员撤回提审)","operationId":"withdrawReviewPurchaseOrder","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PurchaseOrderWithdrawReviewCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/updateRole":{"post":{"tags":["Role"],"summary":"更新应用应用角色","operationId":"updateRole","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RoleUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseRoleVO"}}}}}}},"/operation/updatePermission":{"post":{"tags":["Permission"],"summary":"更新权限","operationId":"updatePermission","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PermissionUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponsePermissionVO"}}}}}}},"/operation/updateEmployeeRole":{"post":{"tags":["Employee"],"summary":"修改员工角色","operationId":"updateEmployeeRole","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserRoleUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/submitReviewPurchaseOrder":{"post":{"tags":["PurchaseOrder"],"summary":"采购订单提审(录入员提审)","operationId":"submitReviewPurchaseOrder","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PurchaseOrderSubmitReviewCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/savePurchaseOrderStep3":{"post":{"tags":["PurchaseOrder"],"summary":"采购订单第三步:人工和辅料等费用信息保存","operationId":"savePurchaseOrderStep3","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PurchaseOrderStep3Cmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/savePurchaseOrderStep2":{"post":{"tags":["PurchaseOrder"],"summary":"采购订单第二步:供应商信息保存","operationId":"savePurchaseOrderStep2","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PurchaseOrderStep2Cmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/savePurchaseOrderStep1":{"post":{"tags":["PurchaseOrder"],"summary":"采购订单第一步:车辆信息和经销商信息保存","operationId":"savePurchaseOrderStep1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PurchaseOrderStep1Cmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponsePurchaseOrderVO"}}}}}}},"/operation/restEmployeePassword":{"post":{"tags":["Employee"],"summary":"重置员工密码","operationId":"restEmployeePassword","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmployeeRestPasswordCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/rejectFinalPurchaseOrder":{"post":{"tags":["PurchaseOrder"],"summary":"采购订单驳回审批(老板驳回审批)","operationId":"rejectFinalPurchaseOrder","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PurchaseOrderRejectFinalCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/rejectApprovePurchaseOrder":{"post":{"tags":["PurchaseOrder"],"summary":"采购订单驳回审核(审核员驳回审核)","operationId":"rejectApprovePurchaseOrder","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PurchaseOrderRejectApproveCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/finalApprovePurchaseOrder":{"post":{"tags":["PurchaseOrder"],"summary":"采购订单审批(老板审批)","operationId":"finalApprovePurchaseOrder","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PurchaseOrderFinalApproveCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/extraction/vehicle":{"post":{"tags":["Extraction"],"summary":"智能提取物流信息","operationId":"vehicleExtraction","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VehicleExtractionCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseVehicleExtractionVO"}}}}}}},"/operation/enableUser":{"post":{"tags":["User"],"summary":"启用用户","operationId":"enableUser","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserEnableCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/dragMenu":{"post":{"tags":["Menu"],"summary":"菜单拖拽","operationId":"dragMenu","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MenuDragCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/disableUser":{"post":{"tags":["User"],"summary":"禁用用户","operationId":"disableUser","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserDisableCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/disableEmployee":{"post":{"tags":["Employee"],"summary":"封禁员工","operationId":"disableEmployee","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmployeeDisableCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/destroyRole":{"post":{"tags":["Role"],"summary":"删除应用角色","operationId":"destroyRole","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RoleDestroyCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/destroyPermission":{"post":{"tags":["Permission"],"summary":"删除权限","operationId":"destroyPermission","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PermissionDestroyCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/createUser":{"post":{"tags":["User"],"summary":"创建会员","operationId":"createUser","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserCreateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseUserVO"}}}}}}},"/operation/createSupplier":{"post":{"tags":["Supplier"],"summary":"创建供应商","operationId":"createSupplier","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SupplierCreateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseSupplierVO"}}}}}}},"/operation/createShipOrder":{"post":{"tags":["ShipOrder"],"summary":"创建发货单","operationId":"createShipOrder","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ShipOrderCreateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseShipOrderVO"}}}}}}},"/operation/createRole":{"post":{"tags":["Role"],"summary":"创建应用角色","operationId":"createRole","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RoleCreateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseRoleVO"}}}}}}},"/operation/createPurchaseOrder":{"post":{"tags":["PurchaseOrder"],"summary":"创建采购订单(暂存)","operationId":"createPurchaseOrder","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PurchaseOrderCreateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponsePurchaseOrderVO"}}}}},"deprecated":true}},"/operation/createProduct":{"post":{"tags":["Product"],"summary":"创建产品","operationId":"createProduct","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductCreateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseProductVO"}}}}}}},"/operation/createPlatform":{"post":{"tags":["Platform"],"summary":"创建平台","operationId":"createPlatform","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlatformCreateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponsePlatformVO"}}}}}}},"/operation/createPermission":{"post":{"tags":["Permission"],"summary":"创建权限","operationId":"createPermission","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PermissionCreateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponsePermissionVO"}}}}}}},"/operation/createMenu":{"post":{"tags":["Menu"],"summary":"创建菜单","operationId":"createMenu","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MenuCreateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseMenuVO"}}}}}}},"/operation/createMaterial":{"post":{"tags":["Material"],"summary":"创建素材内容","operationId":"createMaterial","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MaterialCreateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseMaterialVO"}}}}}}},"/operation/createMaterialCategory":{"post":{"tags":["MaterialCategory"],"summary":"创建素材分类","operationId":"createMaterialCategory","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CategoryCreateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseCategoryVO"}}}}}}},"/operation/createGiftBox":{"post":{"tags":["GiftBox"],"summary":"创建礼盒","operationId":"createGiftBox","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GiftBoxCreateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseGiftBoxVO"}}}}}}},"/operation/createEmployee":{"post":{"tags":["Employee"],"summary":"创建员工信息","operationId":"createEmployee","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmployeeCreateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseEmployeeVO"}}}}}}},"/operation/createDictionary":{"post":{"tags":["Dictionary"],"summary":"创建字典","operationId":"createDictionary","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DictionaryCreateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseDictionaryVO"}}}}}}},"/operation/createDealer":{"post":{"tags":["Dealer"],"summary":"创建经销商表","operationId":"createDealer","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealerCreateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseDealerVO"}}}}}}},"/operation/createDealerWarehouse":{"post":{"tags":["DealerWarehouse"],"summary":"创建经销商仓库","operationId":"createDealerWarehouse","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealerWarehouseCreateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseDealerWarehouseVO"}}}}}}},"/operation/createDealerRebateCustomer":{"post":{"tags":["DealerRebateCustomer"],"summary":"创建经销商返点客户","operationId":"createDealerRebateCustomer","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealerRebateCustomerCreateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseDealerRebateCustomerVO"}}}}}}},"/operation/createDealerPaymentAccount":{"post":{"tags":["DealerPaymentAccount"],"summary":"创建经销商付款账户","operationId":"createDealerPaymentAccount","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealerPaymentAccountCreateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseDealerPaymentAccountVO"}}}}}}},"/operation/createCostItem":{"post":{"tags":["CostItem"],"summary":"创建费用项目","operationId":"createCostItem","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CostItemCreateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseCostItemVO"}}}}}}},"/operation/createCompany":{"post":{"tags":["Company"],"summary":"创建公司管理","operationId":"createCompany","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyCreateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseCompanyVO"}}}}}}},"/operation/createCompanyPaymentAccount":{"post":{"tags":["CompanyPaymentAccount"],"summary":"创建公司付款账户","operationId":"createCompanyPaymentAccount","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyPaymentAccountCreateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseCompanyPaymentAccountVO"}}}}}}},"/operation/createChannel":{"post":{"tags":["Channel"],"summary":"创建渠道","operationId":"createChannel","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChannelCreateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseChannelVO"}}}}}}},"/operation/createBoxSpec":{"post":{"tags":["BoxSpec"],"summary":"创建纸箱规格","operationId":"createBoxSpec","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BoxSpecCreateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseBoxSpecVO"}}}}}}},"/operation/createBoxProduct":{"post":{"tags":["BoxProduct"],"summary":"创建纸箱产品","operationId":"createBoxProduct","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BoxProductCreateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseBoxProductVO"}}}}}}},"/operation/createBoxBrand":{"post":{"tags":["BoxBrand"],"summary":"创建纸箱品牌","operationId":"createBoxBrand","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BoxBrandCreateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseBoxBrandVO"}}}}}}},"/operation/createAgreement":{"post":{"tags":["Agreement"],"summary":"创建协议","operationId":"createAgreement","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgreementCreateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseAgreementVO"}}}}}}},"/operation/batchCreateMaterial":{"post":{"tags":["Material"],"summary":"创建素材内容","operationId":"batchCreateMaterial","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MaterialBatchAddCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponseMaterialVO"}}}}}}},"/operation/approvePurchaseOrder":{"post":{"tags":["PurchaseOrder"],"summary":"采购订单审核(审核员审核)","operationId":"approvePurchaseOrder","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PurchaseOrderApproveCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/treeMenu":{"get":{"tags":["Menu"],"summary":"菜单列表","operationId":"treeMenu","parameters":[{"name":"menuTreeQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/MenuTreeQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponseTreeLong"}}}}}}},"/operation/treeMaterialCategory":{"get":{"tags":["MaterialCategory"],"summary":"素材分类树","operationId":"treeMaterialCategory","parameters":[{"name":"categoryTreeQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/CategoryTreeQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponseTreeLong"}}}}}}},"/operation/showUser":{"get":{"tags":["User"],"summary":"获取用户","operationId":"showUser","parameters":[{"name":"userShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/UserShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseUserVO"}}}}}}},"/operation/showSupplier":{"get":{"tags":["Supplier"],"summary":"供应商详情","operationId":"showSupplier","parameters":[{"name":"supplierShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/SupplierShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseSupplierVO"}}}}}}},"/operation/showShipOrder":{"get":{"tags":["ShipOrder"],"summary":"发货单详情","operationId":"showShipOrder","parameters":[{"name":"shipOrderShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/ShipOrderShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseShipOrderVO"}}}}}}},"/operation/showSetting":{"get":{"tags":["Setting"],"summary":"系统设置详情","operationId":"showSetting","parameters":[{"name":"settingShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/SettingShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseSettingVO"}}}}}}},"/operation/showRole":{"get":{"tags":["Role"],"summary":"查看应用角色","operationId":"showRole","parameters":[{"name":"roleShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/RoleShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseRoleVO"}}}}}}},"/operation/showPurchaseOrder":{"get":{"tags":["PurchaseOrder"],"summary":"采购订单详情","operationId":"showPurchaseOrder","parameters":[{"name":"purchaseOrderShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/PurchaseOrderShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponsePurchaseOrderVO"}}}}}}},"/operation/showProduct":{"get":{"tags":["Product"],"summary":"产品详情","operationId":"showProduct","parameters":[{"name":"productShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/ProductShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseProductVO"}}}}}}},"/operation/showPlatform":{"get":{"tags":["Platform"],"summary":"平台详情","operationId":"showPlatform","parameters":[{"name":"platformShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/PlatformShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponsePlatformVO"}}}}}}},"/operation/showPermission":{"get":{"tags":["Permission"],"summary":"查看权限","operationId":"showPermission","parameters":[{"name":"permissionShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/PermissionShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponsePermissionVO"}}}}}}},"/operation/showMenu":{"get":{"tags":["Menu"],"summary":"菜单详情","operationId":"showMenu","parameters":[{"name":"menuShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/MenuShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseMenuVO"}}}}}}},"/operation/showMaterial":{"get":{"tags":["Material"],"summary":"素材内容详情","operationId":"showMaterial","parameters":[{"name":"materialShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/MaterialShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseMaterialVO"}}}}}}},"/operation/showMaterialCategory":{"get":{"tags":["MaterialCategory"],"summary":"素材分类","operationId":"showMaterialCategory","parameters":[{"name":"categoryShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/CategoryShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseCategoryVO"}}}}}}},"/operation/showGiftBox":{"get":{"tags":["GiftBox"],"summary":"礼盒详情","operationId":"showGiftBox","parameters":[{"name":"giftBoxShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/GiftBoxShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseGiftBoxVO"}}}}}}},"/operation/showEmployee":{"get":{"tags":["Employee"],"summary":"员工信息详情","operationId":"showEmployee","parameters":[{"name":"employeeShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/EmployeeShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseEmployeeVO"}}}}}}},"/operation/showDictionary":{"get":{"tags":["Dictionary"],"summary":"字典详情","operationId":"showDictionary","parameters":[{"name":"dictionaryShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/DictionaryShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseDictionaryVO"}}}}}}},"/operation/showDealer":{"get":{"tags":["Dealer"],"summary":"经销商表详情","operationId":"showDealer","parameters":[{"name":"dealerShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/DealerShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseDealerVO"}}}}}}},"/operation/showDealerWarehouse":{"get":{"tags":["DealerWarehouse"],"summary":"经销商仓库详情","operationId":"showDealerWarehouse","parameters":[{"name":"dealerWarehouseShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/DealerWarehouseShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseDealerWarehouseVO"}}}}}}},"/operation/showDealerRebateCustomer":{"get":{"tags":["DealerRebateCustomer"],"summary":"经销商返点客户详情","operationId":"showDealerRebateCustomer","parameters":[{"name":"dealerRebateCustomerShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/DealerRebateCustomerShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseDealerRebateCustomerVO"}}}}}}},"/operation/showDealerPaymentAccount":{"get":{"tags":["DealerPaymentAccount"],"summary":"经销商付款账户详情","operationId":"showDealerPaymentAccount","parameters":[{"name":"dealerPaymentAccountShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/DealerPaymentAccountShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseDealerPaymentAccountVO"}}}}}}},"/operation/showCostItem":{"get":{"tags":["CostItem"],"summary":"费用项目详情","operationId":"showCostItem","parameters":[{"name":"costItemShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/CostItemShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseCostItemVO"}}}}}}},"/operation/showCompany":{"get":{"tags":["Company"],"summary":"公司管理详情","operationId":"showCompany","parameters":[{"name":"companyShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/CompanyShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseCompanyVO"}}}}}}},"/operation/showCompanyPaymentAccount":{"get":{"tags":["CompanyPaymentAccount"],"summary":"公司付款账户详情","operationId":"showCompanyPaymentAccount","parameters":[{"name":"companyPaymentAccountShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/CompanyPaymentAccountShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseCompanyPaymentAccountVO"}}}}}}},"/operation/showChannel":{"get":{"tags":["Channel"],"summary":"渠道详情","operationId":"showChannel","parameters":[{"name":"channelShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/ChannelShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseChannelVO"}}}}}}},"/operation/showBoxSpec":{"get":{"tags":["BoxSpec"],"summary":"纸箱规格详情","operationId":"showBoxSpec","parameters":[{"name":"boxSpecShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/BoxSpecShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseBoxSpecVO"}}}}}}},"/operation/showBoxProduct":{"get":{"tags":["BoxProduct"],"summary":"纸箱产品详情","operationId":"showBoxProduct","parameters":[{"name":"boxProductShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/BoxProductShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseBoxProductVO"}}}}}}},"/operation/showBoxBrand":{"get":{"tags":["BoxBrand"],"summary":"纸箱品牌详情","operationId":"showBoxBrand","parameters":[{"name":"boxBrandShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/BoxBrandShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseBoxBrandVO"}}}}}}},"/operation/showAgreement":{"get":{"tags":["Agreement"],"summary":"协议详情","operationId":"showAgreement","parameters":[{"name":"agreementShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/AgreementShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseAgreementVO"}}}}}}},"/operation/pageUser":{"get":{"tags":["User"],"summary":"用户列表","operationId":"pageUser","parameters":[{"name":"userPageQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/UserPageQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageResponseUserVO"}}}}}}},"/operation/pageSupplier":{"get":{"tags":["Supplier"],"summary":"供应商列表","operationId":"pageSupplier","parameters":[{"name":"supplierPageQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/SupplierPageQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageResponseSupplierVO"}}}}}}},"/operation/pageShipOrder":{"get":{"tags":["ShipOrder"],"summary":"发货单列表","operationId":"pageShipOrder","parameters":[{"name":"shipOrderPageQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/ShipOrderPageQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageResponseShipOrderVO"}}}}}}},"/operation/pageRole":{"get":{"tags":["Role"],"summary":"应用角色分页","operationId":"pageRole","parameters":[{"name":"rolePageQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/RolePageQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageResponseRoleVO"}}}}}}},"/operation/pagePurchaseOrder":{"get":{"tags":["PurchaseOrder"],"summary":"采购订单列表","operationId":"pagePurchaseOrder","parameters":[{"name":"purchaseOrderPageQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/PurchaseOrderPageQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageResponsePurchaseOrderVO"}}}}}}},"/operation/pageProduct":{"get":{"tags":["Product"],"summary":"产品列表","operationId":"pageProduct","parameters":[{"name":"productPageQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/ProductPageQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageResponseProductVO"}}}}}}},"/operation/pagePlatform":{"get":{"tags":["Platform"],"summary":"平台列表","operationId":"pagePlatform","parameters":[{"name":"platformPageQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/PlatformPageQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageResponsePlatformVO"}}}}}}},"/operation/pagePermission":{"get":{"tags":["Permission"],"summary":"权限分页","operationId":"pagePermission","parameters":[{"name":"permissionPageQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/PermissionPageQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageResponsePermissionVO"}}}}}}},"/operation/pageMaterial":{"get":{"tags":["Material"],"summary":"素材内容列表","operationId":"pageMaterial","parameters":[{"name":"materialPageQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/MaterialPageQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageResponseMaterialVO"}}}}}}},"/operation/pageGiftBox":{"get":{"tags":["GiftBox"],"summary":"礼盒列表","operationId":"pageGiftBox","parameters":[{"name":"giftBoxPageQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/GiftBoxPageQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageResponseGiftBoxVO"}}}}}}},"/operation/pageEmployee":{"get":{"tags":["Employee"],"summary":"员工信息列表","operationId":"pageEmployee","parameters":[{"name":"employeePageQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/EmployeePageQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageResponseEmployeeVO"}}}}}}},"/operation/pageDictionary":{"get":{"tags":["Dictionary"],"summary":"字典列表","operationId":"pageDictionary","parameters":[{"name":"dictionaryPageQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/DictionaryPageQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageResponseDictionaryVO"}}}}}}},"/operation/pageDealer":{"get":{"tags":["Dealer"],"summary":"经销商表列表","operationId":"pageDealer","parameters":[{"name":"dealerPageQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/DealerPageQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageResponseDealerVO"}}}}}}},"/operation/pageDealerWarehouse":{"get":{"tags":["DealerWarehouse"],"summary":"经销商仓库列表","operationId":"pageDealerWarehouse","parameters":[{"name":"dealerWarehousePageQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/DealerWarehousePageQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageResponseDealerWarehouseVO"}}}}}}},"/operation/pageDealerRebateCustomer":{"get":{"tags":["DealerRebateCustomer"],"summary":"经销商返点客户列表","operationId":"pageDealerRebateCustomer","parameters":[{"name":"dealerRebateCustomerPageQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/DealerRebateCustomerPageQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageResponseDealerRebateCustomerVO"}}}}}}},"/operation/pageDealerPaymentAccount":{"get":{"tags":["DealerPaymentAccount"],"summary":"经销商付款账户列表","operationId":"pageDealerPaymentAccount","parameters":[{"name":"dealerPaymentAccountPageQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/DealerPaymentAccountPageQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageResponseDealerPaymentAccountVO"}}}}}}},"/operation/pageCostItem":{"get":{"tags":["CostItem"],"summary":"费用项目列表","operationId":"pageCostItem","parameters":[{"name":"costItemPageQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/CostItemPageQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageResponseCostItemVO"}}}}}}},"/operation/pageCompany":{"get":{"tags":["Company"],"summary":"公司管理列表","operationId":"pageCompany","parameters":[{"name":"companyPageQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/CompanyPageQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageResponseCompanyVO"}}}}}}},"/operation/pageCompanyPaymentAccount":{"get":{"tags":["CompanyPaymentAccount"],"summary":"公司付款账户列表","operationId":"pageCompanyPaymentAccount","parameters":[{"name":"companyPaymentAccountPageQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/CompanyPaymentAccountPageQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageResponseCompanyPaymentAccountVO"}}}}}}},"/operation/pageChannel":{"get":{"tags":["Channel"],"summary":"渠道分页","operationId":"pageChannel","parameters":[{"name":"channelPageQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/ChannelPageQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageResponseChannelVO"}}}}}}},"/operation/pageBoxSpec":{"get":{"tags":["BoxSpec"],"summary":"纸箱规格列表","operationId":"pageBoxSpec","parameters":[{"name":"boxSpecPageQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/BoxSpecPageQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageResponseBoxSpecVO"}}}}}}},"/operation/pageBoxProduct":{"get":{"tags":["BoxProduct"],"summary":"纸箱产品列表","operationId":"pageBoxProduct","parameters":[{"name":"boxProductPageQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/BoxProductPageQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageResponseBoxProductVO"}}}}}}},"/operation/pageBoxBrand":{"get":{"tags":["BoxBrand"],"summary":"纸箱品牌列表","operationId":"pageBoxBrand","parameters":[{"name":"boxBrandPageQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/BoxBrandPageQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageResponseBoxBrandVO"}}}}}}},"/operation/pageAgreement":{"get":{"tags":["Agreement"],"summary":"协议列表","operationId":"pageAgreement","parameters":[{"name":"agreementPageQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/AgreementPageQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageResponseAgreementVO"}}}}}}},"/operation/ossToken":{"get":{"tags":["Material"],"summary":"获取OSS上传凭证","operationId":"ossToken","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseOssTokenVO"}}}}}}},"/operation/listUser":{"get":{"tags":["User"],"summary":"用户列表","operationId":"listUser","parameters":[{"name":"userListQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/UserListQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponseUserVO"}}}}}}},"/operation/listSupplier":{"get":{"tags":["Supplier"],"summary":"供应商列表","operationId":"listSupplier","parameters":[{"name":"supplierListQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/SupplierListQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponseSupplierVO"}}}}}}},"/operation/listShipOrder":{"get":{"tags":["ShipOrder"],"summary":"发货单列表","operationId":"listShipOrder","parameters":[{"name":"shipOrderListQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/ShipOrderListQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponseShipOrderVO"}}}}}}},"/operation/listRole":{"get":{"tags":["Role"],"summary":"应用角色列表","operationId":"listRole","parameters":[{"name":"roleListQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/RoleListQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponseRoleVO"}}}}}}},"/operation/listPurchaseOrder":{"get":{"tags":["PurchaseOrder"],"summary":"采购订单列表","operationId":"listPurchaseOrder","parameters":[{"name":"purchaseOrderListQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/PurchaseOrderListQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponsePurchaseOrderVO"}}}}}}},"/operation/listProduct":{"get":{"tags":["Product"],"summary":"产品列表","operationId":"listProduct","parameters":[{"name":"productListQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/ProductListQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponseProductVO"}}}}}}},"/operation/listPlatform":{"get":{"tags":["Platform"],"summary":"平台列表","operationId":"listPlatform","parameters":[{"name":"platformListQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/PlatformListQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponsePlatformVO"}}}}}}},"/operation/listPermission":{"get":{"tags":["Permission"],"summary":"权限列表","operationId":"listPermission","parameters":[{"name":"permissionListQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/PermissionListQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponsePermissionVO"}}}}}}},"/operation/listMenu":{"get":{"tags":["Menu"],"summary":"菜单列表","operationId":"listMenu","parameters":[{"name":"menuListQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/MenuListQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponseMenuVO"}}}}}}},"/operation/listGiftBox":{"get":{"tags":["GiftBox"],"summary":"礼盒列表","operationId":"listGiftBox","parameters":[{"name":"giftBoxListQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/GiftBoxListQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponseGiftBoxVO"}}}}}}},"/operation/listEmployee":{"get":{"tags":["Employee"],"summary":"员工信息列表","operationId":"listEmployee","parameters":[{"name":"employeeListQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/EmployeeListQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponseEmployeeVO"}}}}}}},"/operation/listDictionary":{"get":{"tags":["Dictionary"],"summary":"字典列表","operationId":"listDictionary","parameters":[{"name":"dictionaryListQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/DictionaryListQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponseDictionaryVO"}}}}}}},"/operation/listDealer":{"get":{"tags":["Dealer"],"summary":"经销商表列表","operationId":"listDealer","parameters":[{"name":"dealerListQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/DealerListQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponseDealerVO"}}}}}}},"/operation/listDealerWarehouse":{"get":{"tags":["DealerWarehouse"],"summary":"经销商仓库列表","operationId":"listDealerWarehouse","parameters":[{"name":"dealerWarehouseListQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/DealerWarehouseListQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponseDealerWarehouseVO"}}}}}}},"/operation/listDealerRebateCustomer":{"get":{"tags":["DealerRebateCustomer"],"summary":"经销商返点客户列表","operationId":"listDealerRebateCustomer","parameters":[{"name":"dealerRebateCustomerListQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/DealerRebateCustomerListQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponseDealerRebateCustomerVO"}}}}}}},"/operation/listDealerPaymentAccount":{"get":{"tags":["DealerPaymentAccount"],"summary":"经销商付款账户列表","operationId":"listDealerPaymentAccount","parameters":[{"name":"dealerPaymentAccountListQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/DealerPaymentAccountListQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponseDealerPaymentAccountVO"}}}}}}},"/operation/listCostItem":{"get":{"tags":["CostItem"],"summary":"费用项目列表","operationId":"listCostItem","parameters":[{"name":"costItemListQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/CostItemListQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponseCostItemVO"}}}}}}},"/operation/listCompany":{"get":{"tags":["Company"],"summary":"公司管理列表","operationId":"listCompany","parameters":[{"name":"companyListQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/CompanyListQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponseCompanyVO"}}}}}}},"/operation/listCompanyPaymentAccount":{"get":{"tags":["CompanyPaymentAccount"],"summary":"公司付款账户列表","operationId":"listCompanyPaymentAccount","parameters":[{"name":"companyPaymentAccountListQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/CompanyPaymentAccountListQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponseCompanyPaymentAccountVO"}}}}}}},"/operation/listBoxSpec":{"get":{"tags":["BoxSpec"],"summary":"纸箱规格列表","operationId":"listBoxSpec","parameters":[{"name":"boxSpecListQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/BoxSpecListQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponseBoxSpecVO"}}}}}}},"/operation/listBoxProduct":{"get":{"tags":["BoxProduct"],"summary":"纸箱产品列表","operationId":"listBoxProduct","parameters":[{"name":"boxProductListQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/BoxProductListQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponseBoxProductVO"}}}}}}},"/operation/listBoxBrand":{"get":{"tags":["BoxBrand"],"summary":"纸箱品牌列表","operationId":"listBoxBrand","parameters":[{"name":"boxBrandListQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/BoxBrandListQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponseBoxBrandVO"}}}}}}},"/operation/listAgreement":{"get":{"tags":["Agreement"],"summary":"协议列表","operationId":"listAgreement","parameters":[{"name":"agreementListQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/AgreementListQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponseAgreementVO"}}}}}}},"/operation/getLastVehicleNo":{"get":{"tags":["PurchaseOrder"],"summary":"获取上一车车次号","operationId":"getLastVehicleNo","parameters":[{"name":"lastVehicleNoQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/LastVehicleNoQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseString"}}}}}}},"/operation/countPurchaseOrderByState":{"get":{"tags":["PurchaseOrder"],"summary":"获取某个状态的数量","operationId":"countPurchaseOrderByState","parameters":[{"name":"purchaseOrderCountQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/PurchaseOrderCountQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseLong"}}}}}}},"/operation/checkSupplier":{"get":{"tags":["Supplier"],"summary":"检查供应商","operationId":"checkSupplier","parameters":[{"name":"supplierCheckQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/SupplierCheckQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseSupplierVO"}}}}}}},"/operation/destroyUser":{"delete":{"tags":["User"],"summary":"删除用户","operationId":"destroyUser","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserDestroyCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/destroySupplier":{"delete":{"tags":["Supplier"],"summary":"供应商删除","operationId":"destroySupplier","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SupplierDestroyCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/destroyShipOrder":{"delete":{"tags":["ShipOrder"],"summary":"发货单删除","operationId":"destroyShipOrder","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ShipOrderDestroyCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/destroyPurchaseOrder":{"delete":{"tags":["PurchaseOrder"],"summary":"采购订单删除","operationId":"destroyPurchaseOrder","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PurchaseOrderDestroyCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/destroyProduct":{"delete":{"tags":["Product"],"summary":"产品删除","operationId":"destroyProduct","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductDestroyCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/destroyPlatform":{"delete":{"tags":["Platform"],"summary":"平台删除","operationId":"destroyPlatform","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlatformDestroyCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/destroyMenu":{"delete":{"tags":["Menu"],"summary":"菜单更新","operationId":"destroyMenu","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MenuDestroyCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/destroyMaterial":{"delete":{"tags":["Material"],"summary":"删除素材内容","operationId":"destroyMaterial","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MaterialDestroyCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/destroyMaterialCategory":{"delete":{"tags":["MaterialCategory"],"summary":"删除素材分类","operationId":"destroyMaterialCategory","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CategoryDestroyCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/destroyGiftBox":{"delete":{"tags":["GiftBox"],"summary":"礼盒删除","operationId":"destroyGiftBox","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GiftBoxDestroyCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/destroyEmployee":{"delete":{"tags":["Employee"],"summary":"员工信息删除","operationId":"destroyEmployee","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmployeeDestroyCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/destroyDictionary":{"delete":{"tags":["Dictionary"],"summary":"字典删除","operationId":"destroyDictionary","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DictionaryDestroyCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/destroyDealer":{"delete":{"tags":["Dealer"],"summary":"经销商表删除","operationId":"destroyDealer","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealerDestroyCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/destroyDealerWarehouse":{"delete":{"tags":["DealerWarehouse"],"summary":"经销商仓库删除","operationId":"destroyDealerWarehouse","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealerWarehouseDestroyCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/destroyDealerRebateCustomer":{"delete":{"tags":["DealerRebateCustomer"],"summary":"经销商返点客户删除","operationId":"destroyDealerRebateCustomer","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealerRebateCustomerDestroyCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/destroyDealerPaymentAccount":{"delete":{"tags":["DealerPaymentAccount"],"summary":"经销商付款账户删除","operationId":"destroyDealerPaymentAccount","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealerPaymentAccountDestroyCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/destroyCostItem":{"delete":{"tags":["CostItem"],"summary":"费用项目删除","operationId":"destroyCostItem","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CostItemDestroyCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/destroyCompany":{"delete":{"tags":["Company"],"summary":"公司管理删除","operationId":"destroyCompany","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyDestroyCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/destroyCompanyPaymentAccount":{"delete":{"tags":["CompanyPaymentAccount"],"summary":"公司付款账户删除","operationId":"destroyCompanyPaymentAccount","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyPaymentAccountDestroyCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/destroyChannel":{"delete":{"tags":["Channel"],"summary":"渠道删除","operationId":"destroyChannel","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChannelDestroyCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/destroyBoxSpec":{"delete":{"tags":["BoxSpec"],"summary":"纸箱规格删除","operationId":"destroyBoxSpec","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BoxSpecDestroyCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/destroyBoxProduct":{"delete":{"tags":["BoxProduct"],"summary":"纸箱产品删除","operationId":"destroyBoxProduct","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BoxProductDestroyCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/destroyBoxBrand":{"delete":{"tags":["BoxBrand"],"summary":"纸箱品牌删除","operationId":"destroyBoxBrand","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BoxBrandDestroyCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/destroyAgreement":{"delete":{"tags":["Agreement"],"summary":"协议删除","operationId":"destroyAgreement","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgreementDestroyCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}}},"components":{"schemas":{"Response":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"}}},"UserUpdateCmd":{"type":"object","properties":{"name":{"type":"string","title":"会员名称"},"nickname":{"type":"string","title":"会员昵称"},"avatar":{"type":"string","title":"头像"},"phone":{"type":"string","title":"会员手机号"},"birthday":{"type":"string","title":"会员生日"},"gender":{"type":"integer","format":"int32","title":"会员性别"},"cardType":{"type":"integer","format":"int32","title":"会员卡号生成方式:1 系统生成 2 自定义"},"remark":{"type":"string","title":"备注"},"labelId":{"type":"array","items":{"type":"integer","format":"int64"},"title":"客户标签"},"userId":{"type":"string","title":"用户ID"}},"required":["userId"],"title":"用户更新命令"},"SingleResponseUserVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/UserVO"}}},"UserVO":{"type":"object","properties":{"userId":{"type":"string","title":"用户编号"},"nickname":{"type":"string","title":"昵称"},"avatar":{"type":"string","title":"头像"},"name":{"type":"string","title":"姓名"},"gender":{"type":"integer","format":"int32","title":"性别"},"birthday":{"type":"string","title":"生日"},"phone":{"type":"string","title":"手机号"},"remark":{"type":"string","title":"备注"},"state":{"type":"string","enum":["ENABLE","DISABLE"],"title":"状态"},"isAdmin":{"type":"boolean","title":"是否是管理员"},"isPartner":{"type":"boolean","title":"是否是小区合伙人"},"createdAt":{"type":"string","title":"创建时间"},"bindPhoneAt":{"type":"string","title":"绑定手机号码时间"},"lastLoginAt":{"type":"string","title":"最后一次登录时间"},"mpOpenid":{"type":"string","title":"微信公众号openid"},"maOpenid":{"type":"string","title":"微信小程序openid"},"unionid":{"type":"string","title":"开放平台unionid"}},"required":["avatar","bindPhoneAt","birthday","createdAt","gender","isAdmin","isPartner","lastLoginAt","maOpenid","mpOpenid","name","nickname","phone","state","unionid","userId"],"title":"用户信息"},"SupplierUpdateCmd":{"type":"object","properties":{"supplierId":{"type":"string","title":"供应商ID"},"name":{"type":"string","title":"姓名"},"idCard":{"type":"string","title":"身份证号"},"phone":{"type":"string","title":"手机号"},"bankCard":{"type":"string","title":"银行卡号"},"wechatQr":{"type":"string","title":"微信收款码URL"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"}},"required":["bankCard","idCard","name","phone","status","supplierId"],"title":"供应商更新"},"SingleResponseSupplierVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/SupplierVO"}}},"SupplierVO":{"type":"object","properties":{"supplierId":{"type":"string","title":"供应商ID"},"name":{"type":"string","title":"姓名"},"idCard":{"type":"string","title":"身份证号"},"phone":{"type":"string","title":"手机号"},"bankCard":{"type":"string","title":"银行卡号"},"wechatQr":{"type":"string","title":"微信收款码URL"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"createdBy":{"type":"string","title":"创建人ID"},"createdByName":{"type":"string","title":"创建人姓名"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"}},"required":["bankCard","createdBy","idCard","name","phone","status","supplierId"],"title":"供应商"},"ShipOrderItem":{"type":"object","properties":{"itemId":{"type":"string","title":"发货单子项ID"},"shipOrderId":{"type":"string","title":"发货单ID"},"grossWeight":{"type":"number","title":"毛重(斤)"},"boxWeight":{"type":"number","title":"箱重(斤)"},"boxCount":{"type":"integer","format":"int32","title":"箱数"},"netWeight":{"type":"number","title":"净重(斤)"},"unitPrice":{"type":"number","title":"单价(元)"},"totalAmount":{"type":"number","title":"总金额(元)"},"watermelonGrade":{"type":"string","title":"西瓜品级"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"}},"required":["itemId","shipOrderId"],"title":"发货单子项表"},"ShipOrderUpdateCmd":{"type":"object","properties":{"shipOrderId":{"type":"string","title":"发货单ID"},"estimatedArrivalDate":{"type":"string","format":"date","title":"预计到仓时间"},"watermelonGrade":{"type":"string","title":"西瓜品级"},"shippingAddress":{"type":"string","title":"发货地址"},"companyId":{"type":"string","title":"公司ID"},"companyName":{"type":"string","title":"公司名称"},"remark":{"type":"string","title":"备注"},"shipOrderItemList":{"type":"array","items":{"$ref":"#/components/schemas/ShipOrderItem"},"title":"发货单明细"},"shipDocument":{"type":"string","title":"发货单据"},"purchaseDocument":{"type":"string","title":"采购底单"},"costDocument":{"type":"string","title":"成本单据"}},"required":["shipOrderId"],"title":"发货单更新"},"OrderCost":{"type":"object","properties":{"orderCostId":{"type":"string","title":"记录ID"},"orderId":{"type":"string","title":"订单ID"},"itemId":{"type":"string","title":"成本项目ID"},"name":{"type":"string","title":"成本项目名称"},"price":{"type":"number","title":"单价"},"unit":{"type":"string","title":"单位"},"count":{"type":"integer","format":"int32","title":"数量"},"payerType":{"type":"string","enum":["US","OTHER"],"title":"付款方类型:1-我方,2-对方"},"principal":{"type":"string","title":"负责人"},"requireQuantityAndPrice":{"type":"boolean","title":"是否需要数量和价格"},"costType":{"type":"string","enum":["PACKAGING_MATERIALS","HUMAN_COST","OTHER_COST","FIXED_COST","WORKER_ADVANCE","PRODUCTION_ADVANCE"],"title":"费用类型:1_包装材料;2_人工费用;3_其他费用;4_固定费用;5_工头垫付;6_产地垫付"}},"required":["costType","count","itemId","name","orderCostId","price","unit"],"title":"采购订单成本项目信息创建"},"ShipOrderPackage":{"type":"object","properties":{"orderPackageId":{"type":"string","title":"发货单子项ID"},"shipOrderId":{"type":"string","title":"发货单ID"},"boxSpecId":{"type":"integer","format":"int64","title":"箱型ID"},"boxSpecName":{"type":"string","title":"箱型"},"boxProduct":{"type":"string","title":"箱号"},"quantity":{"type":"integer","format":"int32","title":"数量"},"unitPrice":{"type":"number","title":"单价(元)"},"itemAmount":{"type":"number","title":"金额(元)"},"singleWeight":{"type":"number","title":"单重(斤)"},"totalWeight":{"type":"number","title":"总重(斤)"},"boxBrandImage":{"type":"string","title":"箱子品牌图片"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"}},"required":["orderPackageId","shipOrderId"],"title":"发货单包装表"},"ShipOrderVO":{"type":"object","properties":{"shipOrderId":{"type":"string","title":"发货单ID"},"purchaseOrderId":{"type":"string","title":"采购单ID"},"orderSn":{"type":"string","title":"发货单编号"},"dealerId":{"type":"string","title":"经销商ID"},"dealerName":{"type":"string","title":"经销商名称"},"warehouseId":{"type":"string","title":"仓库ID"},"warehouseName":{"type":"string","title":"仓库名称"},"companyId":{"type":"string","title":"公司ID"},"companyName":{"type":"string","title":"公司名称"},"vehicleNo":{"type":"string","title":"车次号"},"shippingAddress":{"type":"string","title":"发货地址"},"receivingAddress":{"type":"string","title":"收货地址"},"shippingDate":{"type":"string","format":"date","title":"发货日期"},"estimatedArrivalDate":{"type":"string","format":"date","title":"预计到仓时间"},"watermelonGrade":{"type":"string","title":"西瓜品级"},"driverName":{"type":"string","title":"司机姓名"},"driverPhone":{"type":"string","title":"司机手机号"},"licensePlate":{"type":"string","title":"车牌号码"},"freightDebt":{"type":"number","title":"运费欠款(元)"},"strawMatDebt":{"type":"number","title":"草帘欠款(元)"},"trademarkFee":{"type":"number","title":"商标费(元)"},"laborFee":{"type":"number","title":"人工费(元)"},"cartonFee":{"type":"number","title":"纸箱费(元)"},"codingFee":{"type":"number","title":"打码费(元)"},"provisionFee":{"type":"number","title":"计提费(元)"},"totalAmount":{"type":"number","title":"合计金额(元)"},"farmerInfo":{"type":"string","title":"瓜农姓名逗号隔开"},"shipDocument":{"type":"string","title":"发货单据"},"purchaseDocument":{"type":"string","title":"采购底单"},"costDocument":{"type":"string","title":"成本单据"},"state":{"type":"string","enum":["WAIT_PAYMENT","PARTIAL_PAYMENT","FULL_PAYMENT","REJECT_FINISH","FINISH"],"title":"发货单状态:1_待回款;2_部分回款;3_已回款;4_拒收完结;5_已完结;"},"remark":{"type":"string","title":"备注"},"createdBy":{"type":"string","title":"创建人ID"},"createdByName":{"type":"string","title":"创建人姓名"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"},"shipOrderItemList":{"type":"array","items":{"$ref":"#/components/schemas/ShipOrderItem"},"title":"发货单明细"},"shipOrderPackageList":{"type":"array","items":{"$ref":"#/components/schemas/ShipOrderPackage"},"title":"发货单子项表"},"orderCostList":{"type":"array","items":{"$ref":"#/components/schemas/OrderCost"},"title":"发货单成本项目信息"}},"required":["createdBy","purchaseOrderId","shipOrderId"],"title":"发货单"},"SingleResponseShipOrderVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/ShipOrderVO"}}},"AliPayConfigValue":{"allOf":[{"$ref":"#/components/schemas/SettingValue"},{"type":"object","properties":{"appId":{"type":"string","title":"支付宝appid"},"privateKey":{"type":"string","title":"支付宝私钥"},"publicKey":{"type":"string","title":"支付宝公钥"},"gatewayUrl":{"type":"string","title":"支付宝网关地址"},"notifyUrl":{"type":"string","title":"支付宝回调地址"}}}],"required":["appId","gatewayUrl","notifyUrl","privateKey","publicKey"],"title":"支付宝配置"},"ChargingPilePurchaseConfig":{"allOf":[{"$ref":"#/components/schemas/SettingValue"},{"type":"object","properties":{"title":{"type":"string","title":"标题"},"description":{"type":"string","title":"描述"},"price":{"type":"number","title":"购买价格"},"linePrice":{"type":"number","title":"划线价格"},"image":{"type":"array","items":{"type":"string"},"title":"图片"},"content":{"type":"string","title":"设备内容"}}}],"required":["content","description","image","linePrice","price","title"],"title":"充电桩设备购买配置"},"CustomMenuConfigValue":{"allOf":[{"$ref":"#/components/schemas/SettingValue"},{"type":"object","properties":{"menuItems":{"type":"array","items":{"$ref":"#/components/schemas/MenuItem"},"title":"菜单列表"}}}],"required":["menuItems"],"title":"自定义菜单配置"},"CustomThemeConfigValue":{"allOf":[{"$ref":"#/components/schemas/SettingValue"},{"type":"object","properties":{"themeName":{"type":"string","title":"主题名称"},"primaryColor":{"type":"string","title":"主题颜色"},"secondaryColor":{"type":"string","title":"次要颜色"}}}],"required":["primaryColor","secondaryColor","themeName"],"title":"自定义主题配置"},"MenuItem":{"type":"object","properties":{"menuId":{"type":"string","title":"菜单Id"},"menuName":{"type":"string","title":"菜单名称"},"menuIcon":{"type":"string","title":"菜单图标"},"menuRedirect":{"type":"object","additionalProperties":{},"properties":{"empty":{"type":"boolean"}},"title":"菜单路径"},"menuSort":{"type":"integer","format":"int32","title":"菜单排序"}},"required":["menuIcon","menuId","menuName","menuRedirect","menuSort"],"title":"菜单项"},"SettingUpdateCmd":{"type":"object","properties":{"settingId":{"type":"string","title":"系统设置项ID"},"settingKey":{"type":"string","enum":["WX_MA_CONFIG","WX_MA_MESSAGE_PUSH_CONFIG","WX_MA_SUBSCRIBE_MESSAGE_CONFIG","WX_MA_CODE_UPLOAD_CONFIG","WX_PAY_CONFIG","TENCENT_MAP_CONFIG","SMS_CONFIG","VIRTUAL_PHONE_CONFIG","WX_MP_CONFIG","WX_MP_MESSAGE_PUSH_CONFIG","ALI_PAY_CONFIG","CHARGING_PILE_PURCHASE_CONFIG","CUSTOM_THEME_CONFIG","CUSTOM_MENU_CONFIG","WX_CP_NOTIFY_CONFIG"],"title":"系统设置项key"},"settingValue":{"oneOf":[{"$ref":"#/components/schemas/AliPayConfigValue"},{"$ref":"#/components/schemas/ChargingPilePurchaseConfig"},{"$ref":"#/components/schemas/CustomMenuConfigValue"},{"$ref":"#/components/schemas/CustomThemeConfigValue"},{"$ref":"#/components/schemas/TencentMapConfigValue"},{"$ref":"#/components/schemas/WxCpNotifyConfigValue"},{"$ref":"#/components/schemas/WxMaCodeUploadConfigValue"},{"$ref":"#/components/schemas/WxMaConfigValue"},{"$ref":"#/components/schemas/WxMaMessagePushConfigValue"},{"$ref":"#/components/schemas/WxMaSubscribeMessageConfigValue"},{"$ref":"#/components/schemas/WxMpConfigValue"},{"$ref":"#/components/schemas/WxMpMessagePushConfigValue"},{"$ref":"#/components/schemas/WxPayConfigValue"}],"title":"系统设置项内容"}},"required":["settingKey","settingValue"],"title":"系统设置更新"},"SettingValue":{"discriminator":{"propertyName":"settingKey"},"properties":{"settingKey":{"type":"string"}},"required":["settingKey"]},"TencentMapConfigValue":{"allOf":[{"$ref":"#/components/schemas/SettingValue"},{"type":"object","properties":{"appKey":{"type":"string","title":"腾讯地图AppKey"}}}],"required":["appKey"],"title":"腾讯地图配置"},"WxCpNotifyConfigValue":{"allOf":[{"$ref":"#/components/schemas/SettingValue"},{"type":"object","properties":{"communityApplyNotifyKey":{"type":"string","title":"小区申请通知key"}}}],"required":["communityApplyNotifyKey"],"title":"企业微信通知配置"},"WxMaCodeUploadConfigValue":{"allOf":[{"$ref":"#/components/schemas/SettingValue"},{"type":"object","properties":{"appId":{"type":"string","title":"小程序APPID"},"version":{"type":"string","title":"当前版本号"},"desc":{"type":"string","title":"更新描述"},"ipWhiteList":{"type":"string","title":"上传IP白名单"},"pagePath":{"type":"string","title":"页面路径"},"orderCenterPath":{"type":"string","title":"小程序订单中心path"},"codeUploadKey":{"type":"string","title":"小程序代码上传密钥"}}}],"required":["appId","codeUploadKey","desc","ipWhiteList","orderCenterPath","pagePath","version"],"title":"小程序代码上传配置"},"WxMaConfigValue":{"allOf":[{"$ref":"#/components/schemas/SettingValue"},{"type":"object","properties":{"wxMaName":{"type":"string","title":"小程序名称"},"wxMaOriginalId":{"type":"string","title":"小程序原始ID"},"wxMaLogo":{"type":"string","title":"小程序Logo"},"wxMaCheckFile":{"type":"string","title":"校验文件"},"appId":{"type":"string","title":"AppID(小程序ID)"},"appSecret":{"type":"string","title":"AppSecret(小程序密钥)"}}}],"required":["appId","appSecret","wxMaCheckFile","wxMaLogo","wxMaName","wxMaOriginalId"],"title":"分类创建"},"WxMaMessagePushConfigValue":{"allOf":[{"$ref":"#/components/schemas/SettingValue"},{"type":"object","properties":{"token":{"type":"string","title":"Token(令牌)"},"encodingAESKey":{"type":"string","title":"EncodingAESKey"},"msgEncryptMode":{"type":"string","title":"消息加密方式"},"dataFormat":{"type":"string","title":"数据格式"},"ipWhiteList":{"type":"string","title":"IP白名单"},"url":{"type":"string","title":"URL(服务器地址)"}}}],"required":["dataFormat","encodingAESKey","ipWhiteList","msgEncryptMode","token","url"],"title":"小程序消息推送配置"},"WxMaSubscribeMessageConfigValue":{"allOf":[{"$ref":"#/components/schemas/SettingValue"}],"title":"小程序订阅消息配置"},"WxMpConfigValue":{"allOf":[{"$ref":"#/components/schemas/SettingValue"},{"type":"object","properties":{"wxMpName":{"type":"string","title":"公众号名称"},"wxMpOriginalId":{"type":"string","title":"公众号原始ID"},"wxMpLogo":{"type":"string","title":"公众号Logo"},"appId":{"type":"string","title":"AppID(公众号ID)"},"appSecret":{"type":"string","title":"AppSecret(公众号密钥)"}}}],"required":["appId","appSecret","wxMpLogo","wxMpName","wxMpOriginalId"],"title":"微信公众号配置"},"WxMpMessagePushConfigValue":{"allOf":[{"$ref":"#/components/schemas/SettingValue"},{"type":"object","properties":{"token":{"type":"string","title":"Token(令牌)"},"encodingAESKey":{"type":"string","title":"EncodingAESKey"},"msgEncryptMode":{"type":"string","title":"消息加密方式"},"dataFormat":{"type":"string","title":"数据格式"},"ipWhiteList":{"type":"string","title":"IP白名单"},"url":{"type":"string","title":"URL(服务器地址)"}}}],"required":["dataFormat","encodingAESKey","ipWhiteList","msgEncryptMode","token","url"],"title":"公众号消息推送配置"},"WxPayConfigValue":{"allOf":[{"$ref":"#/components/schemas/SettingValue"},{"type":"object","properties":{"appId":{"type":"string","title":"微信公众号或者小程序等的appid"},"mchId":{"type":"string","title":"微信支付商户号"},"mchKey":{"type":"string","title":"微信支付商户密钥"},"keyPath":{"type":"string","title":"apiclient_cert.p12文件的绝对路径"},"apiV3Key":{"type":"string","title":"apiV3 秘钥值"},"certSerialNo":{"type":"string","title":"apiV3 证书序列号值"},"privateCertString":{"type":"string","title":"apiclient_cert.pem证书文件"},"privateKeyString":{"type":"string","title":"apiclient_key.pem证书文件"},"publicKeyString":{"type":"string","title":"微信支付公钥,pub_key.pem证书文件"},"publicKeyId":{"type":"string","title":"微信支付公钥ID"},"notifyUrl":{"type":"string","title":"微信支付回调地址"}}}],"required":["apiV3Key","appId","certSerialNo","keyPath","mchId","mchKey","notifyUrl","privateCertString","privateKeyString","publicKeyId","publicKeyString"],"title":"微信支付配置"},"SettingVO":{"type":"object","properties":{"settingKey":{"type":"string","enum":["WX_MA_CONFIG","WX_MA_MESSAGE_PUSH_CONFIG","WX_MA_SUBSCRIBE_MESSAGE_CONFIG","WX_MA_CODE_UPLOAD_CONFIG","WX_PAY_CONFIG","TENCENT_MAP_CONFIG","SMS_CONFIG","VIRTUAL_PHONE_CONFIG","WX_MP_CONFIG","WX_MP_MESSAGE_PUSH_CONFIG","ALI_PAY_CONFIG","CHARGING_PILE_PURCHASE_CONFIG","CUSTOM_THEME_CONFIG","CUSTOM_MENU_CONFIG","WX_CP_NOTIFY_CONFIG"],"title":"系统设置项key"},"settingValue":{"oneOf":[{"$ref":"#/components/schemas/AliPayConfigValue"},{"$ref":"#/components/schemas/ChargingPilePurchaseConfig"},{"$ref":"#/components/schemas/CustomMenuConfigValue"},{"$ref":"#/components/schemas/CustomThemeConfigValue"},{"$ref":"#/components/schemas/TencentMapConfigValue"},{"$ref":"#/components/schemas/WxCpNotifyConfigValue"},{"$ref":"#/components/schemas/WxMaCodeUploadConfigValue"},{"$ref":"#/components/schemas/WxMaConfigValue"},{"$ref":"#/components/schemas/WxMaMessagePushConfigValue"},{"$ref":"#/components/schemas/WxMaSubscribeMessageConfigValue"},{"$ref":"#/components/schemas/WxMpConfigValue"},{"$ref":"#/components/schemas/WxMpMessagePushConfigValue"},{"$ref":"#/components/schemas/WxPayConfigValue"}],"title":"系统设置项内容"}},"required":["settingKey","settingValue"],"title":"系统设置"},"SingleResponseSettingVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/SettingVO"}}},"OrderDealer":{"type":"object","properties":{"orderDealerId":{"type":"string","title":"记录ID"},"orderId":{"type":"string","title":"采购订单ID"},"dealerId":{"type":"string","title":"经销商ID"},"shortName":{"type":"string","title":"经销商简称"},"dealerType":{"type":"string","enum":["MARKET","SUPERMARKET"],"title":"经销商类型:1_市场;2_超市;"},"enableShare":{"type":"boolean","title":"是否开启分成"},"shareRatio":{"type":"number","title":"分成比例"},"freightCostFlag":{"type":"boolean","title":"运费是否作为成本"},"strawMatCostFlag":{"type":"boolean","title":"草帘是否作为成本"},"includePackingFlag":{"type":"boolean","title":"发货单合计金额是否含包装费"},"enableAccrualTax":{"type":"boolean","title":"是否开启计提税金"},"accrualTaxRatio":{"type":"number","title":"计提税金比例"},"enableCompanyRebate":{"type":"boolean","title":"是否开启公司返点"},"companyRebateRatio":{"type":"number","title":"公司返点比例"},"documentTypes":{"type":"string","title":"单据类型:delivery-发货单, purchase-采购底单, cost-成本单"},"taxSubsidy":{"type":"number","title":"税费补贴"},"taxProvision":{"type":"number","title":"计提税金"},"costDifference":{"type":"number","title":"成本差异"},"profitSharing":{"type":"number","title":"利润分成"}},"required":["dealerId","dealerType","shortName"],"title":"采购订单经销商信息创建"},"OrderPackage":{"type":"object","properties":{"orderPackageId":{"type":"string","title":"记录ID"},"orderSupplierId":{"type":"string","title":"供应商记录ID"},"boxBrandId":{"type":"string","title":"箱子品牌ID"},"boxBrandName":{"type":"string","title":"箱子品牌名称"},"boxBrandImage":{"type":"string","title":"箱子品牌图片"},"boxBrandType":{"type":"string","enum":["OUR_BOX","FARMER_BOX","THIRD_PARTY_BOX","GIFT_BOX"],"title":"箱子品牌类型:1_我方纸箱;2_瓜农纸箱;3_第三方纸箱;4_礼盒;"},"boxSpecId":{"type":"string","title":"箱子规格ID"},"boxSpecName":{"type":"string","title":"箱子规格名称"},"boxProductId":{"type":"string","title":"箱子产品ID"},"boxProductName":{"type":"string","title":"箱子产品名称"},"boxProductWeight":{"type":"number","title":"单个箱子重量(kg)"},"boxCount":{"type":"integer","format":"int32","title":"箱子数量"},"boxCostPrice":{"type":"number","title":"成本单价(元/个)"},"boxSalePrice":{"type":"number","title":"销售单价(元/个)"},"boxType":{"type":"string","enum":["USED","EXTRA","EXTRA_USED","REMAIN","OWN"],"title":"箱子类型:1_本次使用;2_额外运输;3_已使用额外运输;4_车上剩余;"}},"required":["boxBrandId","boxBrandName","boxBrandType","boxCount","boxProductId","boxProductName","boxProductWeight","boxSpecId","boxSpecName","boxType"],"title":"采购订单包装箱信息创建"},"OrderSupplier":{"type":"object","properties":{"orderSupplierId":{"type":"string","title":"记录ID"},"orderId":{"type":"string","title":"订单ID"},"supplierId":{"type":"string","title":"供应商ID"},"name":{"type":"string","title":"供应商姓名"},"idCard":{"type":"string","title":"身份证号"},"bankCard":{"type":"string","title":"银行卡号"},"phone":{"type":"string","title":"手机号"},"wechatQr":{"type":"string","title":"微信二维码"},"isLast":{"type":"boolean","title":"是否最后一家"},"isPaper":{"type":"boolean","title":"空磅是否包含纸箱"},"emptyWeight":{"type":"number","title":"空车重量(kg)"},"totalWeight":{"type":"number","title":"总重量(kg)"},"grossWeight":{"type":"number","title":"毛重(kg)"},"netWeight":{"type":"number","title":"净重(kg)"},"purchasePrice":{"type":"number","title":"采购单价(元/斤)"},"salePrice":{"type":"number","title":"销售单价(元/斤)"},"invoiceAmount":{"type":"number","title":"发票金额"},"emptyWeightImg":{"type":"string","title":"空车照片"},"totalWeightImg":{"type":"string","title":"满载照片"},"invoiceUpload":{"type":"boolean","title":"是否上传票证"},"invoiceImg":{"type":"array","items":{"type":"string"},"title":"发票"},"contractUpload":{"type":"boolean","title":"是否上传合同"},"contractImg":{"type":"array","items":{"type":"string"},"title":"合同"},"productId":{"type":"string","title":"产品ID"},"productName":{"type":"string","title":"产品名称"},"orderPackageList":{"type":"array","items":{"$ref":"#/components/schemas/OrderPackage"},"title":"采购订单包装箱信息"}},"required":["bankCard","contractUpload","emptyWeight","grossWeight","idCard","invoiceAmount","invoiceUpload","isLast","isPaper","name","netWeight","orderSupplierId","phone","purchasePrice","salePrice","totalWeight"],"title":"采购订单供应商信息创建"},"OrderVehicle":{"type":"object","properties":{"vehicleId":{"type":"string","title":"记录ID"},"orderId":{"type":"string","title":"订单ID"},"vehicleNo":{"type":"string","title":"车货编码"},"plate":{"type":"string","title":"车牌号"},"driver":{"type":"string","title":"司机姓名"},"phone":{"type":"string","title":"司机电话"},"origin":{"type":"string","title":"出发地"},"destination":{"type":"string","title":"目的地"},"priceType":{"type":"string","enum":["MAIN_FREIGHT","SHORT_TRANSPORT"],"title":"运费类型:1-主运费;2-短驳费;"},"price":{"type":"number","title":"运输价格"},"dealerId":{"type":"string","title":"经销商ID"},"dealerName":{"type":"string","title":"经销商名称"},"openStrawCurtain":{"type":"boolean","title":"是否开启草帘"},"strawCurtainPrice":{"type":"number","title":"草帘费用"},"deliveryTime":{"type":"string","format":"date","title":"采购日期"}},"required":["dealerName","deliveryTime","destination","driver","openStrawCurtain","origin","phone","plate","price"],"title":"采购订单车辆运输信息创建"},"PurchaseOrderUpdateCmd":{"type":"object","properties":{"orderId":{"type":"string","title":"采购订单ID"},"active":{"type":"integer","format":"int32","title":"步骤标识"},"originPrincipal":{"type":"string","title":"产地负责人"},"remark":{"type":"string","title":"备注"},"orderVehicle":{"$ref":"#/components/schemas/OrderVehicle","title":"车辆信息"},"orderDealer":{"$ref":"#/components/schemas/OrderDealer","title":"经销商信息"},"orderSupplierList":{"type":"array","items":{"$ref":"#/components/schemas/OrderSupplier"},"title":"供应商信息"},"orderCostList":{"type":"array","items":{"$ref":"#/components/schemas/OrderCost"},"title":"采购订单费用信息"}},"required":["orderCostList","orderDealer","orderId","orderSupplierList","orderVehicle"],"title":"采购订单更新"},"OrderCompany":{"type":"object","properties":{"orderCompanyId":{"type":"string","title":"记录ID"},"orderId":{"type":"string","title":"订单ID"},"companyId":{"type":"string","title":"公司ID"},"shortName":{"type":"string","title":"公司简称"},"fullName":{"type":"string","title":"公司全称"},"taxNumber":{"type":"string","title":"税号"},"contactPerson":{"type":"string","title":"联系人"},"contactPhone":{"type":"string","title":"联系电话"},"address":{"type":"string","title":"发货地址"},"accountId":{"type":"string","title":"账户ID"},"bankName":{"type":"string","title":"银行名称"},"branchName":{"type":"string","title":"支行名称"},"accountName":{"type":"string","title":"账户名称"},"accountNumber":{"type":"string","title":"银行账号"}},"required":["address","companyId","contactPerson","contactPhone","fullName","orderCompanyId","orderId","shortName","taxNumber"],"title":"采购订单公司信息创建"},"OrderRebate":{"type":"object","properties":{"orderRebateId":{"type":"string","title":"记录ID"},"orderId":{"type":"string","title":"订单ID"},"customerId":{"type":"string","title":"客户ID"},"dealerId":{"type":"string","title":"经销商ID"},"name":{"type":"string","title":"客户名称"},"calcMethod":{"type":"string","enum":["NET_WEIGHT","FIXED_AMOUNT"],"title":"返点计算方式:1_按净重计算;2_固定金额;"},"netWeight":{"type":"number","title":"返点净重"},"unitPrice":{"type":"number","title":"返点单价"},"amount":{"type":"number","title":"返点金额"}}},"PurchaseOrderVO":{"type":"object","properties":{"orderId":{"type":"string","title":"订单ID"},"orderSn":{"type":"string","title":"订单编号"},"draft":{"type":"boolean","title":"是否是草稿"},"active":{"type":"integer","format":"int32","title":"步骤标识"},"originPrincipal":{"type":"string","title":"产地负责人"},"pricingMethod":{"type":"string","enum":["BY_GROSS_WEIGHT","BY_NET_WEIGHT"],"title":"报价方式:1_按毛重报价;2_按净重报价;"},"saleAmount":{"type":"number","title":"销售金额"},"packageFee":{"type":"number","title":"包装费"},"avgUnitPrice":{"type":"number","title":"平均单价(元/斤)"},"rebate":{"type":"boolean","title":"是否返点"},"grossWeight":{"type":"number","title":"毛重(斤)"},"netWeight":{"type":"number","title":"净重(斤)"},"totalCost":{"type":"number","title":"成本合计"},"freightCharge":{"type":"number","title":"运费"},"supplierCount":{"type":"integer","format":"int32","title":"瓜农数量"},"state":{"type":"string","enum":["DRAFT","WAITING_AUDIT","WAITING_BOSS_APPROVE","SHIPPING","PAID","COMPLETED"],"title":"订单状态: 0-草稿, 1-待审核, 2-待老板审核, 3-已发货(待付款), 4-已付款, 5-已完结"},"remark":{"type":"string","title":"备注"},"createdBy":{"type":"string","title":"创建人ID"},"createdByName":{"type":"string","title":"创建人姓名"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"},"orderRebate":{"$ref":"#/components/schemas/OrderRebate","title":"返点信息"},"orderVehicle":{"$ref":"#/components/schemas/OrderVehicle","title":"车辆信息"},"orderCompany":{"$ref":"#/components/schemas/OrderCompany","title":"公司信息"},"orderDealer":{"$ref":"#/components/schemas/OrderDealer","title":"经销商信息"},"orderSupplierList":{"type":"array","items":{"$ref":"#/components/schemas/OrderSupplier"},"title":"供应商信息"},"orderCostList":{"type":"array","items":{"$ref":"#/components/schemas/OrderCost"},"title":"采购订单费用信息"}},"required":["createdBy","draft","orderCompany","orderCostList","orderDealer","orderId","orderRebate","orderSn","orderSupplierList","orderVehicle"],"title":"采购订单"},"SingleResponsePurchaseOrderVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/PurchaseOrderVO"}}},"ProductUpdateCmd":{"type":"object","properties":{"productId":{"type":"string","title":"产品表ID"},"name":{"type":"string","title":"产品名称"},"costItemIds":{"type":"array","items":{"type":"integer","format":"int64"},"title":"关联成本费用id"},"remark":{"type":"string","title":"备注"},"sort":{"type":"number","title":"排序号"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"}},"required":["name","productId","sort","status"],"title":"产品表更新"},"CostItemVO":{"type":"object","properties":{"itemId":{"type":"string","title":"项目ID"},"costType":{"type":"string","enum":["PACKAGING_MATERIALS","HUMAN_COST","OTHER_COST","FIXED_COST","WORKER_ADVANCE","PRODUCTION_ADVANCE"],"title":"费用类型:1_包装材料;2_人工费用;3_其他费用;4_固定费用;5_工头垫付;6_产地垫付"},"name":{"type":"string","title":"项目名称"},"unit":{"type":"string","title":"单位"},"price":{"type":"number","title":"单价"},"showInEntry":{"type":"boolean","title":"是否在录入时显示"},"requireQuantityAndPrice":{"type":"boolean","title":"是否需要填写数量和单价"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"}},"required":["costType","itemId","name","price","requireQuantityAndPrice","showInEntry","status","unit"],"title":"费用项目"},"ProductVO":{"type":"object","properties":{"productId":{"type":"string","title":"产品ID"},"name":{"type":"string","title":"产品名称"},"costItemIds":{"type":"array","items":{"type":"integer","format":"int64"},"title":"关联成本费用id"},"remark":{"type":"string","title":"备注"},"sort":{"type":"number","title":"排序号"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用"},"costItemVOList":{"type":"array","items":{"$ref":"#/components/schemas/CostItemVO"},"title":"成本费用"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"}},"required":["name","productId","sort","status"],"title":"产品表"},"SingleResponseProductVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/ProductVO"}}},"PlatformUpdateCmd":{"type":"object","properties":{"platformName":{"type":"string","title":"平台名称"},"homePage":{"type":"string","title":"首页"},"platformId":{"type":"string","title":"平台ID"}},"required":["homePage","platformId","platformName"],"title":"平台更新"},"PlatformVO":{"type":"object","properties":{"platformId":{"type":"string","title":"平台id"},"platformName":{"type":"string","title":"平台名称"},"homePage":{"type":"string","title":"应用首页"}},"required":["homePage","platformId","platformName"],"title":"平台"},"SingleResponsePlatformVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/PlatformVO"}}},"MenuUpdateCmd":{"type":"object","properties":{"path":{"type":"string","title":"路径"},"component":{"type":"string","title":"组件"},"name":{"type":"string","title":"菜单名称"},"pid":{"type":"string","title":"上级菜单Id"},"type":{"type":"string","title":"菜单类型"},"platformId":{"type":"string","title":"平台id"},"roleId":{"type":"array","items":{"type":"integer","format":"int64"},"title":"角色Id"},"hideInMenu":{"type":"boolean","title":"是否隐藏"},"permissionId":{"type":"integer","format":"int64","title":"权限Id"},"menuId":{"type":"string","title":"菜单Id"}},"required":["component","menuId","name","path","platformId","type"],"title":"更新菜单"},"MenuVO":{"type":"object","properties":{"menuId":{"type":"string","title":"菜单id"},"path":{"type":"string","title":"菜单路径"},"component":{"type":"string","title":"组件"},"name":{"type":"string","title":"菜单名称"},"pid":{"type":"string","title":"父菜单id"},"sort":{"type":"string","title":"排序"},"type":{"type":"string","enum":["MENU","PAGE","BUTTON"],"title":"菜单类型"},"platformId":{"type":"string","title":"平台id"},"hideInMenu":{"type":"boolean","title":"是否隐藏"},"routes":{"type":"array","items":{"required":["component","hideInMenu","menuId","name","path","pid","platformId","sort","type"],"title":"菜单"},"title":"子菜单"},"permissionId":{"type":"integer","format":"int64","title":"权限id"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"}},"required":["component","hideInMenu","menuId","name","path","permissionId","pid","platformId","sort","type"],"title":"菜单"},"SingleResponseMenuVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/MenuVO"}}},"MaterialUpdateCmd":{"type":"object","properties":{"name":{"type":"string","title":"素材内容标题"},"categoryId":{"type":"string","title":"分类ID"},"path":{"type":"string","title":"素材内容路劲"},"type":{"type":"string","enum":["FILE_IMAGE","FILE_VIDEO","PRODUCT","CUSTOMER_INTENTION","COURSE","ROOM","SPEECH"],"title":"素材类型"},"materialId":{"type":"string","title":"素材内容ID"}},"title":"更新素材内容"},"CategoryVO":{"type":"object","properties":{"type":{"type":"string","enum":["FILE_IMAGE","FILE_VIDEO","PRODUCT","CUSTOMER_INTENTION","COURSE","ROOM","SPEECH"],"example":"视频","title":"分类类型"},"categoryId":{"type":"string","title":"分类"},"name":{"type":"string","example":"名称","title":"分类名称"},"pid":{"type":"string","example":"名称","title":"上级分类id"},"sort":{"type":"string","example":"名称","title":"排序号"},"children":{"type":"array","items":{"required":["categoryId","name"],"title":"分类响应"},"title":"下级分类"},"count":{"type":"integer","format":"int32","title":"分类关联数量"}},"required":["categoryId","count","name"],"title":"分类响应"},"MaterialVO":{"type":"object","properties":{"materialId":{"type":"string","title":"素材内容ID"},"name":{"type":"string","title":"素材内容标题"},"path":{"type":"string","title":"素材内容路劲"},"url":{"type":"string","title":"素材内容地址"},"categoryId":{"type":"string","title":"上级分类id"},"type":{"type":"string","enum":["FILE_IMAGE","FILE_VIDEO","PRODUCT","CUSTOMER_INTENTION","COURSE","ROOM","SPEECH"],"title":"素材类型"},"categoryVO":{"$ref":"#/components/schemas/CategoryVO","title":"分类内容"}},"required":["categoryId","materialId","name","path","type","url"],"title":"素材内容"},"SingleResponseMaterialVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/MaterialVO"}}},"CategoryUpdateCmd":{"type":"object","properties":{"type":{"type":"string","enum":["FILE_IMAGE","FILE_VIDEO","PRODUCT","CUSTOMER_INTENTION","COURSE","ROOM","SPEECH"],"example":"视频","title":"分类类型"},"name":{"type":"string","example":"名称","title":"分类名称"},"pid":{"type":"string","example":"名称","title":"上级分类id"},"sort":{"type":"integer","format":"int32","example":"排序","title":"排序"},"categoryId":{"type":"string","title":"分类Id"}},"required":["categoryId"],"title":"分类"},"SingleResponseCategoryVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/CategoryVO"}}},"GiftBoxUpdateCmd":{"type":"object","properties":{"boxId":{"type":"string","title":"礼盒ID"},"name":{"type":"string","title":"礼盒名称"},"costPrice":{"type":"number","title":"成本价"},"weight":{"type":"number","title":"重量(kg)"},"salePrice":{"type":"number","title":"售价"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"}},"required":["boxId","costPrice","name","salePrice","status","weight"],"title":"礼盒更新"},"GiftBoxVO":{"type":"object","properties":{"boxId":{"type":"string","title":"礼盒ID"},"name":{"type":"string","title":"礼盒名称"},"costPrice":{"type":"number","title":"成本价"},"weight":{"type":"number","title":"重量(kg)"},"salePrice":{"type":"number","title":"售价"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"}},"required":["boxId","costPrice","name","salePrice","status","weight"],"title":"礼盒"},"SingleResponseGiftBoxVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/GiftBoxVO"}}},"EmployeeUpdateCmd":{"type":"object","properties":{"employeeId":{"type":"string","title":"员工信息ID"},"name":{"type":"string","minLength":1,"title":"姓名"},"number":{"type":"string","minLength":1,"title":"工号"},"gender":{"type":"integer","format":"int32","title":"性别"},"avatar":{"type":"string","title":"头像"},"phone":{"type":"string","minLength":1,"pattern":"^(1[3-9])\\d{9}$","title":"手机号"},"remark":{"type":"string","maxLength":200,"minLength":0,"title":"备注"}},"required":["employeeId","gender","name","number","phone"],"title":"员工信息更新"},"EmployeeVO":{"type":"object","properties":{"employeeId":{"type":"string","title":"员工信息"},"name":{"type":"string","title":"姓名"},"number":{"type":"string","title":"工号"},"avatar":{"type":"string","title":"头像"},"gender":{"type":"integer","format":"int32","title":"性别"},"phone":{"type":"string","title":"手机号"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"},"userId":{"type":"string","title":"用户ID"},"roleIdList":{"type":"array","items":{"type":"integer","format":"int64"},"title":"角色ID"},"userRoleList":{"type":"array","items":{"$ref":"#/components/schemas/UserRoleVO"},"title":"角色信息"}},"required":["employeeId","gender","name","number","phone","roleIdList","userId"],"title":"员工信息"},"SingleResponseEmployeeVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/EmployeeVO"}}},"UserRoleVO":{"type":"object","properties":{"name":{"type":"string","title":"角色名称"},"slug":{"type":"string","title":"角色标识"},"roleId":{"type":"string","title":"角色ID"},"userId":{"type":"string","title":"用户ID"},"description":{"type":"string","title":"描述"}},"required":["description","name","roleId","slug","userId"],"title":"用户角色"},"DictionaryUpdateCmd":{"type":"object","properties":{"id":{"type":"integer","format":"int32","title":"自增id"},"code":{"type":"string","title":"代码"},"name":{"type":"string","title":"字典名称"},"parentId":{"type":"string","title":"上级id"},"sortNo":{"type":"integer","format":"int32","title":"排序号"},"type":{"type":"string","title":"类型"},"dictionaryId":{"type":"string","title":"字典ID"}},"required":["dictionaryId"],"title":"字典更新"},"DictionaryVO":{"type":"object","properties":{"dictionaryId":{"type":"integer","format":"int32","title":"自增id"},"code":{"type":"string","title":"代码"},"name":{"type":"string","title":"字典名称"},"parentId":{"type":"string","title":"上级id"},"sortNo":{"type":"integer","format":"int32","title":"排序号"},"type":{"type":"string","title":"类型"}},"title":"字典"},"SingleResponseDictionaryVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/DictionaryVO"}}},"DealerUpdateCmd":{"type":"object","properties":{"dealerId":{"type":"string","title":"经销商表ID"},"shortName":{"type":"string","title":"经销商简称"},"fullName":{"type":"string","title":"经销商全称"},"dealerType":{"type":"string","enum":["MARKET","SUPERMARKET"],"title":"经销商类型:1_市场;2_超市;"},"enableShare":{"type":"boolean","title":"是否开启分成"},"shareRatio":{"type":"number","title":"分成比例"},"freightCostFlag":{"type":"boolean","title":"运费是否作为成本"},"strawMatCostFlag":{"type":"boolean","title":"草帘是否作为成本"},"includePackingFlag":{"type":"boolean","title":"发货单合计金额是否含包装费"},"documentTypes":{"type":"string","title":"单据类型:delivery-发货单, purchase-采购底单, cost-成本单"},"receivable":{"type":"number","title":"应收金额"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"enableAccrualTax":{"type":"boolean","title":"是否开启计提税金"},"accrualTaxRatio":{"type":"number","title":"计提税金比例"},"enableCompanyRebate":{"type":"boolean","title":"是否开启公司返点"},"companyRebateRatio":{"type":"number","title":"公司返点比例"},"deliveryTemplate":{"type":"string","title":"发货单模板"}},"required":["dealerId","dealerType","shortName","status"],"title":"经销商表更新"},"DealerPaymentAccountVO":{"type":"object","properties":{"accountId":{"type":"string","title":"账户ID"},"dealerId":{"type":"string","title":"经销商ID"},"companyName":{"type":"string","title":"公司名称"},"taxNumber":{"type":"string","title":"税号"},"bankAccount":{"type":"string","title":"银行账号"},"companyAddress":{"type":"string","title":"单位地址"},"phone":{"type":"string","title":"电话"},"openingBank":{"type":"string","title":"开户行"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"},"dealerVO":{"required":["dealerId","dealerType","shortName","status"],"title":"经销商信息"}},"required":["accountId","bankAccount","companyName","dealerId","taxNumber"],"title":"经销商付款账户"},"DealerVO":{"type":"object","properties":{"dealerId":{"type":"string","title":"经销商ID"},"shortName":{"type":"string","title":"经销商简称"},"fullName":{"type":"string","title":"经销商全称"},"dealerType":{"type":"string","enum":["MARKET","SUPERMARKET"],"title":"经销商类型:1_市场;2_超市;"},"enableShare":{"type":"boolean","title":"是否开启分成"},"shareRatio":{"type":"number","title":"分成比例"},"freightCostFlag":{"type":"boolean","title":"运费是否作为成本"},"strawMatCostFlag":{"type":"boolean","title":"草帘是否作为成本"},"includePackingFlag":{"type":"boolean","title":"发货单合计金额是否含包装费"},"documentTypes":{"type":"string","title":"单据类型:delivery-发货单, purchase-采购底单, cost-成本单"},"receivable":{"type":"number","title":"应收金额"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"deliveryTemplate":{"type":"string","title":"发货单模板"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"},"dealerPaymentAccountVOList":{"type":"array","items":{"$ref":"#/components/schemas/DealerPaymentAccountVO"},"title":"经销商账户列表"},"enableAccrualTax":{"type":"boolean","title":"是否开启计提税金"},"accrualTaxRatio":{"type":"number","title":"计提税金比例"},"enableCompanyRebate":{"type":"boolean","title":"是否开启公司返点"},"companyRebateRatio":{"type":"number","title":"公司返点比例"}},"required":["dealerId","dealerType","shortName","status"],"title":"经销商表"},"SingleResponseDealerVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/DealerVO"}}},"DealerWarehouseUpdateCmd":{"type":"object","properties":{"warehouseId":{"type":"string","title":"经销商仓库ID"},"dealerId":{"type":"string","title":"经销商ID"},"accountId":{"type":"string","title":"经销商账户ID"},"name":{"type":"string","title":"仓库名称"},"address":{"type":"string","title":"仓库地址"},"contactPerson":{"type":"string","title":"联系人"},"contactPhone":{"type":"string","title":"联系电话"},"receiverName":{"type":"string","title":"收货人姓名"},"receiverPhone":{"type":"string","title":"收货人电话"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"remark":{"type":"string","title":"备注"}},"required":["accountId","address","dealerId","name","status","warehouseId"],"title":"经销商仓库更新"},"DealerWarehouseVO":{"type":"object","properties":{"warehouseId":{"type":"string","title":"仓库ID"},"dealerId":{"type":"string","title":"经销商ID"},"accountId":{"type":"string","title":"经销商账户ID"},"name":{"type":"string","title":"仓库名称"},"address":{"type":"string","title":"仓库地址"},"contactPerson":{"type":"string","title":"联系人"},"contactPhone":{"type":"string","title":"联系电话"},"receiverName":{"type":"string","title":"收货人姓名"},"receiverPhone":{"type":"string","title":"收货人电话"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"remark":{"type":"string","title":"备注"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"},"dealerVO":{"$ref":"#/components/schemas/DealerVO","title":"经销商信息"},"dealerPaymentAccountVO":{"$ref":"#/components/schemas/DealerPaymentAccountVO","title":"经销商账户信息"}},"required":["accountId","address","dealerId","name","status","warehouseId"],"title":"经销商仓库"},"SingleResponseDealerWarehouseVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/DealerWarehouseVO"}}},"DealerRebateCustomerUpdateCmd":{"type":"object","properties":{"customerId":{"type":"string","title":"经销商返点客户ID"},"dealerId":{"type":"string","title":"经销商ID"},"name":{"type":"string","title":"客户名称"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"remark":{"type":"string","title":"备注"},"calcMethod":{"type":"string","enum":["NET_WEIGHT","FIXED_AMOUNT","NOT_FIXED"],"title":"返点计算方式:1_按净重计算;2_固定金额;3_不固定"},"unitPrice":{"type":"number","title":"返点单价"},"amount":{"type":"number","title":"返点金额"}},"required":["customerId","dealerId","name","status"],"title":"经销商返点客户更新"},"DealerRebateCustomerVO":{"type":"object","properties":{"customerId":{"type":"string","title":"客户ID"},"dealerId":{"type":"string","title":"经销商ID"},"name":{"type":"string","title":"客户名称"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"remark":{"type":"string","title":"备注"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"},"dealerVO":{"$ref":"#/components/schemas/DealerVO","title":"经销商信息"},"calcMethod":{"type":"string","enum":["NET_WEIGHT","FIXED_AMOUNT","NOT_FIXED"],"title":"返点计算方式:1_按净重计算;2_固定金额;3_不固定"},"unitPrice":{"type":"number","title":"返点单价"},"amount":{"type":"number","title":"返点金额"}},"required":["customerId","dealerId","name","status"],"title":"经销商返点客户"},"SingleResponseDealerRebateCustomerVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/DealerRebateCustomerVO"}}},"DealerPaymentAccountUpdateCmd":{"type":"object","properties":{"accountId":{"type":"string","title":"经销商付款账户ID"},"dealerId":{"type":"string","title":"经销商ID"},"companyName":{"type":"string","title":"公司名称"},"taxNumber":{"type":"string","title":"税号"},"bankAccount":{"type":"string","title":"银行账号"},"companyAddress":{"type":"string","title":"单位地址"},"phone":{"type":"string","title":"电话"},"openingBank":{"type":"string","title":"开户行"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"}},"required":["accountId","bankAccount","companyName","dealerId","taxNumber"],"title":"经销商付款账户更新"},"SingleResponseDealerPaymentAccountVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/DealerPaymentAccountVO"}}},"CostItemUpdateCmd":{"type":"object","properties":{"itemId":{"type":"string","title":"费用项目ID"},"costType":{"type":"string","enum":["PACKAGING_MATERIALS","HUMAN_COST","OTHER_COST","FIXED_COST","WORKER_ADVANCE","PRODUCTION_ADVANCE"],"title":"费用类型:1_包装材料;2_人工费用;3_其他费用;4_固定费用;5_工头垫付;6_产地垫付"},"name":{"type":"string","title":"项目名称"},"unit":{"type":"string","title":"单位"},"price":{"type":"number","title":"单价"},"showInEntry":{"type":"boolean","title":"是否在录入时显示"},"requireQuantityAndPrice":{"type":"boolean","title":"是否需要填写数量和单价"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用"}},"required":["costType","itemId","name","price","requireQuantityAndPrice","showInEntry","status","unit"],"title":"费用项目更新"},"SingleResponseCostItemVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/CostItemVO"}}},"CompanyUpdateCmd":{"type":"object","properties":{"companyId":{"type":"string","title":"公司管理ID"},"logo":{"type":"string","title":"公司logo"},"shortName":{"type":"string","title":"公司简称"},"fullName":{"type":"string","title":"公司全称"},"taxNumber":{"type":"string","title":"税号"},"contactPerson":{"type":"string","title":"联系人"},"contactPhone":{"type":"string","title":"联系电话"},"address":{"type":"string","title":"发货地址"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"}},"required":["address","companyId","contactPerson","contactPhone","fullName","shortName","status","taxNumber"],"title":"公司管理更新"},"CompanyVO":{"type":"object","properties":{"companyId":{"type":"string","title":"公司ID"},"logo":{"type":"string","title":"公司logo"},"shortName":{"type":"string","title":"公司简称"},"fullName":{"type":"string","title":"公司全称"},"taxNumber":{"type":"string","title":"税号"},"contactPerson":{"type":"string","title":"联系人"},"contactPhone":{"type":"string","title":"联系电话"},"address":{"type":"string","title":"发货地址"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"}},"required":["address","companyId","contactPerson","contactPhone","fullName","logo","shortName","status","taxNumber"],"title":"公司管理"},"SingleResponseCompanyVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/CompanyVO"}}},"CompanyPaymentAccountUpdateCmd":{"type":"object","properties":{"accountId":{"type":"string","title":"公司付款账户ID"},"companyId":{"type":"string","title":"公司ID"},"accountCategory":{"type":"string","enum":["COMPANY_ACCOUNT","PRIVATE_ACCOUNT"],"title":"账户类别:1_对公账户;2_私人账户"},"accountType":{"type":"string","enum":["BANK_CARD","ALIPAY","WECHAT"],"title":"账户类型:1_银行卡;2_支付宝;3_微信"},"bankName":{"type":"string","title":"银行名称"},"branchName":{"type":"string","title":"支行名称"},"publicAccountType":{"type":"string","enum":["BASIC_ACCOUNT","GENERAL_ACCOUNT","SPECIAL_ACCOUNT","TEMPORARY_ACCOUNT"],"title":"对公账户类型:1_基本户;2_一般户;3_专用账户;4_临时户"},"accountName":{"type":"string","title":"开户公司名称、支付宝昵称、微信号"},"accountNumber":{"type":"string","title":"银行账号、支付宝账号、微信账号"},"isPrimary":{"type":"boolean","title":"是否主付款账户:0_否;1_是"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;2_禁用;"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"}},"required":["accountCategory","accountId","accountName","accountNumber","accountType","companyId","isPrimary","status"],"title":"公司付款账户更新"},"CompanyPaymentAccountVO":{"type":"object","properties":{"accountId":{"type":"string","title":"账户ID"},"companyId":{"type":"string","title":"公司ID"},"accountCategory":{"type":"string","enum":["COMPANY_ACCOUNT","PRIVATE_ACCOUNT"],"title":"账户类别:1_对公账户;2_私人账户"},"accountType":{"type":"string","enum":["BANK_CARD","ALIPAY","WECHAT"],"title":"账户类型:1_银行卡;2_支付宝;3_微信"},"bankName":{"type":"string","title":"银行名称"},"branchName":{"type":"string","title":"支行名称"},"publicAccountType":{"type":"string","enum":["BASIC_ACCOUNT","GENERAL_ACCOUNT","SPECIAL_ACCOUNT","TEMPORARY_ACCOUNT"],"title":"对公账户类型:1_基本户;2_一般户;3_专用账户;4_临时户"},"accountName":{"type":"string","title":"开户公司名称、支付宝昵称、微信号"},"accountNumber":{"type":"string","title":"银行账号、支付宝账号、微信账号"},"isPrimary":{"type":"boolean","title":"是否主付款账户:0_否;1_是"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;2_禁用;"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"},"companyVO":{"$ref":"#/components/schemas/CompanyVO","title":"公司信息"}},"required":["accountCategory","accountId","accountName","accountNumber","accountType","companyId","isPrimary","status"],"title":"公司付款账户"},"SingleResponseCompanyPaymentAccountVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/CompanyPaymentAccountVO"}}},"ChannelUpdateCmd":{"type":"object","properties":{"domain":{"type":"string","title":"域名"},"logo":{"type":"string","title":"Logo"},"title":{"type":"string","title":"标题"},"subTitle":{"type":"string","title":"副标题"},"backgroundImageUrl":{"type":"string","title":"背景图片"},"technicalSupport":{"type":"string","title":"技术支持"},"channelId":{"type":"string","title":"渠道ID"}},"required":["channelId"],"title":"渠道更新"},"ChannelVO":{"type":"object","properties":{"channelId":{"type":"string","title":"渠道ID"},"domain":{"type":"string","title":"域名"},"logo":{"type":"string","title":"Logo"},"title":{"type":"string","title":"标题"},"subTitle":{"type":"string","title":"副标题"},"backgroundImageUrl":{"type":"string","title":"背景图片"},"technicalSupport":{"type":"string","title":"技术支持"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"},"wxMpId":{"type":"string","title":"微信公众号Id"},"wxOpenId":{"type":"string","title":"第三方应用Id"}},"required":["channelId"],"title":"渠道"},"SingleResponseChannelVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/ChannelVO"}}},"BoxSpecUpdateCmd":{"type":"object","properties":{"specId":{"type":"string","title":"纸箱规格ID"},"name":{"type":"string","title":"规格名称"},"sort":{"type":"number","title":"排序号"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用"}},"required":["name","sort","specId","status"],"title":"纸箱规格更新"},"BoxSpecVO":{"type":"object","properties":{"specId":{"type":"string","title":"规格ID"},"name":{"type":"string","title":"规格名称"},"sort":{"type":"number","title":"排序号"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"}},"required":["name","sort","specId","status"],"title":"纸箱规格"},"SingleResponseBoxSpecVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/BoxSpecVO"}}},"BoxProductUpdateCmd":{"type":"object","properties":{"productId":{"type":"string","title":"纸箱产品ID"},"name":{"type":"string","title":"纸箱名称"},"weight":{"type":"number","title":"重量(kg)"},"costPrice":{"type":"number","title":"成本价"},"salePrice":{"type":"number","title":"销售价"},"specId":{"type":"string","title":"规格ID"},"specName":{"type":"string","title":"规格名称"},"brandId":{"type":"string","title":"品牌ID"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用"},"type":{"type":"string","enum":["OUR_BOX","FARMER_BOX","THIRD_PARTY_BOX","GIFT_BOX"],"title":"品牌类型:1_我方纸箱;2_瓜农纸箱;3_第三方纸箱;4_礼盒;"}},"required":["brandId","name","productId","status","type"],"title":"纸箱产品更新"},"BoxProductVO":{"type":"object","properties":{"productId":{"type":"string","title":"产品ID"},"name":{"type":"string","title":"纸箱名称"},"weight":{"type":"number","title":"重量(kg)"},"costPrice":{"type":"number","title":"成本价"},"salePrice":{"type":"number","title":"销售价"},"specId":{"type":"string","title":"规格ID"},"specName":{"type":"string","title":"规格名称"},"brandId":{"type":"string","title":"品牌ID"},"type":{"type":"string","enum":["OUR_BOX","FARMER_BOX","THIRD_PARTY_BOX","GIFT_BOX"],"title":"品牌类型:1_我方纸箱;2_瓜农纸箱;3_第三方纸箱;4_礼盒;"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"}},"required":["brandId","costPrice","name","productId","salePrice","specId","specName","status","type","weight"],"title":"纸箱产品"},"SingleResponseBoxProductVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/BoxProductVO"}}},"BoxBrandUpdateCmd":{"type":"object","properties":{"brandId":{"type":"string","title":"纸箱品牌ID"},"name":{"type":"string","title":"品牌名称"},"image":{"type":"string","title":"品牌图片URL"},"specIds":{"type":"array","items":{"type":"integer","format":"int64"},"title":"纸箱规格ID"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用"},"type":{"type":"string","enum":["OUR_BOX","FARMER_BOX","THIRD_PARTY_BOX","GIFT_BOX"],"title":"品牌类型:1_我方纸箱;2_瓜农纸箱;3_第三方纸箱;4_礼盒;"}},"required":["brandId","name","status","type"],"title":"纸箱品牌更新"},"BoxBrandVO":{"type":"object","properties":{"brandId":{"type":"string","title":"品牌ID"},"name":{"type":"string","title":"品牌名称"},"image":{"type":"string","title":"品牌图片URL"},"specIds":{"type":"array","items":{"type":"integer","format":"int64"},"title":"纸箱规格ID"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用"},"type":{"type":"string","enum":["OUR_BOX","FARMER_BOX","THIRD_PARTY_BOX","GIFT_BOX"],"title":"品牌类型:1_我方纸箱;2_瓜农纸箱;3_第三方纸箱;4_礼盒;"},"boxProductVOList":{"type":"array","items":{"$ref":"#/components/schemas/BoxProductVO"},"title":"纸箱产品列表"},"boxSpecVOList":{"type":"array","items":{"$ref":"#/components/schemas/BoxSpecVO"},"title":"纸箱规格列表"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"}},"required":["brandId","name","status","type"],"title":"纸箱品牌"},"SingleResponseBoxBrandVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/BoxBrandVO"}}},"AgreementUpdateCmd":{"type":"object","properties":{"agreementId":{"type":"string","title":"协议ID"},"scene":{"type":"array","items":{"type":"string","enum":["STAKEHOLDER_SETUP","CUSTOMER_SETUP","PERSONAL_CENTER"]},"title":"使用场景"},"title":{"type":"string","title":"协议标题"},"subTitle":{"type":"string","title":"副标题"},"content":{"type":"string","title":"协议内容"}},"required":["agreementId"],"title":"协议更新"},"AgreementVO":{"type":"object","properties":{"agreementId":{"type":"string","title":"协议id"},"scene":{"type":"array","items":{"type":"string","enum":["STAKEHOLDER_SETUP","CUSTOMER_SETUP","PERSONAL_CENTER"]},"title":"使用场景"},"title":{"type":"string","title":"协议标题"},"subTitle":{"type":"string","title":"副标题"},"content":{"type":"string","title":"协议内容"}},"required":["agreementId"],"title":"协议"},"SingleResponseAgreementVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/AgreementVO"}}},"ShipOrderGenerateDocumentCmd":{"type":"object","properties":{"shipOrderId":{"type":"string","title":"发货单ID"},"estimatedArrivalDate":{"type":"string","format":"date","title":"预计到仓时间"},"watermelonGrade":{"type":"string","title":"西瓜品级"},"shippingAddress":{"type":"string","title":"发货地址"},"remark":{"type":"string","title":"备注"},"shipOrderItemList":{"type":"array","items":{"$ref":"#/components/schemas/ShipOrderItem"},"title":"发货单明细"},"shipDocument":{"type":"string","title":"发货单据"},"purchaseDocument":{"type":"string","title":"采购底单"},"costDocument":{"type":"string","title":"成本单据"}},"required":["shipOrderId"],"title":"发货单生成单据"},"ProductDragCmd":{"type":"object","properties":{"prevId":{"type":"integer","format":"int64","title":"相邻元素前"},"nextId":{"type":"integer","format":"int64","title":"相邻元素后"},"currentId":{"type":"integer","format":"int64","title":"当前元素"}},"title":"产品拖拽"},"DealerDragCmd":{"type":"object","properties":{"prevId":{"type":"integer","format":"int64","title":"相邻元素前"},"nextId":{"type":"integer","format":"int64","title":"相邻元素后"},"currentId":{"type":"integer","format":"int64","title":"当前元素"}},"title":"经销商拖拽"},"CostItemDragCmd":{"type":"object","properties":{"prevId":{"type":"integer","format":"int64","title":"相邻元素前"},"nextId":{"type":"integer","format":"int64","title":"相邻元素后"},"currentId":{"type":"integer","format":"int64","title":"当前元素"}},"title":"费用项目拖拽"},"BoxProductDragCmd":{"type":"object","properties":{"prevId":{"type":"integer","format":"int64","title":"相邻元素前"},"nextId":{"type":"integer","format":"int64","title":"相邻元素后"},"currentId":{"type":"integer","format":"int64","title":"当前元素"}},"title":"纸箱产品拖拽"},"BoxBrandDragCmd":{"type":"object","properties":{"prevId":{"type":"integer","format":"int64","title":"相邻元素前"},"nextId":{"type":"integer","format":"int64","title":"相邻元素后"},"currentId":{"type":"integer","format":"int64","title":"当前元素"}},"title":"纸箱品牌拖拽"},"PurchaseOrderWithdrawReviewCmd":{"type":"object","properties":{"orderId":{"type":"string","title":"采购订单ID"}},"required":["orderId"],"title":"采购订单撤回提审(录入员撤回提审)"},"RoleUpdateCmd":{"type":"object","properties":{"platformId":{"type":"string","title":"平台id"},"slug":{"type":"string","title":"角色标识"},"name":{"type":"string","title":"角色名称"},"type":{"type":"string","title":"角色类型"},"description":{"type":"string","title":"角色详情"},"menuId":{"type":"array","items":{"type":"integer","format":"int64"},"title":"角色id"},"roleId":{"type":"string","title":"角色ID"}},"required":["menuId","name","platformId","roleId","slug","type"],"title":"角色新增"},"RoleVO":{"type":"object","properties":{"roleId":{"type":"string","title":"角色id"},"slug":{"type":"string","title":"标识"},"name":{"type":"string","title":"名称"},"type":{"type":"string","title":"类型"},"description":{"type":"string","title":"描述"},"platformId":{"type":"string","title":"平台id"},"permissionId":{"type":"array","items":{"type":"integer","format":"int64"},"title":"权限列表"},"menuId":{"type":"array","items":{"type":"integer","format":"int64"},"title":"菜单列表"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"}},"required":["createdAt","menuId","name","permissionId","platformId","roleId","slug","type"],"title":"角色"},"SingleResponseRoleVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/RoleVO"}}},"PermissionUpdateCmd":{"type":"object","properties":{"slug":{"type":"string","title":"权限标识"},"name":{"type":"string","title":"权限名称"},"permissionId":{"type":"string","title":"权限Id"}},"required":["name","permissionId","slug"],"title":"权限更新"},"PermissionVO":{"type":"object","properties":{"permissionId":{"type":"string","title":"权限Id"},"slug":{"type":"string","title":"权限标识"},"name":{"type":"string","title":"权限名称"}},"required":["name","permissionId","slug"],"title":"权限"},"SingleResponsePermissionVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/PermissionVO"}}},"UserRoleUpdateCmd":{"type":"object","properties":{"userId":{"type":"string","title":"用户ID"},"roleIdList":{"type":"array","items":{"type":"integer","format":"int64"},"title":"角色ID"},"cover":{"type":"boolean","title":"是否覆盖"}},"required":["cover","userId"],"title":"用户角色更新"},"PurchaseOrderSubmitReviewCmd":{"type":"object","properties":{"orderId":{"type":"string","title":"采购订单ID"}},"required":["orderId"],"title":"采购订单提审(录入员提审)"},"PurchaseOrderStep3Cmd":{"type":"object","properties":{"orderId":{"type":"string","title":"采购订单ID"},"active":{"type":"integer","format":"int32","title":"步骤标识"},"orderCostList":{"type":"array","items":{"$ref":"#/components/schemas/OrderCost"},"title":"采购订单费用信息"}},"required":["orderCostList","orderId"],"title":"采购订单第三步:人工和辅料等费用信息保存"},"PurchaseOrderStep2Cmd":{"type":"object","properties":{"orderId":{"type":"string","title":"采购订单ID"},"active":{"type":"integer","format":"int32","title":"步骤标识"},"orderSupplierList":{"type":"array","items":{"$ref":"#/components/schemas/OrderSupplier"},"title":"供应商信息"},"orderCostList":{"type":"array","items":{"$ref":"#/components/schemas/OrderCost"},"title":"采购订单费用信息"}},"required":["orderCostList","orderId","orderSupplierList"],"title":"采购订单第二步:供应商信息保存"},"PurchaseOrderStep1Cmd":{"type":"object","properties":{"orderId":{"type":"string","title":"采购订单ID"},"active":{"type":"integer","format":"int32","title":"步骤标识"},"orderVehicle":{"$ref":"#/components/schemas/OrderVehicle","title":"车辆信息"},"orderDealer":{"$ref":"#/components/schemas/OrderDealer","title":"经销商信息"},"orderCostList":{"type":"array","items":{"$ref":"#/components/schemas/OrderCost"},"title":"采购订单费用信息"}},"required":["orderCostList","orderDealer","orderVehicle"],"title":"采购订单第一步:车辆信息和经销商信息保存"},"EmployeeRestPasswordCmd":{"type":"object","properties":{"password":{"type":"string","pattern":"^(?=.*[a-z])(?=.*[A-Z])(?=.*\\d)(?=.*[@$!%*?&])[A-Za-z\\d@$!%*?&]{8,}$","title":"新密码"},"userId":{"type":"string","title":"用户id"}},"required":["password","userId"],"title":"员工信息更新"},"PurchaseOrderRejectFinalCmd":{"type":"object","properties":{"orderId":{"type":"string","title":"采购订单ID"}},"required":["orderId"],"title":"采购订单驳回审批(老板驳回审批)"},"PurchaseOrderRejectApproveCmd":{"type":"object","properties":{"orderId":{"type":"string","title":"采购订单ID"},"rejectReason":{"type":"string","title":"驳回原因"}},"required":["orderId","rejectReason"],"title":"采购订单驳回审核(审核员驳回审核)"},"PurchaseOrderFinalApproveCmd":{"type":"object","properties":{"orderId":{"type":"string","title":"采购订单ID"}},"required":["orderId"],"title":"采购订单审批(老板审批)"},"VehicleExtractionCmd":{"type":"object","properties":{"message":{"type":"string","title":"消息内容"},"dealerNames":{"type":"string","title":"经销商信息"}},"required":["dealerNames","message"],"title":"车辆信息抽取"},"SingleResponseVehicleExtractionVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/VehicleExtractionVO"}}},"VehicleExtractionVO":{"type":"object","properties":{"plate":{"type":"string","title":"车牌"},"driver":{"type":"string","title":"司机"},"phone":{"type":"string","title":"手机"},"origin":{"type":"string","title":"出发地"},"destination":{"type":"string","title":"目的地"},"price":{"type":"number","title":"价格"},"dealerName":{"type":"string","title":"经销商"},"dealerId":{"type":"string","title":"经销商ID"},"dealerVO":{"$ref":"#/components/schemas/DealerVO","title":"经销商信息"}},"required":["dealerId"],"title":"车辆信息抽取"},"UserEnableCmd":{"type":"object","properties":{"userId":{"type":"string","title":"用户ID"}},"required":["userId"],"title":"用户启用"},"MenuDragCmd":{"type":"object","properties":{"prevId":{"type":"integer","format":"int64","title":"相邻元素前"},"nextId":{"type":"integer","format":"int64","title":"相邻元素后"},"currentId":{"type":"integer","format":"int64","title":"当前元素"}},"title":"菜单拖拽"},"UserDisableCmd":{"type":"object","properties":{"userId":{"type":"string","title":"用户ID"}},"required":["userId"],"title":"用户封禁"},"EmployeeDisableCmd":{"type":"object","properties":{"employeeId":{"type":"string","title":"员工信息ID"}},"required":["employeeId"],"title":"员工封禁"},"RoleDestroyCmd":{"type":"object","properties":{"roleId":{"type":"string","title":"角色ID"}},"title":"角色新增"},"PermissionDestroyCmd":{"type":"object","properties":{"permissionId":{"type":"string","title":"权限Id"}},"required":["permissionId"],"title":"权限删除"},"UserCreateCmd":{"type":"object","properties":{"name":{"type":"string","title":"会员名称"},"nickname":{"type":"string","title":"会员昵称"},"avatar":{"type":"string","title":"头像"},"phone":{"type":"string","title":"会员手机号"},"birthday":{"type":"string","title":"会员生日"},"gender":{"type":"integer","format":"int32","title":"会员性别"},"cardType":{"type":"integer","format":"int32","title":"会员卡号生成方式:1 系统生成 2 自定义"},"remark":{"type":"string","title":"备注"},"labelId":{"type":"array","items":{"type":"integer","format":"int64"},"title":"客户标签"}},"required":["name","phone"],"title":"用户更新命令"},"SupplierCreateCmd":{"type":"object","properties":{"supplierId":{"type":"string","title":"供应商ID"},"name":{"type":"string","title":"姓名"},"idCard":{"type":"string","title":"身份证号"},"phone":{"type":"string","title":"手机号"},"bankCard":{"type":"string","title":"银行卡号"},"wechatQr":{"type":"string","title":"微信收款码URL"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"}},"required":["bankCard","idCard","name","phone","status","supplierId"],"title":"供应商创建"},"ShipOrderCreateCmd":{"type":"object","properties":{"createdBy":{"type":"string","title":"创建人ID"},"createdByName":{"type":"string","title":"创建人姓名"},"shipOrderId":{"type":"string","title":"发货单ID"},"purchaseOrderId":{"type":"string","title":"采购单ID"},"orderSn":{"type":"string","title":"发货单编号"},"shippingAddress":{"type":"string","title":"发货地址"},"receivingAddress":{"type":"string","title":"收货地址"},"shippingDate":{"type":"string","format":"date","title":"发货日期"},"estimatedArrivalDate":{"type":"string","format":"date","title":"预计到仓时间"},"watermelonGrade":{"type":"string","title":"西瓜品级"},"driverName":{"type":"string","title":"司机姓名"},"driverPhone":{"type":"string","title":"司机手机号"},"licensePlate":{"type":"string","title":"车牌号码"},"freightDebt":{"type":"number","title":"运费欠款(元)"},"strawMatDebt":{"type":"number","title":"草帘欠款(元)"},"trademarkFee":{"type":"number","title":"商标费(元)"},"laborFee":{"type":"number","title":"人工费(元)"},"cartonFee":{"type":"number","title":"纸箱费(元)"},"codingFee":{"type":"number","title":"打码费(元)"},"provisionFee":{"type":"number","title":"计提费(元)"},"totalAmount":{"type":"number","title":"合计金额(元)"},"farmerInfo":{"type":"string","title":"瓜农姓名逗号隔开"},"companyId":{"type":"string","title":"公司ID"},"companyName":{"type":"string","title":"公司名称"},"remark":{"type":"string","title":"备注"}},"required":["createdBy","purchaseOrderId","shipOrderId"],"title":"发货单创建"},"RoleCreateCmd":{"type":"object","properties":{"platformId":{"type":"string","title":"平台id"},"slug":{"type":"string","title":"角色标识"},"name":{"type":"string","title":"角色名称"},"type":{"type":"string","title":"角色类型"},"description":{"type":"string","title":"角色详情"},"menuId":{"type":"array","items":{"type":"integer","format":"int64"},"title":"角色id"}},"required":["menuId","name","platformId","slug","type"],"title":"角色新增"},"PurchaseOrderCreateCmd":{"type":"object","properties":{"orderId":{"type":"string","title":"采购订单ID"},"active":{"type":"integer","format":"int32","title":"步骤标识"},"originPrincipal":{"type":"string","title":"产地负责人"},"remark":{"type":"string","title":"备注"},"orderVehicle":{"$ref":"#/components/schemas/OrderVehicle","title":"车辆信息"},"orderDealer":{"$ref":"#/components/schemas/OrderDealer","title":"经销商信息"},"orderSupplierList":{"type":"array","items":{"$ref":"#/components/schemas/OrderSupplier"},"title":"供应商信息"},"orderCostList":{"type":"array","items":{"$ref":"#/components/schemas/OrderCost"},"title":"采购订单费用信息"}},"required":["orderCostList","orderDealer","orderSupplierList","orderVehicle"],"title":"采购订单创建"},"ProductCreateCmd":{"type":"object","properties":{"productId":{"type":"string","title":"产品ID"},"name":{"type":"string","title":"产品名称"},"costItemIds":{"type":"array","items":{"type":"integer","format":"int64"},"title":"关联成本费用id"},"remark":{"type":"string","title":"备注"},"sort":{"type":"number","title":"排序号"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"}},"required":["name","productId","sort","status"],"title":"产品表创建"},"PlatformCreateCmd":{"type":"object","properties":{"platformName":{"type":"string","title":"平台名称"},"homePage":{"type":"string","title":"首页"}},"required":["homePage","platformName"],"title":"平台创建"},"PermissionCreateCmd":{"type":"object","properties":{"slug":{"type":"string","title":"权限标识"},"name":{"type":"string","title":"权限名称"}},"required":["name","slug"],"title":"权限创建"},"MenuCreateCmd":{"type":"object","properties":{"path":{"type":"string","title":"路径"},"component":{"type":"string","title":"组件"},"name":{"type":"string","title":"菜单名称"},"pid":{"type":"string","title":"上级菜单Id"},"type":{"type":"string","title":"菜单类型"},"platformId":{"type":"string","title":"平台id"},"roleId":{"type":"array","items":{"type":"integer","format":"int64"},"title":"角色Id"},"hideInMenu":{"type":"boolean","title":"是否隐藏"},"permissionId":{"type":"integer","format":"int64","title":"权限Id"}},"required":["component","name","path","platformId","type"],"title":"创建菜单请求"},"MaterialCreateCmd":{"type":"object","properties":{"name":{"type":"string","title":"素材内容标题"},"categoryId":{"type":"string","title":"分类ID"},"path":{"type":"string","title":"素材内容路劲"},"type":{"type":"string","enum":["FILE_IMAGE","FILE_VIDEO","PRODUCT","CUSTOMER_INTENTION","COURSE","ROOM","SPEECH"],"title":"素材类型"}},"title":"创建素材内容"},"CategoryCreateCmd":{"type":"object","properties":{"type":{"type":"string","enum":["FILE_IMAGE","FILE_VIDEO","PRODUCT","CUSTOMER_INTENTION","COURSE","ROOM","SPEECH"],"example":"视频","title":"分类类型"},"name":{"type":"string","example":"名称","title":"分类名称"},"pid":{"type":"string","example":"名称","title":"上级分类id"},"sort":{"type":"integer","format":"int32","example":"排序","title":"排序"}},"title":"分类创建"},"GiftBoxCreateCmd":{"type":"object","properties":{"boxId":{"type":"string","title":"礼盒ID"},"name":{"type":"string","title":"礼盒名称"},"costPrice":{"type":"number","title":"成本价"},"weight":{"type":"number","title":"重量(kg)"},"salePrice":{"type":"number","title":"售价"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"}},"required":["boxId","costPrice","name","salePrice","status","weight"],"title":"礼盒创建"},"EmployeeCreateCmd":{"type":"object","properties":{"name":{"type":"string","minLength":1,"title":"姓名"},"number":{"type":"string","minLength":1,"title":"工号"},"gender":{"type":"integer","format":"int32","title":"性别"},"phone":{"type":"string","minLength":1,"pattern":"^(1[3-9])\\d{9}$","title":"手机号"},"remark":{"type":"string","maxLength":200,"minLength":0,"title":"备注"},"status":{"type":"boolean","title":"状态"},"username":{"type":"string","example":18367831980,"maxLength":20,"minLength":4,"title":"登录账号"},"password":{"type":"string","example":18367831980,"maxLength":20,"minLength":8,"pattern":"^(?=.*[a-z])(?=.*[A-Z])(?=.*\\d)(?=.*[@$!%*?&])[A-Za-z\\d@$!%*?&]{8,}$","title":"登录密码"},"roleId":{"type":"array","items":{"type":"integer","format":"int64"},"title":"角色ID"}},"required":["gender","name","number","password","phone","roleId","status","username"],"title":"员工信息创建"},"DictionaryCreateCmd":{"type":"object","properties":{"id":{"type":"integer","format":"int32","title":"自增id"},"code":{"type":"string","title":"代码"},"name":{"type":"string","title":"字典名称"},"parentId":{"type":"string","title":"上级id"},"sortNo":{"type":"integer","format":"int32","title":"排序号"},"type":{"type":"string","title":"类型"}},"title":"字典创建"},"DealerCreateCmd":{"type":"object","properties":{"dealerId":{"type":"string","title":"经销商ID"},"shortName":{"type":"string","title":"经销商简称"},"fullName":{"type":"string","title":"经销商全称"},"dealerType":{"type":"string","enum":["MARKET","SUPERMARKET"],"title":"经销商类型:1_市场;2_超市;"},"enableShare":{"type":"boolean","title":"是否开启分成"},"shareRatio":{"type":"number","title":"分成比例"},"freightCostFlag":{"type":"boolean","title":"运费是否作为成本"},"strawMatCostFlag":{"type":"boolean","title":"草帘是否作为成本"},"includePackingFlag":{"type":"boolean","title":"发货单合计金额是否含包装费"},"documentTypes":{"type":"string","title":"单据类型:delivery-发货单, purchase-采购底单, cost-成本单"},"receivable":{"type":"number","title":"应收金额"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"enableAccrualTax":{"type":"boolean","title":"是否开启计提税金"},"accrualTaxRatio":{"type":"number","title":"计提税金比例"},"enableCompanyRebate":{"type":"boolean","title":"是否开启公司返点"},"companyRebateRatio":{"type":"number","title":"公司返点比例"}},"required":["dealerId","dealerType","shortName","status"],"title":"经销商表创建"},"DealerWarehouseCreateCmd":{"type":"object","properties":{"warehouseId":{"type":"string","title":"仓库ID"},"dealerId":{"type":"string","title":"经销商ID"},"accountId":{"type":"string","title":"经销商账户ID"},"name":{"type":"string","title":"仓库名称"},"address":{"type":"string","title":"仓库地址"},"contactPerson":{"type":"string","title":"联系人"},"contactPhone":{"type":"string","title":"联系电话"},"receiverName":{"type":"string","title":"收货人姓名"},"receiverPhone":{"type":"string","title":"收货人电话"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"remark":{"type":"string","title":"备注"}},"required":["accountId","address","dealerId","name","status","warehouseId"],"title":"经销商仓库创建"},"DealerRebateCustomerCreateCmd":{"type":"object","properties":{"customerId":{"type":"string","title":"客户ID"},"dealerId":{"type":"string","title":"经销商ID"},"name":{"type":"string","title":"客户名称"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"remark":{"type":"string","title":"备注"},"calcMethod":{"type":"string","enum":["NET_WEIGHT","FIXED_AMOUNT","NOT_FIXED"],"title":"返点计算方式:1_按净重计算;2_固定金额;3_不固定"},"unitPrice":{"type":"number","title":"返点单价"},"amount":{"type":"number","title":"返点金额"}},"required":["customerId","dealerId","name","status"],"title":"经销商返点客户创建"},"DealerPaymentAccountCreateCmd":{"type":"object","properties":{"accountId":{"type":"string","title":"账户ID"},"dealerId":{"type":"string","title":"经销商ID"},"companyName":{"type":"string","title":"公司名称"},"taxNumber":{"type":"string","title":"税号"},"bankAccount":{"type":"string","title":"银行账号"},"companyAddress":{"type":"string","title":"单位地址"},"phone":{"type":"string","title":"电话"},"openingBank":{"type":"string","title":"开户行"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"}},"required":["accountId","bankAccount","companyName","dealerId","taxNumber"],"title":"经销商付款账户创建"},"CostItemCreateCmd":{"type":"object","properties":{"itemId":{"type":"string","title":"项目ID"},"costType":{"type":"string","enum":["PACKAGING_MATERIALS","HUMAN_COST","OTHER_COST","FIXED_COST","WORKER_ADVANCE","PRODUCTION_ADVANCE"],"title":"费用类型:1_包装材料;2_人工费用;3_其他费用;4_固定费用;5_工头垫付;6_产地垫付"},"name":{"type":"string","title":"项目名称"},"unit":{"type":"string","title":"单位"},"price":{"type":"number","title":"单价"},"showInEntry":{"type":"boolean","title":"是否在录入时显示"},"requireQuantityAndPrice":{"type":"boolean","title":"是否需要填写数量和单价"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用"}},"required":["costType","itemId","name","price","requireQuantityAndPrice","showInEntry","status","unit"],"title":"费用项目创建"},"CompanyCreateCmd":{"type":"object","properties":{"companyId":{"type":"string","title":"公司ID"},"logo":{"type":"string","title":"公司logo"},"shortName":{"type":"string","title":"公司简称"},"fullName":{"type":"string","title":"公司全称"},"taxNumber":{"type":"string","title":"税号"},"contactPerson":{"type":"string","title":"联系人"},"contactPhone":{"type":"string","title":"联系电话"},"address":{"type":"string","title":"发货地址"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"}},"required":["address","companyId","contactPerson","contactPhone","fullName","shortName","status","taxNumber"],"title":"公司管理创建"},"CompanyPaymentAccountCreateCmd":{"type":"object","properties":{"accountId":{"type":"string","title":"账户ID"},"companyId":{"type":"string","title":"公司ID"},"accountCategory":{"type":"string","enum":["COMPANY_ACCOUNT","PRIVATE_ACCOUNT"],"title":"账户类别:1_对公账户;2_私人账户"},"accountType":{"type":"string","enum":["BANK_CARD","ALIPAY","WECHAT"],"title":"账户类型:1_银行卡;2_支付宝;3_微信"},"bankName":{"type":"string","title":"银行名称"},"branchName":{"type":"string","title":"支行名称"},"publicAccountType":{"type":"string","enum":["BASIC_ACCOUNT","GENERAL_ACCOUNT","SPECIAL_ACCOUNT","TEMPORARY_ACCOUNT"],"title":"对公账户类型:1_基本户;2_一般户;3_专用账户;4_临时户"},"accountName":{"type":"string","title":"开户公司名称、支付宝昵称、微信号"},"accountNumber":{"type":"string","title":"银行账号、支付宝账号、微信账号"},"isPrimary":{"type":"boolean","title":"是否主付款账户:0_否;1_是"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;2_禁用;"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"}},"required":["accountCategory","accountId","accountName","accountNumber","accountType","companyId","isPrimary","status"],"title":"公司付款账户创建"},"ChannelCreateCmd":{"type":"object","properties":{"domain":{"type":"string","title":"域名"},"logo":{"type":"string","title":"Logo"},"title":{"type":"string","title":"标题"},"subTitle":{"type":"string","title":"副标题"},"backgroundImageUrl":{"type":"string","title":"背景图片"},"technicalSupport":{"type":"string","title":"技术支持"}},"title":"渠道新增"},"BoxSpecCreateCmd":{"type":"object","properties":{"specId":{"type":"string","title":"规格ID"},"name":{"type":"string","title":"规格名称"},"sort":{"type":"number","title":"排序号"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用"}},"required":["name","sort","specId","status"],"title":"纸箱规格创建"},"BoxProductCreateCmd":{"type":"object","properties":{"productId":{"type":"string","title":"产品ID"},"name":{"type":"string","title":"纸箱名称"},"weight":{"type":"number","title":"重量(kg)"},"costPrice":{"type":"number","title":"成本价"},"salePrice":{"type":"number","title":"销售价"},"specId":{"type":"string","title":"规格ID"},"specName":{"type":"string","title":"规格名称"},"brandId":{"type":"string","title":"品牌ID"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用"},"type":{"type":"string","enum":["OUR_BOX","FARMER_BOX","THIRD_PARTY_BOX","GIFT_BOX"],"title":"品牌类型:1_我方纸箱;2_瓜农纸箱;3_第三方纸箱;4_礼盒;"}},"required":["brandId","name","productId","status","type"],"title":"纸箱产品创建"},"BoxBrandCreateCmd":{"type":"object","properties":{"brandId":{"type":"string","title":"品牌ID"},"name":{"type":"string","title":"品牌名称"},"image":{"type":"string","title":"品牌图片URL"},"specIds":{"type":"array","items":{"type":"integer","format":"int64"},"title":"纸箱规格ID"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用"},"type":{"type":"string","enum":["OUR_BOX","FARMER_BOX","THIRD_PARTY_BOX","GIFT_BOX"],"title":"品牌类型:1_我方纸箱;2_瓜农纸箱;3_第三方纸箱;4_礼盒;"}},"required":["brandId","name","status","type"],"title":"纸箱品牌创建"},"AgreementCreateCmd":{"type":"object","properties":{"agreementId":{"type":"string","title":"协议id"},"scene":{"type":"array","items":{"type":"string","enum":["STAKEHOLDER_SETUP","CUSTOMER_SETUP","PERSONAL_CENTER"]},"title":"使用场景"},"title":{"type":"string","title":"协议标题"},"subTitle":{"type":"string","title":"副标题"},"content":{"type":"string","title":"协议内容"}},"required":["agreementId"],"title":"协议创建"},"MaterialBatchAddCmd":{"type":"object","properties":{"materialCreateCmdList":{"type":"array","items":{"$ref":"#/components/schemas/MaterialCreateCmd"},"title":"创建素材内容"}},"title":"创建素材内容"},"MultiResponseMaterialVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/MaterialVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"}}},"PurchaseOrderApproveCmd":{"type":"object","properties":{"orderId":{"type":"string","title":"采购订单ID"},"active":{"type":"integer","format":"int32","title":"步骤标识"},"originPrincipal":{"type":"string","title":"产地负责人"},"remark":{"type":"string","title":"备注"},"orderVehicle":{"$ref":"#/components/schemas/OrderVehicle","title":"车辆信息"},"orderDealer":{"$ref":"#/components/schemas/OrderDealer","title":"经销商信息"},"orderSupplierList":{"type":"array","items":{"$ref":"#/components/schemas/OrderSupplier"},"title":"供应商信息"},"orderCostList":{"type":"array","items":{"$ref":"#/components/schemas/OrderCost"},"title":"采购订单费用信息"},"draft":{"type":"boolean","title":"是否是暂存"},"pricingMethod":{"type":"string","enum":["BY_GROSS_WEIGHT","BY_NET_WEIGHT"]},"orderCompany":{"$ref":"#/components/schemas/OrderCompany","title":"公司信息"},"orderRebate":{"$ref":"#/components/schemas/OrderRebate","title":"返点信息"}},"required":["draft","orderCompany","orderCostList","orderDealer","orderId","orderRebate","orderSupplierList","orderVehicle"],"title":"采购订单更新"},"MenuTreeQry":{"type":"object","properties":{"platformId":{"type":"string","title":"平台id"},"pid":{"type":"string","title":"父级id"}},"title":"菜单请求"},"MultiResponseTreeLong":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/TreeLong"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"}}},"TreeLong":{"type":"object","additionalProperties":{},"properties":{"name":{"type":"object","properties":{"empty":{"type":"boolean"}}},"id":{"type":"integer","format":"int64"},"parentId":{"type":"integer","format":"int64"},"config":{"$ref":"#/components/schemas/TreeNodeConfig"},"weight":{},"empty":{"type":"boolean"}}},"TreeNodeConfig":{"type":"object","properties":{"idKey":{"type":"string"},"parentIdKey":{"type":"string"},"weightKey":{"type":"string"},"nameKey":{"type":"string"},"childrenKey":{"type":"string"},"deep":{"type":"integer","format":"int32"}}},"CategoryTreeQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"typeList":{"type":"array","items":{"type":"string","enum":["FILE_IMAGE","FILE_VIDEO","PRODUCT","CUSTOMER_INTENTION","COURSE","ROOM","SPEECH"]},"title":"分类类型"},"name":{"type":"string","title":"分类名称"}},"title":"分类"},"UserShowQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"userId":{"type":"string","title":"用户ID"}},"required":["userId"],"title":"查询用户请求"},"SupplierShowQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"supplierId":{"type":"string","title":"供应商ID"}},"title":"供应商查询"},"ShipOrderShowQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"shipOrderId":{"type":"string","title":"发货单ID"},"purchaseOrderId":{"type":"string","title":"采购单ID"}},"title":"发货单查询"},"SettingShowQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"settingKey":{"type":"string","enum":["WX_MA_CONFIG","WX_MA_MESSAGE_PUSH_CONFIG","WX_MA_SUBSCRIBE_MESSAGE_CONFIG","WX_MA_CODE_UPLOAD_CONFIG","WX_PAY_CONFIG","TENCENT_MAP_CONFIG","SMS_CONFIG","VIRTUAL_PHONE_CONFIG","WX_MP_CONFIG","WX_MP_MESSAGE_PUSH_CONFIG","ALI_PAY_CONFIG","CHARGING_PILE_PURCHASE_CONFIG","CUSTOM_THEME_CONFIG","CUSTOM_MENU_CONFIG","WX_CP_NOTIFY_CONFIG"],"title":"系统设置项key"}},"required":["settingKey"],"title":"设置查询"},"RoleShowQry":{"type":"object","properties":{"roleId":{"type":"string","title":"角色编号"}},"title":"角色查询"},"PurchaseOrderShowQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"orderId":{"type":"string","title":"采购订单ID"}},"title":"采购订单查询"},"ProductShowQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"productId":{"type":"string","title":"产品表ID"}},"title":"产品表查询"},"PlatformShowQry":{"type":"object","properties":{"platformId":{"type":"string","title":"平台ID"}},"required":["platformId"],"title":"平台查询"},"PermissionShowQry":{"type":"object","properties":{"permissionId":{"type":"string","title":"权限Id"}},"required":["permissionId"],"title":"权限查询"},"MenuShowQry":{"type":"object","properties":{"menuId":{"type":"string","title":"菜单Id"}},"required":["menuId"],"title":"菜单详情"},"MaterialShowQry":{"type":"object","properties":{"materialId":{"type":"string","title":"素材内容ID"}},"required":["materialId"],"title":"素材内容请求"},"CategoryShowQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"categoryId":{"type":"string","title":"分类Id"}},"required":["categoryId"],"title":"分类"},"GiftBoxShowQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"boxId":{"type":"string","title":"礼盒ID"}},"title":"礼盒查询"},"EmployeeShowQry":{"type":"object","properties":{"employeeId":{"type":"string","title":"员工信息ID"},"userId":{"type":"string","title":"用户ID"}},"title":"员工信息查询"},"DictionaryShowQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"dictionaryId":{"type":"string","title":"字典ID"}},"title":"字典查询"},"DealerShowQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"dealerId":{"type":"string","title":"经销商表ID"}},"title":"经销商表查询"},"DealerWarehouseShowQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"warehouseId":{"type":"string","title":"经销商仓库ID"},"accountId":{"type":"string","title":"经销商付款账户ID"},"dealerId":{"type":"string","title":"经销商ID"}},"title":"经销商仓库查询"},"DealerRebateCustomerShowQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"customerId":{"type":"string","title":"经销商返点客户ID"},"dealerId":{"type":"string","title":"经销商ID"}},"title":"经销商返点客户查询"},"DealerPaymentAccountShowQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"accountId":{"type":"string","title":"经销商付款账户ID"},"dealerId":{"type":"string","title":"经销商ID"}},"title":"经销商付款账户查询"},"CostItemShowQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"itemId":{"type":"string","title":"费用项目ID"}},"title":"费用项目查询"},"CompanyShowQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"companyId":{"type":"string","title":"公司管理ID"}},"title":"公司管理查询"},"CompanyPaymentAccountShowQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"accountId":{"type":"string","title":"公司付款账户ID"}},"title":"公司付款账户查询"},"ChannelShowQry":{"type":"object","properties":{"channelId":{"type":"string","title":"渠道编号"},"domain":{"type":"string","title":"域名"}},"required":["channelId"],"title":"渠道查询"},"BoxSpecShowQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"specId":{"type":"string","title":"纸箱规格ID"}},"title":"纸箱规格查询"},"BoxProductShowQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"productId":{"type":"string","title":"纸箱产品ID"}},"title":"纸箱产品查询"},"BoxBrandShowQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"brandId":{"type":"string","title":"纸箱品牌ID"}},"title":"纸箱品牌查询"},"AgreementShowQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"agreementId":{"type":"string","title":"协议ID"}},"title":"协议查询"},"UserPageQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"customFieldKey":{"type":"string","title":"自定义字段key"},"customFieldValue":{"type":"string","title":"自定义字段value"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"keyword":{"type":"string","title":"关键词"},"cardNo":{"type":"string","title":"会员卡号"},"phone":{"type":"string","title":"会员手机号码"},"name":{"type":"string","title":"会员名称"},"nickname":{"type":"string","title":"会员昵称"},"createdAt":{"type":"array","items":{"type":"string","format":"date-time"},"title":"查询创建时间"},"isBindPhone":{"type":"boolean","title":"是否绑定手机号码"},"gender":{"type":"integer","format":"int32","title":"性别"},"bindPhoneAt":{"type":"array","items":{"type":"string","format":"date-time"},"title":"查询绑定手机号码时间"},"state":{"type":"array","items":{"type":"string","enum":["ENABLE","DISABLE"]},"title":"状态"},"isAdmin":{"type":"boolean","title":"是否是管理员"},"userIdList":{"type":"array","items":{"type":"integer","format":"int64"},"title":"会员id列表"},"excludeUserIdList":{"type":"array","items":{"type":"integer","format":"int64"},"title":"排除的用户id列表"},"communityId":{"type":"integer","format":"int64","title":"小区id"},"offset":{"type":"integer","format":"int32"}},"title":"查询用户分页请求"},"PageResponseUserVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"totalCount":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"$ref":"#/components/schemas/UserVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"},"totalPages":{"type":"integer","format":"int32"}}},"SupplierPageQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"customFieldKey":{"type":"string","title":"自定义字段key"},"customFieldValue":{"type":"string","title":"自定义字段value"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"supplierId":{"type":"string","title":"供应商ID"},"name":{"type":"string","title":"供应商名称"},"idCard":{"type":"string","title":"身份证号"},"phone":{"type":"string","title":"手机号"},"bankCard":{"type":"string","title":"银行卡号"},"offset":{"type":"integer","format":"int32"}},"title":"供应商分页查询"},"PageResponseSupplierVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"totalCount":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"$ref":"#/components/schemas/SupplierVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"},"totalPages":{"type":"integer","format":"int32"}}},"ShipOrderPageQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"customFieldKey":{"type":"string","title":"自定义字段key"},"customFieldValue":{"type":"string","title":"自定义字段value"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"shipOrderId":{"type":"string","title":"发货单ID"},"vehicleNo":{"type":"string","title":"车辆编号"},"orderSn":{"type":"string","title":"采购订单编号"},"state":{"type":"string","enum":["WAIT_PAYMENT","PARTIAL_PAYMENT","FULL_PAYMENT","REJECT_FINISH","FINISH"],"title":"发货单状态:1_待回款;2_部分回款;3_已回款;4_拒收完结;5_已完结;"},"supplierName":{"type":"string","title":"供应商名称"},"dealerId":{"type":"string","title":"经销商ID"},"offset":{"type":"integer","format":"int32"}},"title":"发货单分页查询"},"PageResponseShipOrderVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"totalCount":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"$ref":"#/components/schemas/ShipOrderVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"},"totalPages":{"type":"integer","format":"int32"}}},"RolePageQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"name":{"type":"string","title":"角色名称"},"slug":{"type":"string","title":"角色标识"},"type":{"type":"string","title":"角色类型"},"roleId":{"type":"string","title":"角色编号"},"platformId":{"type":"string","title":"平台id"},"offset":{"type":"integer","format":"int32"}},"title":"角色分页查询"},"PageResponseRoleVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"totalCount":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"$ref":"#/components/schemas/RoleVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"},"totalPages":{"type":"integer","format":"int32"}}},"PurchaseOrderPageQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"customFieldKey":{"type":"string","title":"自定义字段key"},"customFieldValue":{"type":"string","title":"自定义字段value"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"orderId":{"type":"string","title":"采购订单ID"},"vehicleNo":{"type":"string","title":"车辆编号"},"orderSn":{"type":"string","title":"采购订单编号"},"state":{"type":"string","enum":["DRAFT","WAITING_AUDIT","WAITING_BOSS_APPROVE","SHIPPING","PAID","COMPLETED"],"title":"订单状态: 0-草稿, 1-待审核, 2-待老板审核, 3-已发货(待付款), 4-已付款, 5-已完结"},"supplierName":{"type":"string","title":"供应商名称"},"dealerId":{"type":"string","title":"经销商ID"},"offset":{"type":"integer","format":"int32"}},"title":"采购订单分页查询"},"PageResponsePurchaseOrderVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"totalCount":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"$ref":"#/components/schemas/PurchaseOrderVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"},"totalPages":{"type":"integer","format":"int32"}}},"ProductPageQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"customFieldKey":{"type":"string","title":"自定义字段key"},"customFieldValue":{"type":"string","title":"自定义字段value"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"productId":{"type":"string","title":"产品表ID"},"offset":{"type":"integer","format":"int32"}},"title":"产品表分页查询"},"PageResponseProductVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"totalCount":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"$ref":"#/components/schemas/ProductVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"},"totalPages":{"type":"integer","format":"int32"}}},"PlatformPageQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"platformId":{"type":"string","title":"平台ID"},"offset":{"type":"integer","format":"int32"}},"required":["platformId"],"title":"平台分页查询"},"PageResponsePlatformVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"totalCount":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"$ref":"#/components/schemas/PlatformVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"},"totalPages":{"type":"integer","format":"int32"}}},"PermissionPageQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"slug":{"type":"string","title":"权限标识"},"name":{"type":"string","title":"权限名称"},"offset":{"type":"integer","format":"int32"}},"title":"权限分页查询"},"PageResponsePermissionVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"totalCount":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"$ref":"#/components/schemas/PermissionVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"},"totalPages":{"type":"integer","format":"int32"}}},"MaterialPageQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"title":{"type":"string","title":"素材内容标题"},"type":{"type":"string","enum":["FILE_IMAGE","FILE_VIDEO","PRODUCT","CUSTOMER_INTENTION","COURSE","ROOM","SPEECH"],"title":"素材类型"},"materialId":{"type":"string","title":"素材内容ID"},"categoryId":{"type":"string","title":"分类ID"},"offset":{"type":"integer","format":"int32"}},"title":"素材内容分页请求"},"PageResponseMaterialVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"totalCount":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"$ref":"#/components/schemas/MaterialVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"},"totalPages":{"type":"integer","format":"int32"}}},"GiftBoxPageQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"customFieldKey":{"type":"string","title":"自定义字段key"},"customFieldValue":{"type":"string","title":"自定义字段value"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"boxId":{"type":"string","title":"礼盒ID"},"name":{"type":"string","title":"礼盒名称"},"offset":{"type":"integer","format":"int32"}},"title":"礼盒分页查询"},"PageResponseGiftBoxVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"totalCount":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"$ref":"#/components/schemas/GiftBoxVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"},"totalPages":{"type":"integer","format":"int32"}}},"EmployeePageQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"employeeId":{"type":"string","title":"员工信息ID"},"name":{"type":"string","title":"姓名"},"number":{"type":"string","title":"工号"},"phone":{"type":"string","title":"手机号"},"status":{"type":"integer","format":"int32","title":"状态"},"offset":{"type":"integer","format":"int32"}},"required":["employeeId","name","number","phone"],"title":"员工信息分页查询"},"PageResponseEmployeeVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"totalCount":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"$ref":"#/components/schemas/EmployeeVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"},"totalPages":{"type":"integer","format":"int32"}}},"DictionaryPageQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"customFieldKey":{"type":"string","title":"自定义字段key"},"customFieldValue":{"type":"string","title":"自定义字段value"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"dictionaryId":{"type":"string","title":"字典ID"},"name":{"type":"string","title":"字典名称"},"type":{"type":"string","title":"字典类型"},"offset":{"type":"integer","format":"int32"}},"title":"字典分页查询"},"PageResponseDictionaryVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"totalCount":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"$ref":"#/components/schemas/DictionaryVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"},"totalPages":{"type":"integer","format":"int32"}}},"DealerPageQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"customFieldKey":{"type":"string","title":"自定义字段key"},"customFieldValue":{"type":"string","title":"自定义字段value"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"shortName":{"type":"string","title":"经销商简称"},"fullName":{"type":"string","title":"经销商全称"},"dealerType":{"type":"string","enum":["MARKET","SUPERMARKET"],"title":"经销商类型:1_市场;2_超市;"},"offset":{"type":"integer","format":"int32"}},"title":"经销商表分页查询"},"PageResponseDealerVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"totalCount":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"$ref":"#/components/schemas/DealerVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"},"totalPages":{"type":"integer","format":"int32"}}},"DealerWarehousePageQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"customFieldKey":{"type":"string","title":"自定义字段key"},"customFieldValue":{"type":"string","title":"自定义字段value"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"dealerId":{"type":"string","title":"经销商ID"},"accountId":{"type":"string","title":"经销商付款账户ID"},"offset":{"type":"integer","format":"int32"}},"title":"经销商仓库分页查询"},"PageResponseDealerWarehouseVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"totalCount":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"$ref":"#/components/schemas/DealerWarehouseVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"},"totalPages":{"type":"integer","format":"int32"}}},"DealerRebateCustomerPageQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"customFieldKey":{"type":"string","title":"自定义字段key"},"customFieldValue":{"type":"string","title":"自定义字段value"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"dealerId":{"type":"string","title":"经销商ID"},"name":{"type":"string","title":"客户名称"},"calcMethod":{"type":"string","enum":["NET_WEIGHT","FIXED_AMOUNT","NOT_FIXED"],"title":"返点计算方式"},"offset":{"type":"integer","format":"int32"}},"title":"经销商返点客户分页查询"},"PageResponseDealerRebateCustomerVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"totalCount":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"$ref":"#/components/schemas/DealerRebateCustomerVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"},"totalPages":{"type":"integer","format":"int32"}}},"DealerPaymentAccountPageQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"customFieldKey":{"type":"string","title":"自定义字段key"},"customFieldValue":{"type":"string","title":"自定义字段value"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"dealerId":{"type":"string","title":"经销商ID"},"offset":{"type":"integer","format":"int32"}},"title":"经销商付款账户分页查询"},"PageResponseDealerPaymentAccountVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"totalCount":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"$ref":"#/components/schemas/DealerPaymentAccountVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"},"totalPages":{"type":"integer","format":"int32"}}},"CostItemPageQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"customFieldKey":{"type":"string","title":"自定义字段key"},"customFieldValue":{"type":"string","title":"自定义字段value"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"itemId":{"type":"string","title":"费用项目ID"},"costType":{"type":"string","enum":["PACKAGING_MATERIALS","HUMAN_COST","OTHER_COST","FIXED_COST","WORKER_ADVANCE","PRODUCTION_ADVANCE"],"title":"费用类型:1_包装材料;2_人工费用;3_其他费用;4_固定费用;5_工头垫付;6_产地垫付"},"showInEntry":{"type":"boolean","title":"是否在录入时显示"},"name":{"type":"string","title":"项目名称"},"offset":{"type":"integer","format":"int32"}},"title":"费用项目分页查询"},"PageResponseCostItemVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"totalCount":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"$ref":"#/components/schemas/CostItemVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"},"totalPages":{"type":"integer","format":"int32"}}},"CompanyPageQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"customFieldKey":{"type":"string","title":"自定义字段key"},"customFieldValue":{"type":"string","title":"自定义字段value"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"companyId":{"type":"string","title":"公司管理ID"},"shortName":{"type":"string","title":"公司名称"},"fullName":{"type":"string","title":"公司全称"},"taxNumber":{"type":"string","title":"税号"},"offset":{"type":"integer","format":"int32"}},"title":"公司管理分页查询"},"PageResponseCompanyVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"totalCount":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"$ref":"#/components/schemas/CompanyVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"},"totalPages":{"type":"integer","format":"int32"}}},"CompanyPaymentAccountPageQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"customFieldKey":{"type":"string","title":"自定义字段key"},"customFieldValue":{"type":"string","title":"自定义字段value"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"accountId":{"type":"string","title":"公司付款账户ID"},"companyId":{"type":"string","title":"公司ID"},"accountName":{"type":"string","title":"付款账户名称"},"accountCategory":{"type":"string","enum":["COMPANY_ACCOUNT","PRIVATE_ACCOUNT"],"title":"账户类别:1_对公账户;2_私人账户"},"offset":{"type":"integer","format":"int32"}},"title":"公司付款账户分页查询"},"PageResponseCompanyPaymentAccountVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"totalCount":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"$ref":"#/components/schemas/CompanyPaymentAccountVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"},"totalPages":{"type":"integer","format":"int32"}}},"ChannelPageQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"domain":{"type":"string","title":"域名"},"offset":{"type":"integer","format":"int32"}},"title":"渠道分页查询"},"PageResponseChannelVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"totalCount":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"$ref":"#/components/schemas/ChannelVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"},"totalPages":{"type":"integer","format":"int32"}}},"BoxSpecPageQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"customFieldKey":{"type":"string","title":"自定义字段key"},"customFieldValue":{"type":"string","title":"自定义字段value"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"specId":{"type":"string","title":"纸箱规格ID"},"offset":{"type":"integer","format":"int32"}},"title":"纸箱规格分页查询"},"PageResponseBoxSpecVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"totalCount":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"$ref":"#/components/schemas/BoxSpecVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"},"totalPages":{"type":"integer","format":"int32"}}},"BoxProductPageQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"customFieldKey":{"type":"string","title":"自定义字段key"},"customFieldValue":{"type":"string","title":"自定义字段value"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"productId":{"type":"string","title":"纸箱产品ID"},"name":{"type":"string","title":"纸箱产品名称"},"brandId":{"type":"string","title":"纸箱品牌ID"},"specId":{"type":"string","title":"规格ID"},"type":{"type":"string","enum":["OUR_BOX","FARMER_BOX","THIRD_PARTY_BOX","GIFT_BOX"],"title":"品牌类型:1_我方纸箱;2_瓜农纸箱;3_第三方纸箱;4_礼盒;"},"offset":{"type":"integer","format":"int32"}},"title":"纸箱产品分页查询"},"PageResponseBoxProductVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"totalCount":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"$ref":"#/components/schemas/BoxProductVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"},"totalPages":{"type":"integer","format":"int32"}}},"BoxBrandPageQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"customFieldKey":{"type":"string","title":"自定义字段key"},"customFieldValue":{"type":"string","title":"自定义字段value"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"brandId":{"type":"string","title":"纸箱品牌ID"},"type":{"type":"string","enum":["OUR_BOX","FARMER_BOX","THIRD_PARTY_BOX","GIFT_BOX"],"title":"品牌类型:1_我方纸箱;2_瓜农纸箱;3_第三方纸箱;4_礼盒;"},"offset":{"type":"integer","format":"int32"}},"title":"纸箱品牌分页查询"},"PageResponseBoxBrandVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"totalCount":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"$ref":"#/components/schemas/BoxBrandVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"},"totalPages":{"type":"integer","format":"int32"}}},"AgreementPageQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"customFieldKey":{"type":"string","title":"自定义字段key"},"customFieldValue":{"type":"string","title":"自定义字段value"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"agreementId":{"type":"string","title":"协议ID"},"scene":{"type":"string","title":"协议类型"},"offset":{"type":"integer","format":"int32"}},"title":"协议分页查询"},"PageResponseAgreementVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"totalCount":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"$ref":"#/components/schemas/AgreementVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"},"totalPages":{"type":"integer","format":"int32"}}},"OssTokenVO":{"type":"object","properties":{"securityToken":{"type":"string"},"accessKeySecret":{"type":"string"},"accessKeyId":{"type":"string"},"domain":{"type":"string"},"bucket":{"type":"string"},"region":{"type":"string"}},"title":"商家响应"},"SingleResponseOssTokenVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/OssTokenVO"}}},"UserListQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"userIdList":{"type":"array","items":{"type":"integer","format":"int64"},"title":"用户ID"},"name":{"type":"string","title":"用户名"}},"title":"查询用户请求"},"MultiResponseUserVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/UserVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"}}},"SupplierListQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"supplierId":{"type":"string","title":"供应商ID"},"name":{"type":"string","title":"供应商名称"}},"title":"供应商列表查询"},"MultiResponseSupplierVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/SupplierVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"}}},"ShipOrderListQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"shipOrderId":{"type":"string","title":"发货单ID"}},"title":"发货单列表查询"},"MultiResponseShipOrderVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/ShipOrderVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"}}},"RoleListQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"name":{"type":"string","title":"角色名称"},"userId":{"type":"string","title":"用户Id"},"roleId":{"type":"string","title":"角色编号"},"roleIdList":{"type":"array","items":{"type":"integer","format":"int64"},"title":"应用角色Id"},"platformId":{"type":"string","title":"平台Id"},"type":{"type":"integer","format":"int32","title":"角色类型"},"offset":{"type":"integer","format":"int32"}},"title":"角色查询"},"MultiResponseRoleVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/RoleVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"}}},"PurchaseOrderListQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"orderId":{"type":"string","title":"采购订单ID"}},"title":"采购订单列表查询"},"MultiResponsePurchaseOrderVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/PurchaseOrderVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"}}},"ProductListQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"productId":{"type":"string","title":"产品表ID"}},"title":"产品表列表查询"},"MultiResponseProductVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/ProductVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"}}},"PlatformListQry":{"title":"平台列表查询"},"MultiResponsePlatformVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/PlatformVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"}}},"PermissionListQry":{"title":"权限查询"},"MultiResponsePermissionVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/PermissionVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"}}},"MenuListQry":{"type":"object","properties":{"platformId":{"type":"string","title":"平台id"},"pid":{"type":"string","title":"父级id"}},"title":"菜单请求"},"MultiResponseMenuVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/MenuVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"}}},"GiftBoxListQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"boxId":{"type":"string","title":"礼盒ID"}},"title":"礼盒列表查询"},"MultiResponseGiftBoxVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/GiftBoxVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"}}},"EmployeeListQry":{"type":"object","properties":{"employeeId":{"type":"string","title":"员工信息ID"}},"required":["employeeId"],"title":"员工信息列表查询"},"MultiResponseEmployeeVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/EmployeeVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"}}},"DictionaryListQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"dictionaryId":{"type":"string","title":"字典ID"},"type":{"type":"string","title":"字典类型"}},"title":"字典列表查询"},"MultiResponseDictionaryVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/DictionaryVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"}}},"DealerListQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"dealerId":{"type":"string","title":"经销商表ID"},"shortName":{"type":"string","title":"经销商简称"},"dealerType":{"type":"string","enum":["MARKET","SUPERMARKET"]}},"title":"经销商表列表查询"},"MultiResponseDealerVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/DealerVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"}}},"DealerWarehouseListQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"dealerId":{"type":"string","title":"经销商ID"},"accountId":{"type":"string","title":"经销商付款账户ID"},"name":{"type":"string","title":"仓库名称"}},"title":"经销商仓库列表查询"},"MultiResponseDealerWarehouseVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/DealerWarehouseVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"}}},"DealerRebateCustomerListQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"dealerId":{"type":"string","title":"经销商ID"},"name":{"type":"string","title":"客户名称"},"calcMethod":{"type":"string","enum":["NET_WEIGHT","FIXED_AMOUNT","NOT_FIXED"],"title":"返点计算方式"}},"title":"经销商返点客户列表查询"},"MultiResponseDealerRebateCustomerVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/DealerRebateCustomerVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"}}},"DealerPaymentAccountListQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"dealerId":{"type":"string","title":"经销商ID"},"keyword":{"type":"string","title":"关键词"}},"title":"经销商付款账户列表查询"},"MultiResponseDealerPaymentAccountVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/DealerPaymentAccountVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"}}},"CostItemListQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用"},"itemId":{"type":"string","title":"费用项目ID"},"costType":{"type":"string","enum":["PACKAGING_MATERIALS","HUMAN_COST","OTHER_COST","FIXED_COST","WORKER_ADVANCE","PRODUCTION_ADVANCE"],"title":"费用类型:1_包装材料;2_人工费用;3_其他费用;4_固定费用;5_工头垫付;6_产地垫付"},"showInEntry":{"type":"boolean","title":"是否在录入时显示"}},"title":"费用项目列表查询"},"MultiResponseCostItemVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/CostItemVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"}}},"CompanyListQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"companyId":{"type":"string","title":"公司管理ID"}},"title":"公司管理列表查询"},"MultiResponseCompanyVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/CompanyVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"}}},"CompanyPaymentAccountListQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"accountId":{"type":"string","title":"公司付款账户ID"},"accountName":{"type":"string","title":"公司付款账户名称"},"companyName":{"type":"string","title":"公司名称"},"companyId":{"type":"string","title":"公司ID"},"accountCategory":{"type":"string","enum":["COMPANY_ACCOUNT","PRIVATE_ACCOUNT"],"title":"账户类别:1_对公账户;2_私人账户"}},"title":"公司付款账户列表查询"},"MultiResponseCompanyPaymentAccountVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/CompanyPaymentAccountVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"}}},"BoxSpecListQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"specId":{"type":"string","title":"纸箱规格ID"}},"title":"纸箱规格列表查询"},"MultiResponseBoxSpecVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/BoxSpecVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"}}},"BoxProductListQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"productId":{"type":"string","title":"纸箱产品ID"},"name":{"type":"string","title":"纸箱产品名称"},"brandId":{"type":"string","title":"纸箱品牌ID"},"specId":{"type":"string","title":"规格ID"},"type":{"type":"string","enum":["OUR_BOX","FARMER_BOX","THIRD_PARTY_BOX","GIFT_BOX"],"title":"品牌类型:1_我方纸箱;2_瓜农纸箱;3_第三方纸箱;4_礼盒;"}},"title":"纸箱产品列表查询"},"MultiResponseBoxProductVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/BoxProductVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"}}},"BoxBrandListQry":{"type":"object","properties":{"status":{"type":"boolean","title":"纸箱品牌状态"},"brandId":{"type":"string","title":"纸箱品牌ID"},"withProduct":{"type":"boolean","title":"是否包含纸箱产品"},"type":{"type":"string","enum":["OUR_BOX","FARMER_BOX","THIRD_PARTY_BOX","GIFT_BOX"],"title":"品牌类型:1_我方纸箱;2_瓜农纸箱;3_第三方纸箱;4_礼盒;"}},"title":"纸箱品牌列表查询"},"MultiResponseBoxBrandVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/BoxBrandVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"}}},"AgreementListQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"agreementId":{"type":"string","title":"协议ID"},"scene":{"type":"string","enum":["STAKEHOLDER_SETUP","CUSTOMER_SETUP","PERSONAL_CENTER"],"title":"协议类型"}},"title":"协议列表查询"},"MultiResponseAgreementVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/AgreementVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"}}},"LastVehicleNoQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"}},"title":"上一车车次号查询参数"},"SingleResponseString":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"string"}}},"PurchaseOrderCountQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"state":{"type":"string","enum":["DRAFT","WAITING_AUDIT","WAITING_BOSS_APPROVE","SHIPPING","PAID","COMPLETED"],"title":"订单状态: 0-草稿, 1-待审核, 2-待老板审核, 3-已发货(待付款), 4-已付款, 5-已完结"}},"title":"采购订单数量查询"},"SingleResponseLong":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"integer","format":"int64"}}},"SupplierCheckQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"customFieldKey":{"type":"string","title":"自定义字段key"},"customFieldValue":{"type":"string","title":"自定义字段value"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"supplierId":{"type":"string","title":"供应商ID"},"name":{"type":"string","title":"供应商名称"},"idCard":{"type":"string","title":"身份证号"},"phone":{"type":"string","title":"手机号"},"offset":{"type":"integer","format":"int32"}},"title":"供应商检测"},"UserDestroyCmd":{"type":"object","properties":{"userId":{"type":"string","title":"用户ID"}},"required":["userId"],"title":"用户删除命令"},"SupplierDestroyCmd":{"type":"object","properties":{"supplierId":{"type":"string","title":"供应商ID"}},"required":["supplierId"],"title":"删除供应商"},"ShipOrderDestroyCmd":{"type":"object","properties":{"shipOrderId":{"type":"string","title":"发货单ID"}},"required":["shipOrderId"],"title":"删除发货单"},"PurchaseOrderDestroyCmd":{"type":"object","properties":{"orderId":{"type":"string","title":"采购订单ID"}},"required":["orderId"],"title":"删除采购订单"},"ProductDestroyCmd":{"type":"object","properties":{"productId":{"type":"string","title":"产品表ID"}},"required":["productId"],"title":"删除产品表"},"PlatformDestroyCmd":{"type":"object","properties":{"platformId":{"type":"string","title":"平台ID"}},"required":["platformId"],"title":"删除平台"},"MenuDestroyCmd":{"type":"object","properties":{"menuId":{"type":"string","title":"菜单Id"}},"required":["menuId"],"title":"菜单删除"},"MaterialDestroyCmd":{"type":"object","properties":{"materialId":{"type":"string","title":"素材Id"}},"required":["materialId"],"title":"素材删除"},"CategoryDestroyCmd":{"type":"object","properties":{"categoryId":{"type":"string","title":"分类Id"}},"required":["categoryId"],"title":"分类删除"},"GiftBoxDestroyCmd":{"type":"object","properties":{"boxId":{"type":"string","title":"礼盒ID"}},"required":["boxId"],"title":"删除礼盒"},"EmployeeDestroyCmd":{"type":"object","properties":{"employeeId":{"type":"string","title":"员工信息ID"}},"required":["employeeId"],"title":"删除员工信息"},"DictionaryDestroyCmd":{"type":"object","properties":{"dictionaryId":{"type":"string","title":"字典ID"}},"required":["dictionaryId"],"title":"删除字典"},"DealerDestroyCmd":{"type":"object","properties":{"dealerId":{"type":"string","title":"经销商表ID"}},"required":["dealerId"],"title":"删除经销商表"},"DealerWarehouseDestroyCmd":{"type":"object","properties":{"warehouseId":{"type":"string","title":"经销商仓库ID"}},"required":["warehouseId"],"title":"删除经销商仓库"},"DealerRebateCustomerDestroyCmd":{"type":"object","properties":{"customerId":{"type":"string","title":"经销商返点客户ID"}},"required":["customerId"],"title":"删除经销商返点客户"},"DealerPaymentAccountDestroyCmd":{"type":"object","properties":{"accountId":{"type":"string","title":"经销商付款账户ID"}},"required":["accountId"],"title":"删除经销商付款账户"},"CostItemDestroyCmd":{"type":"object","properties":{"itemId":{"type":"string","title":"费用项目ID"}},"required":["itemId"],"title":"删除费用项目"},"CompanyDestroyCmd":{"type":"object","properties":{"companyId":{"type":"string","title":"公司管理ID"}},"required":["companyId"],"title":"删除公司管理"},"CompanyPaymentAccountDestroyCmd":{"type":"object","properties":{"accountId":{"type":"string","title":"公司付款账户ID"}},"required":["accountId"],"title":"删除公司付款账户"},"ChannelDestroyCmd":{"type":"object","properties":{"channelId":{"type":"string","title":"渠道ID"}},"required":["channelId"],"title":"渠道删除"},"BoxSpecDestroyCmd":{"type":"object","properties":{"specId":{"type":"string","title":"纸箱规格ID"}},"required":["specId"],"title":"删除纸箱规格"},"BoxProductDestroyCmd":{"type":"object","properties":{"productId":{"type":"string","title":"纸箱产品ID"}},"required":["productId"],"title":"删除纸箱产品"},"BoxBrandDestroyCmd":{"type":"object","properties":{"brandId":{"type":"string","title":"纸箱品牌ID"}},"required":["brandId"],"title":"删除纸箱品牌"},"AgreementDestroyCmd":{"type":"object","properties":{"agreementId":{"type":"string","title":"协议ID"}},"required":["agreementId"],"title":"删除协议"}}}}