Bladeren bron

制令拆单优化

xingye 4 jaren geleden
bovenliggende
commit
5c6b589bfe
3 gewijzigde bestanden met toevoegingen van 967 en 424 verwijderingen
  1. 398 393
      .idea/workspace.xml
  2. 536 0
      meib/logs/hwj.log
  3. 33 31
      meib/meib/apps/erp/views.py

+ 398 - 393
.idea/workspace.xml

@@ -21,7 +21,7 @@
     <SUITE FILE_PATH="coverage/meibang$views.coverage" NAME="views Coverage Results" MODIFIED="1582180589736" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/meib/meib/apps/erp" />
     <SUITE FILE_PATH="coverage/meibang$lianxi.coverage" NAME="lianxi Coverage Results" MODIFIED="1591000884310" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/meib/meib/apps/erp" />
     <SUITE FILE_PATH="coverage/meibang$date_time.coverage" NAME="date_time Coverage Results" MODIFIED="1578910060603" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/meib/meib/utils" />
-    <SUITE FILE_PATH="coverage/meibang$manage.coverage" NAME="manage Coverage Results" MODIFIED="1591067149110" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/meib" />
+    <SUITE FILE_PATH="coverage/meibang$manage.coverage" NAME="manage Coverage Results" MODIFIED="1591175097815" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/meib" />
     <SUITE FILE_PATH="coverage/meibang$sqlinjection.coverage" NAME="sqlinjection Coverage Results" MODIFIED="1584931036516" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/meib/meib/utils" />
     <SUITE FILE_PATH="coverage/meibang$lianxi__1_.coverage" NAME="lianxi (1) Coverage Results" MODIFIED="1583498862279" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/meib/meib/settings" />
   </component>
@@ -34,8 +34,8 @@
       <file leaf-file-name="urls.py" pinned="false" current-in-tab="false">
         <entry file="file://$PROJECT_DIR$/meib/meib/apps/erp/urls.py">
           <provider selected="true" editor-type-id="text-editor">
-            <state relative-caret-position="1080">
-              <caret line="41" column="59" lean-forward="false" selection-start-line="41" selection-start-column="59" selection-end-line="41" selection-end-column="59" />
+            <state relative-caret-position="216">
+              <caret line="17" column="26" lean-forward="false" selection-start-line="17" selection-start-column="26" selection-end-line="17" selection-end-column="26" />
               <folding>
                 <element signature="e#0#32#0" expanded="true" />
               </folding>
@@ -46,8 +46,8 @@
       <file leaf-file-name="views.py" pinned="false" current-in-tab="true">
         <entry file="file://$PROJECT_DIR$/meib/meib/apps/erp/views.py">
           <provider selected="true" editor-type-id="text-editor">
-            <state relative-caret-position="381">
-              <caret line="3436" column="182" lean-forward="false" selection-start-line="3436" selection-start-column="178" selection-end-line="3436" selection-end-column="182" />
+            <state relative-caret-position="297">
+              <caret line="3336" column="9" lean-forward="true" selection-start-line="3336" selection-start-column="9" selection-end-line="3336" selection-end-column="9" />
               <folding>
                 <element signature="e#1#36#0" expanded="true" />
                 <element signature="e#1246#25668#0" expanded="false" />
@@ -277,8 +277,6 @@
                 <element signature="e#79453#79712#0" expanded="false" />
                 <element signature="e#79852#79970#0" expanded="false" />
                 <element signature="e#80081#81089#0" expanded="false" />
-                <element signature="e#80779#80921#0" expanded="false" />
-                <element signature="e#80953#81047#0" expanded="false" />
                 <element signature="e#81153#82480#0" expanded="false" />
                 <element signature="e#81385#81665#0" expanded="false" />
                 <element signature="e#81837#82137#0" expanded="false" />
@@ -313,7 +311,7 @@
                 <element signature="e#89629#89926#0" expanded="false" />
                 <element signature="e#90158#90268#0" expanded="false" />
                 <element signature="e#90300#90394#0" expanded="false" />
-                <element signature="e#90621#101699#0" expanded="false" />
+                <element signature="e#90589#102744#0" expanded="false" />
                 <element signature="e#92368#92602#0" expanded="false" />
                 <element signature="e#92982#92990#0" expanded="false" />
                 <element signature="e#94010#94498#0" expanded="false" />
@@ -450,183 +448,184 @@
                 <element signature="e#152747#153628#0" expanded="false" />
                 <element signature="e#153648#153741#0" expanded="false" />
                 <element signature="e#153964#156305#0" expanded="false" />
+                <element signature="e#156469#159081#0" expanded="false" />
                 <element signature="e#156836#159078#0" expanded="false" />
