swagger.bak.yml 44 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702
  1. openapi: 3.0.0
  2. info:
  3. title: micro_learning
  4. description: CRM
  5. version: 0.0.1
  6. paths:
  7. /Test.Nullable:
  8. post:
  9. tags:
  10. - 测试
  11. operationId: Test.Nullable
  12. summary: 测试空值参数
  13. requestBody:
  14. required: true
  15. content:
  16. application/json:
  17. schema:
  18. oneOf:
  19. - $ref: '#/components/schemas/Nullable'
  20. examples:
  21. AllPass:
  22. $ref: '#/components/examples/NullableReqAllPass'
  23. responses:
  24. 200:
  25. description: 请求成功
  26. content:
  27. application/json:
  28. examples:
  29. success:
  30. $ref: "#/components/examples/success"
  31. /CtrContract.Get:
  32. post:
  33. tags:
  34. - 合同
  35. operationId: CtrContractGet
  36. summary: 合同详情
  37. requestBody:
  38. required: true
  39. content:
  40. application/json:
  41. schema:
  42. oneOf:
  43. - $ref: '#/components/schemas/IdReq'
  44. examples:
  45. IdReq:
  46. $ref: '#/components/examples/IdReq'
  47. responses:
  48. 200:
  49. description: 请求成功
  50. content:
  51. application/json:
  52. examples:
  53. success:
  54. $ref: "#/components/examples/success"
  55. /CtrContract.List:
  56. post:
  57. tags:
  58. - 合同
  59. operationId: CtrContractList
  60. summary: 查询合同
  61. requestBody:
  62. required: true
  63. content:
  64. application/json:
  65. schema:
  66. oneOf:
  67. - $ref: '#/components/schemas/CtrContractList'
  68. examples:
  69. CtrContractList:
  70. $ref: '#/components/examples/CtrContractList'
  71. responses:
  72. 200:
  73. description: 请求成功
  74. content:
  75. application/json:
  76. schema:
  77. oneOf:
  78. - $ref: '#/components/schemas/CtrContractListRsp'
  79. examples:
  80. success:
  81. $ref: "#/components/examples/success"
  82. /CtrContract.DynamicsList:
  83. post:
  84. tags:
  85. - 合同
  86. operationId: CtrContractDynamicsList
  87. summary: 查询合同活动
  88. requestBody:
  89. required: true
  90. content:
  91. application/json:
  92. schema:
  93. oneOf:
  94. - $ref: '#/components/schemas/CtrContractDynamicsList'
  95. examples:
  96. CtrContractDynamicsList:
  97. $ref: '#/components/examples/CtrContractDynamicsList'
  98. responses:
  99. 200:
  100. description: 请求成功
  101. content:
  102. application/json:
  103. examples:
  104. success:
  105. $ref: "#/components/examples/success"
  106. /CtrContract.Add:
  107. post:
  108. tags:
  109. - 合同
  110. operationId: CtrContractAdd
  111. summary: 新增合同
  112. requestBody:
  113. required: true
  114. content:
  115. application/json:
  116. schema:
  117. oneOf:
  118. - $ref: '#/components/schemas/CtrContractAdd'
  119. examples:
  120. CtrContractAdd:
  121. $ref: '#/components/examples/CtrContractAdd'
  122. responses:
  123. 200:
  124. description: 请求成功
  125. content:
  126. application/json:
  127. examples:
  128. success:
  129. $ref: "#/components/examples/success"
  130. /CtrContract.Update:
  131. post:
  132. tags:
  133. - 合同
  134. operationId: CtrContractUpdate
  135. summary: 更新合同
  136. requestBody:
  137. required: true
  138. content:
  139. application/json:
  140. schema:
  141. oneOf:
  142. - $ref: '#/components/schemas/CtrContractUpdate'
  143. examples:
  144. CtrContractUpdate:
  145. $ref: '#/components/examples/CtrContractUpdate'
  146. responses:
  147. 200:
  148. description: 请求成功
  149. content:
  150. application/json:
  151. examples:
  152. success:
  153. $ref: "#/components/examples/success"
  154. /CtrContract.Transfer:
  155. post:
  156. tags:
  157. - 合同
  158. operationId: CtrContractTransfer
  159. summary: 转移合同
  160. requestBody:
  161. required: true
  162. content:
  163. application/json:
  164. schema:
  165. oneOf:
  166. - $ref: '#/components/schemas/CtrContractTransfer'
  167. examples:
  168. CtrContractTransfer:
  169. $ref: '#/components/examples/CtrContractTransfer'
  170. responses:
  171. 200:
  172. description: 请求成功
  173. content:
  174. application/json:
  175. examples:
  176. success:
  177. $ref: "#/components/examples/success"
  178. /CtrContract.Delete:
  179. post:
  180. tags:
  181. - 合同
  182. operationId: CtrContractDelete
  183. summary: 删除合同
  184. requestBody:
  185. required: true
  186. content:
  187. application/json:
  188. schema:
  189. oneOf:
  190. - $ref: '#/components/schemas/IdsReq'
  191. examples:
  192. IdsReq:
  193. $ref: '#/components/examples/IdsReq'
  194. responses:
  195. 200:
  196. description: 请求成功
  197. content:
  198. application/json:
  199. examples:
  200. success:
  201. $ref: "#/components/examples/success"
  202. /CtrContractCollectionPlan.Get:
  203. post:
  204. tags:
  205. - 回款计划
  206. operationId: CtrContractCollectionPlanGet
  207. summary: 回款计划详情
  208. requestBody:
  209. required: true
  210. content:
  211. application/json:
  212. schema:
  213. oneOf:
  214. - $ref: '#/components/schemas/IdReq'
  215. examples:
  216. IdReq:
  217. $ref: '#/components/examples/IdReq'
  218. responses:
  219. 200:
  220. description: 请求成功
  221. content:
  222. application/json:
  223. examples:
  224. success:
  225. $ref: "#/components/examples/success"
  226. /CtrContractCollectionPlan.List:
  227. post:
  228. tags:
  229. - 回款计划
  230. operationId: CtrContractCollectionPlanList
  231. summary: 查询回款计划
  232. requestBody:
  233. required: true
  234. content:
  235. application/json:
  236. schema:
  237. oneOf:
  238. - $ref: '#/components/schemas/CtrContractCollectionPlanList'
  239. examples:
  240. CtrContractCollectionPlanList:
  241. $ref: '#/components/examples/CtrContractCollectionPlanList'
  242. responses:
  243. 200:
  244. description: 请求成功
  245. content:
  246. application/json:
  247. schema:
  248. oneOf:
  249. - $ref: '#/components/schemas/CtrContractCollectionPlanListRsp'
  250. examples:
  251. success:
  252. $ref: "#/components/examples/success"
  253. /CtrContractCollectionPlan.Add:
  254. post:
  255. tags:
  256. - 回款计划
  257. operationId: CtrContractCollectionPlanAdd
  258. summary: 新增回款计划
  259. requestBody:
  260. required: true
  261. content:
  262. application/json:
  263. schema:
  264. oneOf:
  265. - $ref: '#/components/schemas/CtrContractCollectionPlanAdd'
  266. examples:
  267. CtrContractCollectionPlanAdd:
  268. $ref: '#/components/examples/CtrContractCollectionPlanAdd'
  269. responses:
  270. 200:
  271. description: 请求成功
  272. content:
  273. application/json:
  274. examples:
  275. success:
  276. $ref: "#/components/examples/success"
  277. /CtrContractCollectionPlan.Update:
  278. post:
  279. tags:
  280. - 回款计划
  281. operationId: CtrContractCollectionPlanUpdate
  282. summary: 更新回款计划
  283. requestBody:
  284. required: true
  285. content:
  286. application/json:
  287. schema:
  288. oneOf:
  289. - $ref: '#/components/schemas/CtrContractCollectionPlanUpdate'
  290. examples:
  291. CtrContractCollectionPlanUpdate:
  292. $ref: '#/components/examples/CtrContractCollectionPlanUpdate'
  293. responses:
  294. 200:
  295. description: 请求成功
  296. content:
  297. application/json:
  298. examples:
  299. success:
  300. $ref: "#/components/examples/success"
  301. /CtrContractCollectionPlan.Delete:
  302. post:
  303. tags:
  304. - 回款计划
  305. operationId: CtrContractCollectionPlanDelete
  306. summary: 删除回款计划
  307. requestBody:
  308. required: true
  309. content:
  310. application/json:
  311. schema:
  312. oneOf:
  313. - $ref: '#/components/schemas/IdsReq'
  314. examples:
  315. IdsReq:
  316. $ref: '#/components/examples/IdsReq'
  317. responses:
  318. 200:
  319. description: 请求成功
  320. content:
  321. application/json:
  322. examples:
  323. success:
  324. $ref: "#/components/examples/success"
  325. /CtrContractCollection.List:
  326. post:
  327. tags:
  328. - 回款
  329. operationId: CtrContractCollectionList
  330. summary: 查询回款
  331. requestBody:
  332. required: true
  333. content:
  334. application/json:
  335. schema:
  336. oneOf:
  337. - $ref: '#/components/schemas/CtrContractCollectionList'
  338. examples:
  339. CtrContractCollectionList:
  340. $ref: '#/components/examples/CtrContractCollectionList'
  341. responses:
  342. 200:
  343. description: 请求成功
  344. content:
  345. application/json:
  346. schema:
  347. oneOf:
  348. - $ref: '#/components/schemas/CtrContractCollectionListRsp'
  349. examples:
  350. success:
  351. $ref: "#/components/examples/success"
  352. /CtrContractCollection.Add:
  353. post:
  354. tags:
  355. - 回款
  356. operationId: CtrContractCollectionAdd
  357. summary: 新增回款
  358. requestBody:
  359. required: true
  360. content:
  361. application/json:
  362. schema:
  363. oneOf:
  364. - $ref: '#/components/schemas/CtrContractCollectionAdd'
  365. examples:
  366. CtrContractCollectionAdd:
  367. $ref: '#/components/examples/CtrContractCollectionAdd'
  368. responses:
  369. 200:
  370. description: 请求成功
  371. content:
  372. application/json:
  373. examples:
  374. success:
  375. $ref: "#/components/examples/success"
  376. /CtrContractCollection.Update:
  377. post:
  378. tags:
  379. - 回款
  380. operationId: CtrContractCollectionUpdate
  381. summary: 更新回款
  382. requestBody:
  383. required: true
  384. content:
  385. application/json:
  386. schema:
  387. oneOf:
  388. - $ref: '#/components/schemas/CtrContractCollectionUpdate'
  389. examples:
  390. CtrContractCollectionUpdate:
  391. $ref: '#/components/examples/CtrContractCollectionUpdate'
  392. responses:
  393. 200:
  394. description: 请求成功
  395. content:
  396. application/json:
  397. examples:
  398. success:
  399. $ref: "#/components/examples/success"
  400. /CtrContractCollection.Delete:
  401. post:
  402. tags:
  403. - 回款
  404. operationId: CtrContractCollectionDelete
  405. summary: 删除回款
  406. requestBody:
  407. required: true
  408. content:
  409. application/json:
  410. schema:
  411. oneOf:
  412. - $ref: '#/components/schemas/IdsReq'
  413. examples:
  414. IdsReq:
  415. $ref: '#/components/examples/IdsReq'
  416. responses:
  417. 200:
  418. description: 请求成功
  419. content:
  420. application/json:
  421. examples:
  422. success:
  423. $ref: "#/components/examples/success"
  424. /CtrContractAppend.List:
  425. post:
  426. tags:
  427. - 合同附件
  428. operationId: CtrContractAppendList
  429. summary: 查询合同附件
  430. requestBody:
  431. required: true
  432. content:
  433. application/json:
  434. schema:
  435. oneOf:
  436. - $ref: '#/components/schemas/CtrContractAppendList'
  437. examples:
  438. CtrContractAppendList:
  439. $ref: '#/components/examples/CtrContractAppendList'
  440. responses:
  441. 200:
  442. description: 请求成功
  443. content:
  444. application/json:
  445. schema:
  446. oneOf:
  447. - $ref: '#/components/schemas/CtrContractAppendListRsp'
  448. examples:
  449. success:
  450. $ref: "#/components/examples/success"
  451. /CtrContractAppend.Add:
  452. post:
  453. tags:
  454. - 合同附件
  455. operationId: CtrContractAppendAdd
  456. summary: 新增合同附件
  457. requestBody:
  458. required: true
  459. content:
  460. application/json:
  461. schema:
  462. oneOf:
  463. - $ref: '#/components/schemas/CtrContractAppendAdd'
  464. examples:
  465. CtrContractAppendAdd:
  466. $ref: '#/components/examples/CtrContractAppendAdd'
  467. responses:
  468. 200:
  469. description: 请求成功
  470. content:
  471. application/json:
  472. examples:
  473. success:
  474. $ref: "#/components/examples/success"
  475. /CtrContractAppend.Update:
  476. post:
  477. tags:
  478. - 合同附件
  479. operationId: CtrContractAppendUpdate
  480. summary: 更新合同附件
  481. requestBody:
  482. required: true
  483. content:
  484. application/json:
  485. schema:
  486. oneOf:
  487. - $ref: '#/components/schemas/CtrContractAppendUpdate'
  488. examples:
  489. CtrContractAppendUpdate:
  490. $ref: '#/components/examples/CtrContractAppendUpdate'
  491. responses:
  492. 200:
  493. description: 请求成功
  494. content:
  495. application/json:
  496. examples:
  497. success:
  498. $ref: "#/components/examples/success"
  499. /CtrContractAppend.Delete:
  500. post:
  501. tags:
  502. - 合同附件
  503. operationId: CtrContractAppendDelete
  504. summary: 删除合同附件
  505. requestBody:
  506. required: true
  507. content:
  508. application/json:
  509. schema:
  510. oneOf:
  511. - $ref: '#/components/schemas/IdsReq'
  512. examples:
  513. IdsReq:
  514. $ref: '#/components/examples/IdsReq'
  515. responses:
  516. 200:
  517. description: 请求成功
  518. content:
  519. application/json:
  520. examples:
  521. success:
  522. $ref: "#/components/examples/success"
  523. /CtrContractInvoice.List:
  524. post:
  525. tags:
  526. - 合同发票
  527. operationId: CtrContractInvoiceList
  528. summary: 查询合同发票
  529. requestBody:
  530. required: true
  531. content:
  532. application/json:
  533. schema:
  534. oneOf:
  535. - $ref: '#/components/schemas/CtrContractInvoiceList'
  536. examples:
  537. CtrContractInvoiceList:
  538. $ref: '#/components/examples/CtrContractInvoiceList'
  539. responses:
  540. 200:
  541. description: 请求成功
  542. content:
  543. application/json:
  544. schema:
  545. oneOf:
  546. - $ref: '#/components/schemas/CtrContractInvoiceListRsp'
  547. examples:
  548. success:
  549. $ref: "#/components/examples/success"
  550. /CtrContractInvoice.Add:
  551. post:
  552. tags:
  553. - 合同发票
  554. operationId: CtrContractInvoiceAdd
  555. summary: 新增合同发票
  556. requestBody:
  557. required: true
  558. content:
  559. application/json:
  560. schema:
  561. oneOf:
  562. - $ref: '#/components/schemas/CtrContractInvoiceAdd'
  563. examples:
  564. CtrContractInvoiceAdd:
  565. $ref: '#/components/examples/CtrContractInvoiceAdd'
  566. responses:
  567. 200:
  568. description: 请求成功
  569. content:
  570. application/json:
  571. examples:
  572. success:
  573. $ref: "#/components/examples/success"
  574. /CtrContractInvoice.Update:
  575. post:
  576. tags:
  577. - 合同发票
  578. operationId: CtrContractInvoiceUpdate
  579. summary: 更新合同发票
  580. requestBody:
  581. required: true
  582. content:
  583. application/json:
  584. schema:
  585. oneOf:
  586. - $ref: '#/components/schemas/CtrContractInvoiceUpdate'
  587. examples:
  588. CtrContractInvoiceUpdate:
  589. $ref: '#/components/examples/CtrContractInvoiceUpdate'
  590. responses:
  591. 200:
  592. description: 请求成功
  593. content:
  594. application/json:
  595. examples:
  596. success:
  597. $ref: "#/components/examples/success"
  598. /CtrContractInvoice.Delete:
  599. post:
  600. tags:
  601. - 合同发票
  602. operationId: CtrContractInvoiceDelete
  603. summary: 删除合同发票
  604. requestBody:
  605. required: true
  606. content:
  607. application/json:
  608. schema:
  609. oneOf:
  610. - $ref: '#/components/schemas/IdsReq'
  611. examples:
  612. IdsReq:
  613. $ref: '#/components/examples/IdsReq'
  614. responses:
  615. 200:
  616. description: 请求成功
  617. content:
  618. application/json:
  619. examples:
  620. success:
  621. $ref: "#/components/examples/success"
  622. # 添加这个 swagger ui 会显示授权按钮
  623. security:
  624. - bearerAuth: []
  625. components:
  626. securitySchemes:
  627. basicAuth:
  628. type: http
  629. scheme: basic
  630. bearerAuth:
  631. type: http
  632. scheme: bearer
  633. schemas:
  634. Nullable:
  635. type: object
  636. required:
  637. - Str
  638. - Int
  639. - Bool
  640. - Slice
  641. properties:
  642. Str:
  643. type: string
  644. description: 字符串参数
  645. Int:
  646. type: integer
  647. description: Int 参数
  648. Bool:
  649. type: boolean
  650. description: Bool 参数
  651. Slice:
  652. type: array
  653. description: Slice 参数
  654. items:
  655. type: integer
  656. NoArgs:
  657. type: object
  658. properties:
  659. noargs:
  660. type: string
  661. description: 无参数,但是 body 中必须传输一个 json 空对象 "{}"
  662. IdReq:
  663. type: object
  664. required:
  665. - id
  666. properties:
  667. id:
  668. type: integer
  669. description: ID
  670. IdsReq:
  671. type: object
  672. required:
  673. - id
  674. properties:
  675. id:
  676. type: array
  677. description: ID
  678. items:
  679. type: integer
  680. CtrContractList:
  681. type: object
  682. properties:
  683. beginTime:
  684. type: string
  685. description: 开始时间
  686. endTime:
  687. type: string
  688. description: 结束时间
  689. pageNum:
  690. type: integer
  691. description: 当前页码
  692. pageSize:
  693. type: integer
  694. description: 每页数
  695. orderBy:
  696. type: string
  697. description: 排序方式
  698. searchText:
  699. type: string
  700. description: 按合同编号,合同名称,客户名称,项目名称搜索
  701. contractCode:
  702. type: string
  703. description: 合同编号
  704. contractName:
  705. type: string
  706. description: 合同名称
  707. custId:
  708. type: integer
  709. description: 关联客户
  710. custName:
  711. type: string
  712. description: 客户名称
  713. nboId:
  714. type: integer
  715. description: 关联项目
  716. nboName:
  717. type: string
  718. description: 项目名称
  719. approStatus:
  720. type: string
  721. description: 审批状态
  722. contractType:
  723. type: string
  724. description: 合同类型
  725. contractAmount:
  726. type: number
  727. description: 合同金额
  728. invoiceAmount:
  729. type: number
  730. description: 已开票金额
  731. collectedAmount:
  732. type: number
  733. description: 已回款金额
  734. # contractStartTime:
  735. # type: string
  736. # description: 合同开始时间
  737. # contractEndTime:
  738. # type: string
  739. # description: 合同结束时间
  740. inchargeId:
  741. type: integer
  742. description: 负责人ID
  743. inchargeName:
  744. type: string
  745. description: 负责人
  746. signatoryId:
  747. type: integer
  748. description: 公司签约人ID
  749. signatoryName:
  750. type: string
  751. description: 公司签约人
  752. distributorId:
  753. type: integer
  754. description: 经销商ID
  755. distributorName:
  756. type: string
  757. description: 经销商
  758. CtrContractDynamicsList:
  759. type: object
  760. properties:
  761. beginTime:
  762. type: string
  763. description: 开始时间
  764. endTime:
  765. type: string
  766. description: 结束时间
  767. pageNum:
  768. type: integer
  769. description: 当前页码
  770. pageSize:
  771. type: integer
  772. description: 每页数
  773. orderBy:
  774. type: string
  775. description: 排序方式
  776. searchText:
  777. type: string
  778. description: 操作人,操作内容
  779. contractId:
  780. type: integer
  781. description: 合同ID
  782. opnPeopleId:
  783. type: integer
  784. description: 操作人ID
  785. opnPeople:
  786. type: string
  787. description: 操作人
  788. opnType:
  789. type: string
  790. description: 操作类型
  791. # opnContent:
  792. # type: string
  793. # description: 操作内容
  794. CtrContractAdd:
  795. type: object
  796. required:
  797. properties:
  798. contractCode:
  799. type: string
  800. description: 合同编号
  801. contractName:
  802. type: string
  803. description: 合同名称
  804. # custId:
  805. # type: integer
  806. # description: 关联客户
  807. # custName:
  808. # type: string
  809. # description: 客户名称
  810. nboId:
  811. type: integer
  812. description: 关联项目
  813. # nboName:
  814. # type: string
  815. # description: 项目名称
  816. # approStatus:
  817. # type: string
  818. # description: 审批状态
  819. contractType:
  820. type: string
  821. description: 合同类型
  822. # contractAmount:
  823. # type: number
  824. # description: 合同金额
  825. # invoiceAmount:
  826. # type: number
  827. # description: 已开票金额
  828. # collectedAmount:
  829. # type: number
  830. # description: 已回款金额
  831. contractStartTime:
  832. type: string
  833. description: 合同开始时间
  834. contractEndTime:
  835. type: string
  836. description: 合同结束时间
  837. inchargeId:
  838. type: integer
  839. description: 负责人ID
  840. inchargeName:
  841. type: string
  842. description: 负责人
  843. signatoryId:
  844. type: integer
  845. description: 公司签约人ID
  846. signatoryName:
  847. type: string
  848. description: 公司签约人
  849. custSignatoryId:
  850. type: integer
  851. description: 客户签约人ID
  852. custSignatoryName:
  853. type: string
  854. description: 客户签约人
  855. distributorId:
  856. type: integer
  857. description: 经销商ID
  858. distributorName:
  859. type: string
  860. description: 经销商
  861. remark:
  862. type: string
  863. description: 备注
  864. product:
  865. type: array
  866. description: 产品
  867. items:
  868. type: object
  869. properties:
  870. prodId:
  871. type: integer
  872. description: 关联产品
  873. prodNum:
  874. type: integer
  875. description: 产品数量
  876. maintTerm:
  877. type: integer
  878. description: 维保期
  879. sugSalesPrice:
  880. type: number
  881. description: 建议成交价
  882. tranPrice:
  883. type: number
  884. description: 成交价格
  885. remark:
  886. type: string
  887. description: 备注
  888. CtrContractUpdate:
  889. type: object
  890. required:
  891. - id
  892. properties:
  893. id:
  894. type: integer
  895. description: Id
  896. # contractCode:
  897. # type: string
  898. # description: 合同编号
  899. contractName:
  900. type: string
  901. description: 合同名称
  902. # custId:
  903. # type: integer
  904. # description: 关联客户
  905. # custName:
  906. # type: string
  907. # description: 客户名称
  908. nboId:
  909. type: integer
  910. description: 关联项目
  911. # nboName:
  912. # type: string
  913. # description: 项目名称
  914. # approStatus:
  915. # type: string
  916. # description: 审批状态
  917. contractType:
  918. type: string
  919. description: 合同类型
  920. # contractAmount:
  921. # type: number
  922. # description: 合同金额
  923. # invoiceAmount:
  924. # type: number
  925. # description: 已开票金额
  926. # collectedAmount:
  927. # type: number
  928. # description: 已回款金额
  929. contractStartTime:
  930. type: string
  931. description: 合同开始时间
  932. contractEndTime:
  933. type: string
  934. description: 合同结束时间
  935. # inchargeId:
  936. # type: integer
  937. # description: 负责人ID
  938. # inchargeName:
  939. # type: string
  940. # description: 负责人
  941. signatoryId:
  942. type: integer
  943. description: 公司签约人ID
  944. signatoryName:
  945. type: string
  946. description: 公司签约人
  947. custSignatoryId:
  948. type: integer
  949. description: 客户签约人ID
  950. custSignatoryName:
  951. type: string
  952. description: 客户签约人
  953. distributorId:
  954. type: integer
  955. description: 经销商ID
  956. distributorName:
  957. type: string
  958. description: 经销商
  959. remark:
  960. type: string
  961. description: 备注
  962. product:
  963. type: array
  964. description: 产品
  965. items:
  966. type: object
  967. properties:
  968. prodId:
  969. type: integer
  970. description: 关联产品
  971. prodNum:
  972. type: integer
  973. description: 产品数量
  974. maintTerm:
  975. type: integer
  976. description: 维保期
  977. sugSalesPrice:
  978. type: number
  979. description: 建议成交价
  980. tranPrice:
  981. type: number
  982. description: 成交价格
  983. remark:
  984. type: string
  985. description: 备注
  986. CtrContractTransfer:
  987. type: object
  988. required:
  989. - id
  990. properties:
  991. id:
  992. type: array
  993. description: Id
  994. items:
  995. type: integer
  996. inchargeId:
  997. type: integer
  998. description: 负责人ID
  999. inchargeName:
  1000. type: string
  1001. description: 负责人
  1002. CtrContractCollectionPlanList:
  1003. type: object
  1004. properties:
  1005. beginTime:
  1006. type: string
  1007. description: 开始时间
  1008. endTime:
  1009. type: string
  1010. description: 结束时间
  1011. pageNum:
  1012. type: integer
  1013. description: 当前页码
  1014. pageSize:
  1015. type: integer
  1016. description: 每页数
  1017. orderBy:
  1018. type: string
  1019. description: 排序方式
  1020. searchText:
  1021. type: string
  1022. description: 按合同编号,客户名称搜索
  1023. custId:
  1024. type: integer
  1025. description: 关联客户
  1026. custName:
  1027. type: string
  1028. description: 客户名称
  1029. contractId:
  1030. type: integer
  1031. description: 关联合同
  1032. contractCode:
  1033. type: string
  1034. description: 合同编号
  1035. contractStatus:
  1036. type: string
  1037. description: 回款状态(10待回款20部分回款30全部回款)
  1038. # planAmount:
  1039. # type: number
  1040. # description: 计划回款金额
  1041. # planDatetime:
  1042. # type: string
  1043. # description: 计划回款日期
  1044. # cashedAmount:
  1045. # type: number
  1046. # description: 实际回款金额
  1047. # cashedDatetime:
  1048. # type: string
  1049. # description: 实际回款日期
  1050. CtrContractCollectionPlanAdd:
  1051. type: object
  1052. required:
  1053. properties:
  1054. # custId:
  1055. # type: integer
  1056. # description: 关联客户
  1057. # custName:
  1058. # type: string
  1059. # description: 客户名称
  1060. contractId:
  1061. type: integer
  1062. description: 关联合同
  1063. # contractCode:
  1064. # type: string
  1065. # description: 合同编号
  1066. # contractStatus:
  1067. # type: string
  1068. # description: 回款状态(10待回款20部分回款30全部回款)
  1069. planAmount:
  1070. type: number
  1071. description: 计划回款金额
  1072. planDatetime:
  1073. type: string
  1074. description: 计划回款日期
  1075. # cashedAmount:
  1076. # type: number
  1077. # description: 实际回款金额
  1078. # cashedDatetime:
  1079. # type: string
  1080. # description: 实际回款日期
  1081. remark:
  1082. type: string
  1083. description: 备注
  1084. CtrContractCollectionPlanUpdate:
  1085. type: object
  1086. required:
  1087. - id
  1088. properties:
  1089. id:
  1090. type: integer
  1091. description: Id
  1092. # custId:
  1093. # type: integer
  1094. # description: 关联客户
  1095. # custName:
  1096. # type: string
  1097. # description: 客户名称
  1098. # contractId:
  1099. # type: integer
  1100. # description: 关联合同
  1101. # contractCode:
  1102. # type: string
  1103. # description: 合同编号
  1104. # contractStatus:
  1105. # type: string
  1106. # description: 回款状态(10待回款20部分回款30全部回款)
  1107. planAmount:
  1108. type: number
  1109. description: 计划回款金额
  1110. planDatetime:
  1111. type: string
  1112. description: 计划回款日期
  1113. # cashedAmount:
  1114. # type: number
  1115. # description: 实际回款金额
  1116. # cashedDatetime:
  1117. # type: string
  1118. # description: 实际回款日期
  1119. remark:
  1120. type: string
  1121. description: 备注
  1122. CtrContractCollectionList:
  1123. type: object
  1124. properties:
  1125. beginTime:
  1126. type: string
  1127. description: 开始时间
  1128. endTime:
  1129. type: string
  1130. description: 结束时间
  1131. pageNum:
  1132. type: integer
  1133. description: 当前页码
  1134. pageSize:
  1135. type: integer
  1136. description: 每页数
  1137. orderBy:
  1138. type: string
  1139. description: 排序方式
  1140. searchText:
  1141. type: string
  1142. description: 按合同编号,客户名称搜索
  1143. planId:
  1144. type: integer
  1145. description: 合同回款计划
  1146. custId:
  1147. type: integer
  1148. description: 关联客户
  1149. custName:
  1150. type: string
  1151. description: 客户名称
  1152. contractId:
  1153. type: integer
  1154. description: 关联合同
  1155. contractCode:
  1156. type: string
  1157. description: 合同编号
  1158. # collectionDatetime:
  1159. # type: string
  1160. # description: 回款日期
  1161. # collectionAmount:
  1162. # type: number
  1163. # description: 回款金额
  1164. collectionType:
  1165. type: string
  1166. description: 回款方式
  1167. approStatus:
  1168. type: string
  1169. description: 审核状态 10 未回款 20 已回款
  1170. # contractAmount:
  1171. # type: number
  1172. # description: 合同金额
  1173. CtrContractCollectionAdd:
  1174. type: object
  1175. required:
  1176. properties:
  1177. planId:
  1178. type: integer
  1179. description: 合同回款计划
  1180. # custId:
  1181. # type: integer
  1182. # description: 关联客户
  1183. # custName:
  1184. # type: string
  1185. # description: 客户名称
  1186. contractId:
  1187. type: integer
  1188. description: 关联合同
  1189. # contractCode:
  1190. # type: string
  1191. # description: 合同编号
  1192. collectionDatetime:
  1193. type: string
  1194. description: 回款日期
  1195. collectionAmount:
  1196. type: number
  1197. description: 回款金额
  1198. collectionType:
  1199. type: string
  1200. description: 回款方式
  1201. # approStatus:
  1202. # type: string
  1203. # description: 审核状态 10 未回款 20 已回款
  1204. # contractAmount:
  1205. # type: number
  1206. # description: 合同金额
  1207. remark:
  1208. type: string
  1209. description: 备注
  1210. CtrContractCollectionUpdate:
  1211. type: object
  1212. required:
  1213. - id
  1214. properties:
  1215. id:
  1216. type: integer
  1217. description: Id
  1218. planId:
  1219. type: integer
  1220. description: 合同回款计划
  1221. # custId:
  1222. # type: integer
  1223. # description: 关联客户
  1224. # custName:
  1225. # type: string
  1226. # description: 客户名称
  1227. # contractId:
  1228. # type: integer
  1229. # description: 关联合同
  1230. # contractCode:
  1231. # type: string
  1232. # description: 合同编号
  1233. collectionDatetime:
  1234. type: string
  1235. description: 回款日期
  1236. collectionAmount:
  1237. type: number
  1238. description: 回款金额
  1239. collectionType:
  1240. type: string
  1241. description: 回款方式
  1242. approStatus:
  1243. type: string
  1244. description: 审核状态 10 未回款 20 已回款
  1245. # contractAmount:
  1246. # type: number
  1247. # description: 合同金额
  1248. remark:
  1249. type: string
  1250. description: 备注
  1251. CtrContractAppendList:
  1252. type: object
  1253. properties:
  1254. beginTime:
  1255. type: string
  1256. description: 开始时间
  1257. endTime:
  1258. type: string
  1259. description: 结束时间
  1260. pageNum:
  1261. type: integer
  1262. description: 当前页码
  1263. pageSize:
  1264. type: integer
  1265. description: 每页数
  1266. orderBy:
  1267. type: string
  1268. description: 排序方式
  1269. contractId:
  1270. type: integer
  1271. description: 关联合同
  1272. fileName:
  1273. type: string
  1274. description: 文件名称
  1275. # fileType:
  1276. # type: string
  1277. # description: 文件类型
  1278. # fileUrl:
  1279. # type: string
  1280. # description: 文件地址
  1281. CtrContractAppendAdd:
  1282. type: object
  1283. required:
  1284. properties:
  1285. contractId:
  1286. type: integer
  1287. description: 关联合同
  1288. fileName:
  1289. type: string
  1290. description: 文件名称
  1291. fileType:
  1292. type: string
  1293. description: 文件类型
  1294. fileUrl:
  1295. type: string
  1296. description: 文件地址
  1297. remark:
  1298. type: string
  1299. description: 备注
  1300. CtrContractAppendUpdate:
  1301. type: object
  1302. required:
  1303. - id
  1304. properties:
  1305. id:
  1306. type: integer
  1307. description: Id
  1308. contractId:
  1309. type: integer
  1310. description: 关联合同
  1311. fileName:
  1312. type: string
  1313. description: 文件名称
  1314. fileType:
  1315. type: string
  1316. description: 文件类型
  1317. fileUrl:
  1318. type: string
  1319. description: 文件地址
  1320. remark:
  1321. type: string
  1322. description: 备注
  1323. CtrContractInvoiceList:
  1324. type: object
  1325. properties:
  1326. beginTime:
  1327. type: string
  1328. description: 开始时间
  1329. endTime:
  1330. type: string
  1331. description: 结束时间
  1332. pageNum:
  1333. type: integer
  1334. description: 当前页码
  1335. pageSize:
  1336. type: integer
  1337. description: 每页数
  1338. orderBy:
  1339. type: string
  1340. description: 排序方式
  1341. searchText:
  1342. type: string
  1343. description: 合同编号,客户名称
  1344. custId:
  1345. type: integer
  1346. description: 关联客户
  1347. custName:
  1348. type: string
  1349. description: 客户名称
  1350. contractId:
  1351. type: integer
  1352. description: 关联合同
  1353. contractCode:
  1354. type: string
  1355. description: 合同编号
  1356. # contractAmount:
  1357. # type: number
  1358. # description: 合同金额
  1359. # invoiceAmount:
  1360. # type: number
  1361. # description: 开票金额
  1362. # invoiceDate:
  1363. # type: string
  1364. # description: 开票日期
  1365. invoiceType:
  1366. type: string
  1367. description: 开票类型
  1368. approStatus:
  1369. type: string
  1370. description: 审核状态 10 未通过 20 已通过
  1371. invoiceCode:
  1372. type: string
  1373. description: 发票号码
  1374. # actualInvoiceDate:
  1375. # type: string
  1376. # description: 实际开票日期
  1377. courierCode:
  1378. type: string
  1379. description: 快递单号
  1380. CtrContractInvoiceAdd:
  1381. type: object
  1382. required:
  1383. properties:
  1384. # custId:
  1385. # type: integer
  1386. # description: 关联客户
  1387. # custName:
  1388. # type: string
  1389. # description: 客户名称
  1390. contractId:
  1391. type: integer
  1392. description: 关联合同
  1393. # contractCode:
  1394. # type: string
  1395. # description: 合同编号
  1396. # contractAmount:
  1397. # type: number
  1398. # description: 合同金额
  1399. invoiceAmount:
  1400. type: number
  1401. description: 开票金额
  1402. invoiceDate:
  1403. type: string
  1404. description: 开票日期
  1405. invoiceType:
  1406. type: string
  1407. description: 开票类型
  1408. # approStatus:
  1409. # type: string
  1410. # description: 审核状态
  1411. invoiceCode:
  1412. type: string
  1413. description: 发票号码
  1414. actualInvoiceDate:
  1415. type: string
  1416. description: 实际开票日期
  1417. courierCode:
  1418. type: string
  1419. description: 快递单号
  1420. remark:
  1421. type: string
  1422. description: 备注
  1423. CtrContractInvoiceUpdate:
  1424. type: object
  1425. required:
  1426. - id
  1427. properties:
  1428. id:
  1429. type: integer
  1430. description: Id
  1431. # custId:
  1432. # type: integer
  1433. # description: 关联客户
  1434. # custName:
  1435. # type: string
  1436. # description: 客户名称
  1437. # contractId:
  1438. # type: integer
  1439. # description: 关联合同
  1440. # contractCode:
  1441. # type: string
  1442. # description: 合同编号
  1443. # contractAmount:
  1444. # type: number
  1445. # description: 合同金额
  1446. invoiceAmount:
  1447. type: number
  1448. description: 开票金额
  1449. invoiceDate:
  1450. type: string
  1451. description: 开票日期
  1452. invoiceType:
  1453. type: string
  1454. description: 开票类型
  1455. approStatus:
  1456. type: string
  1457. description: 审核状态
  1458. invoiceCode:
  1459. type: string
  1460. description: 发票号码
  1461. actualInvoiceDate:
  1462. type: string
  1463. description: 实际开票日期
  1464. courierCode:
  1465. type: string
  1466. description: 快递单号
  1467. remark:
  1468. type: string
  1469. description: 备注
  1470. examples:
  1471. success:
  1472. summary: 请求成功
  1473. value:
  1474. code: 200,
  1475. msg: "success"
  1476. NullableReqAllPass:
  1477. value:
  1478. Str: ""
  1479. Int: 0
  1480. Bool: false
  1481. Slice: []
  1482. NoArgs:
  1483. value:
  1484. noargs: ""
  1485. IdReq:
  1486. value:
  1487. id: 2
  1488. IdsReq:
  1489. value:
  1490. id: [1]
  1491. CtrContractList:
  1492. value:
  1493. searchText: ""
  1494. CtrContractDynamicsList:
  1495. value:
  1496. searchText: ""
  1497. CtrContractAdd:
  1498. value:
  1499. contractCode: "1"
  1500. contractName: "1"
  1501. nboId: 1
  1502. contractType: "1"
  1503. contractStartTime: "2020-01-01 01:01:01"
  1504. contractEndTime: "2020-01-01 01:01:01"
  1505. inchargeId: 1
  1506. inchargeName: "管理员"
  1507. signatoryId: 1
  1508. signatoryName: "管理员"
  1509. custSignatoryId: 1
  1510. custSignatoryName: "客户联系人1"
  1511. distributorId: 1
  1512. distributorName: "管理员"
  1513. remark: "备注"
  1514. product:
  1515. -
  1516. prodId: 2
  1517. prodNum: 1
  1518. maintTerm: 1
  1519. sugSalesPrice: 1
  1520. tranPrice: 1
  1521. remark: "备注"
  1522. CtrContractUpdate:
  1523. value:
  1524. id: 2
  1525. # contractCode: "2"
  1526. contractName: "2"
  1527. nboId: 2
  1528. contractType: "2"
  1529. contractStartTime: "2020-01-01 02:02:02"
  1530. contractEndTime: "2020-01-01 02:02:02"
  1531. signatoryId: 1
  1532. signatoryName: "管理员"
  1533. custSignatoryId: 2
  1534. custSignatoryName: "客户联系人2"
  1535. distributorId: 1
  1536. distributorName: "管理员"
  1537. remark: "备注2"
  1538. product: []
  1539. CtrContractTransfer:
  1540. value:
  1541. id: [2]
  1542. inchargeId: 2
  1543. inchargeName: "管理员2"
  1544. CtrContractCollectionPlanList:
  1545. value:
  1546. searchText: ""
  1547. CtrContractCollectionPlanAdd:
  1548. value:
  1549. # custId: 1
  1550. # custName: 1
  1551. contractId: 1
  1552. # contractCode: 1
  1553. # contractStatus: 1
  1554. planAmount: 1
  1555. planDatetime: "2020-01-01 01:01:01"
  1556. # cashedAmount: 1
  1557. # cashedDatetime: "2020-01-01 02:02:02"
  1558. remark: "备注"
  1559. CtrContractCollectionPlanUpdate:
  1560. value:
  1561. id: 2
  1562. # custId: 2
  1563. # custName: 2
  1564. # contractId: 2
  1565. # contractCode: 2
  1566. # contractStatus: 2
  1567. planAmount: 2
  1568. planDatetime: "2020-01-01 02:02:02"
  1569. # cashedAmount: 2
  1570. # cashedDatetime: 2
  1571. remark: "备注2"
  1572. CtrContractCollectionList:
  1573. value:
  1574. searchText: ""
  1575. CtrContractCollectionAdd:
  1576. value:
  1577. planId: 1
  1578. # custId: 1
  1579. # custName: 1
  1580. contractId: 1
  1581. # contractCode: 1
  1582. collectionDatetime: "2020-01-01 01:01:01"
  1583. collectionAmount: 1
  1584. collectionType: "1"
  1585. # approStatus: 1
  1586. # contractAmount: 1
  1587. remark: "备注"
  1588. CtrContractCollectionUpdate:
  1589. value:
  1590. id: 2
  1591. # planId: 2
  1592. # custId: 2
  1593. # custName: 2
  1594. # contractId: 2
  1595. # contractCode: 2
  1596. collectionDatetime: "2020-01-01 02:02:02"
  1597. collectionAmount: 2
  1598. collectionType: "2"
  1599. approStatus: "20"
  1600. # contractAmount: 2
  1601. remark: "备注2"
  1602. CtrContractAppendList:
  1603. value:
  1604. fileName: ""
  1605. CtrContractAppendAdd:
  1606. value:
  1607. contractId: 1
  1608. fileName: "1"
  1609. fileType: "1"
  1610. fileUrl: "1"
  1611. remark: "1"
  1612. CtrContractAppendUpdate:
  1613. value:
  1614. id: 2
  1615. contractId: 2
  1616. fileName: "2"
  1617. fileType: "2"
  1618. fileUrl: "2"
  1619. remark: "2"
  1620. CtrContractInvoiceList:
  1621. value:
  1622. searchText: ""
  1623. CtrContractInvoiceAdd:
  1624. value:
  1625. # custId: 1
  1626. # custName: 1
  1627. contractId: 1
  1628. # contractCode: 1
  1629. # contractAmount: 1
  1630. invoiceAmount: 1
  1631. invoiceDate: "2020-01-01 01:01:01"
  1632. invoiceType: "1"
  1633. # approStatus: 1
  1634. invoiceCode: "1"
  1635. actualInvoiceDate: "2020-01-01 01:01:01"
  1636. courierCode: "1"
  1637. remark: "备注"
  1638. CtrContractInvoiceUpdate:
  1639. value:
  1640. id: 2
  1641. # custId: 2
  1642. # custName: 2
  1643. # contractId: 2
  1644. # contractCode: 2
  1645. # contractAmount: 2
  1646. invoiceAmount: 2
  1647. invoiceDate: "2020-01-01 02:02:02"
  1648. invoiceType: "2"
  1649. approStatus: "20"
  1650. invoiceCode: "2"
  1651. actualInvoiceDate: "2020-01-01 02:02:02"
  1652. courierCode: "2"
  1653. remark: "备注2"