Browse Source

表头模板

xingye 4 years ago
parent
commit
9ebe285963
3 changed files with 649 additions and 396 deletions
  1. 383 383
      .idea/workspace.xml
  2. 247 0
      meib/logs/hwj.log
  3. 19 13
      meib/meib/apps/erp/views.py

+ 383 - 383
.idea/workspace.xml

@@ -5,20 +5,9 @@
   </component>
   </component>
   <component name="ChangeListManager">
   <component name="ChangeListManager">
     <list default="true" id="11c83ff8-0ec9-44da-868f-563af5d42189" name="Default" comment="">
     <list default="true" id="11c83ff8-0ec9-44da-868f-563af5d42189" name="Default" comment="">
-      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/meib/meib/apps/erp/ftp11.py" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/Apache24/logs/httpd.pid" afterPath="" />
       <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
       <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
-      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/Apache24/logs/error.log" afterPath="$PROJECT_DIR$/Apache24/logs/error.log" />
       <change type="MODIFICATION" beforePath="$PROJECT_DIR$/meib/logs/hwj.log" afterPath="$PROJECT_DIR$/meib/logs/hwj.log" />
       <change type="MODIFICATION" beforePath="$PROJECT_DIR$/meib/logs/hwj.log" afterPath="$PROJECT_DIR$/meib/logs/hwj.log" />
-      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/meib/meib/apps/erp/lianxi.py" afterPath="$PROJECT_DIR$/meib/meib/apps/erp/lianxi.py" />
-      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/meib/meib/apps/erp/models.py" afterPath="$PROJECT_DIR$/meib/meib/apps/erp/models.py" />
-      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/meib/meib/apps/erp/serializers.py" afterPath="$PROJECT_DIR$/meib/meib/apps/erp/serializers.py" />
-      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/meib/meib/apps/erp/urls.py" afterPath="$PROJECT_DIR$/meib/meib/apps/erp/urls.py" />
       <change type="MODIFICATION" beforePath="$PROJECT_DIR$/meib/meib/apps/erp/views.py" afterPath="$PROJECT_DIR$/meib/meib/apps/erp/views.py" />
       <change type="MODIFICATION" beforePath="$PROJECT_DIR$/meib/meib/apps/erp/views.py" afterPath="$PROJECT_DIR$/meib/meib/apps/erp/views.py" />
-      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/meib/meib/templates/pcydscjhtm.html" afterPath="$PROJECT_DIR$/meib/meib/templates/pcydscjhtm.html" />
-      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/meib/meib/templates/text.html" afterPath="$PROJECT_DIR$/meib/meib/templates/text.html" />
-      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/meib/meib/templates/ydzpcjhtm.html" afterPath="$PROJECT_DIR$/meib/meib/templates/ydzpcjhtm.html" />
-      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/meib/meib/templates/ympxqjhtm.html" afterPath="$PROJECT_DIR$/meib/meib/templates/ympxqjhtm.html" />
       <change type="MODIFICATION" beforePath="$PROJECT_DIR$/red.txt" afterPath="$PROJECT_DIR$/red.txt" />
       <change type="MODIFICATION" beforePath="$PROJECT_DIR$/red.txt" afterPath="$PROJECT_DIR$/red.txt" />
     </list>
     </list>
     <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
     <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
@@ -32,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$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$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$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="1591002456303" 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="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$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$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" />
     <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>
   </component>
@@ -57,8 +46,8 @@
       <file leaf-file-name="views.py" pinned="false" current-in-tab="true">
       <file leaf-file-name="views.py" pinned="false" current-in-tab="true">
         <entry file="file://$PROJECT_DIR$/meib/meib/apps/erp/views.py">
         <entry file="file://$PROJECT_DIR$/meib/meib/apps/erp/views.py">
           <provider selected="true" editor-type-id="text-editor">
           <provider selected="true" editor-type-id="text-editor">
-            <state relative-caret-position="298">
-              <caret line="3354" column="20" lean-forward="false" selection-start-line="3354" selection-start-column="20" selection-end-line="3354" selection-end-column="20" />
+            <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" />
               <folding>
               <folding>
                 <element signature="e#1#36#0" expanded="true" />
                 <element signature="e#1#36#0" expanded="true" />
                 <element signature="e#1246#25668#0" expanded="false" />
                 <element signature="e#1246#25668#0" expanded="false" />
@@ -462,180 +451,182 @@
                 <element signature="e#153648#153741#0" expanded="false" />
                 <element signature="e#153648#153741#0" expanded="false" />
                 <element signature="e#153964#156305#0" expanded="false" />
                 <element signature="e#153964#156305#0" expanded="false" />
                 <element signature="e#156836#159078#0" expanded="false" />
                 <element signature="e#156836#159078#0" expanded="false" />
-                <element signature="e#162500#162574#0" expanded="false" />
-                <element signature="e#163200#165308#0" expanded="false" />
-                <element signature="e#165407#165429#0" expanded="false" />
-                <marker date="1591002850732" expanded="false" signature="5212:5272" ph="SELECT COUNT... MF_VHID" />
-                <marker date="1591002850732" expanded="false" signature="5574:5636" ph="SELECT ISNUL... " />
-                <marker date="1591002850732" expanded="false" signature="6501:6731" ph="INSERT INTO MF_PSS... " />
-                <marker date="1591002850732" expanded="false" signature="7709:7762" ph="INSERT INTO MF_PSS_Z... " />
-                <marker date="1591002850732" expanded="false" signature="7899:8131" ph="INSERT INTO MF_ARP... " />
-                <marker date="1591002850732" expanded="false" signature="9058:9290" ph="INSERT INTO MF_PSS... " />
-                <marker date="1591002850732" expanded="false" signature="10232:10437" ph="INSERT INTO TF_PSS... " />
-                <marker date="1591002850732" expanded="false" signature="15457:15514" ph="SELECT ZHANG... MF_PSS" />
-                <marker date="1591002850732" expanded="false" signature="15685:15754" ph="SELECT ISNUL... MF_ARP" />
-                <marker date="1591002850732" expanded="false" signature="16023:16092" ph="SELECT ISNUL... MF_PSS" />
-                <marker date="1591002850732" expanded="false" signature="16494:16554" ph="SELECT COUNT... MF_VHID" />
-                <marker date="1591002850732" expanded="false" signature="16856:16918" ph="SELECT ISNUL... " />
-                <marker date="1591002850732" expanded="false" signature="17828:17885" ph="UPDATE MF_PS... " />
-                <marker date="1591002850732" expanded="false" signature="17983:18040" ph="UPDATE MF_PS... " />
-                <marker date="1591002850732" expanded="false" signature="18175:18313" ph="UPDATE MF_PS... " />
-                <marker date="1591002850732" expanded="false" signature="19148:19266" ph="UPDATE MF_AR... " />
-                <marker date="1591002850732" expanded="false" signature="19891:20118" ph="INSERT INTO MF_ARP... " />
-                <marker date="1591002850732" expanded="false" signature="21135:21273" ph="UPDATE MF_PS... " />
-                <marker date="1591002850732" expanded="false" signature="21881:21931" ph="DELETE FROM " />
-                <marker date="1591002850732" expanded="false" signature="22120:22231" ph="UPDATE TF_PS... " />
-                <marker date="1591002850732" expanded="false" signature="23898:23955" ph="SELECT ZHANG... MF_PSS" />
-                <marker date="1591002850732" expanded="false" signature="24175:24244" ph="SELECT ISNUL... MF_ARP" />
-                <marker date="1591002850732" expanded="false" signature="24559:24628" ph="SELECT ISNUL... MF_PSS" />
-                <marker date="1591002850732" expanded="false" signature="25028:25077" ph="DELETE FROM " />
-                <marker date="1591002850732" expanded="false" signature="25137:25186" ph="DELETE FROM " />
-                <marker date="1591002850732" expanded="false" signature="25246:25297" ph="DELETE FROM " />
-                <marker date="1591002850732" expanded="false" signature="30247:30307" ph="SELECT COUNT... MF_VHID" />
-                <marker date="1591002850732" expanded="false" signature="30609:30671" ph="SELECT ISNUL... " />
-                <marker date="1591002850732" expanded="false" signature="31562:31815" ph="INSERT INTO MF_PSS... " />
-                <marker date="1591002850732" expanded="false" signature="32946:33182" ph="INSERT INTO MF_ARP... " />
-                <marker date="1591002850732" expanded="false" signature="34110:34365" ph="INSERT INTO MF_PSS... " />
-                <marker date="1591002850732" expanded="false" signature="35426:35635" ph="INSERT INTO TF_PSS... " />
-                <marker date="1591002850732" expanded="false" signature="40080:40137" ph="SELECT ZHANG... MF_PSS" />
-                <marker date="1591002850732" expanded="false" signature="40398:40467" ph="SELECT ISNUL... MF_ARP" />
-                <marker date="1591002850732" expanded="false" signature="40782:40851" ph="SELECT ISNUL... MF_PSS" />
-                <marker date="1591002850732" expanded="false" signature="41303:41363" ph="SELECT COUNT... MF_VHID" />
-                <marker date="1591002850732" expanded="false" signature="41665:41727" ph="SELECT ISNUL... " />
-                <marker date="1591002850732" expanded="false" signature="42672:42810" ph="UPDATE MF_PS... " />
-                <marker date="1591002850732" expanded="false" signature="43525:43643" ph="UPDATE MF_AR... " />
-                <marker date="1591002850732" expanded="false" signature="44205:44436" ph="INSERT INTO MF_ARP... " />
-                <marker date="1591002850732" expanded="false" signature="45453:45591" ph="UPDATE MF_PS... " />
-                <marker date="1591002850732" expanded="false" signature="46199:46249" ph="DELETE FROM " />
-                <marker date="1591002850732" expanded="false" signature="46459:46570" ph="UPDATE TF_PS... " />
-                <marker date="1591002850732" expanded="false" signature="48026:48083" ph="SELECT ZHANG... MF_PSS" />
-                <marker date="1591002850732" expanded="false" signature="48303:48372" ph="SELECT ISNUL... MF_ARP" />
-                <marker date="1591002850732" expanded="false" signature="48687:48756" ph="SELECT ISNUL... MF_PSS" />
-                <marker date="1591002850732" expanded="false" signature="49156:49205" ph="DELETE FROM " />
-                <marker date="1591002850732" expanded="false" signature="49265:49314" ph="DELETE FROM " />
-                <marker date="1591002850732" expanded="false" signature="49374:49425" ph="DELETE FROM " />
-                <marker date="1591002850732" expanded="false" signature="53738:53798" ph="SELECT COUNT... MF_VHID" />
-                <marker date="1591002850732" expanded="false" signature="54114:54165" ph="SELECT ISNUL... BACC" />
-                <marker date="1591002850732" expanded="false" signature="54620:54914" ph="INSERT INTO TF_MON... " />
-                <marker date="1591002850732" expanded="false" signature="56418:56698" ph="INSERT INTO TF_MON... " />
-                <marker date="1591002850732" expanded="false" signature="57110:57245" ph="INSERT INTO MF_MON... " />
-                <marker date="1591002850732" expanded="false" signature="57674:57897" ph="INSERT INTO MF_BAC... " />
-                <marker date="1591002850732" expanded="false" signature="58752:58906" ph="INSERT INTO TF_BAC... " />
-                <marker date="1591002850732" expanded="false" signature="63576:63636" ph="SELECT COUNT... MF_VHID" />
-                <marker date="1591002850732" expanded="false" signature="63977:64028" ph="SELECT ISNUL... BACC" />
-                <marker date="1591002850732" expanded="false" signature="64504:64657" ph="UPDATE TF_MO... " />
-                <marker date="1591002850732" expanded="false" signature="65026:65180" ph="UPDATE TF_MO... " />
-                <marker date="1591002850732" expanded="false" signature="65445:65494" ph="UPDATE MF_MO... " />
-                <marker date="1591002850732" expanded="false" signature="65682:65769" ph="UPDATE MF_BA... " />
-                <marker date="1591002850732" expanded="false" signature="66046:66105" ph="UPDATE TF_BA... " />
-                <marker date="1591002850732" expanded="false" signature="67660:67707" ph="DELETE FROM " />
-                <marker date="1591002850732" expanded="false" signature="67781:67829" ph="DELETE FROM " />
-                <marker date="1591002850732" expanded="false" signature="67905:67938" ph="DELETE FROM " />
-                <marker date="1591002850732" expanded="false" signature="68026:68059" ph="DELETE FROM " />
-                <marker date="1591002850732" expanded="false" signature="68580:68659" ph="SELECT table... TABLES" />
-                <marker date="1591002850732" expanded="false" signature="68851:68882" ph="SELECT COUNT... MF_LZ1_Z01" />
-                <marker date="1591002850732" expanded="false" signature="69064:69619" ph="SELECT ISNUL... MF_LZ1_Z01" />
-                <marker date="1591002850732" expanded="false" signature="70429:70474" ph="UPDATE MF_LZ... " />
-                <marker date="1591002850732" expanded="false" signature="70809:70887" ph="SELECT table... TABLES" />
-                <marker date="1591002850732" expanded="false" signature="71079:71109" ph="SELECT COUNT... MF_LZ_Z01" />
-                <marker date="1591002850732" expanded="false" signature="71296:71849" ph="SELECT ISNUL... MF_LZ_Z01" />
-                <marker date="1591002850732" expanded="false" signature="72682:72726" ph="UPDATE MF_LZ... " />
-                <marker date="1591002850732" expanded="false" signature="73455:73533" ph="SELECT table... TABLES" />
-                <marker date="1591002850732" expanded="false" signature="73724:73754" ph="SELECT COUNT... TC_MON_PC" />
-                <marker date="1591002850732" expanded="false" signature="73941:74422" ph="SELECT ISNUL... TC_MON_PC" />
-                <marker date="1591002850732" expanded="false" signature="75009:75053" ph="UPDATE TC_MO... " />
-                <marker date="1591002850732" expanded="false" signature="75819:75897" ph="SELECT table... TABLES" />
-                <marker date="1591002850732" expanded="false" signature="76088:76118" ph="SELECT COUNT... TC_MON_PC" />
-                <marker date="1591002850732" expanded="false" signature="76305:76750" ph="SELECT ISNUL... TC_MON_PC" />
-                <marker date="1591002850732" expanded="false" signature="77357:77401" ph="UPDATE TC_MO... " />
-                <marker date="1591002850732" expanded="false" signature="78166:78244" ph="SELECT table... TABLES" />
-                <marker date="1591002850732" expanded="false" signature="78435:78465" ph="SELECT COUNT... TC_MON_PC" />
-                <marker date="1591002850732" expanded="false" signature="78652:79169" ph="SELECT ISNUL... TC_MON_PC" />
-                <marker date="1591002850732" expanded="false" signature="79776:79820" ph="UPDATE TC_MO... " />
-                <marker date="1591002850732" expanded="false" signature="80530:80562" ph="SELECT DEP,N... DEPT" />
-                <marker date="1591002850732" expanded="true" signature="80622:80656" ph="SELECT top 1... DEPT" />
-                <marker date="1591002850732" expanded="false" signature="81606:81641" ph="SELECT PRD_N... PRDT" />
-                <marker date="1591002850732" expanded="false" signature="81701:81737" ph="SELECT top 1... PRDT" />
-                <marker date="1591002850732" expanded="false" signature="82997:83033" ph="SELECT CUS_N... CUST" />
-                <marker date="1591002850732" expanded="false" signature="83093:83129" ph="SELECT top 1... CUST" />
-                <marker date="1591002850732" expanded="false" signature="84389:84426" ph="SELECT BOM_N... MF_BOM" />
-                <marker date="1591002850732" expanded="false" signature="84486:84524" ph="SELECT top 1... MF_BOM" />
-                <marker date="1591002850732" expanded="false" signature="85817:85899" ph="SELECT A.MM_... MF_MM0" />
-                <marker date="1591002850732" expanded="true" signature="85959:86065" ph="SELECT TOP 2... MF_MM0" />
-                <marker date="1591002850732" expanded="true" signature="86801:87209" ph="select top 2... os_no" />
-                <marker date="1591002850732" expanded="true" signature="86832:86997" ph="select a.os_... mf_pos" />
-                <marker date="1591002850732" expanded="true" signature="87032:87179" ph="select a.jh_... MF_JH" />
-                <marker date="1591002850732" expanded="true" signature="87314:87620" ph="select top 2... os_no" />
-                <marker date="1591002850732" expanded="true" signature="87351:87462" ph="select a.os_... mf_pos" />
-                <marker date="1591002850732" expanded="true" signature="87497:87590" ph="select a.jh_... MF_JH" />
-                <marker date="1591002850732" expanded="true" signature="88699:88749" ph="select iefil... MF_IEFILE" />
-                <marker date="1591002850732" expanded="true" signature="88826:88893" ph="select iefil... MF_IEFILE" />
-                <marker date="1591002850732" expanded="true" signature="89867:89902" ph="SELECT NO,DE... " />
-                <marker date="1591002850732" expanded="true" signature="89962:90015" ph="SELECT top 2... " />
-                <marker date="1591002850732" expanded="true" signature="95329:95377" ph="SELECT COUNT... View_aa" />
-                <marker date="1591002850732" expanded="true" signature="96009:96595" ph="SELECT TOP m... " />
-                <marker date="1591002850732" expanded="true" signature="97840:97917" ph="SELECT COUNT... OS_NO" />
-                <marker date="1591002850732" expanded="true" signature="97875:97911" ph="SELECT OS_NO... View_aa" />
-                <marker date="1591002850732" expanded="true" signature="98710:99628" ph="SELECT TOP m... View_aa" />
-                <marker date="1591002850732" expanded="true" signature="100025:100379" ph="SELECT ISNUL... CAST" />
-                <marker date="1591002850732" expanded="true" signature="100147:100308" ph="SELECT CAST(... BAT_REC1" />
-                <marker date="1591002850732" expanded="true" signature="102487:102568" ph="UPDATE TF_PO... " />
-                <marker date="1591002850732" expanded="true" signature="104041:104839" ph="SELECT itm,n... " />
-                <marker date="1591002850732" expanded="true" signature="105814:105859" ph="SELECT MAX(N... " />
-                <marker date="1591002850732" expanded="true" signature="107482:107885" ph="INSERT INTO mcaf... " />
-                <marker date="1591002850732" expanded="true" signature="110607:110972" ph="UPDATE MCAF " />
-                <marker date="1591002850732" expanded="true" signature="111849:111900" ph="DELETE FROM " />
-                <marker date="1591002850732" expanded="true" signature="111999:112050" ph="DELETE FROM " />
-                <marker date="1591002850732" expanded="true" signature="113018:113787" ph="SELECT b.dep... mf_mo" />
-                <marker date="1591002850732" expanded="true" signature="113666:113718" ph="select max(i... MF_IEFILE" />
-                <marker date="1591002850732" expanded="true" signature="115493:115747" ph="SELECT isnul... DSCSETTING" />
-                <marker date="1591002850732" expanded="true" signature="115818:116015" ph="SELECT isnul... DSCSETTING" />
-                <marker date="1591002850732" expanded="true" signature="118369:118765" ph="select iefil... " />
-                <marker date="1591002850732" expanded="true" signature="119080:119187" ph="SELECT iefil... TF_IEFILE_BOM" />
-                <marker date="1591002850732" expanded="true" signature="119410:119569" ph="SELECT iefil... TF_IEFILE_UP" />
-                <marker date="1591002850732" expanded="true" signature="122158:122245" ph="SELECT MAX(r... " />
-                <marker date="1591002850732" expanded="true" signature="122642:122872" ph="INSERT INTO MF_IEFILE... " />
-                <marker date="1591002850732" expanded="true" signature="123241:123310" ph="INSERT INTO TF_IEFILE_BOM... " />
-                <marker date="1591002850732" expanded="true" signature="123643:123716" ph="INSERT INTO TF_IEFILE_UP... " />
-                <marker date="1591002850732" expanded="true" signature="126395:126622" ph="UPDATE MF_IE... " />
-                <marker date="1591002850732" expanded="true" signature="127014:127084" ph="UPDATE TF_IE... " />
-                <marker date="1591002850732" expanded="true" signature="127268:127329" ph="SELECT MAX(I... TF_IEFILE_UP" />
-                <marker date="1591002850732" expanded="true" signature="127529:127602" ph="INSERT INTO TF_IEFILE_UP... " />
-                <marker date="1591002850732" expanded="true" signature="128003:128065" ph="SELECT MAX(I... TF_IEFILE_BOM" />
-                <marker date="1591002850732" expanded="true" signature="128277:128346" ph="INSERT INTO TF_IEFILE_BOM... " />
-                <marker date="1591002850732" expanded="true" signature="129489:129535" ph="DELETE FROM " />
-                <marker date="1591002850732" expanded="true" signature="129648:129698" ph="DELETE FROM " />
-                <marker date="1591002850732" expanded="true" signature="129811:129860" ph="DELETE FROM " />
-                <marker date="1591002850732" expanded="true" signature="131690:132073" ph="select iefil... " />
-                <marker date="1591002850732" expanded="true" signature="132883:132943" ph="DELETE FROM " />
-                <marker date="1591002850732" expanded="true" signature="133002:133063" ph="DELETE FROM " />
-                <marker date="1591002850732" expanded="true" signature="134880:135705" ph="SELECT B.BOM... MF_IEFILE" />
-                <marker date="1591002850732" expanded="true" signature="135882:136661" ph="SELECT B.BOM... MF_IEFILE" />
-                <marker date="1591002850732" expanded="true" signature="138888:138960" ph="UPDATE MF_IE... " />
-                <marker date="1591002850732" expanded="true" signature="141469:141550" ph="SELECT IEFIL... TF_IEFILE_UP" />
-                <marker date="1591002850732" expanded="true" signature="141841:141943" ph="SELECT MM_NO... TF_MM0" />
-                <marker date="1591002850732" expanded="true" signature="142064:142182" ph="SELECT MM_NO... TF_MM0" />
-                <marker date="1591002850732" expanded="true" signature="142809:143207" ph="UPDATE TF_MM... " />
-                <marker date="1591002850732" expanded="true" signature="143989:144052" ph="UPDATE TF_MM... " />
-                <marker date="1591002850732" expanded="true" signature="144627:144708" ph="SELECT CAST(... MF_IEFILE" />
-                <marker date="1591002850732" expanded="true" signature="145013:145076" ph="UPDATE TF_MM... " />
-                <marker date="1591002850732" expanded="true" signature="146043:146086" ph="DELETE FROM " />
-                <marker date="1591002850732" expanded="true" signature="147945:149787" ph="select isnul... MF_IEFILE" />
-                <marker date="1591002850732" expanded="true" signature="149114:149297" ph="select ROUND... TF_MO" />
-                <marker date="1591002850732" expanded="true" signature="149343:149526" ph="select ROUND... TF_MO" />
-                <marker date="1591002850732" expanded="true" signature="151028:151290" ph="select isnul... TF_MM0" />
-                <marker date="1591002850732" expanded="true" signature="151181:151287" ph="select dep_n... DSCSETTING" />
-                <marker date="1591002850732" expanded="true" signature="151223:151286" ph="SELECT up FR... DSCSETTING" />
-                <marker date="1591002850732" expanded="true" signature="151715:151839" ph="SELECT IEFIL... TF_IEFILE_UP" />
-                <marker date="1591002850732" expanded="true" signature="152093:152224" ph="SELECT MM_NO... TF_MM0" />
-                <marker date="1591002850732" expanded="true" signature="155280:155627" ph="SELECT B.dep... TF_MM0" />
-                <marker date="1591002850732" expanded="true" signature="157422:157570" ph="select so_no... cst_tf_mp3" />
-                <marker date="1591002850732" expanded="true" signature="158253:158497" ph="select id,ne... jtjh" />
-                <marker date="1591002850732" expanded="true" signature="160353:160505" ph="select so_no... cst_tf_mp3_ymp" />
-                <marker date="1591002850732" expanded="true" signature="160818:161260" ph="select id,ne... jtjh" />
-                <marker date="1591002850732" expanded="true" signature="161417:161497" ph="select mo_no... mf_mo" />
-                <marker date="1591002850732" expanded="true" signature="163840:163988" ph="select so_no... cst_tf_mp3" />
-                <marker date="1591002850732" expanded="true" signature="164499:164726" ph="select id,ne... jtjh" />
+                <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" />
               </folding>
               </folding>
             </state>
             </state>
           </provider>
           </provider>