-                <element signature="e#162951#163025#0" expanded="false" />
-                <element signature="e#165858#165880#0" expanded="false" />
-                <marker date="1591067654179" expanded="false" signature="5212:5272" ph="SELECT COUNT... MF_VHID" />
-                <marker date="1591067654179" expanded="false" signature="5574:5636" ph="SELECT ISNUL... " />
-                <marker date="1591067654179" expanded="false" signature="6501:6731" ph="INSERT INTO MF_PSS... " />
-                <marker date="1591067654179" expanded="false" signature="7709:7762" ph="INSERT INTO MF_PSS_Z... " />
-                <marker date="1591067654179" expanded="false" signature="7899:8131" ph="INSERT INTO MF_ARP... " />
-                <marker date="1591067654179" expanded="false" signature="9058:9290" ph="INSERT INTO MF_PSS... " />
-                <marker date="1591067654179" expanded="false" signature="10232:10437" ph="INSERT INTO TF_PSS... " />
-                <marker date="1591067654179" expanded="false" signature="15457:15514" ph="SELECT ZHANG... MF_PSS" />
-                <marker date="1591067654179" expanded="false" signature="15685:15754" ph="SELECT ISNUL... MF_ARP" />
-                <marker date="1591067654179" expanded="false" signature="16023:16092" ph="SELECT ISNUL... MF_PSS" />
-                <marker date="1591067654179" expanded="false" signature="16494:16554" ph="SELECT COUNT... MF_VHID" />
-                <marker date="1591067654179" expanded="false" signature="16856:16918" ph="SELECT ISNUL... " />
-                <marker date="1591067654179" expanded="false" signature="17828:17885" ph="UPDATE MF_PS... " />
-                <marker date="1591067654179" expanded="false" signature="17983:18040" ph="UPDATE MF_PS... " />
-                <marker date="1591067654179" expanded="false" signature="18175:18313" ph="UPDATE MF_PS... " />
-                <marker date="1591067654179" expanded="false" signature="19148:19266" ph="UPDATE MF_AR... " />
-                <marker date="1591067654179" expanded="false" signature="19891:20118" ph="INSERT INTO MF_ARP... " />
-                <marker date="1591067654179" expanded="false" signature="21135:21273" ph="UPDATE MF_PS... " />
-                <marker date="1591067654179" expanded="false" signature="21881:21931" ph="DELETE FROM " />
-                <marker date="1591067654179" expanded="false" signature="22120:22231" ph="UPDATE TF_PS... " />
-                <marker date="1591067654179" expanded="false" signature="23898:23955" ph="SELECT ZHANG... MF_PSS" />
-                <marker date="1591067654179" expanded="false" signature="24175:24244" ph="SELECT ISNUL... MF_ARP" />
-                <marker date="1591067654179" expanded="false" signature="24559:24628" ph="SELECT ISNUL... MF_PSS" />
-                <marker date="1591067654179" expanded="false" signature="25028:25077" ph="DELETE FROM " />
-                <marker date="1591067654179" expanded="false" signature="25137:25186" ph="DELETE FROM " />
-                <marker date="1591067654179" expanded="false" signature="25246:25297" ph="DELETE FROM " />
-                <marker date="1591067654179" expanded="false" signature="30247:30307" ph="SELECT COUNT... MF_VHID" />
-                <marker date="1591067654179" expanded="false" signature="30609:30671" ph="SELECT ISNUL... " />
-                <marker date="1591067654179" expanded="false" signature="31562:31815" ph="INSERT INTO MF_PSS... " />
-                <marker date="1591067654179" expanded="false" signature="32946:33182" ph="INSERT INTO MF_ARP... " />
-                <marker date="1591067654179" expanded="false" signature="34110:34365" ph="INSERT INTO MF_PSS... " />
-                <marker date="1591067654179" expanded="false" signature="35426:35635" ph="INSERT INTO TF_PSS... " />
-                <marker date="1591067654179" expanded="false" signature="40080:40137" ph="SELECT ZHANG... MF_PSS" />
-                <marker date="1591067654179" expanded="false" signature="40398:40467" ph="SELECT ISNUL... MF_ARP" />
-                <marker date="1591067654179" expanded="false" signature="40782:40851" ph="SELECT ISNUL... MF_PSS" />
-                <marker date="1591067654179" expanded="false" signature="41303:41363" ph="SELECT COUNT... MF_VHID" />
-                <marker date="1591067654179" expanded="false" signature="41665:41727" ph="SELECT ISNUL... " />
-                <marker date="1591067654179" expanded="false" signature="42672:42810" ph="UPDATE MF_PS... " />
-                <marker date="1591067654179" expanded="false" signature="43525:43643" ph="UPDATE MF_AR... " />
-                <marker date="1591067654179" expanded="false" signature="44205:44436" ph="INSERT INTO MF_ARP... " />
-                <marker date="1591067654179" expanded="false" signature="45453:45591" ph="UPDATE MF_PS... " />
-                <marker date="1591067654179" expanded="false" signature="46199:46249" ph="DELETE FROM " />
-                <marker date="1591067654179" expanded="false" signature="46459:46570" ph="UPDATE TF_PS... " />
-                <marker date="1591067654179" expanded="false" signature="48026:48083" ph="SELECT ZHANG... MF_PSS" />
-                <marker date="1591067654179" expanded="false" signature="48303:48372" ph="SELECT ISNUL... MF_ARP" />
-                <marker date="1591067654179" expanded="false" signature="48687:48756" ph="SELECT ISNUL... MF_PSS" />
-                <marker date="1591067654179" expanded="false" signature="49156:49205" ph="DELETE FROM " />
-                <marker date="1591067654179" expanded="false" signature="49265:49314" ph="DELETE FROM " />
-                <marker date="1591067654179" expanded="false" signature="49374:49425" ph="DELETE FROM " />
-                <marker date="1591067654179" expanded="false" signature="53738:53798" ph="SELECT COUNT... MF_VHID" />
-                <marker date="1591067654179" expanded="false" signature="54114:54165" ph="SELECT ISNUL... BACC" />
-                <marker date="1591067654179" expanded="false" signature="54620:54914" ph="INSERT INTO TF_MON... " />
-                <marker date="1591067654179" expanded="false" signature="56418:56698" ph="INSERT INTO TF_MON... " />
-                <marker date="1591067654179" expanded="false" signature="57110:57245" ph="INSERT INTO MF_MON... " />
-                <marker date="1591067654179" expanded="false" signature="57674:57897" ph="INSERT INTO MF_BAC... " />
-                <marker date="1591067654179" expanded="false" signature="58752:58906" ph="INSERT INTO TF_BAC... " />
-                <marker date="1591067654179" expanded="false" signature="63576:63636" ph="SELECT COUNT... MF_VHID" />
-                <marker date="1591067654179" expanded="false" signature="63977:64028" ph="SELECT ISNUL... BACC" />
-                <marker date="1591067654179" expanded="false" signature="64504:64657" ph="UPDATE TF_MO... " />
-                <marker date="1591067654179" expanded="false" signature="65026:65180" ph="UPDATE TF_MO... " />
-                <marker date="1591067654179" expanded="false" signature="65445:65494" ph="UPDATE MF_MO... " />
-                <marker date="1591067654179" expanded="false" signature="65682:65769" ph="UPDATE MF_BA... " />
-                <marker date="1591067654179" expanded="false" signature="66046:66105" ph="UPDATE TF_BA... " />
-                <marker date="1591067654179" expanded="false" signature="67660:67707" ph="DELETE FROM " />
-                <marker date="1591067654179" expanded="false" signature="67781:67829" ph="DELETE FROM " />
-                <marker date="1591067654179" expanded="false" signature="67905:67938" ph="DELETE FROM " />
-                <marker date="1591067654179" expanded="false" signature="68026:68059" ph="DELETE FROM " />
-                <marker date="1591067654179" expanded="false" signature="68580:68659" ph="SELECT table... TABLES" />
-                <marker date="1591067654179" expanded="false" signature="68851:68882" ph="SELECT COUNT... MF_LZ1_Z01" />
-                <marker date="1591067654179" expanded="false" signature="69064:69619" ph="SELECT ISNUL... MF_LZ1_Z01" />
-                <marker date="1591067654179" expanded="false" signature="70429:70474" ph="UPDATE MF_LZ... " />
-                <marker date="1591067654179" expanded="false" signature="70809:70887" ph="SELECT table... TABLES" />
-                <marker date="1591067654179" expanded="false" signature="71079:71109" ph="SELECT COUNT... MF_LZ_Z01" />
-                <marker date="1591067654179" expanded="false" signature="71296:71849" ph="SELECT ISNUL... MF_LZ_Z01" />
-                <marker date="1591067654179" expanded="false" signature="72682:72726" ph="UPDATE MF_LZ... " />
-                <marker date="1591067654179" expanded="false" signature="73455:73533" ph="SELECT table... TABLES" />
-                <marker date="1591067654179" expanded="false" signature="73724:73754" ph="SELECT COUNT... TC_MON_PC" />
-                <marker date="1591067654179" expanded="false" signature="73941:74422" ph="SELECT ISNUL... TC_MON_PC" />
-                <marker date="1591067654179" expanded="false" signature="75009:75053" ph="UPDATE TC_MO... " />
-                <marker date="1591067654179" expanded="false" signature="75819:75897" ph="SELECT table... TABLES" />
-                <marker date="1591067654179" expanded="false" signature="76088:76118" ph="SELECT COUNT... TC_MON_PC" />
-                <marker date="1591067654179" expanded="false" signature="76305:76750" ph="SELECT ISNUL... TC_MON_PC" />
-                <marker date="1591067654179" expanded="false" signature="77357:77401" ph="UPDATE TC_MO... " />
-                <marker date="1591067654179" expanded="false" signature="78166:78244" ph="SELECT table... TABLES" />
-                <marker date="1591067654179" expanded="false" signature="78435:78465" ph="SELECT COUNT... TC_MON_PC" />
-                <marker date="1591067654179" expanded="false" signature="78652:79169" ph="SELECT ISNUL... TC_MON_PC" />
-                <marker date="1591067654179" expanded="false" signature="79776:79820" ph="UPDATE TC_MO... " />
-                <marker date="1591067654179" expanded="false" signature="80530:80562" ph="SELECT DEP,N... DEPT" />
-                <marker date="1591067654179" expanded="true" signature="80622:80656" ph="SELECT top 1... DEPT" />
-                <marker date="1591067654179" expanded="false" signature="81606:81641" ph="SELECT PRD_N... PRDT" />
-                <marker date="1591067654179" expanded="false" signature="81701:81737" ph="SELECT top 1... PRDT" />
-                <marker date="1591067654179" expanded="false" signature="82997:83033" ph="SELECT CUS_N... CUST" />
-                <marker date="1591067654179" expanded="false" signature="83093:83129" ph="SELECT top 1... CUST" />
-                <marker date="1591067654179" expanded="false" signature="84389:84426" ph="SELECT BOM_N... MF_BOM" />
-                <marker date="1591067654179" expanded="false" signature="84486:84524" ph="SELECT top 1... MF_BOM" />
-                <marker date="1591067654179" expanded="false" signature="85817:85899" ph="SELECT A.MM_... MF_MM0" />
-                <marker date="1591067654179" expanded="true" signature="85959:86065" ph="SELECT TOP 2... MF_MM0" />
-                <marker date="1591067654179" expanded="true" signature="86801:87209" ph="select top 2... os_no" />
-                <marker date="1591067654179" expanded="true" signature="86832:86997" ph="select a.os_... mf_pos" />
-                <marker date="1591067654179" expanded="true" signature="87032:87179" ph="select a.jh_... MF_JH" />
-                <marker date="1591067654179" expanded="true" signature="87314:87620" ph="select top 2... os_no" />
-                <marker date="1591067654179" expanded="true" signature="87351:87462" ph="select a.os_... mf_pos" />
-                <marker date="1591067654179" expanded="true" signature="87497:87590" ph="select a.jh_... MF_JH" />
-                <marker date="1591067654179" expanded="true" signature="88699:88749" ph="select iefil... MF_IEFILE" />
-                <marker date="1591067654179" expanded="true" signature="88826:88893" ph="select iefil... MF_IEFILE" />
-                <marker date="1591067654179" expanded="true" signature="89867:89902" ph="SELECT NO,DE... " />
-                <marker date="1591067654179" expanded="true" signature="89962:90015" ph="SELECT top 2... " />
-                <marker date="1591067654179" expanded="true" signature="95329:95377" ph="SELECT COUNT... View_aa" />
-                <marker date="1591067654179" expanded="true" signature="96009:96595" ph="SELECT TOP m... " />
-                <marker date="1591067654179" expanded="true" signature="97840:97917" ph="SELECT COUNT... OS_NO" />
-                <marker date="1591067654179" expanded="true" signature="97875:97911" ph="SELECT OS_NO... View_aa" />
-                <marker date="1591067654179" expanded="true" signature="98710:99628" ph="SELECT TOP m... View_aa" />
-                <marker date="1591067654179" expanded="true" signature="100025:100379" ph="SELECT ISNUL... CAST" />
-                <marker date="1591067654179" expanded="true" signature="100147:100308" ph="SELECT CAST(... BAT_REC1" />
-                <marker date="1591067654179" expanded="true" signature="102487:102568" ph="UPDATE TF_PO... " />
-                <marker date="1591067654179" expanded="true" signature="104041:104839" ph="SELECT itm,n... " />
-                <marker date="1591067654179" expanded="true" signature="105814:105859" ph="SELECT MAX(N... " />
-                <marker date="1591067654179" expanded="true" signature="107482:107885" ph="INSERT INTO mcaf... " />
-                <marker date="1591067654179" expanded="true" signature="110607:110972" ph="UPDATE MCAF " />
-                <marker date="1591067654179" expanded="true" signature="111849:111900" ph="DELETE FROM " />
-                <marker date="1591067654179" expanded="true" signature="111999:112050" ph="DELETE FROM " />
-                <marker date="1591067654179" expanded="true" signature="113018:113787" ph="SELECT b.dep... mf_mo" />
-                <marker date="1591067654179" expanded="true" signature="113666:113718" ph="select max(i... MF_IEFILE" />
-                <marker date="1591067654179" expanded="true" signature="115493:115747" ph="SELECT isnul... DSCSETTING" />
-                <marker date="1591067654179" expanded="true" signature="115818:116015" ph="SELECT isnul... DSCSETTING" />
-                <marker date="1591067654179" expanded="true" signature="118369:118765" ph="select iefil... " />
-                <marker date="1591067654179" expanded="true" signature="119080:119187" ph="SELECT iefil... TF_IEFILE_BOM" />
-                <marker date="1591067654179" expanded="true" signature="119410:119569" ph="SELECT iefil... TF_IEFILE_UP" />
-                <marker date="1591067654179" expanded="true" signature="122158:122245" ph="SELECT MAX(r... " />
-                <marker date="1591067654179" expanded="true" signature="122642:122872" ph="INSERT INTO MF_IEFILE... " />
-                <marker date="1591067654179" expanded="true" signature="123241:123310" ph="INSERT INTO TF_IEFILE_BOM... " />
-                <marker date="1591067654179" expanded="true" signature="123643:123716" ph="INSERT INTO TF_IEFILE_UP... " />
-                <marker date="1591067654179" expanded="true" signature="126395:126622" ph="UPDATE MF_IE... " />
-                <marker date="1591067654179" expanded="true" signature="127014:127084" ph="UPDATE TF_IE... " />
-                <marker date="1591067654179" expanded="true" signature="127268:127329" ph="SELECT MAX(I... TF_IEFILE_UP" />
-                <marker date="1591067654179" expanded="true" signature="127529:127602" ph="INSERT INTO TF_IEFILE_UP... " />
-                <marker date="1591067654179" expanded="true" signature="128003:128065" ph="SELECT MAX(I... TF_IEFILE_BOM" />
-                <marker date="1591067654179" expanded="true" signature="128277:128346" ph="INSERT INTO TF_IEFILE_BOM... " />
-                <marker date="1591067654179" expanded="true" signature="129489:129535" ph="DELETE FROM " />
-                <marker date="1591067654179" expanded="true" signature="129648:129698" ph="DELETE FROM " />
-                <marker date="1591067654179" expanded="true" signature="129811:129860" ph="DELETE FROM " />
-                <marker date="1591067654179" expanded="true" signature="131690:132073" ph="select iefil... " />
-                <marker date="1591067654179" expanded="true" signature="132883:132943" ph="DELETE FROM " />
-                <marker date="1591067654179" expanded="true" signature="133002:133063" ph="DELETE FROM " />
-                <marker date="1591067654179" expanded="true" signature="134880:135705" ph="SELECT B.BOM... MF_IEFILE" />
-                <marker date="1591067654179" expanded="true" signature="135882:136661" ph="SELECT B.BOM... MF_IEFILE" />
-                <marker date="1591067654179" expanded="true" signature="138888:138960" ph="UPDATE MF_IE... " />
-                <marker date="1591067654179" expanded="true" signature="141469:141550" ph="SELECT IEFIL... TF_IEFILE_UP" />
-                <marker date="1591067654179" expanded="true" signature="141841:141943" ph="SELECT MM_NO... TF_MM0" />
-                <marker date="1591067654179" expanded="true" signature="142064:142182" ph="SELECT MM_NO... TF_MM0" />
-                <marker date="1591067654179" expanded="true" signature="142809:143207" ph="UPDATE TF_MM... " />
-                <marker date="1591067654179" expanded="true" signature="143989:144052" ph="UPDATE TF_MM... " />
-                <marker date="1591067654179" expanded="true" signature="144627:144708" ph="SELECT CAST(... MF_IEFILE" />
-                <marker date="1591067654179" expanded="true" signature="145013:145076" ph="UPDATE TF_MM... " />
-                <marker date="1591067654179" expanded="true" signature="146043:146086" ph="DELETE FROM " />
-                <marker date="1591067654179" expanded="true" signature="147945:149787" ph="select isnul... MF_IEFILE" />
-                <marker date="1591067654179" expanded="true" signature="149114:149297" ph="select ROUND... TF_MO" />
-                <marker date="1591067654179" expanded="true" signature="149343:149526" ph="select ROUND... TF_MO" />
-                <marker date="1591067654179" expanded="true" signature="151028:151290" ph="select isnul... TF_MM0" />
-                <marker date="1591067654179" expanded="true" signature="151181:151287" ph="select dep_n... DSCSETTING" />
-                <marker date="1591067654179" expanded="true" signature="151223:151286" ph="SELECT up FR... DSCSETTING" />
-                <marker date="1591067654179" expanded="true" signature="151715:151839" ph="SELECT IEFIL... TF_IEFILE_UP" />
-                <marker date="1591067654179" expanded="true" signature="152093:152224" ph="SELECT MM_NO... TF_MM0" />
-                <marker date="1591067654179" expanded="true" signature="155280:155627" ph="SELECT B.dep... TF_MM0" />
-                <marker date="1591067654179" expanded="true" signature="157422:157570" ph="select so_no... cst_tf_mp3" />
-                <marker date="1591067654179" expanded="true" signature="158253:158497" ph="select id,ne... jtjh" />
-                <marker date="1591067654179" expanded="true" signature="160353:160505" ph="select so_no... cst_tf_mp3_ymp" />
-                <marker date="1591067654179" expanded="true" signature="160818:161260" ph="select id,ne... jtjh" />
-                <marker date="1591067654179" expanded="true" signature="161536:161754" ph="select mo_no... mf_mo" />
-                <marker date="1591067654179" expanded="true" signature="161536:161755" ph="select a.mo_... mf_mo" />
-                <marker date="1591067654179" expanded="true" signature="161536:161773" ph="select a.mo_... mf_mo" />
-                <marker date="1591067654179" expanded="true" signature="161627:161672" ph="select dep f... DSCSETTING" />
-                <marker date="1591067654179" expanded="true" signature="164291:164439" ph="select so_no... cst_tf_mp3" />
-                <marker date="1591067654179" expanded="true" signature="164950:165177" ph="select id,ne... jtjh" />
+                <element signature="e#163020#163094#0" expanded="false" />
+                <element signature="e#165927#165949#0" expanded="false" />
+                <marker date="1591175174069" expanded="false" signature="5212:5272" ph="SELECT COUNT... MF_VHID" />
+                <marker date="1591175174069" expanded="false" signature="5574:5636" ph="SELECT ISNUL... " />
+                <marker date="1591175174069" expanded="false" signature="6501:6731" ph="INSERT INTO MF_PSS... " />
+                <marker date="1591175174069" expanded="false" signature="7709:7762" ph="INSERT INTO MF_PSS_Z... " />
+                <marker date="1591175174069" expanded="false" signature="7899:8131" ph="INSERT INTO MF_ARP... " />
+                <marker date="1591175174069" expanded="false" signature="9058:9290" ph="INSERT INTO MF_PSS... " />
+                <marker date="1591175174069" expanded="false" signature="10232:10437" ph="INSERT INTO TF_PSS... " />
+                <marker date="1591175174069" expanded="false" signature="15457:15514" ph="SELECT ZHANG... MF_PSS" />
+                <marker date="1591175174069" expanded="false" signature="15685:15754" ph="SELECT ISNUL... MF_ARP" />
+                <marker date="1591175174069" expanded="false" signature="16023:16092" ph="SELECT ISNUL... MF_PSS" />
+                <marker date="1591175174069" expanded="false" signature="16494:16554" ph="SELECT COUNT... MF_VHID" />
+                <marker date="1591175174069" expanded="false" signature="16856:16918" ph="SELECT ISNUL... " />
+                <marker date="1591175174069" expanded="false" signature="17828:17885" ph="UPDATE MF_PS... " />
+                <marker date="1591175174069" expanded="false" signature="17983:18040" ph="UPDATE MF_PS... " />
+                <marker date="1591175174069" expanded="false" signature="18175:18313" ph="UPDATE MF_PS... " />
+                <marker date="1591175174069" expanded="false" signature="19148:19266" ph="UPDATE MF_AR... " />
+                <marker date="1591175174069" expanded="false" signature="19891:20118" ph="INSERT INTO MF_ARP... " />
+                <marker date="1591175174069" expanded="false" signature="21135:21273" ph="UPDATE MF_PS... " />
+                <marker date="1591175174069" expanded="false" signature="21881:21931" ph="DELETE FROM " />
+                <marker date="1591175174069" expanded="false" signature="22120:22231" ph="UPDATE TF_PS... " />
+                <marker date="1591175174069" expanded="false" signature="23898:23955" ph="SELECT ZHANG... MF_PSS" />
+                <marker date="1591175174069" expanded="false" signature="24175:24244" ph="SELECT ISNUL... MF_ARP" />
+                <marker date="1591175174069" expanded="false" signature="24559:24628" ph="SELECT ISNUL... MF_PSS" />
+                <marker date="1591175174069" expanded="false" signature="25028:25077" ph="DELETE FROM " />
+                <marker date="1591175174069" expanded="false" signature="25137:25186" ph="DELETE FROM " />
+                <marker date="1591175174069" expanded="false" signature="25246:25297" ph="DELETE FROM " />
+                <marker date="1591175174069" expanded="false" signature="30247:30307" ph="SELECT COUNT... MF_VHID" />
+                <marker date="1591175174069" expanded="false" signature="30609:30671" ph="SELECT ISNUL... " />
+                <marker date="1591175174069" expanded="false" signature="31562:31815" ph="INSERT INTO MF_PSS... " />
+                <marker date="1591175174069" expanded="false" signature="32946:33182" ph="INSERT INTO MF_ARP... " />
+                <marker date="1591175174069" expanded="false" signature="34110:34365" ph="INSERT INTO MF_PSS... " />
+                <marker date="1591175174069" expanded="false" signature="35426:35635" ph="INSERT INTO TF_PSS... " />
+                <marker date="1591175174069" expanded="false" signature="40080:40137" ph="SELECT ZHANG... MF_PSS" />
+                <marker date="1591175174069" expanded="false" signature="40398:40467" ph="SELECT ISNUL... MF_ARP" />
+                <marker date="1591175174069" expanded="false" signature="40782:40851" ph="SELECT ISNUL... MF_PSS" />
+                <marker date="1591175174069" expanded="false" signature="41303:41363" ph="SELECT COUNT... MF_VHID" />
+                <marker date="1591175174069" expanded="false" signature="41665:41727" ph="SELECT ISNUL... " />
+                <marker date="1591175174069" expanded="false" signature="42672:42810" ph="UPDATE MF_PS... " />
+                <marker date="1591175174069" expanded="false" signature="43525:43643" ph="UPDATE MF_AR... " />
+                <marker date="1591175174069" expanded="false" signature="44205:44436" ph="INSERT INTO MF_ARP... " />
+                <marker date="1591175174069" expanded="false" signature="45453:45591" ph="UPDATE MF_PS... " />
+                <marker date="1591175174069" expanded="false" signature="46199:46249" ph="DELETE FROM " />
+                <marker date="1591175174069" expanded="false" signature="46459:46570" ph="UPDATE TF_PS... " />
+                <marker date="1591175174069" expanded="false" signature="48026:48083" ph="SELECT ZHANG... MF_PSS" />
+                <marker date="1591175174069" expanded="false" signature="48303:48372" ph="SELECT ISNUL... MF_ARP" />
+                <marker date="1591175174069" expanded="false" signature="48687:48756" ph="SELECT ISNUL... MF_PSS" />
+                <marker date="1591175174069" expanded="false" signature="49156:49205" ph="DELETE FROM " />
+                <marker date="1591175174069" expanded="false" signature="49265:49314" ph="DELETE FROM " />
+                <marker date="1591175174069" expanded="false" signature="49374:49425" ph="DELETE FROM " />
+                <marker date="1591175174069" expanded="false" signature="53738:53798" ph="SELECT COUNT... MF_VHID" />
+                <marker date="1591175174069" expanded="false" signature="54114:54165" ph="SELECT ISNUL... BACC" />
+                <marker date="1591175174069" expanded="false" signature="54620:54914" ph="INSERT INTO TF_MON... " />
+                <marker date="1591175174069" expanded="false" signature="56418:56698" ph="INSERT INTO TF_MON... " />
+                <marker date="1591175174069" expanded="false" signature="57110:57245" ph="INSERT INTO MF_MON... " />
+                <marker date="1591175174069" expanded="false" signature="57674:57897" ph="INSERT INTO MF_BAC... " />
+                <marker date="1591175174069" expanded="false" signature="58752:58906" ph="INSERT INTO TF_BAC... " />
+                <marker date="1591175174069" expanded="false" signature="63576:63636" ph="SELECT COUNT... MF_VHID" />
+                <marker date="1591175174069" expanded="false" signature="63977:64028" ph="SELECT ISNUL... BACC" />
+                <marker date="1591175174069" expanded="false" signature="64504:64657" ph="UPDATE TF_MO... " />
+                <marker date="1591175174069" expanded="false" signature="65026:65180" ph="UPDATE TF_MO... " />
+                <marker date="1591175174069" expanded="false" signature="65445:65494" ph="UPDATE MF_MO... " />
+                <marker date="1591175174069" expanded="false" signature="65682:65769" ph="UPDATE MF_BA... " />
+                <marker date="1591175174069" expanded="false" signature="66046:66105" ph="UPDATE TF_BA... " />
+                <marker date="1591175174069" expanded="false" signature="67660:67707" ph="DELETE FROM " />
+                <marker date="1591175174069" expanded="false" signature="67781:67829" ph="DELETE FROM " />
+                <marker date="1591175174069" expanded="false" signature="67905:67938" ph="DELETE FROM " />
+                <marker date="1591175174069" expanded="false" signature="68026:68059" ph="DELETE FROM " />
+                <marker date="1591175174069" expanded="false" signature="68580:68659" ph="SELECT table... TABLES" />
+                <marker date="1591175174069" expanded="false" signature="68851:68882" ph="SELECT COUNT... MF_LZ1_Z01" />
+                <marker date="1591175174069" expanded="false" signature="69064:69619" ph="SELECT ISNUL... MF_LZ1_Z01" />
+                <marker date="1591175174069" expanded="false" signature="70429:70474" ph="UPDATE MF_LZ... " />
+                <marker date="1591175174069" expanded="false" signature="70809:70887" ph="SELECT table... TABLES" />
+                <marker date="1591175174069" expanded="false" signature="71079:71109" ph="SELECT COUNT... MF_LZ_Z01" />
+                <marker date="1591175174069" expanded="false" signature="71296:71849" ph="SELECT ISNUL... MF_LZ_Z01" />
+                <marker date="1591175174069" expanded="false" signature="72682:72726" ph="UPDATE MF_LZ... " />
+                <marker date="1591175174069" expanded="false" signature="73455:73533" ph="SELECT table... TABLES" />
+                <marker date="1591175174069" expanded="false" signature="73724:73754" ph="SELECT COUNT... TC_MON_PC" />
+                <marker date="1591175174069" expanded="false" signature="73941:74422" ph="SELECT ISNUL... TC_MON_PC" />
+                <marker date="1591175174069" expanded="false" signature="75009:75053" ph="UPDATE TC_MO... " />
+                <marker date="1591175174069" expanded="false" signature="75819:75897" ph="SELECT table... TABLES" />
+                <marker date="1591175174069" expanded="false" signature="76088:76118" ph="SELECT COUNT... TC_MON_PC" />
+                <marker date="1591175174069" expanded="false" signature="76305:76750" ph="SELECT ISNUL... TC_MON_PC" />
+                <marker date="1591175174069" expanded="false" signature="77357:77401" ph="UPDATE TC_MO... " />
+                <marker date="1591175174069" expanded="false" signature="78166:78244" ph="SELECT table... TABLES" />
+                <marker date="1591175174069" expanded="false" signature="78435:78465" ph="SELECT COUNT... TC_MON_PC" />
+                <marker date="1591175174069" expanded="false" signature="78652:79169" ph="SELECT ISNUL... TC_MON_PC" />
+                <marker date="1591175174069" expanded="false" signature="79776:79820" ph="UPDATE TC_MO... " />
+                <marker date="1591175174069" expanded="true" signature="80530:80562" ph="SELECT DEP,N... DEPT" />
+                <marker date="1591175174069" expanded="true" signature="80622:80656" ph="SELECT top 1... DEPT" />
+                <marker date="1591175174069" expanded="false" signature="81606:81641" ph="SELECT PRD_N... PRDT" />
+                <marker date="1591175174069" expanded="false" signature="81701:81737" ph="SELECT top 1... PRDT" />
+                <marker date="1591175174069" expanded="false" signature="82997:83033" ph="SELECT CUS_N... CUST" />
+                <marker date="1591175174069" expanded="false" signature="83093:83129" ph="SELECT top 1... CUST" />
+                <marker date="1591175174069" expanded="false" signature="84389:84426" ph="SELECT BOM_N... MF_BOM" />
+                <marker date="1591175174069" expanded="false" signature="84486:84524" ph="SELECT top 1... MF_BOM" />
+                <marker date="1591175174069" expanded="false" signature="85817:85899" ph="SELECT A.MM_... MF_MM0" />
+                <marker date="1591175174069" expanded="true" signature="85959:86065" ph="SELECT TOP 2... MF_MM0" />
+                <marker date="1591175174069" expanded="true" signature="86801:87209" ph="select top 2... os_no" />
+                <marker date="1591175174069" expanded="true" signature="86832:86997" ph="select a.os_... mf_pos" />
+                <marker date="1591175174069" expanded="true" signature="87032:87179" ph="select a.jh_... MF_JH" />
+                <marker date="1591175174069" expanded="true" signature="87314:87620" ph="select top 2... os_no" />
+                <marker date="1591175174069" expanded="true" signature="87351:87462" ph="select a.os_... mf_pos" />
+                <marker date="1591175174069" expanded="true" signature="87497:87590" ph="select a.jh_... MF_JH" />
+                <marker date="1591175174069" expanded="true" signature="88699:88749" ph="select iefil... MF_IEFILE" />
+                <marker date="1591175174069" expanded="true" signature="88826:88893" ph="select iefil... MF_IEFILE" />
+                <marker date="1591175174069" expanded="true" signature="89867:89902" ph="SELECT NO,DE... " />
+                <marker date="1591175174069" expanded="true" signature="89962:90015" ph="SELECT top 2... " />
+                <marker date="1591175174069" expanded="true" signature="95329:95377" ph="SELECT COUNT... View_aa" />
+                <marker date="1591175174069" expanded="false" signature="96009:96595" ph="SELECT TOP m... " />
+                <marker date="1591175174069" expanded="true" signature="97840:97917" ph="SELECT COUNT... OS_NO" />
+                <marker date="1591175174069" expanded="true" signature="97875:97911" ph="SELECT OS_NO... View_aa" />
+                <marker date="1591175174069" expanded="false" signature="98710:99628" ph="SELECT TOP m... View_aa" />
+                <marker date="1591175174069" expanded="true" signature="100025:100379" ph="SELECT ISNUL... CAST" />
+                <marker date="1591175174069" expanded="true" signature="100147:100308" ph="SELECT CAST(... BAT_REC1" />
+                <marker date="1591175174069" expanded="true" signature="102487:102568" ph="UPDATE TF_PO... " />
+                <marker date="1591175174069" expanded="true" signature="104041:104839" ph="SELECT itm,n... " />
+                <marker date="1591175174069" expanded="true" signature="105814:105859" ph="SELECT MAX(N... " />
+                <marker date="1591175174069" expanded="true" signature="107482:107885" ph="INSERT INTO mcaf... " />
+                <marker date="1591175174069" expanded="true" signature="110607:110972" ph="UPDATE MCAF " />
+                <marker date="1591175174069" expanded="true" signature="111849:111900" ph="DELETE FROM " />
+                <marker date="1591175174069" expanded="true" signature="111999:112050" ph="DELETE FROM " />
+                <marker date="1591175174069" expanded="true" signature="113018:113787" ph="SELECT b.dep... mf_mo" />
+                <marker date="1591175174069" expanded="true" signature="113666:113718" ph="select max(i... MF_IEFILE" />
+                <marker date="1591175174069" expanded="true" signature="115493:115747" ph="SELECT isnul... DSCSETTING" />
+                <marker date="1591175174069" expanded="true" signature="115818:116015" ph="SELECT isnul... DSCSETTING" />
+                <marker date="1591175174069" expanded="true" signature="118369:118765" ph="select iefil... " />
+                <marker date="1591175174069" expanded="true" signature="119080:119187" ph="SELECT iefil... TF_IEFILE_BOM" />
+                <marker date="1591175174069" expanded="true" signature="119410:119569" ph="SELECT iefil... TF_IEFILE_UP" />
+                <marker date="1591175174069" expanded="true" signature="122158:122245" ph="SELECT MAX(r... " />
+                <marker date="1591175174069" expanded="true" signature="122642:122872" ph="INSERT INTO MF_IEFILE... " />
+                <marker date="1591175174069" expanded="true" signature="123241:123310" ph="INSERT INTO TF_IEFILE_BOM... " />
+                <marker date="1591175174069" expanded="true" signature="123643:123716" ph="INSERT INTO TF_IEFILE_UP... " />
+                <marker date="1591175174069" expanded="true" signature="126395:126622" ph="UPDATE MF_IE... " />
+                <marker date="1591175174069" expanded="true" signature="127014:127084" ph="UPDATE TF_IE... " />
+                <marker date="1591175174069" expanded="true" signature="127268:127329" ph="SELECT MAX(I... TF_IEFILE_UP" />
+                <marker date="1591175174069" expanded="true" signature="127529:127602" ph="INSERT INTO TF_IEFILE_UP... " />
+                <marker date="1591175174069" expanded="true" signature="128003:128065" ph="SELECT MAX(I... TF_IEFILE_BOM" />
+                <marker date="1591175174069" expanded="true" signature="128277:128346" ph="INSERT INTO TF_IEFILE_BOM... " />
+                <marker date="1591175174069" expanded="true" signature="129489:129535" ph="DELETE FROM " />
+                <marker date="1591175174069" expanded="true" signature="129648:129698" ph="DELETE FROM " />
+                <marker date="1591175174069" expanded="true" signature="129811:129860" ph="DELETE FROM " />
+                <marker date="1591175174069" expanded="true" signature="131690:132073" ph="select iefil... " />
+                <marker date="1591175174069" expanded="true" signature="132883:132943" ph="DELETE FROM " />
+                <marker date="1591175174069" expanded="true" signature="133002:133063" ph="DELETE FROM " />
+                <marker date="1591175174069" expanded="true" signature="134880:135705" ph="SELECT B.BOM... MF_IEFILE" />
+                <marker date="1591175174069" expanded="true" signature="135882:136661" ph="SELECT B.BOM... MF_IEFILE" />
+                <marker date="1591175174069" expanded="true" signature="138888:138960" ph="UPDATE MF_IE... " />
+                <marker date="1591175174069" expanded="true" signature="141469:141550" ph="SELECT IEFIL... TF_IEFILE_UP" />
+                <marker date="1591175174069" expanded="true" signature="141841:141943" ph="SELECT MM_NO... TF_MM0" />
+                <marker date="1591175174069" expanded="true" signature="142064:142182" ph="SELECT MM_NO... TF_MM0" />
+                <marker date="1591175174069" expanded="true" signature="142809:143207" ph="UPDATE TF_MM... " />
+                <marker date="1591175174069" expanded="true" signature="143989:144052" ph="UPDATE TF_MM... " />
+                <marker date="1591175174069" expanded="true" signature="144627:144708" ph="SELECT CAST(... MF_IEFILE" />
+                <marker date="1591175174069" expanded="true" signature="145013:145076" ph="UPDATE TF_MM... " />
+                <marker date="1591175174069" expanded="true" signature="146043:146086" ph="DELETE FROM " />
+                <marker date="1591175174069" expanded="true" signature="147945:149787" ph="select isnul... MF_IEFILE" />
+                <marker date="1591175174069" expanded="true" signature="149114:149297" ph="select ROUND... TF_MO" />
+                <marker date="1591175174069" expanded="true" signature="149343:149526" ph="select ROUND... TF_MO" />
+                <marker date="1591175174069" expanded="true" signature="151028:151290" ph="select isnul... TF_MM0" />
+                <marker date="1591175174069" expanded="true" signature="151181:151287" ph="select dep_n... DSCSETTING" />
+                <marker date="1591175174069" expanded="true" signature="151223:151286" ph="SELECT up FR... DSCSETTING" />
+                <marker date="1591175174069" expanded="true" signature="151715:151839" ph="SELECT IEFIL... TF_IEFILE_UP" />
+                <marker date="1591175174069" expanded="true" signature="152093:152224" ph="SELECT MM_NO... TF_MM0" />
+                <marker date="1591175174069" expanded="true" signature="155280:155627" ph="SELECT B.dep... TF_MM0" />
+                <marker date="1591175174069" expanded="true" signature="157422:157570" ph="select so_no... cst_tf_mp3" />
+                <marker date="1591175174069" expanded="true" signature="158253:158497" ph="select id,ne... jtjh" />
+                <marker date="1591175174069" expanded="true" signature="160357:160522" ph="select so_no... cst_tf_mp3_ymp" />
+                <marker date="1591175174069" expanded="true" signature="160950:161359" ph="select id,ne... jtjh" />
+                <marker date="1591175174069" expanded="true" signature="161599:161813" ph="select mo_no... mf_mo" />
+                <marker date="1591175174069" expanded="true" signature="161599:161814" ph="select a.mo_... mf_mo" />
+                <marker date="1591175174069" expanded="true" signature="161599:161832" ph="select a.mo_... mf_mo" />
+                <marker date="1591175174069" expanded="true" signature="161690:161735" ph="select dep f... DSCSETTING" />
+                <marker date="1591175174069" expanded="true" signature="164360:164508" ph="select so_no... cst_tf_mp3" />
+                <marker date="1591175174069" expanded="true" signature="165019:165246" ph="select id,ne... jtjh" />
               </folding>
             </state>
           </provider>
