Blame view

documents/api/build/html/01-db.html 21.6 KB
熊付 committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26


<!DOCTYPE html>
<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
<head>
  <meta charset="utf-8">
  
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  
  <title>1. 数据库设计 &mdash; finance_serv 1.0 documentation</title>
  

  
  
  
  

  

  
  
    

  

王军业 committed
27 28 29 30 31 32
  <link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
  <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
    <link rel="index" title="Index" href="genindex.html" />
    <link rel="search" title="Search" href="search.html" />
    <link rel="next" title="2. 财务进度服务http接口" href="02-finance-http.html" />
    <link rel="prev" title="财务进度服务设计" href="index.html" /> 
熊付 committed
33 34 35 36 37 38

  
  <script src="_static/js/modernizr.min.js"></script>

</head>

王军业 committed
39
<body class="wy-body-for-nav">
熊付 committed
40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87

   
  <div class="wy-grid-for-nav">

    
    <nav data-toggle="wy-nav-shift" class="wy-nav-side">
      <div class="wy-side-scroll">
        <div class="wy-side-nav-search">
          

          
            <a href="index.html" class="icon icon-home"> finance_serv
          

          
          </a>

          
            
            
              <div class="version">
                1.0
              </div>
            
          

          
<div role="search">
  <form id="rtd-search-form" class="wy-form" action="search.html" method="get">
    <input type="text" name="q" placeholder="Search docs" />
    <input type="hidden" name="check_keywords" value="yes" />
    <input type="hidden" name="area" value="default" />
  </form>
</div>

          
        </div>

        <div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
          
            
            
              
            
            
              <p class="caption"><span class="caption-text">目录:</span></p>
<ul class="current">
<li class="toctree-l1 current"><a class="current reference internal" href="#">1. 数据库设计</a><ul>
88 89 90 91 92 93 94
<li class="toctree-l2"><a class="reference internal" href="#id2">1.1. 销售合同表</a></li>
<li class="toctree-l2"><a class="reference internal" href="#id3">1.2. 付款约定表</a></li>
<li class="toctree-l2"><a class="reference internal" href="#id4">1.3. 合同回款信息表</a></li>
<li class="toctree-l2"><a class="reference internal" href="#id5">1.4. 合同开票信息表</a></li>
<li class="toctree-l2"><a class="reference internal" href="#id6">1.5. 发货信息表</a></li>
<li class="toctree-l2"><a class="reference internal" href="#id7">1.6. 工程验收信息表</a></li>
<li class="toctree-l2"><a class="reference internal" href="#id8">1.7. 附件表</a></li>
王军业 committed
95 96
<li class="toctree-l2"><a class="reference internal" href="#id9">1.8. 项目表</a></li>
<li class="toctree-l2"><a class="reference internal" href="#id10">1.9. 客户表</a></li>
熊付 committed
97 98
</ul>
</li>
99 100
<li class="toctree-l1"><a class="reference internal" href="02-finance-http.html">2. 财务进度服务http接口</a></li>
<li class="toctree-l1"><a class="reference internal" href="99-history.html">3. 修订历史</a></li>
熊付 committed
101 102 103 104 105 106 107 108 109 110 111
</ul>

            
          
        </div>
      </div>
    </nav>

    <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">

      
王军业 committed
112
      <nav class="wy-nav-top" aria-label="top navigation">
熊付 committed
113 114 115 116 117 118 119 120
        
          <i data-toggle="wy-nav-top" class="fa fa-bars"></i>
          <a href="index.html">finance_serv</a>
        
      </nav>


      <div class="wy-nav-content">
王军业 committed
121
        
熊付 committed
122
        <div class="rst-content">
王军业 committed
123
        
熊付 committed
124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167
          















<div role="navigation" aria-label="breadcrumbs navigation">

  <ul class="wy-breadcrumbs">
    
      <li><a href="index.html">Docs</a> &raquo;</li>
        
      <li>1. 数据库设计</li>
    
    
      <li class="wy-breadcrumbs-aside">
        
            
            <a href="_sources/01-db.rst.txt" rel="nofollow"> View page source</a>
          
        
      </li>
    
  </ul>

  
  <hr/>
</div>
          <div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
           <div itemprop="articleBody">
            
  <div class="section" id="id1">
<h1>1. 数据库设计<a class="headerlink" href="#id1" title="Permalink to this headline"></a></h1>
<div class="section" id="id2">
168
<h2>1.1. 销售合同表<a class="headerlink" href="#id2" title="Permalink to this headline"></a></h2>
熊付 committed
169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189
<blockquote>
<div><p>表名: tb_contract</p>
<table border="1" class="docutils">
<colgroup>
<col width="25%" />
<col width="14%" />
<col width="12%" />
<col width="12%" />
<col width="10%" />
<col width="28%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">字段名称</th>
<th class="head">是否必填</th>
<th class="head">类型</th>
<th class="head">限制</th>
<th class="head">唯一</th>
<th class="head">说明</th>
</tr>
</thead>
<tbody valign="top">
王军业 committed
190
<tr class="row-even"><td>contract_unid</td>
熊付 committed
191
<td><em></em></td>
王军业 committed
192
<td>PK</td>
193
<td>&lt;=32</td>
熊付 committed
194
<td></td>
王军业 committed
195
<td>合同id</td>
熊付 committed
196 197 198
</tr>
<tr class="row-odd"><td>salesperson_unid</td>
<td><em></em></td>
王军业 committed
199 200
<td>string</td>
<td>&lt;=255</td>
201
<td></td>
王军业 committed
202
<td>销售员id,通过auth服务获取</td>
熊付 committed
203
</tr>
204
<tr class="row-even"><td>project_unid</td>
熊付 committed
205
<td><em></em></td>
王军业 committed
206
<td>FK</td>
207
<td>&#160;</td>
208
<td></td>
209
<td>项目id(int类型)</td>
210 211 212
</tr>
<tr class="row-odd"><td>customer_unid</td>
<td><em></em></td>
王军业 committed
213
<td>FK</td>
214
<td>&#160;</td>
215
<td></td>
216
<td>客户id(int类型)</td>
熊付 committed
217
</tr>
王军业 committed
218
<tr class="row-even"><td>province</td>
王军业 committed
219
<td><em></em></td>
220 221 222
<td>string</td>
<td>&lt;=32</td>
<td></td>
王军业 committed
223 224
<td>项目所在地的省份,通过
code服务行选择</td>
225
</tr>
王军业 committed
226
<tr class="row-odd"><td>city</td>
王军业 committed
227
<td><em></em></td>
228 229 230
<td>string</td>
<td>&lt;=32</td>
<td></td>
王军业 committed
231 232
<td>项目所在地的市,通过
code服务行选择行选择</td>
233
</tr>
王军业 committed
234
<tr class="row-even"><td>county</td>
王军业 committed
235
<td><em></em></td>
236 237 238
<td>string</td>
<td>&lt;=32</td>
<td></td>
王军业 committed
239 240
<td>项目所在地的县(区),通
过code服务进行选择</td>
241
</tr>
王军业 committed
242
<tr class="row-odd"><td>guarantee_period</td>
王军业 committed
243
<td><em></em></td>
244
<td>int</td>
王军业 committed
245
<td>&#160;</td>
246
<td></td>
王军业 committed
247
<td>质保周期,单位是月</td>
248 249
</tr>
<tr class="row-even"><td>sign_date</td>
王军业 committed
250
<td><em></em></td>
251
<td>date</td>
王军业 committed
252
<td>&#160;</td>
253 254 255 256
<td></td>
<td>签订时间</td>
</tr>
<tr class="row-odd"><td>product_line_type</td>
王军业 committed
257
<td><em></em></td>
258 259 260 261 262 263 264
<td>string</td>
<td>&lt;=32</td>
<td></td>
<td>产品线类型,通过code服务
进行选择</td>
</tr>
<tr class="row-even"><td>contract_state</td>
王军业 committed
265
<td><em></em></td>
266 267 268 269 270 271
<td>string</td>
<td>&lt;=32</td>
<td></td>
<td>合同状态,通过code服务进
行选择</td>
</tr>
王军业 committed
272
<tr class="row-odd"><td>contract_type</td>
王军业 committed
273
<td><em></em></td>
274 275 276
<td>string</td>
<td>&lt;=32</td>
<td></td>
王军业 committed
277
<td>合同类型,通过code服务进
278 279 280
行选择</td>
</tr>
<tr class="row-even"><td>contract_amount</td>
王军业 committed
281
<td><em></em></td>
282
<td>float</td>
王军业 committed
283
<td>&#160;</td>
284 285 286 287
<td></td>
<td>合同金额</td>
</tr>
<tr class="row-odd"><td>deduct_amount</td>
王军业 committed
288
<td><em></em></td>
289
<td>float</td>
王军业 committed
290
<td>&#160;</td>
291 292 293 294 295 296 297 298 299 300
<td></td>
<td>抵扣金额</td>
</tr>
<tr class="row-even"><td>contract_amount_note</td>
<td><em></em></td>
<td>text</td>
<td>&#160;</td>
<td></td>
<td>合同金额备注</td>
</tr>
王军业 committed
301
<tr class="row-odd"><td>stop_amount</td>
王军业 committed
302
<td><em></em></td>
303
<td>float</td>
王军业 committed
304
<td>&#160;</td>
305 306 307
<td></td>
<td>暂停金额</td>
</tr>
王军业 committed
308
<tr class="row-even"><td>reback_note</td>
309 310 311 312 313 314 315
<td><em></em></td>
<td>text</td>
<td>&#160;</td>
<td></td>
<td>累计回款额备注</td>
</tr>
<tr class="row-odd"><td>exemptions_amount</td>
王军业 committed
316
<td><em></em></td>
317
<td>float</td>
王军业 committed
318
<td>&#160;</td>
319 320 321 322 323 324 325 326 327 328
<td></td>
<td>豁免金额</td>
</tr>
<tr class="row-even"><td>contract_remain_note</td>
<td><em></em></td>
<td>text</td>
<td>&#160;</td>
<td></td>
<td>合同余额备注</td>
</tr>
王军业 committed
329
<tr class="row-odd"><td>is_archive</td>
王军业 committed
330
<td><em></em></td>
331 332 333
<td>bool</td>
<td>&#160;</td>
<td></td>
王军业 committed
334
<td>是否归档</td>
335 336
</tr>
<tr class="row-even"><td>bad_amount</td>
王军业 committed
337
<td><em></em></td>
338
<td>float</td>
王军业 committed
339
<td>&#160;</td>
340 341 342 343 344 345 346 347 348 349
<td></td>
<td>坏账金额</td>
</tr>
<tr class="row-odd"><td>bad_amount_note</td>
<td><em></em></td>
<td>text</td>
<td>&#160;</td>
<td></td>
<td>坏账金额备注</td>
</tr>
王军业 committed
350
<tr class="row-even"><td>confirm_income_amount</td>
王军业 committed
351
<td><em></em></td>
352
<td>float</td>
王军业 committed
353
<td>&#160;</td>
354 355 356
<td></td>
<td>确定收入金额</td>
</tr>
王军业 committed
357
<tr class="row-odd"><td>amount_state_unid</td>
王军业 committed
358
<td><em></em></td>
359 360 361 362 363 364
<td>string</td>
<td>&lt;=32</td>
<td></td>
<td>账款状态,通过code服务进行
选择</td>
</tr>
王军业 committed
365
<tr class="row-even"><td>start_guarantee_date</td>
王军业 committed
366
<td><em></em></td>
367 368 369 370 371
<td>date</td>
<td>&#160;</td>
<td></td>
<td>维保服务期开始时间</td>
</tr>
王军业 committed
372
<tr class="row-odd"><td>end_guarantee_date</td>
王军业 committed
373
<td><em></em></td>
374 375 376 377 378
<td>date</td>
<td>&#160;</td>
<td></td>
<td>维保服务期结束时间</td>
</tr>
王军业 committed
379
<tr class="row-even"><td>mainten_start_point</td>
王军业 committed
380
<td><em></em></td>
381 382 383 384 385
<td>string</td>
<td>&lt;=32</td>
<td></td>
<td>质保期开始节点</td>
</tr>
王军业 committed
386
<tr class="row-odd"><td>contract_note</td>
387 388 389 390 391 392
<td><em></em></td>
<td>text</td>
<td>&#160;</td>
<td></td>
<td>合同备注</td>
</tr>
王军业 committed
393 394
<tr class="row-even"><td>is_delete</td>
<td><em></em></td>
395 396 397
<td>bool</td>
<td>&#160;</td>
<td></td>
王军业 committed
398 399
<td>合同删除标识</td>
</tr>
400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426
</tbody>
</table>
</div></blockquote>
</div>
<div class="section" id="id3">
<h2>1.2. 付款约定表<a class="headerlink" href="#id3" title="Permalink to this headline"></a></h2>
<blockquote>
<div><p>表名:tb_payment_agree</p>
<table border="1" class="docutils">
<colgroup>
<col width="25%" />
<col width="14%" />
<col width="12%" />
<col width="12%" />
<col width="10%" />
<col width="28%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">字段名称</th>
<th class="head">是否必填</th>
<th class="head">类型</th>
<th class="head">限制</th>
<th class="head">唯一</th>
<th class="head">说明</th>
</tr>
</thead>
<tbody valign="top">
王军业 committed
427
<tr class="row-even"><td>payment_unid</td>
428
<td><em></em></td>
王军业 committed
429
<td>PK</td>
430
<td>&#160;</td>
431
<td></td>
432
<td>主键(自增长的int类型)</td>
433
</tr>
王军业 committed
434
<tr class="row-odd"><td>contract_unid</td>
435
<td><em></em></td>
王军业 committed
436
<td>FK</td>
437 438
<td>&lt;=32</td>
<td></td>
王军业 committed
439
<td>合同编号</td>
440
</tr>
王军业 committed
441
<tr class="row-even"><td>payment_type</td>
442 443
<td><em></em></td>
<td>string</td>
王军业 committed
444
<td>&lt;=32</td>
445
<td></td>
王军业 committed
446
<td>付款类型,通过code服务进
447 448
行选择</td>
</tr>
王军业 committed
449
<tr class="row-odd"><td>payment_progress</td>
450 451 452 453
<td><em></em></td>
<td>int</td>
<td>&#160;</td>
<td></td>
王军业 committed
454
<td>付款进度</td>
455
</tr>
王军业 committed
456
<tr class="row-even"><td>days</td>
457
<td><em></em></td>
王军业 committed
458 459
<td>int</td>
<td>&#160;</td>
460
<td></td>
王军业 committed
461
<td>天数</td>
462
</tr>
王军业 committed
463
<tr class="row-odd"><td>payment_propority</td>
464 465
<td><em></em></td>
<td>float</td>
王军业 committed
466
<td>&#160;</td>
467
<td></td>
王军业 committed
468
<td>付款比例</td>
469
</tr>
王军业 committed
470 471
<tr class="row-even"><td>payment_requirement</td>
<td><em></em></td>
472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503
<td>text</td>
<td>&#160;</td>
<td></td>
<td>付款条件</td>
</tr>
</tbody>
</table>
</div></blockquote>
</div>
<div class="section" id="id4">
<h2>1.3. 合同回款信息表<a class="headerlink" href="#id4" title="Permalink to this headline"></a></h2>
<blockquote>
<div><p>表名:tb_return_info</p>
<table border="1" class="docutils">
<colgroup>
<col width="25%" />
<col width="14%" />
<col width="12%" />
<col width="12%" />
<col width="10%" />
<col width="28%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">字段名称</th>
<th class="head">是否必填</th>
<th class="head">类型</th>
<th class="head">限制</th>
<th class="head">唯一</th>
<th class="head">说明</th>
</tr>
</thead>
<tbody valign="top">
王军业 committed
504
<tr class="row-even"><td>reback_unid</td>
505
<td><em></em></td>
王军业 committed
506
<td>PK</td>
507
<td>&#160;</td>
508
<td></td>
509
<td>主键(自增长的int类型)</td>
510
</tr>
王军业 committed
511
<tr class="row-odd"><td>contract_unid</td>
512
<td><em></em></td>
王军业 committed
513
<td>FK</td>
514 515
<td>&lt;=32</td>
<td></td>
王军业 committed
516
<td>合同编号</td>
517
</tr>
王军业 committed
518
<tr class="row-even"><td>reback_progress</td>
519
<td><em></em></td>
王军业 committed
520
<td>int</td>
521
<td>&#160;</td>
522
<td></td>
王军业 committed
523
<td>回款进度</td>
524
</tr>
王军业 committed
525
<tr class="row-odd"><td>reback_date</td>
526
<td><em></em></td>
王军业 committed
527 528
<td>date</td>
<td>&#160;</td>
529
<td></td>
王军业 committed
530
<td>回款时间</td>
531
</tr>
王军业 committed
532
<tr class="row-even"><td>actual_reback_amount</td>
533 534
<td><em></em></td>
<td>float</td>
王军业 committed
535
<td>&#160;</td>
536
<td></td>
王军业 committed
537
<td>实际回款数额</td>
538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572
</tr>
<tr class="row-odd"><td>reback_note</td>
<td><em></em></td>
<td>text</td>
<td>&#160;</td>
<td></td>
<td>回款备注</td>
</tr>
</tbody>
</table>
</div></blockquote>
</div>
<div class="section" id="id5">
<h2>1.4. 合同开票信息表<a class="headerlink" href="#id5" title="Permalink to this headline"></a></h2>
<blockquote>
<div><p>表名:tb_receipt</p>
<table border="1" class="docutils">
<colgroup>
<col width="25%" />
<col width="14%" />
<col width="12%" />
<col width="12%" />
<col width="10%" />
<col width="28%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">字段名称</th>
<th class="head">是否必填</th>
<th class="head">类型</th>
<th class="head">限制</th>
<th class="head">唯一</th>
<th class="head">说明</th>
</tr>
</thead>
<tbody valign="top">
王军业 committed
573
<tr class="row-even"><td>receipt_unid</td>
574
<td><em></em></td>
王军业 committed
575
<td>PK</td>
576
<td>&#160;</td>
577
<td></td>
578
<td>主键(自增长的int类型)</td>
579
</tr>
王军业 committed
580
<tr class="row-odd"><td>contract_unid</td>
581
<td><em></em></td>
王军业 committed
582
<td>FK</td>
583 584
<td>&lt;=32</td>
<td></td>
王军业 committed
585
<td>合同编号</td>
586
</tr>
王军业 committed
587
<tr class="row-even"><td>receipt_progress</td>
588 589
<td><em></em></td>
<td>int</td>
王军业 committed
590
<td>&#160;</td>
591
<td></td>
王军业 committed
592
<td>开票进度</td>
593
</tr>
王军业 committed
594
<tr class="row-odd"><td>receipt_amount</td>
595 596
<td><em></em></td>
<td>float</td>
王军业 committed
597
<td>&#160;</td>
598
<td></td>
王军业 committed
599
<td>开票金额</td>
600
</tr>
王军业 committed
601
<tr class="row-even"><td>oa_flow_id</td>
602
<td><em></em></td>
王军业 committed
603 604
<td>string</td>
<td>&lt;=32</td>
605
<td></td>
王军业 committed
606
<td>oa流水号</td>
607
</tr>
王军业 committed
608
<tr class="row-odd"><td>receipt_note</td>
609
<td><em></em></td>
王军业 committed
610
<td>text</td>
611 612
<td>&#160;</td>
<td></td>
王军业 committed
613
<td>发票备注</td>
614
</tr>
王军业 committed
615
<tr class="row-even"><td>create_date</td>
616
<td><em></em></td>
王军业 committed
617
<td>date</td>
618 619
<td>&#160;</td>
<td></td>
王军业 committed
620
<td>开票日期</td>
621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648
</tr>
</tbody>
</table>
</div></blockquote>
</div>
<div class="section" id="id6">
<h2>1.5. 发货信息表<a class="headerlink" href="#id6" title="Permalink to this headline"></a></h2>
<blockquote>
<div><p>表名:tb_deliver_goods</p>
<table border="1" class="docutils">
<colgroup>
<col width="25%" />
<col width="14%" />
<col width="12%" />
<col width="12%" />
<col width="10%" />
<col width="28%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">字段名称</th>
<th class="head">是否必填</th>
<th class="head">类型</th>
<th class="head">限制</th>
<th class="head">唯一</th>
<th class="head">说明</th>
</tr>
</thead>
<tbody valign="top">
王军业 committed
649
<tr class="row-even"><td>deliver_unid</td>
650
<td><em></em></td>
王军业 committed
651
<td>PK</td>
652
<td>&#160;</td>
653
<td></td>
654
<td>主键(自增长的int类型)</td>
655
</tr>
王军业 committed
656
<tr class="row-odd"><td>contract_unid</td>
657
<td><em></em></td>
王军业 committed
658
<td>FK</td>
659 660
<td>&lt;=32</td>
<td></td>
王军业 committed
661
<td>合同编号</td>
662 663 664 665 666 667
</tr>
<tr class="row-even"><td>deliver_goods_date</td>
<td><em></em></td>
<td>date</td>
<td>&#160;</td>
<td></td>
王军业 committed
668
<td>发货日期</td>
669
</tr>
熊付 committed
670
<tr class="row-odd"><td>goods_acceptanc_date</td>
671 672 673 674
<td><em></em></td>
<td>date</td>
<td>&#160;</td>
<td></td>
王军业 committed
675 676
<td>到货验收日期</td>
</tr>
677 678 679 680 681 682 683
</tbody>
</table>
</div></blockquote>
</div>
<div class="section" id="id7">
<h2>1.6. 工程验收信息表<a class="headerlink" href="#id7" title="Permalink to this headline"></a></h2>
<blockquote>
熊付 committed
684
<div><p>表名:tb_project_acceptanc</p>
685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703
<table border="1" class="docutils">
<colgroup>
<col width="25%" />
<col width="14%" />
<col width="12%" />
<col width="12%" />
<col width="10%" />
<col width="28%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">字段名称</th>
<th class="head">是否必填</th>
<th class="head">类型</th>
<th class="head">限制</th>
<th class="head">唯一</th>
<th class="head">说明</th>
</tr>
</thead>
<tbody valign="top">
熊付 committed
704
<tr class="row-even"><td>acceptanc_unid</td>
705
<td><em></em></td>
王军业 committed
706
<td>PK</td>
707
<td>&#160;</td>
708
<td></td>
709
<td>主键(自增长的int类型)</td>
710
</tr>
王军业 committed
711
<tr class="row-odd"><td>contract_unid</td>
712
<td><em></em></td>
王军业 committed
713
<td>FK</td>
714 715
<td>&lt;=32</td>
<td></td>
王军业 committed
716
<td>合同编号</td>
717
</tr>
熊付 committed
718
<tr class="row-even"><td>acceptanc_type</td>
719
<td><em></em></td>
王军业 committed
720 721
<td>string</td>
<td>&lt;=32</td>
722
<td></td>
王军业 committed
723
<td>验收类型(1为初验、2为终验</td>
724
</tr>
熊付 committed
725
<tr class="row-odd"><td>acceptanc_date</td>
726 727 728 729
<td><em></em></td>
<td>date</td>
<td>&#160;</td>
<td></td>
王军业 committed
730
<td>验收时间</td>
731
</tr>
熊付 committed
732
<tr class="row-even"><td>acceptanc_note</td>
733
<td><em></em></td>
王军业 committed
734
<td>text</td>
735 736
<td>&#160;</td>
<td></td>
王军业 committed
737
<td>验收备注</td>
738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765
</tr>
</tbody>
</table>
</div></blockquote>
</div>
<div class="section" id="id8">
<h2>1.7. 附件表<a class="headerlink" href="#id8" title="Permalink to this headline"></a></h2>
<blockquote>
<div><p>表名:tb_appendix</p>
<table border="1" class="docutils">
<colgroup>
<col width="25%" />
<col width="14%" />
<col width="12%" />
<col width="12%" />
<col width="10%" />
<col width="28%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">字段名称</th>
<th class="head">是否必填</th>
<th class="head">类型</th>
<th class="head">限制</th>
<th class="head">唯一</th>
<th class="head">说明</th>
</tr>
</thead>
<tbody valign="top">
王军业 committed
766
<tr class="row-even"><td>appendix_unid</td>
767
<td><em></em></td>
王军业 committed
768
<td>PK</td>
769
<td>&#160;</td>
770
<td></td>
771
<td>附件主键(自增长的int类型)</td>
772
</tr>
王军业 committed
773 774 775 776 777 778 779 780
<tr class="row-odd"><td>business_table</td>
<td><em></em></td>
<td>string</td>
<td>&lt;=32</td>
<td></td>
<td>业务表名</td>
</tr>
<tr class="row-even"><td>business_unid</td>
781
<td><em></em></td>
王军业 committed
782 783 784 785 786
<td>string</td>
<td>&lt;=32</td>
<td></td>
<td>业务表主键</td>
</tr>
王军业 committed
787
<tr class="row-odd"><td>appendix_name</td>
788 789
<td><em></em></td>
<td>string</td>
王军业 committed
790 791 792
<td>&lt;=255</td>
<td></td>
<td>附件文件名</td>
793 794 795 796
</tr>
<tr class="row-even"><td>appendix_type</td>
<td><em></em></td>
<td>string</td>
王军业 committed
797 798
<td>&lt;=32</td>
<td></td>
799 800 801 802 803
<td>附件类型</td>
</tr>
<tr class="row-odd"><td>appendix_url</td>
<td><em></em></td>
<td>string</td>
王军业 committed
804
<td>&lt;=255</td>
805 806 807
<td></td>
<td>附件下载地址</td>
</tr>
熊付 committed
808 809 810 811
</tbody>
</table>
</div></blockquote>
</div>
王军业 committed
812
<div class="section" id="id9">
王军业 committed
813
<h2>1.8. 项目表<a class="headerlink" href="#id9" title="Permalink to this headline"></a></h2>
王军业 committed
814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837
<blockquote>
<div><p>表名:tb_project</p>
<table border="1" class="docutils">
<colgroup>
<col width="25%" />
<col width="14%" />
<col width="12%" />
<col width="12%" />
<col width="10%" />
<col width="28%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">字段名称</th>
<th class="head">是否必填</th>
<th class="head">类型</th>
<th class="head">限制</th>
<th class="head">唯一</th>
<th class="head">说明</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td>project_unid</td>
<td><em></em></td>
<td>PK</td>
838
<td>&#160;</td>
王军业 committed
839
<td></td>
840
<td>项目id(自增长的int类型)</td>
王军业 committed
841 842 843 844 845 846 847 848 849 850 851 852
</tr>
<tr class="row-odd"><td>project_name</td>
<td><em></em></td>
<td>string</td>
<td>&lt;=255</td>
<td></td>
<td>项目名称</td>
</tr>
</tbody>
</table>
</div></blockquote>
</div>
王军业 committed
853 854
<div class="section" id="id10">
<h2>1.9. 客户表<a class="headerlink" href="#id10" title="Permalink to this headline"></a></h2>
王军业 committed
855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878
<blockquote>
<div><p>表名:tb_customer</p>
<table border="1" class="docutils">
<colgroup>
<col width="25%" />
<col width="14%" />
<col width="12%" />
<col width="12%" />
<col width="10%" />
<col width="28%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">字段名称</th>
<th class="head">是否必填</th>
<th class="head">类型</th>
<th class="head">限制</th>
<th class="head">唯一</th>
<th class="head">说明</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td>customer_unid</td>
<td><em></em></td>
<td>PK</td>
879
<td>&#160;</td>
王军业 committed
880
<td></td>
881
<td>客户id(自增长的int类型)</td>
王军业 committed
882 883 884 885 886 887 888 889 890 891 892 893
</tr>
<tr class="row-odd"><td>customer_name</td>
<td><em></em></td>
<td>string</td>
<td>&lt;=255</td>
<td></td>
<td>客户名称</td>
</tr>
</tbody>
</table>
</div></blockquote>
</div>
熊付 committed
894 895 896 897
</div>


           </div>
王军业 committed
898
           
熊付 committed
899 900 901 902 903
          </div>
          <footer>
  
    <div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">
      
904
        <a href="02-finance-http.html" class="btn btn-neutral float-right" title="2. 财务进度服务http接口" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right"></span></a>
熊付 committed
905 906 907 908 909 910 911 912 913 914 915 916 917 918 919
      
      
        <a href="index.html" class="btn btn-neutral" title="财务进度服务设计" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left"></span> Previous</a>
      
    </div>
  

  <hr/>

  <div role="contentinfo">
    <p>
        &copy; Copyright 2017, xf.

    </p>
  </div>
王军业 committed
920
  Built with <a href="http://sphinx-doc.org/">Sphinx</a> using a <a href="https://github.com/rtfd/sphinx_rtd_theme">theme</a> provided by <a href="https://readthedocs.org">Read the Docs</a>. 
熊付 committed
921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938

</footer>

        </div>
      </div>

    </section>

  </div>
  


  

    <script type="text/javascript">
        var DOCUMENTATION_OPTIONS = {
            URL_ROOT:'./',
            VERSION:'1.0',
王军业 committed
939
            LANGUAGE:'None',
熊付 committed
940 941 942 943 944 945 946 947 948 949 950 951
            COLLAPSE_INDEX:false,
            FILE_SUFFIX:'.html',
            HAS_SOURCE:  true,
            SOURCELINK_SUFFIX: '.txt'
        };
    </script>
      <script type="text/javascript" src="_static/jquery.js"></script>
      <script type="text/javascript" src="_static/underscore.js"></script>
      <script type="text/javascript" src="_static/doctools.js"></script>

  

王军业 committed
952
  <script type="text/javascript" src="_static/js/theme.js"></script>
熊付 committed
953 954 955

  <script type="text/javascript">
      jQuery(function () {
王军业 committed
956
          SphinxRtdTheme.Navigation.enable(true);
熊付 committed
957
      });
王军业 committed
958
  </script> 
熊付 committed
959 960 961

</body>
</html>