@@ -644,8 +635,8 @@
       <file leaf-file-name="lianxi.py" pinned="false" current-in-tab="false">
       <file leaf-file-name="lianxi.py" pinned="false" current-in-tab="false">
         <entry file="file://$PROJECT_DIR$/meib/meib/apps/erp/lianxi.py">
         <entry file="file://$PROJECT_DIR$/meib/meib/apps/erp/lianxi.py">
           <provider selected="true" editor-type-id="text-editor">
           <provider selected="true" editor-type-id="text-editor">
-            <state relative-caret-position="2565">
-              <caret line="95" column="8" lean-forward="false" selection-start-line="95" selection-start-column="8" selection-end-line="95" selection-end-column="8" />
+            <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" />
               <folding />
               <folding />
             </state>
             </state>
           </provider>
           </provider>
@@ -667,7 +658,7 @@
       <file leaf-file-name="models.py" pinned="false" current-in-tab="false">
       <file leaf-file-name="models.py" pinned="false" current-in-tab="false">
         <entry file="file://$PROJECT_DIR$/meib/meib/apps/erp/models.py">
         <entry file="file://$PROJECT_DIR$/meib/meib/apps/erp/models.py">
           <provider selected="true" editor-type-id="text-editor">
           <provider selected="true" editor-type-id="text-editor">
-            <state relative-caret-position="331">
+            <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" />
               <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 />
               <folding />
             </state>
             </state>
@@ -797,6 +788,7 @@
       <foldersAlwaysOnTop value="true" />
       <foldersAlwaysOnTop value="true" />
     </navigator>
     </navigator>
     <panes>
     <panes>
+      <pane id="Scope" />
       <pane id="ProjectPane">
       <pane id="ProjectPane">
         <subPane>
         <subPane>
           <PATH>
           <PATH>
@@ -914,7 +906,6 @@
         </subPane>
         </subPane>
       </pane>
       </pane>
       <pane id="Scratches" />
       <pane id="Scratches" />
-      <pane id="Scope" />
     </panes>
     </panes>
   </component>
   </component>
   <component name="PropertiesComponent">
   <component name="PropertiesComponent">
@@ -1428,23 +1419,30 @@
       <option name="project" value="LOCAL" />
       <option name="project" value="LOCAL" />
       <updated>1589348794468</updated>
       <updated>1589348794468</updated>
     </task>
     </task>
-    <option name="localTasksCounter" value="31" />
+    <task id="LOCAL-00031" summary="研磨品">
+      <created>1591002980202</created>
+      <option name="number" value="00031" />
+      <option name="presentableId" value="LOCAL-00031" />
+      <option name="project" value="LOCAL" />
+      <updated>1591002980202</updated>
+    </task>
+    <option name="localTasksCounter" value="32" />
     <servers />
     <servers />
   </component>
   </component>
   <component name="ToolWindowManager">
   <component name="ToolWindowManager">
     <frame x="-7" y="0" width="1934" height="1047" extended-state="0" />
     <frame x="-7" y="0" width="1934" height="1047" extended-state="0" />
     <layout>
     <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.12059765" 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.09978655" 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="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="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="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="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="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.2946331" 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="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="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="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="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="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="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="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" />
       <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" />
@@ -1462,7 +1460,6 @@
     <option name="myLimit" value="2678400000" />
     <option name="myLimit" value="2678400000" />
   </component>
   </component>
   <component name="VcsManagerConfiguration">
   <component name="VcsManagerConfiguration">
-    <MESSAGE value="项目配置" />
     <MESSAGE value="项目配置重构" />
     <MESSAGE value="项目配置重构" />
     <MESSAGE value="今天代码" />
     <MESSAGE value="今天代码" />
     <MESSAGE value="今天代码完成,修改" />
     <MESSAGE value="今天代码完成,修改" />
@@ -1487,7 +1484,8 @@
     <MESSAGE value="修改一览表库存" />
     <MESSAGE value="修改一览表库存" />
     <MESSAGE value="PC月度生产计划完成" />
     <MESSAGE value="PC月度生产计划完成" />
     <MESSAGE value="上传red" />
     <MESSAGE value="上传red" />
-    <option name="LAST_COMMIT_MESSAGE" value="上传red" />
+    <MESSAGE value="研磨品" />
+    <option name="LAST_COMMIT_MESSAGE" value="研磨品" />
   </component>
   </component>
   <component name="XDebuggerManager">
   <component name="XDebuggerManager">
     <breakpoint-manager>
     <breakpoint-manager>
@@ -1823,14 +1821,6 @@
         </state>
         </state>
       </provider>
       </provider>
     </entry>
     </entry>
-    <entry file="file://$PROJECT_DIR$/meib/meib/apps/erp/lianxi.py">
-      <provider selected="true" editor-type-id="text-editor">
-        <state relative-caret-position="2565">
-          <caret line="95" column="8" lean-forward="false" selection-start-line="95" selection-start-column="8" selection-end-line="95" selection-end-column="8" />
-          <folding />
-        </state>
-      </provider>
-    </entry>
     <entry file="file://$PROJECT_DIR$/meib/meib/apps/erp/serializers.py">
     <entry file="file://$PROJECT_DIR$/meib/meib/apps/erp/serializers.py">
       <provider selected="true" editor-type-id="text-editor">
       <provider selected="true" editor-type-id="text-editor">
         <state relative-caret-position="1242">
         <state relative-caret-position="1242">
@@ -1844,16 +1834,24 @@
     </entry>
     </entry>
     <entry file="file://$PROJECT_DIR$/meib/meib/apps/erp/models.py">
     <entry file="file://$PROJECT_DIR$/meib/meib/apps/erp/models.py">
       <provider selected="true" editor-type-id="text-editor">
       <provider selected="true" editor-type-id="text-editor">
-        <state relative-caret-position="331">
+        <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" />
           <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 />
           <folding />
         </state>
         </state>
       </provider>
       </provider>
     </entry>
     </entry>
+    <entry file="file://$PROJECT_DIR$/meib/meib/apps/erp/lianxi.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" />
+          <folding />
+        </state>
+      </provider>
+    </entry>
     <entry file="file://$PROJECT_DIR$/meib/meib/apps/erp/views.py">
     <entry file="file://$PROJECT_DIR$/meib/meib/apps/erp/views.py">
       <provider selected="true" editor-type-id="text-editor">
       <provider selected="true" editor-type-id="text-editor">
-        <state relative-caret-position="298">
-          <caret line="3354" column="20" lean-forward="false" selection-start-line="3354" selection-start-column="20" selection-end-line="3354" selection-end-column="20" />
+        <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" />
           <folding>
           <folding>
             <element signature="e#1#36#0" expanded="true" />
             <element signature="e#1#36#0" expanded="true" />
             <element signature="e#1246#25668#0" expanded="false" />
             <element signature="e#1246#25668#0" expanded="false" />
@@ -2257,180 +2255,182 @@
             <element signature="e#153648#153741#0" expanded="false" />
             <element signature="e#153648#153741#0" expanded="false" />
             <element signature="e#153964#156305#0" expanded="false" />
             <element signature="e#153964#156305#0" expanded="false" />
             <element signature="e#156836#159078#0" expanded="false" />
             <element signature="e#156836#159078#0" expanded="false" />
-            <element signature="e#162500#162574#0" expanded="false" />
-            <element signature="e#163200#165308#0" expanded="false" />
-            <element signature="e#165407#165429#0" expanded="false" />
-            <marker date="1591002850732" expanded="false" signature="5212:5272" ph="SELECT COUNT... MF_VHID" />
-            <marker date="1591002850732" expanded="false" signature="5574:5636" ph="SELECT ISNUL... " />
-            <marker date="1591002850732" expanded="false" signature="6501:6731" ph="INSERT INTO MF_PSS... " />
-            <marker date="1591002850732" expanded="false" signature="7709:7762" ph="INSERT INTO MF_PSS_Z... " />
-            <marker date="1591002850732" expanded="false" signature="7899:8131" ph="INSERT INTO MF_ARP... " />
-            <marker date="1591002850732" expanded="false" signature="9058:9290" ph="INSERT INTO MF_PSS... " />
-            <marker date="1591002850732" expanded="false" signature="10232:10437" ph="INSERT INTO TF_PSS... " />
-            <marker date="1591002850732" expanded="false" signature="15457:15514" ph="SELECT ZHANG... MF_PSS" />
-            <marker date="1591002850732" expanded="false" signature="15685:15754" ph="SELECT ISNUL... MF_ARP" />
-            <marker date="1591002850732" expanded="false" signature="16023:16092" ph="SELECT ISNUL... MF_PSS" />
-            <marker date="1591002850732" expanded="false" signature="16494:16554" ph="SELECT COUNT... MF_VHID" />
-            <marker date="1591002850732" expanded="false" signature="16856:16918" ph="SELECT ISNUL... " />
-            <marker date="1591002850732" expanded="false" signature="17828:17885" ph="UPDATE MF_PS... " />
-            <marker date="1591002850732" expanded="false" signature="17983:18040" ph="UPDATE MF_PS... " />
-            <marker date="1591002850732" expanded="false" signature="18175:18313" ph="UPDATE MF_PS... " />
-            <marker date="1591002850732" expanded="false" signature="19148:19266" ph="UPDATE MF_AR... " />
-            <marker date="1591002850732" expanded="false" signature="19891:20118" ph="INSERT INTO MF_ARP... " />
-            <marker date="1591002850732" expanded="false" signature="21135:21273" ph="UPDATE MF_PS... " />
-            <marker date="1591002850732" expanded="false" signature="21881:21931" ph="DELETE FROM " />
-            <marker date="1591002850732" expanded="false" signature="22120:22231" ph="UPDATE TF_PS... " />
-            <marker date="1591002850732" expanded="false" signature="23898:23955" ph="SELECT ZHANG... MF_PSS" />
-            <marker date="1591002850732" expanded="false" signature="24175:24244" ph="SELECT ISNUL... MF_ARP" />
-            <marker date="1591002850732" expanded="false" signature="24559:24628" ph="SELECT ISNUL... MF_PSS" />
-            <marker date="1591002850732" expanded="false" signature="25028:25077" ph="DELETE FROM " />
-            <marker date="1591002850732" expanded="false" signature="25137:25186" ph="DELETE FROM " />
-            <marker date="1591002850732" expanded="false" signature="25246:25297" ph="DELETE FROM " />
-            <marker date="1591002850732" expanded="false" signature="30247:30307" ph="SELECT COUNT... MF_VHID" />
-            <marker date="1591002850732" expanded="false" signature="30609:30671" ph="SELECT ISNUL... " />
-            <marker date="1591002850732" expanded="false" signature="31562:31815" ph="INSERT INTO MF_PSS... " />
-            <marker date="1591002850732" expanded="false" signature="32946:33182" ph="INSERT INTO MF_ARP... " />
-            <marker date="1591002850732" expanded="false" signature="34110:34365" ph="INSERT INTO MF_PSS... " />
-            <marker date="1591002850732" expanded="false" signature="35426:35635" ph="INSERT INTO TF_PSS... " />
-            <marker date="1591002850732" expanded="false" signature="40080:40137" ph="SELECT ZHANG... MF_PSS" />
-            <marker date="1591002850732" expanded="false" signature="40398:40467" ph="SELECT ISNUL... MF_ARP" />
-            <marker date="1591002850732" expanded="false" signature="40782:40851" ph="SELECT ISNUL... MF_PSS" />
-            <marker date="1591002850732" expanded="false" signature="41303:41363" ph="SELECT COUNT... MF_VHID" />
-            <marker date="1591002850732" expanded="false" signature="41665:41727" ph="SELECT ISNUL... " />
-            <marker date="1591002850732" expanded="false" signature="42672:42810" ph="UPDATE MF_PS... " />
-            <marker date="1591002850732" expanded="false" signature="43525:43643" ph="UPDATE MF_AR... " />
-            <marker date="1591002850732" expanded="false" signature="44205:44436" ph="INSERT INTO MF_ARP... " />
-            <marker date="1591002850732" expanded="false" signature="45453:45591" ph="UPDATE MF_PS... " />
-            <marker date="1591002850732" expanded="false" signature="46199:46249" ph="DELETE FROM " />
-            <marker date="1591002850732" expanded="false" signature="46459:46570" ph="UPDATE TF_PS... " />
-            <marker date="1591002850732" expanded="false" signature="48026:48083" ph="SELECT ZHANG... MF_PSS" />
-            <marker date="1591002850732" expanded="false" signature="48303:48372" ph="SELECT ISNUL... MF_ARP" />
-            <marker date="1591002850732" expanded="false" signature="48687:48756" ph="SELECT ISNUL... MF_PSS" />
-            <marker date="1591002850732" expanded="false" signature="49156:49205" ph="DELETE FROM " />
-            <marker date="1591002850732" expanded="false" signature="49265:49314" ph="DELETE FROM " />
-            <marker date="1591002850732" expanded="false" signature="49374:49425" ph="DELETE FROM " />
-            <marker date="1591002850732" expanded="false" signature="53738:53798" ph="SELECT COUNT... MF_VHID" />
-            <marker date="1591002850732" expanded="false" signature="54114:54165" ph="SELECT ISNUL... BACC" />
-            <marker date="1591002850732" expanded="false" signature="54620:54914" ph="INSERT INTO TF_MON... " />
-            <marker date="1591002850732" expanded="false" signature="56418:56698" ph="INSERT INTO TF_MON... " />
-            <marker date="1591002850732" expanded="false" signature="57110:57245" ph="INSERT INTO MF_MON... " />
-            <marker date="1591002850732" expanded="false" signature="57674:57897" ph="INSERT INTO MF_BAC... " />
-            <marker date="1591002850732" expanded="false" signature="58752:58906" ph="INSERT INTO TF_BAC... " />
-            <marker date="1591002850732" expanded="false" signature="63576:63636" ph="SELECT COUNT... MF_VHID" />
-            <marker date="1591002850732" expanded="false" signature="63977:64028" ph="SELECT ISNUL... BACC" />
-            <marker date="1591002850732" expanded="false" signature="64504:64657" ph="UPDATE TF_MO... " />
-            <marker date="1591002850732" expanded="false" signature="65026:65180" ph="UPDATE TF_MO... " />
-            <marker date="1591002850732" expanded="false" signature="65445:65494" ph="UPDATE MF_MO... " />
-            <marker date="1591002850732" expanded="false" signature="65682:65769" ph="UPDATE MF_BA... " />
-            <marker date="1591002850732" expanded="false" signature="66046:66105" ph="UPDATE TF_BA... " />
-            <marker date="1591002850732" expanded="false" signature="67660:67707" ph="DELETE FROM " />
-            <marker date="1591002850732" expanded="false" signature="67781:67829" ph="DELETE FROM " />
-            <marker date="1591002850732" expanded="false" signature="67905:67938" ph="DELETE FROM " />
-            <marker date="1591002850732" expanded="false" signature="68026:68059" ph="DELETE FROM " />
-            <marker date="1591002850732" expanded="false" signature="68580:68659" ph="SELECT table... TABLES" />
-            <marker date="1591002850732" expanded="false" signature="68851:68882" ph="SELECT COUNT... MF_LZ1_Z01" />
-            <marker date="1591002850732" expanded="false" signature="69064:69619" ph="SELECT ISNUL... MF_LZ1_Z01" />
-            <marker date="1591002850732" expanded="false" signature="70429:70474" ph="UPDATE MF_LZ... " />
-            <marker date="1591002850732" expanded="false" signature="70809:70887" ph="SELECT table... TABLES" />
-            <marker date="1591002850732" expanded="false" signature="71079:71109" ph="SELECT COUNT... MF_LZ_Z01" />
-            <marker date="1591002850732" expanded="false" signature="71296:71849" ph="SELECT ISNUL... MF_LZ_Z01" />
-            <marker date="1591002850732" expanded="false" signature="72682:72726" ph="UPDATE MF_LZ... " />
-            <marker date="1591002850732" expanded="false" signature="73455:73533" ph="SELECT table... TABLES" />
-            <marker date="1591002850732" expanded="false" signature="73724:73754" ph="SELECT COUNT... TC_MON_PC" />
-            <marker date="1591002850732" expanded="false" signature="73941:74422" ph="SELECT ISNUL... TC_MON_PC" />
-            <marker date="1591002850732" expanded="false" signature="75009:75053" ph="UPDATE TC_MO... " />
-            <marker date="1591002850732" expanded="false" signature="75819:75897" ph="SELECT table... TABLES" />
-            <marker date="1591002850732" expanded="false" signature="76088:76118" ph="SELECT COUNT... TC_MON_PC" />
-            <marker date="1591002850732" expanded="false" signature="76305:76750" ph="SELECT ISNUL... TC_MON_PC" />
-            <marker date="1591002850732" expanded="false" signature="77357:77401" ph="UPDATE TC_MO... " />
-            <marker date="1591002850732" expanded="false" signature="78166:78244" ph="SELECT table... TABLES" />
-            <marker date="1591002850732" expanded="false" signature="78435:78465" ph="SELECT COUNT... TC_MON_PC" />
-            <marker date="1591002850732" expanded="false" signature="78652:79169" ph="SELECT ISNUL... TC_MON_PC" />
-            <marker date="1591002850732" expanded="false" signature="79776:79820" ph="UPDATE TC_MO... " />
-            <marker date="1591002850732" expanded="false" signature="80530:80562" ph="SELECT DEP,N... DEPT" />
-            <marker date="1591002850732" expanded="true" signature="80622:80656" ph="SELECT top 1... DEPT" />
-            <marker date="1591002850732" expanded="false" signature="81606:81641" ph="SELECT PRD_N... PRDT" />
-            <marker date="1591002850732" expanded="false" signature="81701:81737" ph="SELECT top 1... PRDT" />
-            <marker date="1591002850732" expanded="false" signature="82997:83033" ph="SELECT CUS_N... CUST" />
-            <marker date="1591002850732" expanded="false" signature="83093:83129" ph="SELECT top 1... CUST" />
-            <marker date="1591002850732" expanded="false" signature="84389:84426" ph="SELECT BOM_N... MF_BOM" />
-            <marker date="1591002850732" expanded="false" signature="84486:84524" ph="SELECT top 1... MF_BOM" />
-            <marker date="1591002850732" expanded="false" signature="85817:85899" ph="SELECT A.MM_... MF_MM0" />
-            <marker date="1591002850732" expanded="true" signature="85959:86065" ph="SELECT TOP 2... MF_MM0" />
-            <marker date="1591002850732" expanded="true" signature="86801:87209" ph="select top 2... os_no" />
-            <marker date="1591002850732" expanded="true" signature="86832:86997" ph="select a.os_... mf_pos" />
-            <marker date="1591002850732" expanded="true" signature="87032:87179" ph="select a.jh_... MF_JH" />
-            <marker date="1591002850732" expanded="true" signature="87314:87620" ph="select top 2... os_no" />
-            <marker date="1591002850732" expanded="true" signature="87351:87462" ph="select a.os_... mf_pos" />
-            <marker date="1591002850732" expanded="true" signature="87497:87590" ph="select a.jh_... MF_JH" />
-            <marker date="1591002850732" expanded="true" signature="88699:88749" ph="select iefil... MF_IEFILE" />
-            <marker date="1591002850732" expanded="true" signature="88826:88893" ph="select iefil... MF_IEFILE" />
-            <marker date="1591002850732" expanded="true" signature="89867:89902" ph="SELECT NO,DE... " />
-            <marker date="1591002850732" expanded="true" signature="89962:90015" ph="SELECT top 2... " />
-            <marker date="1591002850732" expanded="true" signature="95329:95377" ph="SELECT COUNT... View_aa" />
-            <marker date="1591002850732" expanded="true" signature="96009:96595" ph="SELECT TOP m... " />
-            <marker date="1591002850732" expanded="true" signature="97840:97917" ph="SELECT COUNT... OS_NO" />
-            <marker date="1591002850732" expanded="true" signature="97875:97911" ph="SELECT OS_NO... View_aa" />
-            <marker date="1591002850732" expanded="true" signature="98710:99628" ph="SELECT TOP m... View_aa" />
-            <marker date="1591002850732" expanded="true" signature="100025:100379" ph="SELECT ISNUL... CAST" />
-            <marker date="1591002850732" expanded="true" signature="100147:100308" ph="SELECT CAST(... BAT_REC1" />
-            <marker date="1591002850732" expanded="true" signature="102487:102568" ph="UPDATE TF_PO... " />
-            <marker date="1591002850732" expanded="true" signature="104041:104839" ph="SELECT itm,n... " />
-            <marker date="1591002850732" expanded="true" signature="105814:105859" ph="SELECT MAX(N... " />
-            <marker date="1591002850732" expanded="true" signature="107482:107885" ph="INSERT INTO mcaf... " />
-            <marker date="1591002850732" expanded="true" signature="110607:110972" ph="UPDATE MCAF " />
-            <marker date="1591002850732" expanded="true" signature="111849:111900" ph="DELETE FROM " />
-            <marker date="1591002850732" expanded="true" signature="111999:112050" ph="DELETE FROM " />
-            <marker date="1591002850732" expanded="true" signature="113018:113787" ph="SELECT b.dep... mf_mo" />
-            <marker date="1591002850732" expanded="true" signature="113666:113718" ph="select max(i... MF_IEFILE" />
-            <marker date="1591002850732" expanded="true" signature="115493:115747" ph="SELECT isnul... DSCSETTING" />
-            <marker date="1591002850732" expanded="true" signature="115818:116015" ph="SELECT isnul... DSCSETTING" />
-            <marker date="1591002850732" expanded="true" signature="118369:118765" ph="select iefil... " />
-            <marker date="1591002850732" expanded="true" signature="119080:119187" ph="SELECT iefil... TF_IEFILE_BOM" />
-            <marker date="1591002850732" expanded="true" signature="119410:119569" ph="SELECT iefil... TF_IEFILE_UP" />
-            <marker date="1591002850732" expanded="true" signature="122158:122245" ph="SELECT MAX(r... " />
-            <marker date="1591002850732" expanded="true" signature="122642:122872" ph="INSERT INTO MF_IEFILE... " />
-            <marker date="1591002850732" expanded="true" signature="123241:123310" ph="INSERT INTO TF_IEFILE_BOM... " />
-            <marker date="1591002850732" expanded="true" signature="123643:123716" ph="INSERT INTO TF_IEFILE_UP... " />
-            <marker date="1591002850732" expanded="true" signature="126395:126622" ph="UPDATE MF_IE... " />
-            <marker date="1591002850732" expanded="true" signature="127014:127084" ph="UPDATE TF_IE... " />
-            <marker date="1591002850732" expanded="true" signature="127268:127329" ph="SELECT MAX(I... TF_IEFILE_UP" />
-            <marker date="1591002850732" expanded="true" signature="127529:127602" ph="INSERT INTO TF_IEFILE_UP... " />
-            <marker date="1591002850732" expanded="true" signature="128003:128065" ph="SELECT MAX(I... TF_IEFILE_BOM" />
-            <marker date="1591002850732" expanded="true" signature="128277:128346" ph="INSERT INTO TF_IEFILE_BOM... " />
-            <marker date="1591002850732" expanded="true" signature="129489:129535" ph="DELETE FROM " />
-            <marker date="1591002850732" expanded="true" signature="129648:129698" ph="DELETE FROM " />
-            <marker date="1591002850732" expanded="true" signature="129811:129860" ph="DELETE FROM " />
-            <marker date="1591002850732" expanded="true" signature="131690:132073" ph="select iefil... " />
-            <marker date="1591002850732" expanded="true" signature="132883:132943" ph="DELETE FROM " />
-            <marker date="1591002850732" expanded="true" signature="133002:133063" ph="DELETE FROM " />
-            <marker date="1591002850732" expanded="true" signature="134880:135705" ph="SELECT B.BOM... MF_IEFILE" />
-            <marker date="1591002850732" expanded="true" signature="135882:136661" ph="SELECT B.BOM... MF_IEFILE" />
-            <marker date="1591002850732" expanded="true" signature="138888:138960" ph="UPDATE MF_IE... " />
-            <marker date="1591002850732" expanded="true" signature="141469:141550" ph="SELECT IEFIL... TF_IEFILE_UP" />
-            <marker date="1591002850732" expanded="true" signature="141841:141943" ph="SELECT MM_NO... TF_MM0" />
-            <marker date="1591002850732" expanded="true" signature="142064:142182" ph="SELECT MM_NO... TF_MM0" />
-            <marker date="1591002850732" expanded="true" signature="142809:143207" ph="UPDATE TF_MM... " />
-            <marker date="1591002850732" expanded="true" signature="143989:144052" ph="UPDATE TF_MM... " />
-            <marker date="1591002850732" expanded="true" signature="144627:144708" ph="SELECT CAST(... MF_IEFILE" />
-            <marker date="1591002850732" expanded="true" signature="145013:145076" ph="UPDATE TF_MM... " />
-            <marker date="1591002850732" expanded="true" signature="146043:146086" ph="DELETE FROM " />
-            <marker date="1591002850732" expanded="true" signature="147945:149787" ph="select isnul... MF_IEFILE" />
-            <marker date="1591002850732" expanded="true" signature="149114:149297" ph="select ROUND... TF_MO" />
-            <marker date="1591002850732" expanded="true" signature="149343:149526" ph="select ROUND... TF_MO" />
-            <marker date="1591002850732" expanded="true" signature="151028:151290" ph="select isnul... TF_MM0" />
-            <marker date="1591002850732" expanded="true" signature="151181:151287" ph="select dep_n... DSCSETTING" />
-            <marker date="1591002850732" expanded="true" signature="151223:151286" ph="SELECT up FR... DSCSETTING" />
-            <marker date="1591002850732" expanded="true" signature="151715:151839" ph="SELECT IEFIL... TF_IEFILE_UP" />
-            <marker date="1591002850732" expanded="true" signature="152093:152224" ph="SELECT MM_NO... TF_MM0" />
-            <marker date="1591002850732" expanded="true" signature="155280:155627" ph="SELECT B.dep... TF_MM0" />
-            <marker date="1591002850732" expanded="true" signature="157422:157570" ph="select so_no... cst_tf_mp3" />
-            <marker date="1591002850732" expanded="true" signature="158253:158497" ph="select id,ne... jtjh" />
-            <marker date="1591002850732" expanded="true" signature="160353:160505" ph="select so_no... cst_tf_mp3_ymp" />
-            <marker date="1591002850732" expanded="true" signature="160818:161260" ph="select id,ne... jtjh" />
-            <marker date="1591002850732" expanded="true" signature="161417:161497" ph="select mo_no... mf_mo" />
-            <marker date="1591002850732" expanded="true" signature="163840:163988" ph="select so_no... cst_tf_mp3" />
-            <marker date="1591002850732" expanded="true" signature="164499:164726" ph="select id,ne... jtjh" />
+            <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" />
           </folding>
           </folding>
         </state>
         </state>
       </provider>
       </provider>

+ 247 - 0
meib/logs/hwj.log

@@ -27360,3 +27360,250 @@ INFO 2020-06-01 17:14:11,258 autoreload 217 E:\12446\PycharmProjects\meibang\mei
 INFO 2020-06-01 17:14:12,764 autoreload 597 Watching for file changes with StatReloader
 INFO 2020-06-01 17:14:12,764 autoreload 597 Watching for file changes with StatReloader
 INFO 2020-06-01 17:14:15,991 basehttp 154 "GET /ympxqjh?so_no=SO2005000004 HTTP/1.1" 301 0
 INFO 2020-06-01 17:14:15,991 basehttp 154 "GET /ympxqjh?so_no=SO2005000004 HTTP/1.1" 301 0
 INFO 2020-06-01 17:14:19,271 basehttp 154 "GET /ympxqjh/?so_no=SO2005000004 HTTP/1.1" 200 671
 INFO 2020-06-01 17:14:19,271 basehttp 154 "GET /ympxqjh/?so_no=SO2005000004 HTTP/1.1" 200 671
+INFO 2020-06-02 08:34:58,428 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-06-02 08:35:38,739 basehttp 154 "GET /ympxqjh?so_no=SO2005000004 HTTP/1.1" 301 0
+INFO 2020-06-02 08:35:44,585 basehttp 154 "GET /ympxqjh/?so_no=SO2005000004 HTTP/1.1" 200 671
+INFO 2020-06-02 09:58:17,013 basehttp 154 "GET /ympxqjh?so_no=SO2005000004 HTTP/1.1" 301 0
+INFO 2020-06-02 09:58:19,368 basehttp 154 "GET /ympxqjh/?so_no=SO2005000004 HTTP/1.1" 200 687
+INFO 2020-06-02 09:59:29,788 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-06-02 09:59:58,049 basehttp 154 "GET /ympxqjh?so_no=SO2005000004 HTTP/1.1" 301 0
+INFO 2020-06-02 09:59:58,123 basehttp 154 "GET /ympxqjh/?so_no=SO2005000004 HTTP/1.1" 200 687
+INFO 2020-06-02 10:01:43,936 basehttp 154 "GET /ympxqjh?so_no=SO2005000004 HTTP/1.1" 301 0
+INFO 2020-06-02 10:01:44,022 basehttp 154 "GET /ympxqjh/?so_no=SO2005000004 HTTP/1.1" 200 687
+INFO 2020-06-02 10:01:55,012 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-06-02 10:02:03,982 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-06-02 10:02:07,748 basehttp 154 "GET /ympxqjh?so_no=SO2005000004 HTTP/1.1" 301 0
+INFO 2020-06-02 10:02:07,823 basehttp 154 "GET /ympxqjh/?so_no=SO2005000004 HTTP/1.1" 200 687
+INFO 2020-06-02 10:03:20,026 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-06-02 10:03:21,377 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-06-02 10:03:28,183 basehttp 154 "GET /ympxqjh?so_no=SO2005000004 HTTP/1.1" 301 0
+INFO 2020-06-02 10:03:28,296 basehttp 154 "GET /ympxqjh/?so_no=SO2005000004 HTTP/1.1" 200 687
+INFO 2020-06-02 10:04:53,563 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-06-02 10:04:57,627 basehttp 154 "GET /ympxqjh?so_no=SO2005000004 HTTP/1.1" 301 0
+INFO 2020-06-02 10:04:57,740 basehttp 154 "GET /ympxqjh/?so_no=SO2005000004 HTTP/1.1" 200 687
+INFO 2020-06-02 10:10:56,699 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-06-02 10:10:58,087 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-06-02 10:12:42,077 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-06-02 10:12:43,081 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-06-02 10:12:46,904 basehttp 154 "GET /ympxqjh?so_no=SO2005000004 HTTP/1.1" 301 0
+INFO 2020-06-02 10:12:47,005 basehttp 154 "GET /ympxqjh/?so_no=SO2005000004 HTTP/1.1" 200 621
+INFO 2020-06-02 10:13:33,351 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-06-02 10:13:34,477 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-06-02 10:13:39,762 basehttp 154 "GET /ympxqjh?so_no=SO2005000004 HTTP/1.1" 301 0
+INFO 2020-06-02 10:13:39,842 basehttp 154 "GET /ympxqjh/?so_no=SO2005000004 HTTP/1.1" 200 643
+INFO 2020-06-02 10:16:39,200 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-06-02 10:16:40,327 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-06-02 10:17:19,914 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-06-02 10:17:24,433 basehttp 154 "GET /ympxqjh?so_no=SO2005000004 HTTP/1.1" 301 0
+ERROR 2020-06-02 10:17:24,561 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 3362, in list
+    .format(result2[result2_itm]["mrp_no"],result2[result2_itm]["so_no"],result2[result2_itm]["est_itm"],result2[result2_itm]["dep"])
+TypeError: list indices must be integers or slices, not dict
+ERROR 2020-06-02 10:17:24,564 basehttp 154 "GET /ympxqjh/?so_no=SO2005000004 HTTP/1.1" 500 18555
+INFO 2020-06-02 10:18:02,042 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-06-02 10:18:03,140 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-06-02 10:18:14,316 basehttp 154 "GET /ympxqjh?so_no=SO2005000004 HTTP/1.1" 301 0
+ERROR 2020-06-02 10:18:14,407 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 3363, in list
+    .format(result2[result2_itm]["mrp_no"],result2[result2_itm]["so_no"],result2[result2_itm]["est_itm"],result2[result2_itm]["dep"])
+TypeError: list indices must be integers or slices, not dict
+ERROR 2020-06-02 10:18:14,409 basehttp 154 "GET /ympxqjh/?so_no=SO2005000004 HTTP/1.1" 500 18555
+INFO 2020-06-02 10:19:02,580 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-06-02 10:19:03,601 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-06-02 10:19:14,890 basehttp 154 "GET /ympxqjh?so_no=SO2005000004 HTTP/1.1" 301 0
+ERROR 2020-06-02 10:19:14,988 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 3363, in list
+    .format(result2[result2_itm]["mrp_no"],result2[result2_itm]["so_no"],result2[result2_itm]["est_itm"],result2[result2_itm]["dep"])
+TypeError: list indices must be integers or slices, not dict
+ERROR 2020-06-02 10:19:14,991 basehttp 154 "GET /ympxqjh/?so_no=SO2005000004 HTTP/1.1" 500 18555
+INFO 2020-06-02 10:19:32,447 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-06-02 10:19:33,401 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-06-02 10:19:54,708 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-06-02 10:19:55,742 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-06-02 10:20:00,396 basehttp 154 "GET /ympxqjh?so_no=SO2005000004 HTTP/1.1" 301 0
+ERROR 2020-06-02 10:20:00,502 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 3365, in list
+    .format(result2[result2_itm]["mrp_no"],result2[result2_itm]["so_no"],result2[result2_itm]["est_itm"],result2[result2_itm]["dep"])
+TypeError: list indices must be integers or slices, not dict
+ERROR 2020-06-02 10:20:00,505 basehttp 154 "GET /ympxqjh/?so_no=SO2005000004 HTTP/1.1" 500 18555
+INFO 2020-06-02 10:22:03,777 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-06-02 10:22:04,661 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-06-02 10:22:13,200 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-06-02 10:22:16,274 basehttp 154 "GET /ympxqjh?so_no=SO2005000004 HTTP/1.1" 301 0
+ERROR 2020-06-02 10:22:16,378 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 3370, in list
+    result2[itm]['mo_no'+str(itm)] = i['mo_no']
+IndexError: list index out of range
+ERROR 2020-06-02 10:22:16,380 basehttp 154 "GET /ympxqjh/?so_no=SO2005000004 HTTP/1.1" 500 18423
+INFO 2020-06-02 10:24:44,286 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-06-02 10:24:45,873 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-06-02 10:24:49,612 basehttp 154 "GET /ympxqjh?so_no=SO2005000004 HTTP/1.1" 301 0
+ERROR 2020-06-02 10:24:49,704 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 3374, in list
+    data_list.append(result2[itm])
+IndexError: list index out of range
+ERROR 2020-06-02 10:24:49,707 basehttp 154 "GET /ympxqjh/?so_no=SO2005000004 HTTP/1.1" 500 18406
+INFO 2020-06-02 10:25:16,052 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-06-02 10:25:16,955 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-06-02 10:25:20,654 basehttp 154 "GET /ympxqjh?so_no=SO2005000004 HTTP/1.1" 301 0
+INFO 2020-06-02 10:25:20,723 basehttp 154 "GET /ympxqjh/?so_no=SO2005000004 HTTP/1.1" 200 1196
+INFO 2020-06-02 10:25:34,889 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-06-02 10:25:35,983 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-06-02 10:46:22,750 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-06-02 10:46:23,892 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-06-02 10:46:36,570 basehttp 154 "GET /ympxqjh?so_no=SO2005000004 HTTP/1.1" 301 0
+INFO 2020-06-02 10:46:41,851 basehttp 154 "GET /ympxqjh/?so_no=SO2005000004 HTTP/1.1" 200 1196
+INFO 2020-06-02 11:03:49,024 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-06-02 11:03:50,874 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-06-02 11:05:06,971 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-06-02 11:05:08,074 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-06-02 11:05:50,983 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-06-02 11:06:00,702 basehttp 154 "GET /ympxqjh?so_no=SO2005000004 HTTP/1.1" 301 0
+INFO 2020-06-02 11:06:05,762 basehttp 154 "GET /ympxqjh/?so_no=SO2005000004 HTTP/1.1" 200 1196
+INFO 2020-06-02 11:14:14,509 autoreload 217 E:\12446\PycharmProjects\meibang\meib\meib\apps\erp\views.py changed, reloading.
+INFO 2020-06-02 11:14:15,554 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-06-02 11:14:19,943 basehttp 154 "GET /ympxqjh?so_no=SO2005000004 HTTP/1.1" 301 0
+INFO 2020-06-02 11:14:24,949 basehttp 154 "GET /ympxqjh/?so_no=SO2005000004 HTTP/1.1" 200 1240
+INFO 2020-06-02 11:24:02,149 basehttp 154 "GET /index HTTP/1.1" 301 0
+INFO 2020-06-02 11:24:02,381 basehttp 154 "GET /index/ HTTP/1.1" 200 29218
+INFO 2020-06-02 11:24:02,604 basehttp 154 "GET /static/css/css.css HTTP/1.1" 200 5367
+INFO 2020-06-02 11:24:02,606 basehttp 154 "GET /static/css/loader.css HTTP/1.1" 200 1349
+INFO 2020-06-02 11:24:02,608 basehttp 154 "GET /static/css/bootstrap-select.min.css HTTP/1.1" 200 5802
+INFO 2020-06-02 11:24:02,614 basehttp 154 "GET /static/css/bootstrap.min.css HTTP/1.1" 200 121200
+INFO 2020-06-02 11:24:02,622 basehttp 154 "GET /static/js/bootstrap.min.js HTTP/1.1" 200 37051
+INFO 2020-06-02 11:24:02,679 basehttp 154 "GET /static/js/axios.min.js HTTP/1.1" 200 14185
+INFO 2020-06-02 11:24:02,702 basehttp 154 "GET /static/js/jquery.min.js HTTP/1.1" 200 84284
+INFO 2020-06-02 11:24:02,705 basehttp 154 "GET /static/js/vue-Cookies.js HTTP/1.1" 200 6166
+INFO 2020-06-02 11:24:02,732 basehttp 154 "GET /static/js/jquery.select.js HTTP/1.1" 200 6373
+INFO 2020-06-02 11:24:02,736 basehttp 154 "GET /static/js/bootstrap-select_new.js HTTP/1.1" 200 53970
+INFO 2020-06-02 11:24:02,748 basehttp 154 "GET /static/js/export/exports.js HTTP/1.1" 200 2803
+INFO 2020-06-02 11:24:02,790 basehttp 154 "GET /static/js/vue-2.4.0.js HTTP/1.1" 200 264100
+INFO 2020-06-02 11:24:02,844 basehttp 154 "GET /static/img/logo.png HTTP/1.1" 200 5168
+INFO 2020-06-02 11:24:02,990 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" 301 0
+WARNING 2020-06-02 11:24:03,008 log 228 Not Found: /favicon.ico
+WARNING 2020-06-02 11:24:03,009 basehttp 154 "GET /favicon.ico HTTP/1.1" 404 9167
+INFO 2020-06-02 11:24:03,861 basehttp 154 "GET /cust/?search_no= HTTP/1.1" 200 6285
+INFO 2020-06-02 11:24:03,896 basehttp 154 "GET /prdt/?search_no= HTTP/1.1" 200 21856
+INFO 2020-06-02 11:24:05,464 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:16,097 basehttp 154 "GET /listtb?st_time=2020-05-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=1&ifmerge=1&page=1 HTTP/1.1" 301 0
+INFO 2020-06-02 11:24:22,143 basehttp 154 "GET /listtb/?st_time=2020-05-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=1&ifmerge=1&page=1 HTTP/1.1" 200 4430
+INFO 2020-06-02 11:24:30,103 basehttp 154 "GET /index/ HTTP/1.1" 200 29218
+INFO 2020-06-02 11:24:30,239 basehttp 154 "GET /prdt/?search_no= HTTP/1.1" 200 21856
+INFO 2020-06-02 11:24:30,242 basehttp 154 "GET /cust/?search_no= HTTP/1.1" 200 6285
+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

+ 19 - 13
meib/meib/apps/erp/views.py

@@ -3353,22 +3353,28 @@ class YmpxqJh(ModelViewSet):
                     '' 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 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 
                     '' 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)
                     where so_no='{0}' and mrp_no+'->'='{1}' and id='{3}'""".format(i.so_no, ii["id_no"], pmc_dd,i.id)
-                    print(sql2)
+                    # print(sql2)
                     result2 = executeQuery(sql2)
                     result2 = executeQuery(sql2)
-                    sql3 = """select mo_no,qty from mf_mo where mrp_no='{0}' and so_no='{1}' and est_itm='{2}'""".format(result2[0]["mrp_no"],result2[0]["so_no"],result2[0]["est_itm"])
-                    result3 = executeQuery(sql3)
-                    print(result3)
-                    itm=0
-                    for i in result3:
-                        itm=itm+1
-                        # print('mo_no'+str(itm))
-                        # print('mo_no'+str(itm))
-                        result2[0]['mo_no'+str(itm)] = i['mo_no']
-                        result2[0]['qty'+str(itm)] = i['qty']
-                    data_list.append(result2[0])
+                    # 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(111111111111)
         print(data_list)
         print(data_list)
-        print(111111111111111)
         page = self.paginate_queryset(data_list)
         page = self.paginate_queryset(data_list)
         # print(page)
         # print(page)
         if page is not None:
         if page is not None: