swagger.yml 43 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684
  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. distributorId:
  850. type: integer
  851. description: 经销商ID
  852. distributorName:
  853. type: string
  854. description: 经销商
  855. remark:
  856. type: string
  857. description: 备注
  858. product:
  859. type: array
  860. description: 产品
  861. items:
  862. type: object
  863. properties:
  864. prodId:
  865. type: integer
  866. description: 关联产品
  867. prodNum:
  868. type: integer
  869. description: 产品数量
  870. maintTerm:
  871. type: integer
  872. description: 维保期
  873. sugSalesPrice:
  874. type: number
  875. description: 建议成交价
  876. tranPrice:
  877. type: number
  878. description: 成交价格
  879. remark:
  880. type: string
  881. description: 备注
  882. CtrContractUpdate:
  883. type: object
  884. required:
  885. - id
  886. properties:
  887. id:
  888. type: integer
  889. description: Id
  890. contractCode:
  891. type: string
  892. description: 合同编号
  893. contractName:
  894. type: string
  895. description: 合同名称
  896. # custId:
  897. # type: integer
  898. # description: 关联客户
  899. # custName:
  900. # type: string
  901. # description: 客户名称
  902. nboId:
  903. type: integer
  904. description: 关联项目
  905. # nboName:
  906. # type: string
  907. # description: 项目名称
  908. # approStatus:
  909. # type: string
  910. # description: 审批状态
  911. contractType:
  912. type: string
  913. description: 合同类型
  914. # contractAmount:
  915. # type: number
  916. # description: 合同金额
  917. # invoiceAmount:
  918. # type: number
  919. # description: 已开票金额
  920. # collectedAmount:
  921. # type: number
  922. # description: 已回款金额
  923. contractStartTime:
  924. type: string
  925. description: 合同开始时间
  926. contractEndTime:
  927. type: string
  928. description: 合同结束时间
  929. # inchargeId:
  930. # type: integer
  931. # description: 负责人ID
  932. # inchargeName:
  933. # type: string
  934. # description: 负责人
  935. signatoryId:
  936. type: integer
  937. description: 公司签约人ID
  938. signatoryName:
  939. type: string
  940. description: 公司签约人
  941. distributorId:
  942. type: integer
  943. description: 经销商ID
  944. distributorName:
  945. type: string
  946. description: 经销商
  947. remark:
  948. type: string
  949. description: 备注
  950. product:
  951. type: array
  952. description: 产品
  953. items:
  954. type: object
  955. properties:
  956. prodId:
  957. type: integer
  958. description: 关联产品
  959. prodNum:
  960. type: integer
  961. description: 产品数量
  962. maintTerm:
  963. type: integer
  964. description: 维保期
  965. sugSalesPrice:
  966. type: number
  967. description: 建议成交价
  968. tranPrice:
  969. type: number
  970. description: 成交价格
  971. remark:
  972. type: string
  973. description: 备注
  974. CtrContractTransfer:
  975. type: object
  976. required:
  977. - id
  978. properties:
  979. id:
  980. type: integer
  981. description: Id
  982. inchargeId:
  983. type: integer
  984. description: 负责人ID
  985. inchargeName:
  986. type: string
  987. description: 负责人
  988. CtrContractCollectionPlanList:
  989. type: object
  990. properties:
  991. beginTime:
  992. type: string
  993. description: 开始时间
  994. endTime:
  995. type: string
  996. description: 结束时间
  997. pageNum:
  998. type: integer
  999. description: 当前页码
  1000. pageSize:
  1001. type: integer
  1002. description: 每页数
  1003. orderBy:
  1004. type: string
  1005. description: 排序方式
  1006. searchText:
  1007. type: string
  1008. description: 按合同编号,客户名称搜索
  1009. custId:
  1010. type: integer
  1011. description: 关联客户
  1012. custName:
  1013. type: string
  1014. description: 客户名称
  1015. contractId:
  1016. type: integer
  1017. description: 关联合同
  1018. contractCode:
  1019. type: string
  1020. description: 合同编号
  1021. contractStatus:
  1022. type: string
  1023. description: 回款状态(10待回款20部分回款30全部回款)
  1024. # planAmount:
  1025. # type: number
  1026. # description: 计划回款金额
  1027. # planDatetime:
  1028. # type: string
  1029. # description: 计划回款日期
  1030. # cashedAmount:
  1031. # type: number
  1032. # description: 实际回款金额
  1033. # cashedDatetime:
  1034. # type: string
  1035. # description: 实际回款日期
  1036. CtrContractCollectionPlanAdd:
  1037. type: object
  1038. required:
  1039. properties:
  1040. # custId:
  1041. # type: integer
  1042. # description: 关联客户
  1043. # custName:
  1044. # type: string
  1045. # description: 客户名称
  1046. contractId:
  1047. type: integer
  1048. description: 关联合同
  1049. # contractCode:
  1050. # type: string
  1051. # description: 合同编号
  1052. # contractStatus:
  1053. # type: string
  1054. # description: 回款状态(10待回款20部分回款30全部回款)
  1055. planAmount:
  1056. type: number
  1057. description: 计划回款金额
  1058. planDatetime:
  1059. type: string
  1060. description: 计划回款日期
  1061. # cashedAmount:
  1062. # type: number
  1063. # description: 实际回款金额
  1064. # cashedDatetime:
  1065. # type: string
  1066. # description: 实际回款日期
  1067. remark:
  1068. type: string
  1069. description: 备注
  1070. CtrContractCollectionPlanUpdate:
  1071. type: object
  1072. required:
  1073. - id
  1074. properties:
  1075. id:
  1076. type: integer
  1077. description: Id
  1078. # custId:
  1079. # type: integer
  1080. # description: 关联客户
  1081. # custName:
  1082. # type: string
  1083. # description: 客户名称
  1084. # contractId:
  1085. # type: integer
  1086. # description: 关联合同
  1087. # contractCode:
  1088. # type: string
  1089. # description: 合同编号
  1090. # contractStatus:
  1091. # type: string
  1092. # description: 回款状态(10待回款20部分回款30全部回款)
  1093. planAmount:
  1094. type: number
  1095. description: 计划回款金额
  1096. planDatetime:
  1097. type: string
  1098. description: 计划回款日期
  1099. # cashedAmount:
  1100. # type: number
  1101. # description: 实际回款金额
  1102. # cashedDatetime:
  1103. # type: string
  1104. # description: 实际回款日期
  1105. remark:
  1106. type: string
  1107. description: 备注
  1108. CtrContractCollectionList:
  1109. type: object
  1110. properties:
  1111. beginTime:
  1112. type: string
  1113. description: 开始时间
  1114. endTime:
  1115. type: string
  1116. description: 结束时间
  1117. pageNum:
  1118. type: integer
  1119. description: 当前页码
  1120. pageSize:
  1121. type: integer
  1122. description: 每页数
  1123. orderBy:
  1124. type: string
  1125. description: 排序方式
  1126. searchText:
  1127. type: string
  1128. description: 按合同编号,客户名称搜索
  1129. planId:
  1130. type: integer
  1131. description: 合同回款计划
  1132. custId:
  1133. type: integer
  1134. description: 关联客户
  1135. custName:
  1136. type: string
  1137. description: 客户名称
  1138. contractId:
  1139. type: integer
  1140. description: 关联合同
  1141. contractCode:
  1142. type: string
  1143. description: 合同编号
  1144. # collectionDatetime:
  1145. # type: string
  1146. # description: 回款日期
  1147. # collectionAmount:
  1148. # type: number
  1149. # description: 回款金额
  1150. collectionType:
  1151. type: string
  1152. description: 回款方式
  1153. approStatus:
  1154. type: string
  1155. description: 审核状态 10 未回款 20 已回款
  1156. # contractAmount:
  1157. # type: number
  1158. # description: 合同金额
  1159. CtrContractCollectionAdd:
  1160. type: object
  1161. required:
  1162. properties:
  1163. planId:
  1164. type: integer
  1165. description: 合同回款计划
  1166. # custId:
  1167. # type: integer
  1168. # description: 关联客户
  1169. # custName:
  1170. # type: string
  1171. # description: 客户名称
  1172. contractId:
  1173. type: integer
  1174. description: 关联合同
  1175. # contractCode:
  1176. # type: string
  1177. # description: 合同编号
  1178. collectionDatetime:
  1179. type: string
  1180. description: 回款日期
  1181. collectionAmount:
  1182. type: number
  1183. description: 回款金额
  1184. collectionType:
  1185. type: string
  1186. description: 回款方式
  1187. # approStatus:
  1188. # type: string
  1189. # description: 审核状态 10 未回款 20 已回款
  1190. # contractAmount:
  1191. # type: number
  1192. # description: 合同金额
  1193. remark:
  1194. type: string
  1195. description: 备注
  1196. CtrContractCollectionUpdate:
  1197. type: object
  1198. required:
  1199. - id
  1200. properties:
  1201. id:
  1202. type: integer
  1203. description: Id
  1204. planId:
  1205. type: integer
  1206. description: 合同回款计划
  1207. # custId:
  1208. # type: integer
  1209. # description: 关联客户
  1210. # custName:
  1211. # type: string
  1212. # description: 客户名称
  1213. # contractId:
  1214. # type: integer
  1215. # description: 关联合同
  1216. # contractCode:
  1217. # type: string
  1218. # description: 合同编号
  1219. collectionDatetime:
  1220. type: string
  1221. description: 回款日期
  1222. collectionAmount:
  1223. type: number
  1224. description: 回款金额
  1225. collectionType:
  1226. type: string
  1227. description: 回款方式
  1228. approStatus:
  1229. type: string
  1230. description: 审核状态 10 未回款 20 已回款
  1231. # contractAmount:
  1232. # type: number
  1233. # description: 合同金额
  1234. remark:
  1235. type: string
  1236. description: 备注
  1237. CtrContractAppendList:
  1238. type: object
  1239. properties:
  1240. beginTime:
  1241. type: string
  1242. description: 开始时间
  1243. endTime:
  1244. type: string
  1245. description: 结束时间
  1246. pageNum:
  1247. type: integer
  1248. description: 当前页码
  1249. pageSize:
  1250. type: integer
  1251. description: 每页数
  1252. orderBy:
  1253. type: string
  1254. description: 排序方式
  1255. contractId:
  1256. type: integer
  1257. description: 关联合同
  1258. fileName:
  1259. type: string
  1260. description: 文件名称
  1261. # fileType:
  1262. # type: string
  1263. # description: 文件类型
  1264. # fileUrl:
  1265. # type: string
  1266. # description: 文件地址
  1267. CtrContractAppendAdd:
  1268. type: object
  1269. required:
  1270. properties:
  1271. contractId:
  1272. type: integer
  1273. description: 关联合同
  1274. fileName:
  1275. type: string
  1276. description: 文件名称
  1277. fileType:
  1278. type: string
  1279. description: 文件类型
  1280. fileUrl:
  1281. type: string
  1282. description: 文件地址
  1283. remark:
  1284. type: string
  1285. description: 备注
  1286. CtrContractAppendUpdate:
  1287. type: object
  1288. required:
  1289. - id
  1290. properties:
  1291. id:
  1292. type: integer
  1293. description: Id
  1294. contractId:
  1295. type: integer
  1296. description: 关联合同
  1297. fileName:
  1298. type: string
  1299. description: 文件名称
  1300. fileType:
  1301. type: string
  1302. description: 文件类型
  1303. fileUrl:
  1304. type: string
  1305. description: 文件地址
  1306. remark:
  1307. type: string
  1308. description: 备注
  1309. CtrContractInvoiceList:
  1310. type: object
  1311. properties:
  1312. beginTime:
  1313. type: string
  1314. description: 开始时间
  1315. endTime:
  1316. type: string
  1317. description: 结束时间
  1318. pageNum:
  1319. type: integer
  1320. description: 当前页码
  1321. pageSize:
  1322. type: integer
  1323. description: 每页数
  1324. orderBy:
  1325. type: string
  1326. description: 排序方式
  1327. searchText:
  1328. type: string
  1329. description: 合同编号,客户名称
  1330. custId:
  1331. type: integer
  1332. description: 关联客户
  1333. custName:
  1334. type: string
  1335. description: 客户名称
  1336. contractId:
  1337. type: integer
  1338. description: 关联合同
  1339. contractCode:
  1340. type: string
  1341. description: 合同编号
  1342. # contractAmount:
  1343. # type: number
  1344. # description: 合同金额
  1345. # invoiceAmount:
  1346. # type: number
  1347. # description: 开票金额
  1348. # invoiceDate:
  1349. # type: string
  1350. # description: 开票日期
  1351. invoiceType:
  1352. type: string
  1353. description: 开票类型
  1354. approStatus:
  1355. type: string
  1356. description: 审核状态 10 未通过 20 已通过
  1357. invoiceCode:
  1358. type: string
  1359. description: 发票号码
  1360. # actualInvoiceDate:
  1361. # type: string
  1362. # description: 实际开票日期
  1363. courierCode:
  1364. type: string
  1365. description: 快递单号
  1366. CtrContractInvoiceAdd:
  1367. type: object
  1368. required:
  1369. properties:
  1370. # custId:
  1371. # type: integer
  1372. # description: 关联客户
  1373. # custName:
  1374. # type: string
  1375. # description: 客户名称
  1376. contractId:
  1377. type: integer
  1378. description: 关联合同
  1379. # contractCode:
  1380. # type: string
  1381. # description: 合同编号
  1382. # contractAmount:
  1383. # type: number
  1384. # description: 合同金额
  1385. invoiceAmount:
  1386. type: number
  1387. description: 开票金额
  1388. invoiceDate:
  1389. type: string
  1390. description: 开票日期
  1391. invoiceType:
  1392. type: string
  1393. description: 开票类型
  1394. # approStatus:
  1395. # type: string
  1396. # description: 审核状态
  1397. invoiceCode:
  1398. type: string
  1399. description: 发票号码
  1400. actualInvoiceDate:
  1401. type: string
  1402. description: 实际开票日期
  1403. courierCode:
  1404. type: string
  1405. description: 快递单号
  1406. remark:
  1407. type: string
  1408. description: 备注
  1409. CtrContractInvoiceUpdate:
  1410. type: object
  1411. required:
  1412. - id
  1413. properties:
  1414. id:
  1415. type: integer
  1416. description: Id
  1417. # custId:
  1418. # type: integer
  1419. # description: 关联客户
  1420. # custName:
  1421. # type: string
  1422. # description: 客户名称
  1423. # contractId:
  1424. # type: integer
  1425. # description: 关联合同
  1426. # contractCode:
  1427. # type: string
  1428. # description: 合同编号
  1429. # contractAmount:
  1430. # type: number
  1431. # description: 合同金额
  1432. invoiceAmount:
  1433. type: number
  1434. description: 开票金额
  1435. invoiceDate:
  1436. type: string
  1437. description: 开票日期
  1438. invoiceType:
  1439. type: string
  1440. description: 开票类型
  1441. approStatus:
  1442. type: string
  1443. description: 审核状态
  1444. invoiceCode:
  1445. type: string
  1446. description: 发票号码
  1447. actualInvoiceDate:
  1448. type: string
  1449. description: 实际开票日期
  1450. courierCode:
  1451. type: string
  1452. description: 快递单号
  1453. remark:
  1454. type: string
  1455. description: 备注
  1456. examples:
  1457. success:
  1458. summary: 请求成功
  1459. value:
  1460. code: 200,
  1461. msg: "success"
  1462. NullableReqAllPass:
  1463. value:
  1464. Str: ""
  1465. Int: 0
  1466. Bool: false
  1467. Slice: []
  1468. NoArgs:
  1469. value:
  1470. noargs: ""
  1471. IdReq:
  1472. value:
  1473. id: 2
  1474. IdsReq:
  1475. value:
  1476. id: [1]
  1477. CtrContractList:
  1478. value:
  1479. searchText: ""
  1480. CtrContractDynamicsList:
  1481. value:
  1482. searchText: ""
  1483. CtrContractAdd:
  1484. value:
  1485. contractCode: "1"
  1486. contractName: "1"
  1487. nboId: 1
  1488. contractType: "1"
  1489. contractStartTime: "2020-01-01 01:01:01"
  1490. contractEndTime: "2020-01-01 01:01:01"
  1491. inchargeId: 1
  1492. inchargeName: "管理员"
  1493. signatoryId: 1
  1494. signatoryName: "管理员"
  1495. distributorId: 1
  1496. distributorName: "管理员"
  1497. remark: "备注"
  1498. product:
  1499. -
  1500. prodId: 2
  1501. prodNum: 1
  1502. maintTerm: 1
  1503. sugSalesPrice: 1
  1504. tranPrice: 1
  1505. remark: "备注"
  1506. CtrContractUpdate:
  1507. value:
  1508. id: 2
  1509. contractCode: "2"
  1510. contractName: "2"
  1511. nboId: 2
  1512. contractType: "2"
  1513. contractStartTime: "2020-01-01 02:02:02"
  1514. contractEndTime: "2020-01-01 02:02:02"
  1515. signatoryId: 1
  1516. signatoryName: "管理员"
  1517. distributorId: 1
  1518. distributorName: "管理员"
  1519. remark: "备注2"
  1520. product: []
  1521. CtrContractTransfer:
  1522. value:
  1523. id: 2
  1524. inchargeId: 2
  1525. inchargeName: "管理员2"
  1526. CtrContractCollectionPlanList:
  1527. value:
  1528. searchText: ""
  1529. CtrContractCollectionPlanAdd:
  1530. value:
  1531. # custId: 1
  1532. # custName: 1
  1533. contractId: 1
  1534. # contractCode: 1
  1535. # contractStatus: 1
  1536. planAmount: 1
  1537. planDatetime: "2020-01-01 01:01:01"
  1538. # cashedAmount: 1
  1539. # cashedDatetime: "2020-01-01 02:02:02"
  1540. remark: "备注"
  1541. CtrContractCollectionPlanUpdate:
  1542. value:
  1543. id: 2
  1544. # custId: 2
  1545. # custName: 2
  1546. # contractId: 2
  1547. # contractCode: 2
  1548. # contractStatus: 2
  1549. planAmount: 2
  1550. planDatetime: "2020-01-01 02:02:02"
  1551. # cashedAmount: 2
  1552. # cashedDatetime: 2
  1553. remark: "备注2"
  1554. CtrContractCollectionList:
  1555. value:
  1556. searchText: ""
  1557. CtrContractCollectionAdd:
  1558. value:
  1559. planId: 1
  1560. # custId: 1
  1561. # custName: 1
  1562. contractId: 1
  1563. # contractCode: 1
  1564. collectionDatetime: "2020-01-01 01:01:01"
  1565. collectionAmount: 1
  1566. collectionType: "1"
  1567. # approStatus: 1
  1568. # contractAmount: 1
  1569. remark: "备注"
  1570. CtrContractCollectionUpdate:
  1571. value:
  1572. id: 2
  1573. # planId: 2
  1574. # custId: 2
  1575. # custName: 2
  1576. # contractId: 2
  1577. # contractCode: 2
  1578. collectionDatetime: "2020-01-01 02:02:02"
  1579. collectionAmount: 2
  1580. collectionType: "2"
  1581. approStatus: "20"
  1582. # contractAmount: 2
  1583. remark: "备注2"
  1584. CtrContractAppendList:
  1585. value:
  1586. fileName: ""
  1587. CtrContractAppendAdd:
  1588. value:
  1589. contractId: 1
  1590. fileName: "1"
  1591. fileType: "1"
  1592. fileUrl: "1"
  1593. remark: "1"
  1594. CtrContractAppendUpdate:
  1595. value:
  1596. id: 2
  1597. contractId: 2
  1598. fileName: "2"
  1599. fileType: "2"
  1600. fileUrl: "2"
  1601. remark: "2"
  1602. CtrContractInvoiceList:
  1603. value:
  1604. searchText: ""
  1605. CtrContractInvoiceAdd:
  1606. value:
  1607. # custId: 1
  1608. # custName: 1
  1609. contractId: 1
  1610. # contractCode: 1
  1611. # contractAmount: 1
  1612. invoiceAmount: 1
  1613. invoiceDate: "2020-01-01 01:01:01"
  1614. invoiceType: "1"
  1615. # approStatus: 1
  1616. invoiceCode: "1"
  1617. actualInvoiceDate: "2020-01-01 01:01:01"
  1618. courierCode: "1"
  1619. remark: "备注"
  1620. CtrContractInvoiceUpdate:
  1621. value:
  1622. id: 2
  1623. # custId: 2
  1624. # custName: 2
  1625. # contractId: 2
  1626. # contractCode: 2
  1627. # contractAmount: 2
  1628. invoiceAmount: 2
  1629. invoiceDate: "2020-01-01 02:02:02"
  1630. invoiceType: "2"
  1631. approStatus: "20"
  1632. invoiceCode: "2"
  1633. actualInvoiceDate: "2020-01-01 02:02:02"
  1634. courierCode: "2"
  1635. remark: "备注2"