@@ -635,7 +634,7 @@
       <file leaf-file-name="lianxi.py" pinned="false" current-in-tab="false">
         <entry file="file://$PROJECT_DIR$/meib/meib/apps/erp/lianxi.py">
           <provider selected="true" editor-type-id="text-editor">
-            <state relative-caret-position="331">
+            <state relative-caret-position="2403">
               <caret line="89" column="27" lean-forward="false" selection-start-line="89" selection-start-column="27" selection-end-line="89" selection-end-column="27" />
               <folding />
             </state>
@@ -658,7 +657,7 @@
       <file leaf-file-name="models.py" pinned="false" current-in-tab="false">
         <entry file="file://$PROJECT_DIR$/meib/meib/apps/erp/models.py">
           <provider selected="true" editor-type-id="text-editor">
-            <state relative-caret-position="3429">
+            <state relative-caret-position="469">
               <caret line="127" column="31" lean-forward="false" selection-start-line="127" selection-start-column="20" selection-end-line="127" selection-end-column="31" />
               <folding />
             </state>
@@ -697,7 +696,6 @@
       <find>xxcn_t_mb</find>
       <find>result_row</find>
       <find>更新数据</find>
-      <find>print</find>
       <find>iefilemaintain</find>
       <find>DjangoFilterBackend</find>
       <find>over</find>
@@ -707,6 +705,7 @@
       <find>pcydscjh</find>
       <find>View_ydzpcjh</find>
       <find>prd_no</find>
+      <find>print</find>
     </findStrings>
     <replaceStrings>
       <replace>meib</replace>
@@ -788,7 +787,7 @@
       <foldersAlwaysOnTop value="true" />
     </navigator>
     <panes>
-      <pane id="Scope" />
+      <pane id="Scratches" />
       <pane id="ProjectPane">
         <subPane>
           <PATH>
@@ -905,12 +904,12 @@
           </PATH>
         </subPane>
       </pane>
-      <pane id="Scratches" />
+      <pane id="Scope" />
     </panes>
   </component>
   <component name="PropertiesComponent">
     <property name="settings.editor.selected.configurable" value="com.jetbrains.python.configuration.PyActiveSdkModuleConfigurable" />
-    <property name="last_opened_file_path" value="D:/awj_new111" />
+    <property name="last_opened_file_path" value="$PROJECT_DIR$/../../AppData/python.exe" />
     <property name="WebServerToolWindowFactoryState" value="false" />
   </component>
   <component name="RecentsManager">
@@ -1426,23 +1425,30 @@
       <option name="project" value="LOCAL" />
       <updated>1591002980202</updated>
     </task>
-    <option name="localTasksCounter" value="32" />
+    <task id="LOCAL-00032" summary="表头模板">
+      <created>1591087528937</created>
+      <option name="number" value="00032" />
+      <option name="presentableId" value="LOCAL-00032" />
+      <option name="project" value="LOCAL" />
+      <updated>1591087528937</updated>
+    </task>
+    <option name="localTasksCounter" value="33" />
     <servers />
   </component>
   <component name="ToolWindowManager">
     <frame x="-7" y="0" width="1934" height="1047" extended-state="0" />
     <layout>
-      <window_info id="Project" active="true" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.09978655" sideWeight="0.4949367" order="0" side_tool="false" content_ui="combo" />
+      <window_info id="Project" active="true" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.23159018" sideWeight="0.4949367" order="0" side_tool="false" content_ui="combo" />
       <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
       <window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.20390455" sideWeight="0.5021322" order="7" side_tool="true" content_ui="tabs" />
       <window_info id="Database" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
-      <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.37458926" sideWeight="0.4978678" order="2" side_tool="false" content_ui="tabs" />
       <window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="10" side_tool="false" content_ui="tabs" />
       <window_info id="Python Console" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="8" side_tool="false" content_ui="tabs" />
+      <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.18072289" sideWeight="0.4978678" order="2" side_tool="false" content_ui="tabs" />
       <window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
       <window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.22559653" sideWeight="0.5" order="9" side_tool="false" content_ui="tabs" />
-      <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.23752712" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
       <window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.16257995" sideWeight="0.5050633" order="2" side_tool="true" content_ui="tabs" />
+      <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.23752712" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
       <window_info id="Data View" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
       <window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
       <window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
@@ -1460,7 +1466,6 @@
     <option name="myLimit" value="2678400000" />
   </component>
   <component name="VcsManagerConfiguration">
-    <MESSAGE value="项目配置重构" />
     <MESSAGE value="今天代码" />
     <MESSAGE value="今天代码完成,修改" />
     <MESSAGE value="今天代码完成," />
@@ -1485,7 +1490,8 @@
     <MESSAGE value="PC月度生产计划完成" />
     <MESSAGE value="上传red" />
     <MESSAGE value="研磨品" />
-    <option name="LAST_COMMIT_MESSAGE" value="研磨品" />
+    <MESSAGE value="表头模板" />
+    <option name="LAST_COMMIT_MESSAGE" value="表头模板" />
   </component>
   <component name="XDebuggerManager">
     <breakpoint-manager>
@@ -1811,16 +1817,6 @@
         </state>
       </provider>
     </entry>
-    <entry file="file://$PROJECT_DIR$/meib/meib/apps/erp/urls.py">
-      <provider selected="true" editor-type-id="text-editor">
-        <state relative-caret-position="1080">
-          <caret line="41" column="59" lean-forward="false" selection-start-line="41" selection-start-column="59" selection-end-line="41" selection-end-column="59" />
-          <folding>
-            <element signature="e#0#32#0" expanded="true" />
-          </folding>
-        </state>
-      </provider>
-    </entry>
     <entry file="file://$PROJECT_DIR$/meib/meib/apps/erp/serializers.py">
       <provider selected="true" editor-type-id="text-editor">
         <state relative-caret-position="1242">
@@ -1832,26 +1828,36 @@
         </state>
       </provider>
     </entry>
-    <entry file="file://$PROJECT_DIR$/meib/meib/apps/erp/models.py">
+    <entry file="file://$PROJECT_DIR$/meib/meib/apps/erp/lianxi.py">
       <provider selected="true" editor-type-id="text-editor">
-        <state relative-caret-position="3429">
-          <caret line="127" column="31" lean-forward="false" selection-start-line="127" selection-start-column="20" selection-end-line="127" selection-end-column="31" />
+        <state relative-caret-position="2403">
+          <caret line="89" column="27" lean-forward="false" selection-start-line="89" selection-start-column="27" selection-end-line="89" selection-end-column="27" />
           <folding />
         </state>
       </provider>
     </entry>
-    <entry file="file://$PROJECT_DIR$/meib/meib/apps/erp/lianxi.py">
+    <entry file="file://$PROJECT_DIR$/meib/meib/apps/erp/urls.py">
       <provider selected="true" editor-type-id="text-editor">
-        <state relative-caret-position="331">
-          <caret line="89" column="27" lean-forward="false" selection-start-line="89" selection-start-column="27" selection-end-line="89" selection-end-column="27" />
+        <state relative-caret-position="216">
+          <caret line="17" column="26" lean-forward="false" selection-start-line="17" selection-start-column="26" selection-end-line="17" selection-end-column="26" />
+          <folding>
+            <element signature="e#0#32#0" expanded="true" />
+          </folding>
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/meib/meib/apps/erp/models.py">
+      <provider selected="true" editor-type-id="text-editor">
+        <state relative-caret-position="469">
+          <caret line="127" column="31" lean-forward="false" selection-start-line="127" selection-start-column="20" selection-end-line="127" selection-end-column="31" />
           <folding />
         </state>
       </provider>
     </entry>
     <entry file="file://$PROJECT_DIR$/meib/meib/apps/erp/views.py">
       <provider selected="true" editor-type-id="text-editor">
-        <state relative-caret-position="381">
-          <caret line="3436" column="182" lean-forward="false" selection-start-line="3436" selection-start-column="178" selection-end-line="3436" selection-end-column="182" />
+        <state relative-caret-position="297">
+          <caret line="3336" column="9" lean-forward="true" selection-start-line="3336" selection-start-column="9" selection-end-line="3336" selection-end-column="9" />
           <folding>
             <element signature="e#1#36#0" expanded="true" />
             <element signature="e#1246#25668#0" expanded="false" />
@@ -2081,8 +2087,6 @@
             <element signature="e#79453#79712#0" expanded="false" />
             <element signature="e#79852#79970#0" expanded="false" />
             <element signature="e#80081#81089#0" expanded="false" />
-            <element signature="e#80779#80921#0" expanded="false" />
-            <element signature="e#80953#81047#0" expanded="false" />
             <element signature="e#81153#82480#0" expanded="false" />
             <element signature="e#81385#81665#0" expanded="false" />
             <element signature="e#81837#82137#0" expanded="false" />
@@ -2117,7 +2121,7 @@
             <element signature="e#89629#89926#0" expanded="false" />
             <element signature="e#90158#90268#0" expanded="false" />
             <element signature="e#90300#90394#0" expanded="false" />
-            <element signature="e#90621#101699#0" expanded="false" />
+            <element signature="e#90589#102744#0" expanded="false" />
             <element signature="e#92368#92602#0" expanded="false" />
             <element signature="e#92982#92990#0" expanded="false" />
             <element signature="e#94010#94498#0" expanded="false" />
@@ -2254,183 +2258,184 @@
             <element signature="e#152747#153628#0" expanded="false" />
             <element signature="e#153648#153741#0" expanded="false" />
             <element signature="e#153964#156305#0" expanded="false" />
+            <element signature="e#156469#159081#0" expanded="false" />
             <element signature="e#156836#159078#0" expanded="false" />
-            <element signature="e#162951#163025#0" expanded="false" />
-            <element signature="e#165858#165880#0" expanded="false" />
-            <marker date="1591067654179" expanded="false" signature="5212:5272" ph="SELECT COUNT... MF_VHID" />
-            <marker date="1591067654179" expanded="false" signature="5574:5636" ph="SELECT ISNUL... " />
-            <marker date="1591067654179" expanded="false" signature="6501:6731" ph="INSERT INTO MF_PSS... " />
-            <marker date="1591067654179" expanded="false" signature="7709:7762" ph="INSERT INTO MF_PSS_Z... " />
-            <marker date="1591067654179" expanded="false" signature="7899:8131" ph="INSERT INTO MF_ARP... " />
-            <marker date="1591067654179" expanded="false" signature="9058:9290" ph="INSERT INTO MF_PSS... " />
-            <marker date="1591067654179" expanded="false" signature="10232:10437" ph="INSERT INTO TF_PSS... " />
-            <marker date="1591067654179" expanded="false" signature="15457:15514" ph="SELECT ZHANG... MF_PSS" />
-            <marker date="1591067654179" expanded="false" signature="15685:15754" ph="SELECT ISNUL... MF_ARP" />
-            <marker date="1591067654179" expanded="false" signature="16023:16092" ph="SELECT ISNUL... MF_PSS" />
-            <marker date="1591067654179" expanded="false" signature="16494:16554" ph="SELECT COUNT... MF_VHID" />
-            <marker date="1591067654179" expanded="false" signature="16856:16918" ph="SELECT ISNUL... " />
-            <marker date="1591067654179" expanded="false" signature="17828:17885" ph="UPDATE MF_PS... " />
-            <marker date="1591067654179" expanded="false" signature="17983:18040" ph="UPDATE MF_PS... " />
-            <marker date="1591067654179" expanded="false" signature="18175:18313" ph="UPDATE MF_PS... " />
-            <marker date="1591067654179" expanded="false" signature="19148:19266" ph="UPDATE MF_AR... " />
-            <marker date="1591067654179" expanded="false" signature="19891:20118" ph="INSERT INTO MF_ARP... " />
-            <marker date="1591067654179" expanded="false" signature="21135:21273" ph="UPDATE MF_PS... " />
-            <marker date="1591067654179" expanded="false" signature="21881:21931" ph="DELETE FROM " />
-            <marker date="1591067654179" expanded="false" signature="22120:22231" ph="UPDATE TF_PS... " />
-            <marker date="1591067654179" expanded="false" signature="23898:23955" ph="SELECT ZHANG... MF_PSS" />
-            <marker date="1591067654179" expanded="false" signature="24175:24244" ph="SELECT ISNUL... MF_ARP" />
-            <marker date="1591067654179" expanded="false" signature="24559:24628" ph="SELECT ISNUL... MF_PSS" />
-            <marker date="1591067654179" expanded="false" signature="25028:25077" ph="DELETE FROM " />
-            <marker date="1591067654179" expanded="false" signature="25137:25186" ph="DELETE FROM " />
-            <marker date="1591067654179" expanded="false" signature="25246:25297" ph="DELETE FROM " />
-            <marker date="1591067654179" expanded="false" signature="30247:30307" ph="SELECT COUNT... MF_VHID" />
-            <marker date="1591067654179" expanded="false" signature="30609:30671" ph="SELECT ISNUL... " />
-            <marker date="1591067654179" expanded="false" signature="31562:31815" ph="INSERT INTO MF_PSS... " />
-            <marker date="1591067654179" expanded="false" signature="32946:33182" ph="INSERT INTO MF_ARP... " />
-            <marker date="1591067654179" expanded="false" signature="34110:34365" ph="INSERT INTO MF_PSS... " />
-            <marker date="1591067654179" expanded="false" signature="35426:35635" ph="INSERT INTO TF_PSS... " />
-            <marker date="1591067654179" expanded="false" signature="40080:40137" ph="SELECT ZHANG... MF_PSS" />
-            <marker date="1591067654179" expanded="false" signature="40398:40467" ph="SELECT ISNUL... MF_ARP" />
-            <marker date="1591067654179" expanded="false" signature="40782:40851" ph="SELECT ISNUL... MF_PSS" />
-            <marker date="1591067654179" expanded="false" signature="41303:41363" ph="SELECT COUNT... MF_VHID" />
-            <marker date="1591067654179" expanded="false" signature="41665:41727" ph="SELECT ISNUL... " />
-            <marker date="1591067654179" expanded="false" signature="42672:42810" ph="UPDATE MF_PS... " />
-            <marker date="1591067654179" expanded="false" signature="43525:43643" ph="UPDATE MF_AR... " />
-            <marker date="1591067654179" expanded="false" signature="44205:44436" ph="INSERT INTO MF_ARP... " />
-            <marker date="1591067654179" expanded="false" signature="45453:45591" ph="UPDATE MF_PS... " />
-            <marker date="1591067654179" expanded="false" signature="46199:46249" ph="DELETE FROM " />
-            <marker date="1591067654179" expanded="false" signature="46459:46570" ph="UPDATE TF_PS... " />
-            <marker date="1591067654179" expanded="false" signature="48026:48083" ph="SELECT ZHANG... MF_PSS" />
-            <marker date="1591067654179" expanded="false" signature="48303:48372" ph="SELECT ISNUL... MF_ARP" />
-            <marker date="1591067654179" expanded="false" signature="48687:48756" ph="SELECT ISNUL... MF_PSS" />
-            <marker date="1591067654179" expanded="false" signature="49156:49205" ph="DELETE FROM " />
-            <marker date="1591067654179" expanded="false" signature="49265:49314" ph="DELETE FROM " />
-            <marker date="1591067654179" expanded="false" signature="49374:49425" ph="DELETE FROM " />
-            <marker date="1591067654179" expanded="false" signature="53738:53798" ph="SELECT COUNT... MF_VHID" />
-            <marker date="1591067654179" expanded="false" signature="54114:54165" ph="SELECT ISNUL... BACC" />
-            <marker date="1591067654179" expanded="false" signature="54620:54914" ph="INSERT INTO TF_MON... " />
-            <marker date="1591067654179" expanded="false" signature="56418:56698" ph="INSERT INTO TF_MON... " />
-            <marker date="1591067654179" expanded="false" signature="57110:57245" ph="INSERT INTO MF_MON... " />
-            <marker date="1591067654179" expanded="false" signature="57674:57897" ph="INSERT INTO MF_BAC... " />
-            <marker date="1591067654179" expanded="false" signature="58752:58906" ph="INSERT INTO TF_BAC... " />
-            <marker date="1591067654179" expanded="false" signature="63576:63636" ph="SELECT COUNT... MF_VHID" />
-            <marker date="1591067654179" expanded="false" signature="63977:64028" ph="SELECT ISNUL... BACC" />
-            <marker date="1591067654179" expanded="false" signature="64504:64657" ph="UPDATE TF_MO... " />
-            <marker date="1591067654179" expanded="false" signature="65026:65180" ph="UPDATE TF_MO... " />
-            <marker date="1591067654179" expanded="false" signature="65445:65494" ph="UPDATE MF_MO... " />
-            <marker date="1591067654179" expanded="false" signature="65682:65769" ph="UPDATE MF_BA... " />
-            <marker date="1591067654179" expanded="false" signature="66046:66105" ph="UPDATE TF_BA... " />
-            <marker date="1591067654179" expanded="false" signature="67660:67707" ph="DELETE FROM " />
-            <marker date="1591067654179" expanded="false" signature="67781:67829" ph="DELETE FROM " />
-            <marker date="1591067654179" expanded="false" signature="67905:67938" ph="DELETE FROM " />
-            <marker date="1591067654179" expanded="false" signature="68026:68059" ph="DELETE FROM " />
-            <marker date="1591067654179" expanded="false" signature="68580:68659" ph="SELECT table... TABLES" />
-            <marker date="1591067654179" expanded="false" signature="68851:68882" ph="SELECT COUNT... MF_LZ1_Z01" />
-            <marker date="1591067654179" expanded="false" signature="69064:69619" ph="SELECT ISNUL... MF_LZ1_Z01" />
-            <marker date="1591067654179" expanded="false" signature="70429:70474" ph="UPDATE MF_LZ... " />
-            <marker date="1591067654179" expanded="false" signature="70809:70887" ph="SELECT table... TABLES" />
-            <marker date="1591067654179" expanded="false" signature="71079:71109" ph="SELECT COUNT... MF_LZ_Z01" />
-            <marker date="1591067654179" expanded="false" signature="71296:71849" ph="SELECT ISNUL... MF_LZ_Z01" />
-            <marker date="1591067654179" expanded="false" signature="72682:72726" ph="UPDATE MF_LZ... " />
-            <marker date="1591067654179" expanded="false" signature="73455:73533" ph="SELECT table... TABLES" />
-            <marker date="1591067654179" expanded="false" signature="73724:73754" ph="SELECT COUNT... TC_MON_PC" />
-            <marker date="1591067654179" expanded="false" signature="73941:74422" ph="SELECT ISNUL... TC_MON_PC" />
-            <marker date="1591067654179" expanded="false" signature="75009:75053" ph="UPDATE TC_MO... " />
-            <marker date="1591067654179" expanded="false" signature="75819:75897" ph="SELECT table... TABLES" />
-            <marker date="1591067654179" expanded="false" signature="76088:76118" ph="SELECT COUNT... TC_MON_PC" />
-            <marker date="1591067654179" expanded="false" signature="76305:76750" ph="SELECT ISNUL... TC_MON_PC" />
-            <marker date="1591067654179" expanded="false" signature="77357:77401" ph="UPDATE TC_MO... " />
-            <marker date="1591067654179" expanded="false" signature="78166:78244" ph="SELECT table... TABLES" />
-            <marker date="1591067654179" expanded="false" signature="78435:78465" ph="SELECT COUNT... TC_MON_PC" />
-            <marker date="1591067654179" expanded="false" signature="78652:79169" ph="SELECT ISNUL... TC_MON_PC" />
-            <marker date="1591067654179" expanded="false" signature="79776:79820" ph="UPDATE TC_MO... " />
-            <marker date="1591067654179" expanded="false" signature="80530:80562" ph="SELECT DEP,N... DEPT" />
-            <marker date="1591067654179" expanded="true" signature="80622:80656" ph="SELECT top 1... DEPT" />
-            <marker date="1591067654179" expanded="false" signature="81606:81641" ph="SELECT PRD_N... PRDT" />
-            <marker date="1591067654179" expanded="false" signature="81701:81737" ph="SELECT top 1... PRDT" />
-            <marker date="1591067654179" expanded="false" signature="82997:83033" ph="SELECT CUS_N... CUST" />
-            <marker date="1591067654179" expanded="false" signature="83093:83129" ph="SELECT top 1... CUST" />
-            <marker date="1591067654179" expanded="false" signature="84389:84426" ph="SELECT BOM_N... MF_BOM" />
-            <marker date="1591067654179" expanded="false" signature="84486:84524" ph="SELECT top 1... MF_BOM" />
-            <marker date="1591067654179" expanded="false" signature="85817:85899" ph="SELECT A.MM_... MF_MM0" />
-            <marker date="1591067654179" expanded="true" signature="85959:86065" ph="SELECT TOP 2... MF_MM0" />
-            <marker date="1591067654179" expanded="true" signature="86801:87209" ph="select top 2... os_no" />
-            <marker date="1591067654179" expanded="true" signature="86832:86997" ph="select a.os_... mf_pos" />
-            <marker date="1591067654179" expanded="true" signature="87032:87179" ph="select a.jh_... MF_JH" />
-            <marker date="1591067654179" expanded="true" signature="87314:87620" ph="select top 2... os_no" />
-            <marker date="1591067654179" expanded="true" signature="87351:87462" ph="select a.os_... mf_pos" />
-            <marker date="1591067654179" expanded="true" signature="87497:87590" ph="select a.jh_... MF_JH" />
-            <marker date="1591067654179" expanded="true" signature="88699:88749" ph="select iefil... MF_IEFILE" />
-            <marker date="1591067654179" expanded="true" signature="88826:88893" ph="select iefil... MF_IEFILE" />
-            <marker date="1591067654179" expanded="true" signature="89867:89902" ph="SELECT NO,DE... " />
-            <marker date="1591067654179" expanded="true" signature="89962:90015" ph="SELECT top 2... " />
-            <marker date="1591067654179" expanded="true" signature="95329:95377" ph="SELECT COUNT... View_aa" />
-            <marker date="1591067654179" expanded="true" signature="96009:96595" ph="SELECT TOP m... " />
-            <marker date="1591067654179" expanded="true" signature="97840:97917" ph="SELECT COUNT... OS_NO" />
-            <marker date="1591067654179" expanded="true" signature="97875:97911" ph="SELECT OS_NO... View_aa" />
-            <marker date="1591067654179" expanded="true" signature="98710:99628" ph="SELECT TOP m... View_aa" />
-            <marker date="1591067654179" expanded="true" signature="100025:100379" ph="SELECT ISNUL... CAST" />
-            <marker date="1591067654179" expanded="true" signature="100147:100308" ph="SELECT CAST(... BAT_REC1" />
-            <marker date="1591067654179" expanded="true" signature="102487:102568" ph="UPDATE TF_PO... " />
-            <marker date="1591067654179" expanded="true" signature="104041:104839" ph="SELECT itm,n... " />
-            <marker date="1591067654179" expanded="true" signature="105814:105859" ph="SELECT MAX(N... " />
-            <marker date="1591067654179" expanded="true" signature="107482:107885" ph="INSERT INTO mcaf... " />
-            <marker date="1591067654179" expanded="true" signature="110607:110972" ph="UPDATE MCAF " />
-            <marker date="1591067654179" expanded="true" signature="111849:111900" ph="DELETE FROM " />
-            <marker date="1591067654179" expanded="true" signature="111999:112050" ph="DELETE FROM " />
-            <marker date="1591067654179" expanded="true" signature="113018:113787" ph="SELECT b.dep... mf_mo" />
-            <marker date="1591067654179" expanded="true" signature="113666:113718" ph="select max(i... MF_IEFILE" />
-            <marker date="1591067654179" expanded="true" signature="115493:115747" ph="SELECT isnul... DSCSETTING" />
-            <marker date="1591067654179" expanded="true" signature="115818:116015" ph="SELECT isnul... DSCSETTING" />
-            <marker date="1591067654179" expanded="true" signature="118369:118765" ph="select iefil... " />
-            <marker date="1591067654179" expanded="true" signature="119080:119187" ph="SELECT iefil... TF_IEFILE_BOM" />
-            <marker date="1591067654179" expanded="true" signature="119410:119569" ph="SELECT iefil... TF_IEFILE_UP" />
-            <marker date="1591067654179" expanded="true" signature="122158:122245" ph="SELECT MAX(r... " />
-            <marker date="1591067654179" expanded="true" signature="122642:122872" ph="INSERT INTO MF_IEFILE... " />
-            <marker date="1591067654179" expanded="true" signature="123241:123310" ph="INSERT INTO TF_IEFILE_BOM... " />
-            <marker date="1591067654179" expanded="true" signature="123643:123716" ph="INSERT INTO TF_IEFILE_UP... " />
-            <marker date="1591067654179" expanded="true" signature="126395:126622" ph="UPDATE MF_IE... " />
-            <marker date="1591067654179" expanded="true" signature="127014:127084" ph="UPDATE TF_IE... " />
-            <marker date="1591067654179" expanded="true" signature="127268:127329" ph="SELECT MAX(I... TF_IEFILE_UP" />
-            <marker date="1591067654179" expanded="true" signature="127529:127602" ph="INSERT INTO TF_IEFILE_UP... " />
-            <marker date="1591067654179" expanded="true" signature="128003:128065" ph="SELECT MAX(I... TF_IEFILE_BOM" />
-            <marker date="1591067654179" expanded="true" signature="128277:128346" ph="INSERT INTO TF_IEFILE_BOM... " />
-            <marker date="1591067654179" expanded="true" signature="129489:129535" ph="DELETE FROM " />
-            <marker date="1591067654179" expanded="true" signature="129648:129698" ph="DELETE FROM " />
-            <marker date="1591067654179" expanded="true" signature="129811:129860" ph="DELETE FROM " />
-            <marker date="1591067654179" expanded="true" signature="131690:132073" ph="select iefil... " />
-            <marker date="1591067654179" expanded="true" signature="132883:132943" ph="DELETE FROM " />
-            <marker date="1591067654179" expanded="true" signature="133002:133063" ph="DELETE FROM " />
-            <marker date="1591067654179" expanded="true" signature="134880:135705" ph="SELECT B.BOM... MF_IEFILE" />
-            <marker date="1591067654179" expanded="true" signature="135882:136661" ph="SELECT B.BOM... MF_IEFILE" />
-            <marker date="1591067654179" expanded="true" signature="138888:138960" ph="UPDATE MF_IE... " />
-            <marker date="1591067654179" expanded="true" signature="141469:141550" ph="SELECT IEFIL... TF_IEFILE_UP" />
-            <marker date="1591067654179" expanded="true" signature="141841:141943" ph="SELECT MM_NO... TF_MM0" />
-            <marker date="1591067654179" expanded="true" signature="142064:142182" ph="SELECT MM_NO... TF_MM0" />
-            <marker date="1591067654179" expanded="true" signature="142809:143207" ph="UPDATE TF_MM... " />
-            <marker date="1591067654179" expanded="true" signature="143989:144052" ph="UPDATE TF_MM... " />
-            <marker date="1591067654179" expanded="true" signature="144627:144708" ph="SELECT CAST(... MF_IEFILE" />
-            <marker date="1591067654179" expanded="true" signature="145013:145076" ph="UPDATE TF_MM... " />
-            <marker date="1591067654179" expanded="true" signature="146043:146086" ph="DELETE FROM " />
-            <marker date="1591067654179" expanded="true" signature="147945:149787" ph="select isnul... MF_IEFILE" />
-            <marker date="1591067654179" expanded="true" signature="149114:149297" ph="select ROUND... TF_MO" />
-            <marker date="1591067654179" expanded="true" signature="149343:149526" ph="select ROUND... TF_MO" />
-            <marker date="1591067654179" expanded="true" signature="151028:151290" ph="select isnul... TF_MM0" />
-            <marker date="1591067654179" expanded="true" signature="151181:151287" ph="select dep_n... DSCSETTING" />
-            <marker date="1591067654179" expanded="true" signature="151223:151286" ph="SELECT up FR... DSCSETTING" />
-            <marker date="1591067654179" expanded="true" signature="151715:151839" ph="SELECT IEFIL... TF_IEFILE_UP" />
-            <marker date="1591067654179" expanded="true" signature="152093:152224" ph="SELECT MM_NO... TF_MM0" />
-            <marker date="1591067654179" expanded="true" signature="155280:155627" ph="SELECT B.dep... TF_MM0" />
-            <marker date="1591067654179" expanded="true" signature="157422:157570" ph="select so_no... cst_tf_mp3" />
-            <marker date="1591067654179" expanded="true" signature="158253:158497" ph="select id,ne... jtjh" />
-            <marker date="1591067654179" expanded="true" signature="160353:160505" ph="select so_no... cst_tf_mp3_ymp" />
-            <marker date="1591067654179" expanded="true" signature="160818:161260" ph="select id,ne... jtjh" />
-            <marker date="1591067654179" expanded="true" signature="161536:161754" ph="select mo_no... mf_mo" />
-            <marker date="1591067654179" expanded="true" signature="161536:161755" ph="select a.mo_... mf_mo" />
-            <marker date="1591067654179" expanded="true" signature="161536:161773" ph="select a.mo_... mf_mo" />
-            <marker date="1591067654179" expanded="true" signature="161627:161672" ph="select dep f... DSCSETTING" />
-            <marker date="1591067654179" expanded="true" signature="164291:164439" ph="select so_no... cst_tf_mp3" />
-            <marker date="1591067654179" expanded="true" signature="164950:165177" ph="select id,ne... jtjh" />
+            <element signature="e#163020#163094#0" expanded="false" />
+            <element signature="e#165927#165949#0" expanded="false" />
+            <marker date="1591175174069" expanded="false" signature="5212:5272" ph="SELECT COUNT... MF_VHID" />
+            <marker date="1591175174069" expanded="false" signature="5574:5636" ph="SELECT ISNUL... " />
+            <marker date="1591175174069" expanded="false" signature="6501:6731" ph="INSERT INTO MF_PSS... " />
+            <marker date="1591175174069" expanded="false" signature="7709:7762" ph="INSERT INTO MF_PSS_Z... " />
+            <marker date="1591175174069" expanded="false" signature="7899:8131" ph="INSERT INTO MF_ARP... " />
+            <marker date="1591175174069" expanded="false" signature="9058:9290" ph="INSERT INTO MF_PSS... " />
+            <marker date="1591175174069" expanded="false" signature="10232:10437" ph="INSERT INTO TF_PSS... " />
+            <marker date="1591175174069" expanded="false" signature="15457:15514" ph="SELECT ZHANG... MF_PSS" />
+            <marker date="1591175174069" expanded="false" signature="15685:15754" ph="SELECT ISNUL... MF_ARP" />
+            <marker date="1591175174069" expanded="false" signature="16023:16092" ph="SELECT ISNUL... MF_PSS" />
+            <marker date="1591175174069" expanded="false" signature="16494:16554" ph="SELECT COUNT... MF_VHID" />
+            <marker date="1591175174069" expanded="false" signature="16856:16918" ph="SELECT ISNUL... " />
+            <marker date="1591175174069" expanded="false" signature="17828:17885" ph="UPDATE MF_PS... " />
+            <marker date="1591175174069" expanded="false" signature="17983:18040" ph="UPDATE MF_PS... " />
+            <marker date="1591175174069" expanded="false" signature="18175:18313" ph="UPDATE MF_PS... " />
+            <marker date="1591175174069" expanded="false" signature="19148:19266" ph="UPDATE MF_AR... " />
+            <marker date="1591175174069" expanded="false" signature="19891:20118" ph="INSERT INTO MF_ARP... " />
+            <marker date="1591175174069" expanded="false" signature="21135:21273" ph="UPDATE MF_PS... " />
+            <marker date="1591175174069" expanded="false" signature="21881:21931" ph="DELETE FROM " />
+            <marker date="1591175174069" expanded="false" signature="22120:22231" ph="UPDATE TF_PS... " />
+            <marker date="1591175174069" expanded="false" signature="23898:23955" ph="SELECT ZHANG... MF_PSS" />
+            <marker date="1591175174069" expanded="false" signature="24175:24244" ph="SELECT ISNUL... MF_ARP" />
+            <marker date="1591175174069" expanded="false" signature="24559:24628" ph="SELECT ISNUL... MF_PSS" />
+            <marker date="1591175174069" expanded="false" signature="25028:25077" ph="DELETE FROM " />
+            <marker date="1591175174069" expanded="false" signature="25137:25186" ph="DELETE FROM " />
+            <marker date="1591175174069" expanded="false" signature="25246:25297" ph="DELETE FROM " />
+            <marker date="1591175174069" expanded="false" signature="30247:30307" ph="SELECT COUNT... MF_VHID" />
+            <marker date="1591175174069" expanded="false" signature="30609:30671" ph="SELECT ISNUL... " />
+            <marker date="1591175174069" expanded="false" signature="31562:31815" ph="INSERT INTO MF_PSS... " />
+            <marker date="1591175174069" expanded="false" signature="32946:33182" ph="INSERT INTO MF_ARP... " />
+            <marker date="1591175174069" expanded="false" signature="34110:34365" ph="INSERT INTO MF_PSS... " />
+            <marker date="1591175174069" expanded="false" signature="35426:35635" ph="INSERT INTO TF_PSS... " />
+            <marker date="1591175174069" expanded="false" signature="40080:40137" ph="SELECT ZHANG... MF_PSS" />
+            <marker date="1591175174069" expanded="false" signature="40398:40467" ph="SELECT ISNUL... MF_ARP" />
+            <marker date="1591175174069" expanded="false" signature="40782:40851" ph="SELECT ISNUL... MF_PSS" />
+            <marker date="1591175174069" expanded="false" signature="41303:41363" ph="SELECT COUNT... MF_VHID" />
+            <marker date="1591175174069" expanded="false" signature="41665:41727" ph="SELECT ISNUL... " />
+            <marker date="1591175174069" expanded="false" signature="42672:42810" ph="UPDATE MF_PS... " />
+            <marker date="1591175174069" expanded="false" signature="43525:43643" ph="UPDATE MF_AR... " />
+            <marker date="1591175174069" expanded="false" signature="44205:44436" ph="INSERT INTO MF_ARP... " />
+            <marker date="1591175174069" expanded="false" signature="45453:45591" ph="UPDATE MF_PS... " />
+            <marker date="1591175174069" expanded="false" signature="46199:46249" ph="DELETE FROM " />
+            <marker date="1591175174069" expanded="false" signature="46459:46570" ph="UPDATE TF_PS... " />
+            <marker date="1591175174069" expanded="false" signature="48026:48083" ph="SELECT ZHANG... MF_PSS" />
+            <marker date="1591175174069" expanded="false" signature="48303:48372" ph="SELECT ISNUL... MF_ARP" />
+            <marker date="1591175174069" expanded="false" signature="48687:48756" ph="SELECT ISNUL... MF_PSS" />
+            <marker date="1591175174069" expanded="false" signature="49156:49205" ph="DELETE FROM " />
+            <marker date="1591175174069" expanded="false" signature="49265:49314" ph="DELETE FROM " />
+            <marker date="1591175174069" expanded="false" signature="49374:49425" ph="DELETE FROM " />
+            <marker date="1591175174069" expanded="false" signature="53738:53798" ph="SELECT COUNT... MF_VHID" />
+            <marker date="1591175174069" expanded="false" signature="54114:54165" ph="SELECT ISNUL... BACC" />
+            <marker date="1591175174069" expanded="false" signature="54620:54914" ph="INSERT INTO TF_MON... " />
+            <marker date="1591175174069" expanded="false" signature="56418:56698" ph="INSERT INTO TF_MON... " />
+            <marker date="1591175174069" expanded="false" signature="57110:57245" ph="INSERT INTO MF_MON... " />
+            <marker date="1591175174069" expanded="false" signature="57674:57897" ph="INSERT INTO MF_BAC... " />
+            <marker date="1591175174069" expanded="false" signature="58752:58906" ph="INSERT INTO TF_BAC... " />
+            <marker date="1591175174069" expanded="false" signature="63576:63636" ph="SELECT COUNT... MF_VHID" />
+            <marker date="1591175174069" expanded="false" signature="63977:64028" ph="SELECT ISNUL... BACC" />
+            <marker date="1591175174069" expanded="false" signature="64504:64657" ph="UPDATE TF_MO... " />
+            <marker date="1591175174069" expanded="false" signature="65026:65180" ph="UPDATE TF_MO... " />
+            <marker date="1591175174069" expanded="false" signature="65445:65494" ph="UPDATE MF_MO... " />
+            <marker date="1591175174069" expanded="false" signature="65682:65769" ph="UPDATE MF_BA... " />
+            <marker date="1591175174069" expanded="false" signature="66046:66105" ph="UPDATE TF_BA... " />
+            <marker date="1591175174069" expanded="false" signature="67660:67707" ph="DELETE FROM " />
+            <marker date="1591175174069" expanded="false" signature="67781:67829" ph="DELETE FROM " />
+            <marker date="1591175174069" expanded="false" signature="67905:67938" ph="DELETE FROM " />
+            <marker date="1591175174069" expanded="false" signature="68026:68059" ph="DELETE FROM " />
+            <marker date="1591175174069" expanded="false" signature="68580:68659" ph="SELECT table... TABLES" />
+            <marker date="1591175174069" expanded="false" signature="68851:68882" ph="SELECT COUNT... MF_LZ1_Z01" />
+            <marker date="1591175174069" expanded="false" signature="69064:69619" ph="SELECT ISNUL... MF_LZ1_Z01" />
+            <marker date="1591175174069" expanded="false" signature="70429:70474" ph="UPDATE MF_LZ... " />
+            <marker date="1591175174069" expanded="false" signature="70809:70887" ph="SELECT table... TABLES" />
+            <marker date="1591175174069" expanded="false" signature="71079:71109" ph="SELECT COUNT... MF_LZ_Z01" />
+            <marker date="1591175174069" expanded="false" signature="71296:71849" ph="SELECT ISNUL... MF_LZ_Z01" />
+            <marker date="1591175174069" expanded="false" signature="72682:72726" ph="UPDATE MF_LZ... " />
+            <marker date="1591175174069" expanded="false" signature="73455:73533" ph="SELECT table... TABLES" />
+            <marker date="1591175174069" expanded="false" signature="73724:73754" ph="SELECT COUNT... TC_MON_PC" />
+            <marker date="1591175174069" expanded="false" signature="73941:74422" ph="SELECT ISNUL... TC_MON_PC" />
+            <marker date="1591175174069" expanded="false" signature="75009:75053" ph="UPDATE TC_MO... " />
+            <marker date="1591175174069" expanded="false" signature="75819:75897" ph="SELECT table... TABLES" />
+            <marker date="1591175174069" expanded="false" signature="76088:76118" ph="SELECT COUNT... TC_MON_PC" />
+            <marker date="1591175174069" expanded="false" signature="76305:76750" ph="SELECT ISNUL... TC_MON_PC" />
+            <marker date="1591175174069" expanded="false" signature="77357:77401" ph="UPDATE TC_MO... " />
+            <marker date="1591175174069" expanded="false" signature="78166:78244" ph="SELECT table... TABLES" />
+            <marker date="1591175174069" expanded="false" signature="78435:78465" ph="SELECT COUNT... TC_MON_PC" />
+            <marker date="1591175174069" expanded="false" signature="78652:79169" ph="SELECT ISNUL... TC_MON_PC" />
+            <marker date="1591175174069" expanded="false" signature="79776:79820" ph="UPDATE TC_MO... " />
+            <marker date="1591175174069" expanded="true" signature="80530:80562" ph="SELECT DEP,N... DEPT" />
+            <marker date="1591175174069" expanded="true" signature="80622:80656" ph="SELECT top 1... DEPT" />
+            <marker date="1591175174069" expanded="false" signature="81606:81641" ph="SELECT PRD_N... PRDT" />
+            <marker date="1591175174069" expanded="false" signature="81701:81737" ph="SELECT top 1... PRDT" />
+            <marker date="1591175174069" expanded="false" signature="82997:83033" ph="SELECT CUS_N... CUST" />
+            <marker date="1591175174069" expanded="false" signature="83093:83129" ph="SELECT top 1... CUST" />
+            <marker date="1591175174069" expanded="false" signature="84389:84426" ph="SELECT BOM_N... MF_BOM" />
+            <marker date="1591175174069" expanded="false" signature="84486:84524" ph="SELECT top 1... MF_BOM" />
+            <marker date="1591175174069" expanded="false" signature="85817:85899" ph="SELECT A.MM_... MF_MM0" />
+            <marker date="1591175174069" expanded="true" signature="85959:86065" ph="SELECT TOP 2... MF_MM0" />
+            <marker date="1591175174069" expanded="true" signature="86801:87209" ph="select top 2... os_no" />
+            <marker date="1591175174069" expanded="true" signature="86832:86997" ph="select a.os_... mf_pos" />
+            <marker date="1591175174069" expanded="true" signature="87032:87179" ph="select a.jh_... MF_JH" />
+            <marker date="1591175174069" expanded="true" signature="87314:87620" ph="select top 2... os_no" />
+            <marker date="1591175174069" expanded="true" signature="87351:87462" ph="select a.os_... mf_pos" />
+            <marker date="1591175174069" expanded="true" signature="87497:87590" ph="select a.jh_... MF_JH" />
+            <marker date="1591175174069" expanded="true" signature="88699:88749" ph="select iefil... MF_IEFILE" />
+            <marker date="1591175174069" expanded="true" signature="88826:88893" ph="select iefil... MF_IEFILE" />
+            <marker date="1591175174069" expanded="true" signature="89867:89902" ph="SELECT NO,DE... " />
+            <marker date="1591175174069" expanded="true" signature="89962:90015" ph="SELECT top 2... " />
+            <marker date="1591175174069" expanded="true" signature="95329:95377" ph="SELECT COUNT... View_aa" />
+            <marker date="1591175174069" expanded="false" signature="96009:96595" ph="SELECT TOP m... " />
+            <marker date="1591175174069" expanded="true" signature="97840:97917" ph="SELECT COUNT... OS_NO" />
+            <marker date="1591175174069" expanded="true" signature="97875:97911" ph="SELECT OS_NO... View_aa" />
+            <marker date="1591175174069" expanded="false" signature="98710:99628" ph="SELECT TOP m... View_aa" />
+            <marker date="1591175174069" expanded="true" signature="100025:100379" ph="SELECT ISNUL... CAST" />
+            <marker date="1591175174069" expanded="true" signature="100147:100308" ph="SELECT CAST(... BAT_REC1" />
+            <marker date="1591175174069" expanded="true" signature="102487:102568" ph="UPDATE TF_PO... " />
+            <marker date="1591175174069" expanded="true" signature="104041:104839" ph="SELECT itm,n... " />
+            <marker date="1591175174069" expanded="true" signature="105814:105859" ph="SELECT MAX(N... " />
+            <marker date="1591175174069" expanded="true" signature="107482:107885" ph="INSERT INTO mcaf... " />
+            <marker date="1591175174069" expanded="true" signature="110607:110972" ph="UPDATE MCAF " />
+            <marker date="1591175174069" expanded="true" signature="111849:111900" ph="DELETE FROM " />
+            <marker date="1591175174069" expanded="true" signature="111999:112050" ph="DELETE FROM " />
+            <marker date="1591175174069" expanded="true" signature="113018:113787" ph="SELECT b.dep... mf_mo" />
+            <marker date="1591175174069" expanded="true" signature="113666:113718" ph="select max(i... MF_IEFILE" />
+            <marker date="1591175174069" expanded="true" signature="115493:115747" ph="SELECT isnul... DSCSETTING" />
+            <marker date="1591175174069" expanded="true" signature="115818:116015" ph="SELECT isnul... DSCSETTING" />
+            <marker date="1591175174069" expanded="true" signature="118369:118765" ph="select iefil... " />
+            <marker date="1591175174069" expanded="true" signature="119080:119187" ph="SELECT iefil... TF_IEFILE_BOM" />
+            <marker date="1591175174069" expanded="true" signature="119410:119569" ph="SELECT iefil... TF_IEFILE_UP" />
+            <marker date="1591175174069" expanded="true" signature="122158:122245" ph="SELECT MAX(r... " />
+            <marker date="1591175174069" expanded="true" signature="122642:122872" ph="INSERT INTO MF_IEFILE... " />
+            <marker date="1591175174069" expanded="true" signature="123241:123310" ph="INSERT INTO TF_IEFILE_BOM... " />
+            <marker date="1591175174069" expanded="true" signature="123643:123716" ph="INSERT INTO TF_IEFILE_UP... " />
+            <marker date="1591175174069" expanded="true" signature="126395:126622" ph="UPDATE MF_IE... " />
+            <marker date="1591175174069" expanded="true" signature="127014:127084" ph="UPDATE TF_IE... " />
+            <marker date="1591175174069" expanded="true" signature="127268:127329" ph="SELECT MAX(I... TF_IEFILE_UP" />
+            <marker date="1591175174069" expanded="true" signature="127529:127602" ph="INSERT INTO TF_IEFILE_UP... " />
+            <marker date="1591175174069" expanded="true" signature="128003:128065" ph="SELECT MAX(I... TF_IEFILE_BOM" />
+            <marker date="1591175174069" expanded="true" signature="128277:128346" ph="INSERT INTO TF_IEFILE_BOM... " />
+            <marker date="1591175174069" expanded="true" signature="129489:129535" ph="DELETE FROM " />
+            <marker date="1591175174069" expanded="true" signature="129648:129698" ph="DELETE FROM " />
+            <marker date="1591175174069" expanded="true" signature="129811:129860" ph="DELETE FROM " />
+            <marker date="1591175174069" expanded="true" signature="131690:132073" ph="select iefil... " />
+            <marker date="1591175174069" expanded="true" signature="132883:132943" ph="DELETE FROM " />
+            <marker date="1591175174069" expanded="true" signature="133002:133063" ph="DELETE FROM " />
+            <marker date="1591175174069" expanded="true" signature="134880:135705" ph="SELECT B.BOM... MF_IEFILE" />
+            <marker date="1591175174069" expanded="true" signature="135882:136661" ph="SELECT B.BOM... MF_IEFILE" />
+            <marker date="1591175174069" expanded="true" signature="138888:138960" ph="UPDATE MF_IE... " />
+            <marker date="1591175174069" expanded="true" signature="141469:141550" ph="SELECT IEFIL... TF_IEFILE_UP" />
+            <marker date="1591175174069" expanded="true" signature="141841:141943" ph="SELECT MM_NO... TF_MM0" />
+            <marker date="1591175174069" expanded="true" signature="142064:142182" ph="SELECT MM_NO... TF_MM0" />
+            <marker date="1591175174069" expanded="true" signature="142809:143207" ph="UPDATE TF_MM... " />
+            <marker date="1591175174069" expanded="true" signature="143989:144052" ph="UPDATE TF_MM... " />
+            <marker date="1591175174069" expanded="true" signature="144627:144708" ph="SELECT CAST(... MF_IEFILE" />
+            <marker date="1591175174069" expanded="true" signature="145013:145076" ph="UPDATE TF_MM... " />
+            <marker date="1591175174069" expanded="true" signature="146043:146086" ph="DELETE FROM " />
+            <marker date="1591175174069" expanded="true" signature="147945:149787" ph="select isnul... MF_IEFILE" />
+            <marker date="1591175174069" expanded="true" signature="149114:149297" ph="select ROUND... TF_MO" />
+            <marker date="1591175174069" expanded="true" signature="149343:149526" ph="select ROUND... TF_MO" />
+            <marker date="1591175174069" expanded="true" signature="151028:151290" ph="select isnul... TF_MM0" />
+            <marker date="1591175174069" expanded="true" signature="151181:151287" ph="select dep_n... DSCSETTING" />
+            <marker date="1591175174069" expanded="true" signature="151223:151286" ph="SELECT up FR... DSCSETTING" />
+            <marker date="1591175174069" expanded="true" signature="151715:151839" ph="SELECT IEFIL... TF_IEFILE_UP" />
+            <marker date="1591175174069" expanded="true" signature="152093:152224" ph="SELECT MM_NO... TF_MM0" />
+            <marker date="1591175174069" expanded="true" signature="155280:155627" ph="SELECT B.dep... TF_MM0" />
+            <marker date="1591175174069" expanded="true" signature="157422:157570" ph="select so_no... cst_tf_mp3" />
+            <marker date="1591175174069" expanded="true" signature="158253:158497" ph="select id,ne... jtjh" />
+            <marker date="1591175174069" expanded="true" signature="160357:160522" ph="select so_no... cst_tf_mp3_ymp" />
+            <marker date="1591175174069" expanded="true" signature="160950:161359" ph="select id,ne... jtjh" />
+            <marker date="1591175174069" expanded="true" signature="161599:161813" ph="select mo_no... mf_mo" />
+            <marker date="1591175174069" expanded="true" signature="161599:161814" ph="select a.mo_... mf_mo" />
+            <marker date="1591175174069" expanded="true" signature="161599:161832" ph="select a.mo_... mf_mo" />
+            <marker date="1591175174069" expanded="true" signature="161690:161735" ph="select dep f... DSCSETTING" />
+            <marker date="1591175174069" expanded="true" signature="164360:164508" ph="select so_no... cst_tf_mp3" />
+            <marker date="1591175174069" expanded="true" signature="165019:165246" ph="select id,ne... jtjh" />
           </folding>
         </state>
       </provider>

+ 536 - 0
meib/logs/hwj.log

@@ -27607,3 +27607,539 @@ INFO 2020-06-02 11:24:30,242 basehttp 154 "GET /cust/?search_no= HTTP/1.1" 200 6
 INFO 2020-06-02 11:24:30,323 basehttp 154 "GET /listtb/?st_time=2020-06-02&sh_time=2020-06-02&cus_no=&cls_id=1&pmc_ok=1&sort=1&business_time=&prd_no=&sc_dep=&ym_type=&os_type=1&capacity=&vessel=&select=2&ifmerge=1&page=1 HTTP/1.1" 200 892
 INFO 2020-06-02 11:24:37,317 basehttp 154 "GET /listtb?st_time=2020-05-01&sh_time=2020-06-02&cus_no=&cls_id=1&pmc_ok=1&sort=1&business_time=&prd_no=&sc_dep=&ym_type=&os_type=1&capacity=&vessel=&select=1&ifmerge=1&page=1 HTTP/1.1" 301 0
 INFO 2020-06-02 11:24:37,860 basehttp 154 "GET /listtb/?st_time=2020-05-01&sh_time=2020-06-02&cus_no=&cls_id=1&pmc_ok=1&sort=1&business_time=&prd_no=&sc_dep=&ym_type=&os_type=1&capacity=&vessel=&select=1&ifmerge=1&page=1 HTTP/1.1" 200 4430
+INFO 2020-06-03 08:35:45,610 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-06-03 08:36:18,229 basehttp 154 "GET /index HTTP/1.1" 301 0
+INFO 2020-06-03 08:36:18,317 basehttp 154 "GET /index/ HTTP/1.1" 200 29223
+INFO 2020-06-03 08:36:18,398 basehttp 154 "GET /static/css/loader.css HTTP/1.1" 200 1349
+INFO 2020-06-03 08:36:18,399 basehttp 154 "GET /static/css/css.css HTTP/1.1" 200 5367
+INFO 2020-06-03 08:36:18,404 basehttp 154 "GET /static/css/bootstrap-select.min.css HTTP/1.1" 200 5802
+INFO 2020-06-03 08:36:18,409 basehttp 154 "GET /static/css/bootstrap.min.css HTTP/1.1" 200 121200
+INFO 2020-06-03 08:36:18,432 basehttp 154 "GET /static/js/vue-Cookies.js HTTP/1.1" 200 6166
+INFO 2020-06-03 08:36:18,446 basehttp 154 "GET /static/js/bootstrap.min.js HTTP/1.1" 200 37051
+INFO 2020-06-03 08:36:18,458 basehttp 154 "GET /static/js/axios.min.js HTTP/1.1" 200 14185
+INFO 2020-06-03 08:36:18,473 basehttp 154 "GET /static/js/jquery.select.js HTTP/1.1" 200 6373
+INFO 2020-06-03 08:36:18,493 basehttp 154 "GET /static/js/bootstrap-select_new.js HTTP/1.1" 200 53970
+INFO 2020-06-03 08:36:18,501 basehttp 154 "GET /static/js/export/exports.js HTTP/1.1" 200 2803
+INFO 2020-06-03 08:36:18,517 basehttp 154 "GET /static/js/jquery.min.js HTTP/1.1" 200 84284
+INFO 2020-06-03 08:36:18,558 basehttp 154 "GET /static/js/vue-2.4.0.js HTTP/1.1" 200 264100
+INFO 2020-06-03 08:36:18,594 basehttp 154 "GET /static/img/logo.png HTTP/1.1" 200 5168
+INFO 2020-06-03 08:36:18,734 basehttp 154 "GET /listtb?st_time=2020-06-03&sh_time=2020-06-03&cus_no=&cls_id=1&pmc_ok=1&sort=1&business_time=&prd_no=&sc_dep=&ym_type=&os_type=1&capacity=&vessel=&select=2&ifmerge=1&page=1 HTTP/1.1" 301 0
+WARNING 2020-06-03 08:36:18,756 log 228 Not Found: /favicon.ico
+WARNING 2020-06-03 08:36:18,757 basehttp 154 "GET /favicon.ico HTTP/1.1" 404 9167
+INFO 2020-06-03 08:36:19,512 basehttp 154 "GET /cust/?search_no= HTTP/1.1" 200 6285
+INFO 2020-06-03 08:36:19,668 basehttp 154 "GET /prdt/?search_no= HTTP/1.1" 200 21856
+INFO 2020-06-03 08:36:21,490 basehttp 154 "GET /listtb/?st_time=2020-06-03&sh_time=2020-06-03&cus_no=&cls_id=1&pmc_ok=1&sort=1&business_time=&prd_no=&sc_dep=&ym_type=&os_type=1&capacity=&vessel=&select=2&ifmerge=1&page=1 HTTP/1.1" 200 892
+INFO 2020-06-03 11:38:14,148 basehttp 154 "GET /iefiletm HTTP/1.1" 301 0
+INFO 2020-06-03 11:38:14,567 basehttp 154 "GET /iefiletm/ HTTP/1.1" 200 35267
+INFO 2020-06-03 11:38:14,837 basehttp 154 "GET /static/css/iefile.css HTTP/1.1" 200 2949
+INFO 2020-06-03 11:38:15,775 basehttp 154 "GET /dept/?search_no= HTTP/1.1" 200 10371
+INFO 2020-06-03 11:38:20,917 basehttp 154 "GET /index/ HTTP/1.1" 200 29218
+INFO 2020-06-03 11:38:21,828 basehttp 154 "GET /cust/?search_no= HTTP/1.1" 200 6285
+INFO 2020-06-03 11:38:22,224 basehttp 154 "GET /prdt/?search_no= HTTP/1.1" 200 21856
+INFO 2020-06-03 11:38:23,683 basehttp 154 "GET /listtb/?st_time=2020-06-03&sh_time=2020-06-03&cus_no=&cls_id=1&pmc_ok=1&sort=1&business_time=&prd_no=&sc_dep=&ym_type=&os_type=1&capacity=&vessel=&select=2&ifmerge=1&page=1 HTTP/1.1" 200 892
+INFO 2020-06-03 11:38:31,835 basehttp 154 "GET /listtb?st_time=2020-05-01&sh_time=2020-06-03&cus_no=&cls_id=1&pmc_ok=1&sort=1&business_time=&prd_no=&sc_dep=&ym_type=&os_type=1&capacity=&vessel=&select=1&ifmerge=1&page=1 HTTP/1.1" 301 0
+INFO 2020-06-03 11:38:37,702 basehttp 154 "GET /listtb/?st_time=2020-05-01&sh_time=2020-06-03&cus_no=&cls_id=1&pmc_ok=1&sort=1&business_time=&prd_no=&sc_dep=&ym_type=&os_type=1&capacity=&vessel=&select=1&ifmerge=1&page=1 HTTP/1.1" 200 4430
+INFO 2020-06-03 11:43:19,747 basehttp 154 "GET /listtb HTTP/1.1" 301 0
+ERROR 2020-06-03 11:43:19,800 log 228 Internal Server Error: /listtb/
+Traceback (most recent call last):
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\utils\datastructures.py", line 78, in __getitem__
+    list_ = super().__getitem__(key)
+KeyError: 'st_time'
+
+During handling of the above exception, another exception occurred:
+
+Traceback (most recent call last):
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
+    response = get_response(request)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\core\handlers\base.py", line 115, in _get_response
+    response = self.process_exception_by_middleware(e, request)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
+    response = wrapped_callback(request, *callback_args, **callback_kwargs)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\views\generic\base.py", line 71, in view
+    return self.dispatch(request, *args, **kwargs)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\views\generic\base.py", line 97, in dispatch
+    return handler(request, *args, **kwargs)
+  File "E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py", line 1960, in get
+    st_time = request.GET["st_time"]  # ¿ªÊ¼Ê±¼ä
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\utils\datastructures.py", line 80, in __getitem__
+    raise MultiValueDictKeyError(key)
+django.utils.datastructures.MultiValueDictKeyError: 'st_time'
+ERROR 2020-06-03 11:43:19,803 basehttp 154 "GET /listtb/ HTTP/1.1" 500 87065
+INFO 2020-06-03 11:43:38,529 basehttp 154 "GET /dept HTTP/1.1" 301 0
+ERROR 2020-06-03 11:43:38,566 log 228 Internal Server Error: /dept/
+Traceback (most recent call last):
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\utils\datastructures.py", line 78, in __getitem__
+    list_ = super().__getitem__(key)
+KeyError: 'search_no'
+
+During handling of the above exception, another exception occurred:
+
+Traceback (most recent call last):
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
+    response = get_response(request)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\core\handlers\base.py", line 115, in _get_response
+    response = self.process_exception_by_middleware(e, request)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
+    response = wrapped_callback(request, *callback_args, **callback_kwargs)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\views\generic\base.py", line 71, in view
+    return self.dispatch(request, *args, **kwargs)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\views\generic\base.py", line 97, in dispatch
+    return handler(request, *args, **kwargs)
+  File "E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py", line 1695, in get
+    search_no = request.GET["search_no"]
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\utils\datastructures.py", line 80, in __getitem__
+    raise MultiValueDictKeyError(key)
+django.utils.datastructures.MultiValueDictKeyError: 'search_no'
+ERROR 2020-06-03 11:43:38,568 basehttp 154 "GET /dept/ HTTP/1.1" 500 86766
+INFO 2020-06-03 11:43:54,244 basehttp 154 "GET /dept?search_no HTTP/1.1" 301 0
+INFO 2020-06-03 11:43:54,254 basehttp 154 "GET /dept/?search_no HTTP/1.1" 200 10371
+WARNING 2020-06-03 11:49:34,169 basehttp 154 "GET /static/js/axios.min.map HTTP/1.1" 404 1672
+WARNING 2020-06-03 11:49:34,170 basehttp 154 "GET /static/js/jquery.min.map HTTP/1.1" 404 1675
+INFO 2020-06-03 11:49:34,295 basehttp 154 "GET /static/css/bootstrap.min.css.map HTTP/1.1" 200 542194
+INFO 2020-06-03 11:51:34,422 basehttp 154 "GET /index/ HTTP/1.1" 200 29218
+WARNING 2020-06-03 11:51:34,520 basehttp 154 "GET /static/js/jquery.min.map HTTP/1.1" 404 1675
+WARNING 2020-06-03 11:51:34,540 basehttp 154 "GET /static/js/axios.min.map HTTP/1.1" 404 1672
+INFO 2020-06-03 11:51:34,630 basehttp 154 "GET /prdt/?search_no= HTTP/1.1" 200 21856
+INFO 2020-06-03 11:51:34,632 basehttp 154 "GET /cust/?search_no= HTTP/1.1" 200 6285
+INFO 2020-06-03 11:51:34,735 basehttp 154 "GET /listtb/?st_time=2020-06-03&sh_time=2020-06-03&cus_no=&cls_id=1&pmc_ok=1&sort=1&business_time=&prd_no=&sc_dep=&ym_type=&os_type=1&capacity=&vessel=&select=2&ifmerge=1&page=1 HTTP/1.1" 200 892
+INFO 2020-06-03 14:51:08,673 basehttp 154 "GET /ympxqjh?so_no=SO2005000004 HTTP/1.1" 301 0
+INFO 2020-06-03 14:51:12,894 basehttp 154 "GET /ympxqjh/?so_no=SO2005000004 HTTP/1.1" 200 1242
+INFO 2020-06-03 14:54:03,582 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-06-03 14:54:06,509 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-06-03 14:54:14,156 basehttp 154 "GET /ympxqjh?so_no=SO2005000004 HTTP/1.1" 301 0
+INFO 2020-06-03 14:54:17,500 basehttp 154 "GET /ympxqjh/?so_no=SO2005000004 HTTP/1.1" 200 1242
+INFO 2020-06-03 14:56:11,558 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-06-03 14:56:12,367 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-06-03 14:56:20,009 basehttp 154 "GET /ympxqjh?so_no=SO2005000004 HTTP/1.1" 301 0
+INFO 2020-06-03 14:56:24,523 basehttp 154 "GET /ympxqjh/?so_no=SO2005000004 HTTP/1.1" 200 1242
+INFO 2020-06-03 14:59:39,425 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-06-03 14:59:40,445 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-06-03 15:00:03,564 basehttp 154 "GET /ympxqjh?so_no=SO2005000004 HTTP/1.1" 301 0
+INFO 2020-06-03 15:00:06,727 basehttp 154 "GET /ympxqjh/?so_no=SO2005000004 HTTP/1.1" 200 1242
+INFO 2020-06-03 15:00:57,276 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-06-03 15:00:58,213 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-06-03 15:01:08,522 basehttp 154 "GET /ympxqjh?so_no=SO2005000004 HTTP/1.1" 301 0
+INFO 2020-06-03 15:01:11,166 basehttp 154 "GET /ympxqjh/?so_no=SO2005000004 HTTP/1.1" 200 1242
+INFO 2020-06-03 15:13:36,786 basehttp 154 "GET /ympxqjh?so_no=SO2005000004 HTTP/1.1" 301 0
+ERROR 2020-06-03 15:13:37,380 log 228 Internal Server Error: /ympxqjh/
+Traceback (most recent call last):
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
+    response = get_response(request)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\core\handlers\base.py", line 115, in _get_response
+    response = self.process_exception_by_middleware(e, request)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
+    response = wrapped_callback(request, *callback_args, **callback_kwargs)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\views\decorators\csrf.py", line 54, in wrapped_view
+    return view_func(*args, **kwargs)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\rest_framework\viewsets.py", line 114, in view
+    return self.dispatch(request, *args, **kwargs)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\rest_framework\views.py", line 505, in dispatch
+    response = self.handle_exception(exc)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\rest_framework\views.py", line 465, in handle_exception
+    self.raise_uncaught_exception(exc)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\rest_framework\views.py", line 476, in raise_uncaught_exception
+    raise exc
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\rest_framework\views.py", line 502, in dispatch
+    response = handler(request, *args, **kwargs)
+  File "E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py", line 3355, in list
+    where so_no='{0}' and mrp_no+'->'='{1}' and id='{3}'""".format(i.so_no, ii["id_no"], pmc_dd,i.id)
+AttributeError: 'dict' object has no attribute 'so_no'
+ERROR 2020-06-03 15:13:37,381 basehttp 154 "GET /ympxqjh/?so_no=SO2005000004 HTTP/1.1" 500 18604
+INFO 2020-06-03 15:13:39,330 basehttp 154 "GET /ympxqjh?so_no=SO2005000004 HTTP/1.1" 301 0
+ERROR 2020-06-03 15:13:39,436 log 228 Internal Server Error: /ympxqjh/
+Traceback (most recent call last):
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
+    response = get_response(request)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\core\handlers\base.py", line 115, in _get_response
+    response = self.process_exception_by_middleware(e, request)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
+    response = wrapped_callback(request, *callback_args, **callback_kwargs)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\views\decorators\csrf.py", line 54, in wrapped_view
+    return view_func(*args, **kwargs)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\rest_framework\viewsets.py", line 114, in view
+    return self.dispatch(request, *args, **kwargs)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\rest_framework\views.py", line 505, in dispatch
+    response = self.handle_exception(exc)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\rest_framework\views.py", line 465, in handle_exception
+    self.raise_uncaught_exception(exc)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\rest_framework\views.py", line 476, in raise_uncaught_exception
+    raise exc
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\rest_framework\views.py", line 502, in dispatch
+    response = handler(request, *args, **kwargs)
+  File "E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py", line 3355, in list
+    where so_no='{0}' and mrp_no+'->'='{1}' and id='{3}'""".format(i.so_no, ii["id_no"], pmc_dd,i.id)
+AttributeError: 'dict' object has no attribute 'so_no'
+ERROR 2020-06-03 15:13:39,437 basehttp 154 "GET /ympxqjh/?so_no=SO2005000004 HTTP/1.1" 500 18604
+INFO 2020-06-03 15:16:51,561 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-06-03 15:16:57,173 basehttp 154 "GET /ympxqjh?so_no=SO2005000004 HTTP/1.1" 301 0
+ERROR 2020-06-03 15:16:57,547 log 228 Internal Server Error: /ympxqjh/
+Traceback (most recent call last):
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
+    response = get_response(request)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\core\handlers\base.py", line 115, in _get_response
+    response = self.process_exception_by_middleware(e, request)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
+    response = wrapped_callback(request, *callback_args, **callback_kwargs)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\views\decorators\csrf.py", line 54, in wrapped_view
+    return view_func(*args, **kwargs)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\rest_framework\viewsets.py", line 114, in view
+    return self.dispatch(request, *args, **kwargs)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\rest_framework\views.py", line 505, in dispatch
+    response = self.handle_exception(exc)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\rest_framework\views.py", line 465, in handle_exception
+    self.raise_uncaught_exception(exc)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\rest_framework\views.py", line 476, in raise_uncaught_exception
+    raise exc
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\rest_framework\views.py", line 502, in dispatch
+    response = handler(request, *args, **kwargs)
+  File "E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py", line 3355, in list
+    where so_no='{0}' and mrp_no+'->'='{1}' and id='{3}'""".format(i.so_no, ii["id_no"], pmc_dd,i.id)
+AttributeError: 'dict' object has no attribute 'so_no'
+ERROR 2020-06-03 15:16:57,550 basehttp 154 "GET /ympxqjh/?so_no=SO2005000004 HTTP/1.1" 500 18604
+INFO 2020-06-03 15:17:29,983 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-06-03 15:17:32,463 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-06-03 15:17:34,063 basehttp 154 "GET /ympxqjh?so_no=SO2005000004 HTTP/1.1" 301 0
+ERROR 2020-06-03 15:17:34,256 log 228 Internal Server Error: /ympxqjh/
+Traceback (most recent call last):
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
+    response = get_response(request)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\core\handlers\base.py", line 115, in _get_response
+    response = self.process_exception_by_middleware(e, request)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
+    response = wrapped_callback(request, *callback_args, **callback_kwargs)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\views\decorators\csrf.py", line 54, in wrapped_view
+    return view_func(*args, **kwargs)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\rest_framework\viewsets.py", line 114, in view
+    return self.dispatch(request, *args, **kwargs)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\rest_framework\views.py", line 505, in dispatch
+    response = self.handle_exception(exc)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\rest_framework\views.py", line 465, in handle_exception
+    self.raise_uncaught_exception(exc)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\rest_framework\views.py", line 476, in raise_uncaught_exception
+    raise exc
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\rest_framework\views.py", line 502, in dispatch
+    response = handler(request, *args, **kwargs)
+  File "E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py", line 3356, in list
+    where so_no='{0}' and mrp_no+'->'='{1}' and id='{3}'""".format(i.so_no, ii["id_no"], pmc_dd,i.id)
+AttributeError: 'dict' object has no attribute 'so_no'
+ERROR 2020-06-03 15:17:34,260 basehttp 154 "GET /ympxqjh/?so_no=SO2005000004 HTTP/1.1" 500 18604
+INFO 2020-06-03 15:18:20,310 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-06-03 15:18:21,569 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-06-03 15:18:28,551 basehttp 154 "GET /ympxqjh?so_no=SO2005000004 HTTP/1.1" 301 0
+ERROR 2020-06-03 15:18:28,677 log 228 Internal Server Error: /ympxqjh/
+Traceback (most recent call last):
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
+    response = get_response(request)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\core\handlers\base.py", line 115, in _get_response
+    response = self.process_exception_by_middleware(e, request)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
+    response = wrapped_callback(request, *callback_args, **callback_kwargs)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\views\decorators\csrf.py", line 54, in wrapped_view
+    return view_func(*args, **kwargs)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\rest_framework\viewsets.py", line 114, in view
+    return self.dispatch(request, *args, **kwargs)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\rest_framework\views.py", line 505, in dispatch
+    response = self.handle_exception(exc)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\rest_framework\views.py", line 465, in handle_exception
+    self.raise_uncaught_exception(exc)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\rest_framework\views.py", line 476, in raise_uncaught_exception
+    raise exc
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\rest_framework\views.py", line 502, in dispatch
+    response = handler(request, *args, **kwargs)
+  File "E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py", line 3356, in list
+    where so_no='{0}' and mrp_no+'->'='{1}' and id='{3}'""".format(i['so_no'], ii["id_no"], pmc_dd,i.id)
+TypeError: 'view_tf_pos' object is not subscriptable
+ERROR 2020-06-03 15:18:28,681 basehttp 154 "GET /ympxqjh/?so_no=SO2005000004 HTTP/1.1" 500 18603
+INFO 2020-06-03 15:19:14,945 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-06-03 15:19:16,154 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-06-03 15:19:19,442 basehttp 154 "GET /ympxqjh?so_no=SO2005000004 HTTP/1.1" 301 0
+ERROR 2020-06-03 15:19:19,552 log 228 Internal Server Error: /ympxqjh/
+Traceback (most recent call last):
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
+    response = get_response(request)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\core\handlers\base.py", line 115, in _get_response
+    response = self.process_exception_by_middleware(e, request)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
+    response = wrapped_callback(request, *callback_args, **callback_kwargs)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\views\decorators\csrf.py", line 54, in wrapped_view
+    return view_func(*args, **kwargs)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\rest_framework\viewsets.py", line 114, in view
+    return self.dispatch(request, *args, **kwargs)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\rest_framework\views.py", line 505, in dispatch
+    response = self.handle_exception(exc)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\rest_framework\views.py", line 465, in handle_exception
+    self.raise_uncaught_exception(exc)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\rest_framework\views.py", line 476, in raise_uncaught_exception
+    raise exc
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\rest_framework\views.py", line 502, in dispatch
+    response = handler(request, *args, **kwargs)
+  File "E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py", line 3356, in list
+    where so_no='{0}' and mrp_no+'->'='{1}' and id='{3}'""".format(i.so_no, ii["id_no"], pmc_dd,i.id)
+AttributeError: 'dict' object has no attribute 'so_no'
+ERROR 2020-06-03 15:19:19,554 basehttp 154 "GET /ympxqjh/?so_no=SO2005000004 HTTP/1.1" 500 18604
+INFO 2020-06-03 15:19:43,803 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-06-03 15:19:44,861 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-06-03 15:21:14,004 basehttp 154 "GET /ympxqjh?so_no=SO2005000004 HTTP/1.1" 301 0
+ERROR 2020-06-03 15:21:14,118 log 228 Internal Server Error: /ympxqjh/
+Traceback (most recent call last):
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
+    response = get_response(request)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\core\handlers\base.py", line 115, in _get_response
+    response = self.process_exception_by_middleware(e, request)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
+    response = wrapped_callback(request, *callback_args, **callback_kwargs)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\views\decorators\csrf.py", line 54, in wrapped_view
+    return view_func(*args, **kwargs)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\rest_framework\viewsets.py", line 114, in view
+    return self.dispatch(request, *args, **kwargs)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\rest_framework\views.py", line 505, in dispatch
+    response = self.handle_exception(exc)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\rest_framework\views.py", line 465, in handle_exception
+    self.raise_uncaught_exception(exc)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\rest_framework\views.py", line 476, in raise_uncaught_exception
+    raise exc
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\rest_framework\views.py", line 502, in dispatch
+    response = handler(request, *args, **kwargs)
+  File "E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py", line 3352, in list
+    print(i.so_no)
+AttributeError: 'dict' object has no attribute 'so_no'
+ERROR 2020-06-03 15:21:14,121 basehttp 154 "GET /ympxqjh/?so_no=SO2005000004 HTTP/1.1" 500 18521
+INFO 2020-06-03 15:24:50,061 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-06-03 15:24:58,038 basehttp 154 "GET /ympxqjh?so_no=SO2005000004 HTTP/1.1" 301 0
+ERROR 2020-06-03 15:24:58,167 log 228 Internal Server Error: /ympxqjh/
+Traceback (most recent call last):
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
+    response = get_response(request)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\core\handlers\base.py", line 115, in _get_response
+    response = self.process_exception_by_middleware(e, request)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
+    response = wrapped_callback(request, *callback_args, **callback_kwargs)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\views\decorators\csrf.py", line 54, in wrapped_view
+    return view_func(*args, **kwargs)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\rest_framework\viewsets.py", line 114, in view
+    return self.dispatch(request, *args, **kwargs)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\rest_framework\views.py", line 505, in dispatch
+    response = self.handle_exception(exc)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\rest_framework\views.py", line 465, in handle_exception
+    self.raise_uncaught_exception(exc)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\rest_framework\views.py", line 476, in raise_uncaught_exception
+    raise exc
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\rest_framework\views.py", line 502, in dispatch
+    response = handler(request, *args, **kwargs)
+  File "E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py", line 3352, in list
+    print(i.so_no)
+AttributeError: 'dict' object has no attribute 'so_no'
+ERROR 2020-06-03 15:24:58,169 basehttp 154 "GET /ympxqjh/?so_no=SO2005000004 HTTP/1.1" 500 18521
+INFO 2020-06-03 15:25:28,768 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-06-03 15:25:30,033 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-06-03 15:25:51,732 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-06-03 15:25:53,519 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-06-03 15:25:57,151 basehttp 154 "GET /ympxqjh?so_no=SO2005000004 HTTP/1.1" 301 0
+ERROR 2020-06-03 15:25:57,243 log 228 Internal Server Error: /ympxqjh/
+Traceback (most recent call last):
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
+    response = get_response(request)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\core\handlers\base.py", line 115, in _get_response
+    response = self.process_exception_by_middleware(e, request)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
+    response = wrapped_callback(request, *callback_args, **callback_kwargs)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\views\decorators\csrf.py", line 54, in wrapped_view
+    return view_func(*args, **kwargs)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\rest_framework\viewsets.py", line 114, in view
+    return self.dispatch(request, *args, **kwargs)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\rest_framework\views.py", line 505, in dispatch
+    response = self.handle_exception(exc)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\rest_framework\views.py", line 465, in handle_exception
+    self.raise_uncaught_exception(exc)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\rest_framework\views.py", line 476, in raise_uncaught_exception
+    raise exc
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\rest_framework\views.py", line 502, in dispatch
+    response = handler(request, *args, **kwargs)
+  File "E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py", line 3356, in list
+    where so_no='{0}' and mrp_no+'->'='{1}' and id='{3}'""".format(i.so_no, ii["id_no"], pmc_dd,i.id)
+AttributeError: 'dict' object has no attribute 'so_no'
+ERROR 2020-06-03 15:25:57,246 basehttp 154 "GET /ympxqjh/?so_no=SO2005000004 HTTP/1.1" 500 18604
+INFO 2020-06-03 15:26:23,383 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-06-03 15:26:26,560 basehttp 154 "GET /ympxqjh?so_no=SO2005000004 HTTP/1.1" 301 0
+ERROR 2020-06-03 15:26:26,741 log 228 Internal Server Error: /ympxqjh/
+Traceback (most recent call last):
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
+    response = get_response(request)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\core\handlers\base.py", line 115, in _get_response
+    response = self.process_exception_by_middleware(e, request)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
+    response = wrapped_callback(request, *callback_args, **callback_kwargs)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\views\decorators\csrf.py", line 54, in wrapped_view
+    return view_func(*args, **kwargs)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\rest_framework\viewsets.py", line 114, in view
+    return self.dispatch(request, *args, **kwargs)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\rest_framework\views.py", line 505, in dispatch
+    response = self.handle_exception(exc)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\rest_framework\views.py", line 465, in handle_exception
+    self.raise_uncaught_exception(exc)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\rest_framework\views.py", line 476, in raise_uncaught_exception
+    raise exc
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\rest_framework\views.py", line 502, in dispatch
+    response = handler(request, *args, **kwargs)
+  File "E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py", line 3356, in list
+    where so_no='{0}' and mrp_no+'->'='{1}' and id='{3}'""".format(i.so_no, ii["id_no"], pmc_dd,i.id)
+AttributeError: 'dict' object has no attribute 'so_no'
+ERROR 2020-06-03 15:26:26,755 basehttp 154 "GET /ympxqjh/?so_no=SO2005000004 HTTP/1.1" 500 18604
+INFO 2020-06-03 15:27:45,513 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-06-03 15:27:46,415 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-06-03 15:27:54,927 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-06-03 15:28:00,987 basehttp 154 "GET /ympxqjh?so_no=SO2005000004 HTTP/1.1" 301 0
+ERROR 2020-06-03 15:28:01,080 log 228 Internal Server Error: /ympxqjh/
+Traceback (most recent call last):
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
+    response = get_response(request)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\core\handlers\base.py", line 115, in _get_response
+    response = self.process_exception_by_middleware(e, request)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
+    response = wrapped_callback(request, *callback_args, **callback_kwargs)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\views\decorators\csrf.py", line 54, in wrapped_view
+    return view_func(*args, **kwargs)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\rest_framework\viewsets.py", line 114, in view
+    return self.dispatch(request, *args, **kwargs)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\rest_framework\views.py", line 505, in dispatch
+    response = self.handle_exception(exc)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\rest_framework\views.py", line 465, in handle_exception
+    self.raise_uncaught_exception(exc)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\rest_framework\views.py", line 476, in raise_uncaught_exception
+    raise exc
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\rest_framework\views.py", line 502, in dispatch
+    response = handler(request, *args, **kwargs)
+  File "E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py", line 3356, in list
+    where so_no='{0}' and mrp_no+'->'='{1}' and id='{3}'""".format(i.so_no, ii["id_no"], pmc_dd,i.id)
+AttributeError: 'dict' object has no attribute 'so_no'
+ERROR 2020-06-03 15:28:01,084 basehttp 154 "GET /ympxqjh/?so_no=SO2005000004 HTTP/1.1" 500 18604
+INFO 2020-06-03 15:28:54,845 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-06-03 15:28:56,068 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-06-03 15:29:07,850 basehttp 154 "GET /ympxqjh?so_no=SO2005000004 HTTP/1.1" 301 0
+ERROR 2020-06-03 15:29:07,982 log 228 Internal Server Error: /ympxqjh/
+Traceback (most recent call last):
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
+    response = get_response(request)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\core\handlers\base.py", line 115, in _get_response
+    response = self.process_exception_by_middleware(e, request)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
+    response = wrapped_callback(request, *callback_args, **callback_kwargs)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\views\decorators\csrf.py", line 54, in wrapped_view
+    return view_func(*args, **kwargs)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\rest_framework\viewsets.py", line 114, in view
+    return self.dispatch(request, *args, **kwargs)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\rest_framework\views.py", line 505, in dispatch
+    response = self.handle_exception(exc)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\rest_framework\views.py", line 465, in handle_exception
+    self.raise_uncaught_exception(exc)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\rest_framework\views.py", line 476, in raise_uncaught_exception
+    raise exc
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\rest_framework\views.py", line 502, in dispatch
+    response = handler(request, *args, **kwargs)
+  File "E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py", line 3356, in list
+    where so_no='{0}' and mrp_no+'->'='{1}' and id='{3}'""".format(i.so_no, ii["id_no"], pmc_dd,i.id)
+AttributeError: 'dict' object has no attribute 'so_no'
+ERROR 2020-06-03 15:29:07,985 basehttp 154 "GET /ympxqjh/?so_no=SO2005000004 HTTP/1.1" 500 18604
+INFO 2020-06-03 15:29:21,934 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-06-03 15:29:23,513 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-06-03 15:29:26,119 basehttp 154 "GET /ympxqjh?so_no=SO2005000004 HTTP/1.1" 301 0
+ERROR 2020-06-03 15:29:26,214 log 228 Internal Server Error: /ympxqjh/
+Traceback (most recent call last):
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
+    response = get_response(request)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\core\handlers\base.py", line 115, in _get_response
+    response = self.process_exception_by_middleware(e, request)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
+    response = wrapped_callback(request, *callback_args, **callback_kwargs)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\views\decorators\csrf.py", line 54, in wrapped_view
+    return view_func(*args, **kwargs)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\rest_framework\viewsets.py", line 114, in view
+    return self.dispatch(request, *args, **kwargs)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\rest_framework\views.py", line 505, in dispatch
+    response = self.handle_exception(exc)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\rest_framework\views.py", line 465, in handle_exception
+    self.raise_uncaught_exception(exc)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\rest_framework\views.py", line 476, in raise_uncaught_exception
+    raise exc
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\rest_framework\views.py", line 502, in dispatch
+    response = handler(request, *args, **kwargs)
+  File "E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py", line 3356, in list
+    where so_no='{0}' and mrp_no+'->'='{1}' and id='{3}'""".format(i.so_no, ii["id_no"], pmc_dd,i.id)
+AttributeError: 'dict' object has no attribute 'so_no'
+ERROR 2020-06-03 15:29:26,217 basehttp 154 "GET /ympxqjh/?so_no=SO2005000004 HTTP/1.1" 500 18604
+INFO 2020-06-03 15:29:41,597 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-06-03 15:29:42,886 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-06-03 15:29:46,548 basehttp 154 "GET /ympxqjh?so_no=SO2005000004 HTTP/1.1" 301 0
+ERROR 2020-06-03 15:29:46,709 log 228 Internal Server Error: /ympxqjh/
+Traceback (most recent call last):
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
+    response = get_response(request)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\core\handlers\base.py", line 115, in _get_response
+    response = self.process_exception_by_middleware(e, request)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
+    response = wrapped_callback(request, *callback_args, **callback_kwargs)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\views\decorators\csrf.py", line 54, in wrapped_view
+    return view_func(*args, **kwargs)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\rest_framework\viewsets.py", line 114, in view
+    return self.dispatch(request, *args, **kwargs)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\rest_framework\views.py", line 505, in dispatch
+    response = self.handle_exception(exc)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\rest_framework\views.py", line 465, in handle_exception
+    self.raise_uncaught_exception(exc)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\rest_framework\views.py", line 476, in raise_uncaught_exception
+    raise exc
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\rest_framework\views.py", line 502, in dispatch
+    response = handler(request, *args, **kwargs)
+  File "E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py", line 3356, in list
+    where so_no='{0}' and mrp_no+'->'='{1}' and id='{3}'""".format(i.so_no, ii["id_no"], pmc_dd,i.id)
+AttributeError: 'dict' object has no attribute 'so_no'
+ERROR 2020-06-03 15:29:46,723 basehttp 154 "GET /ympxqjh/?so_no=SO2005000004 HTTP/1.1" 500 18604
+INFO 2020-06-03 15:30:31,026 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-06-03 15:30:32,278 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-06-03 15:30:39,337 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-06-03 15:30:40,273 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-06-03 15:30:54,090 basehttp 154 "GET /ympxqjh?so_no=SO2005000004 HTTP/1.1" 301 0
+ERROR 2020-06-03 15:30:54,250 log 228 Internal Server Error: /ympxqjh/
+Traceback (most recent call last):
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
+    response = get_response(request)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\core\handlers\base.py", line 115, in _get_response
+    response = self.process_exception_by_middleware(e, request)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
+    response = wrapped_callback(request, *callback_args, **callback_kwargs)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\django\views\decorators\csrf.py", line 54, in wrapped_view
+    return view_func(*args, **kwargs)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\rest_framework\viewsets.py", line 114, in view
+    return self.dispatch(request, *args, **kwargs)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\rest_framework\views.py", line 505, in dispatch
+    response = self.handle_exception(exc)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\rest_framework\views.py", line 465, in handle_exception
+    self.raise_uncaught_exception(exc)
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\rest_framework\views.py", line 476, in raise_uncaught_exception
+    raise exc
+  File "C:\Users\12446\Envs\meibang\lib\site-packages\rest_framework\views.py", line 502, in dispatch
+    response = handler(request, *args, **kwargs)
+  File "E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py", line 3357, in list
+    where so_no='{0}' and mrp_no+'->'='{1}' and id='{3}'""".format(i.so_no, ii["id_no"], pmc_dd,i.id)
+AttributeError: 'dict' object has no attribute 'so_no'
+ERROR 2020-06-03 15:30:54,255 basehttp 154 "GET /ympxqjh/?so_no=SO2005000004 HTTP/1.1" 500 18604
+INFO 2020-06-03 15:32:09,168 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-06-03 15:32:10,135 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-06-03 15:32:18,656 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-06-03 15:32:22,131 basehttp 154 "GET /ympxqjh?so_no=SO2005000004 HTTP/1.1" 301 0
+INFO 2020-06-03 15:32:22,424 basehttp 154 "GET /ympxqjh/?so_no=SO2005000004 HTTP/1.1" 200 1787
+INFO 2020-06-03 15:32:40,321 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-06-03 15:32:41,877 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-06-03 16:52:29,764 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-06-03 16:52:30,976 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-06-03 16:54:47,463 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-06-03 16:54:48,510 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-06-03 16:57:32,468 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-06-03 16:57:33,376 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-06-03 16:59:35,005 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-06-03 16:59:36,243 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-06-03 17:04:59,266 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-06-03 17:05:04,951 basehttp 154 "GET /ympxqjh?so_no=SO2005000004 HTTP/1.1" 301 0
+INFO 2020-06-03 17:05:06,914 basehttp 154 "GET /ympxqjh/?so_no=SO2005000004 HTTP/1.1" 200 1721
+INFO 2020-06-03 17:06:14,784 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-06-03 17:06:15,688 autoreload 597 Watching for file changes with StatReloader

+ 33 - 31
meib/meib/apps/erp/views.py

@@ -3327,13 +3327,13 @@ class YmpxqJh(ModelViewSet):
     def list(self, request, *args, **kwargs):
         # print(self.get_queryset())
         queryset = self.filter_queryset(self.get_queryset())
-        print(queryset)
+        # print(queryset)
         # 定义数据存储空间
         data_list = []
         # print(queryset)
         for i in queryset:
             # 校验是否回复时间
-            print(i.mrp_no)
+            # print(i.mrp_no)
             if i.pmc_dd:
                 # 转换时间格式
                 # print(str(i.pmc_dd))
@@ -3342,39 +3342,41 @@ class YmpxqJh(ModelViewSet):
                 except Exception:
                     return Response("时间类型错误", status=status.HTTP_400_BAD_REQUEST)
                 # 递归查询得到所有bom已经累计bom的前置天数
-                sql = """select so_no,s_id_no,bom_no,prd_no,id_no,mo_no,sort,oldd,round(dd,0) as dd,qty from cst_tf_mp3_ymp where so_no='{0}' and s_id_no='{1}' order by sort asc""".format(
+                sql = """select ggsxrq,gzdep,so_no,s_id_no,bom_no,prd_no,id_no,mo_no,sort,oldd,round(dd,0) as dd,qty from cst_tf_mp3_ymp where so_no='{0}' and s_id_no='{1}' order by sort asc""".format(
                     i.so_no, i.mrp_no + '->')
                 result1 = executeQuery(sql)
-                # print(result1)
-                for ii in result1:
-                    pmc_dd = pmc_dd_new - datetime.timedelta(days=ii["dd"])
-                    # 查询制令单与bom相符的数据
-                    sql2 = """select id,mo_dd,cus_no,so_no,dl,gzwwgs,gzdep,pmc_dd,ggsxrq,mrp_no,qty,jkwshl,llwsl,mrp_name,wfl,zzl,os_wfl,jcq,dep,'{2}' as pmc_dd,bom_no,est_itm,
-                    '' as mo_no1,'' as mo_no2,'' as mo_no3,'' as mo_no4,'' as mo_no5,'' as mo_no6,'' as mo_no7,'' as qty1,'' as qty2,'' as qty3,'' as qty4,'' as qty5,
-                    '' as qty6,'' as qty7 from ympxqjh 
-                    where so_no='{0}' and mrp_no+'->'='{1}' and id='{3}'""".format(i.so_no, ii["id_no"], pmc_dd,i.id)
-                    # print(sql2)
-                    result2 = executeQuery(sql2)
-                    # print(result2)
-                    itm = 0
-                    for result2_itm in result2:
-                        sql3 = """select a.mo_no,a.qty,b.dep_up from mf_mo a,DEPT_CHK b where a.dep=b.dep_dw and b.dep_up in(select dep from DSCSETTING where selected='T') and
-                        a.mrp_no='{0}' and a.so_no='{1}' and a.est_itm='{2}' and b.dep_up='{3}'"""\
-                        .format(result2_itm["mrp_no"],result2_itm["so_no"],result2_itm["est_itm"],result2_itm["dep"])
-                        result3 = executeQuery(sql3)
-                        # print(result3)
-                        result3_itm=0
-                        for i in result3:
-                            # print('mo_no'+str(itm))
-                            # print('mo_no'+str(itm))
-                            result3_itm = result3_itm + 1
-                            result2[itm]['mo_no'+str(result3_itm)] = i['mo_no']
-                            result2[itm]['qty'+str(result3_itm)] = i['qty']
-                        data_list.append(result2[itm])
-                        itm = itm + 1
+                # print(result1)------------------------------------------------------------------------------------------------------时间待处理
+                pmc_dd=''
+                # pmc_dd = pmc_dd_new - datetime.timedelta(days=ii["dd"])
+                # 查询制令单与bom相符的数据
+                # print(i)
+                sql2 = """select id,mo_dd,cus_no,so_no,dl,gzwwgs,gzdep,pmc_dd,ggsxrq,mrp_no,qty,jkwshl,llwsl,mrp_name,wfl,zzl,os_wfl,jcq,dep,'{2}' as pmc_dd,bom_no,est_itm,
+                '' as mo_no1,'' as mo_no2,'' as mo_no3,'' as mo_no4,'' as mo_no5,'' as mo_no6,'' as mo_no7,'' as qty1,'' as qty2,'' as qty3,'' as qty4,'' as qty5,
+                '' as qty6,'' as qty7 from ympxqjh 
+                where so_no='{0}'  and id='{1}'""".format(i.so_no, i.id, pmc_dd)
+                # print(sql2)
+                result2 = executeQuery(sql2)
+                # print(result2)
+                itm = 0
+                for result2_itm in result2:
+                    sql3 = """select a.mo_no,a.qty,b.dep_up from mf_mo a,DEPT_CHK b where a.dep=b.dep_dw and b.dep_up in(select dep from DSCSETTING where selected='T') and
+                    a.mrp_no='{0}' and a.so_no='{1}' and a.est_itm='{2}' and b.dep_up='{3}'"""\
+                    .format(result2_itm["mrp_no"],result2_itm["so_no"],result2_itm["est_itm"],result2_itm["dep"])
+                    result3 = executeQuery(sql3)
+                    # print(result3)
+                    result3_itm=0
+                    for result3_i in result3:
+                        # print('mo_no'+str(itm))
+                        # print('mo_no'+str(itm))
+                        result3_itm = result3_itm + 1
+                        result2[itm]['mo_no'+str(result3_itm)] = result3_i['mo_no']
+                        result2[itm]['qty'+str(result3_itm)] = result3_i['qty']
+                    data_list.append(result2[itm])
+                    itm = itm + 1
+                    # print(ii)
         # 得到分页数据
         print(111111111111)
-        print(data_list)
+        # print(data_list)
         page = self.paginate_queryset(data_list)
         # print(page)
         if page is not None: