Bladeren bron

完成,待BUG测试

xingye 4 jaren geleden
bovenliggende
commit
0f84c3b696
8 gewijzigde bestanden met toevoegingen van 1898 en 342 verwijderingen
  1. 253 290
      .idea/workspace.xml
  2. 1537 0
      logs/hwj.log
  3. 0 1
      obj/apps/bg/bgutils.py
  4. 94 42
      obj/apps/bg/views.py
  5. 2 3
      obj/apps/bsdata/lianxi.py
  6. 0 1
      obj/apps/bsdata/views.py
  7. 12 4
      obj/utils/ClssSql.py
  8. 0 1
      obj/utils/executeQuery.py

+ 253 - 290
.idea/workspace.xml

@@ -2,17 +2,12 @@
 <project version="4">
   <component name="ChangeListManager">
     <list default="true" id="0cf439b8-3fe7-43a2-bde5-030043e967df" name="Default" comment="">
-      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/obj/apps/bg/utils.py" />
-      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/obj/apps/bsdata/lianxi.py" />
-      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/obj/apps/bsdata/utils.py" />
-      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/start.txt" />
       <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
       <change type="MODIFICATION" beforePath="$PROJECT_DIR$/logs/hwj.log" afterPath="$PROJECT_DIR$/logs/hwj.log" />
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/obj/apps/bg/bgutils.py" afterPath="$PROJECT_DIR$/obj/apps/bg/bgutils.py" />
       <change type="MODIFICATION" beforePath="$PROJECT_DIR$/obj/apps/bg/views.py" afterPath="$PROJECT_DIR$/obj/apps/bg/views.py" />
-      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/obj/apps/bsdata/models.py" afterPath="$PROJECT_DIR$/obj/apps/bsdata/models.py" />
-      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/obj/apps/bsdata/urls.py" afterPath="$PROJECT_DIR$/obj/apps/bsdata/urls.py" />
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/obj/apps/bsdata/lianxi.py" afterPath="$PROJECT_DIR$/obj/apps/bsdata/lianxi.py" />
       <change type="MODIFICATION" beforePath="$PROJECT_DIR$/obj/apps/bsdata/views.py" afterPath="$PROJECT_DIR$/obj/apps/bsdata/views.py" />
-      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/obj/settings/dev.py" afterPath="$PROJECT_DIR$/obj/settings/dev.py" />
       <change type="MODIFICATION" beforePath="$PROJECT_DIR$/obj/utils/ClssSql.py" afterPath="$PROJECT_DIR$/obj/utils/ClssSql.py" />
       <change type="MODIFICATION" beforePath="$PROJECT_DIR$/obj/utils/executeQuery.py" afterPath="$PROJECT_DIR$/obj/utils/executeQuery.py" />
     </list>
@@ -25,8 +20,8 @@
   </component>
   <component name="CoverageDataManager">
     <SUITE FILE_PATH="coverage/lixin$lianxi.coverage" NAME="lianxi Coverage Results" MODIFIED="1592787212997" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/obj/apps/erp" />
-    <SUITE FILE_PATH="coverage/lixin$manage.coverage" NAME="manage Coverage Results" MODIFIED="1593565142322" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" />
-    <SUITE FILE_PATH="coverage/lixin$lianxi__1_.coverage" NAME="lianxi (1) Coverage Results" MODIFIED="1593583179377" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/obj/apps/bsdata" />
+    <SUITE FILE_PATH="coverage/lixin$manage.coverage" NAME="manage Coverage Results" MODIFIED="1594007067551" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" />
+    <SUITE FILE_PATH="coverage/lixin$lianxi__1_.coverage" NAME="lianxi (1) Coverage Results" MODIFIED="1593762773711" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/obj/apps/bsdata" />
   </component>
   <component name="DjangoConsoleOptions" custom-start-script="import sys; print('Python %s on %s' % (sys.version, sys.platform))&#10;import django; print('Django %s' % django.get_version())&#10;sys.path.extend([WORKING_DIR_AND_PYTHON_PATHS])&#10;if 'setup' in dir(django): django.setup()&#10;import django_manage_shell; django_manage_shell.run(PROJECT_ROOT)">
     <option name="myCustomStartScript" value="import sys; print('Python %s on %s' % (sys.version, sys.platform))&#10;import django; print('Django %s' % django.get_version())&#10;sys.path.extend([WORKING_DIR_AND_PYTHON_PATHS])&#10;if 'setup' in dir(django): django.setup()&#10;import django_manage_shell; django_manage_shell.run(PROJECT_ROOT)" />
@@ -34,149 +29,121 @@
   <component name="ExecutionTargetManager" SELECTED_TARGET="default_target" />
   <component name="FileEditorManager">
     <leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
-      <file leaf-file-name="views.py" pinned="false" current-in-tab="true">
+      <file leaf-file-name="views.py" pinned="false" current-in-tab="false">
         <entry file="file://$PROJECT_DIR$/obj/apps/bg/views.py">
           <provider selected="true" editor-type-id="text-editor">
-            <state relative-caret-position="165">
-              <caret line="456" column="17" lean-forward="true" selection-start-line="456" selection-start-column="17" selection-end-line="456" selection-end-column="17" />
+            <state relative-caret-position="526">
+              <caret line="846" column="14" lean-forward="true" selection-start-line="846" selection-start-column="14" selection-end-line="846" selection-end-column="14" />
               <folding>
                 <element signature="e#0#48#0" expanded="true" />
                 <element signature="e#859#930#0" expanded="false" />
-                <element signature="e#1076#3758#0" expanded="false" />
-                <element signature="e#2206#2749#0" expanded="false" />
-                <element signature="e#3603#3701#0" expanded="false" />
-                <element signature="e#3788#13264#0" expanded="false" />
-                <element signature="e#4051#6764#0" expanded="false" />
-                <element signature="e#11078#13262#0" expanded="false" />
-                <element signature="e#13556#16134#0" expanded="false" />
-                <element signature="e#20582#22367#0" expanded="false" />
-                <element signature="e#22661#25108#0" expanded="false" />
-                <element signature="e#25169#29641#0" expanded="false" />
-                <element signature="e#29701#30853#0" expanded="false" />
-                <element signature="e#30917#32726#0" expanded="false" />
-                <element signature="e#33019#35437#0" expanded="false" />
-                <element signature="e#35498#38727#0" expanded="false" />
-                <element signature="e#38787#40759#0" expanded="false" />
-                <element signature="e#40823#43618#0" expanded="false" />
-                <element signature="e#41647#42210#0" expanded="false" />
+                <element signature="e#1076#3650#0" expanded="false" />
+                <element signature="e#3943#6656#0" expanded="false" />
+                <element signature="e#6717#9556#0" expanded="false" />
+                <element signature="e#9616#10906#0" expanded="false" />
+                <element signature="e#10970#14077#0" expanded="false" />
+                <element signature="e#14371#16949#0" expanded="false" />
+                <element signature="e#17010#20146#0" expanded="false" />
+                <element signature="e#20206#21356#0" expanded="false" />
+                <element signature="e#21420#24115#0" expanded="false" />
+                <element signature="e#24409#26856#0" expanded="false" />
+                <element signature="e#26917#30076#0" expanded="false" />
+                <element signature="e#30136#31288#0" expanded="false" />
+                <element signature="e#31352#34021#0" expanded="false" />
+                <element signature="e#34314#36732#0" expanded="false" />
+                <element signature="e#36793#40022#0" expanded="false" />
+                <element signature="e#40082#42067#0" expanded="false" />
+                <element signature="e#42131#45828#0" expanded="false" />
               </folding>
             </state>
           </provider>
         </entry>
       </file>
-      <file leaf-file-name="transaction.py" pinned="false" current-in-tab="false">
-        <entry file="file://$USER_HOME$/Envs/lixin/Lib/site-packages/django/db/transaction.py">
+      <file leaf-file-name="bgutils.py" pinned="false" current-in-tab="false">
+        <entry file="file://$PROJECT_DIR$/obj/apps/bg/bgutils.py">
           <provider selected="true" editor-type-id="text-editor">
-            <state relative-caret-position="217">
-              <caret line="59" column="4" lean-forward="false" selection-start-line="59" selection-start-column="4" selection-end-line="59" selection-end-column="4" />
-              <folding />
-            </state>
-          </provider>
-        </entry>
-      </file>
-      <file leaf-file-name="utils.py" pinned="false" current-in-tab="false">
-        <entry file="file://$PROJECT_DIR$/obj/apps/bg/utils.py">
-          <provider selected="true" editor-type-id="text-editor">
-            <state relative-caret-position="0">
-              <caret line="0" column="17" lean-forward="false" selection-start-line="0" selection-start-column="6" selection-end-line="0" selection-end-column="17" />
-              <folding />
-            </state>
-          </provider>
-        </entry>
-      </file>
-      <file leaf-file-name="dev.py" pinned="false" current-in-tab="false">
-        <entry file="file://$PROJECT_DIR$/obj/settings/dev.py">
-          <provider selected="true" editor-type-id="text-editor">
-            <state relative-caret-position="574">
-              <caret line="134" column="8" lean-forward="false" selection-start-line="134" selection-start-column="8" selection-end-line="134" selection-end-column="8" />
-              <folding />
-            </state>
-          </provider>
-        </entry>
-      </file>
-      <file leaf-file-name="lianxi.py" pinned="false" current-in-tab="false">
-        <entry file="file://$PROJECT_DIR$/obj/apps/bsdata/lianxi.py">
-          <provider selected="true" editor-type-id="text-editor">
-            <state relative-caret-position="486">
-              <caret line="39" column="40" lean-forward="true" selection-start-line="39" selection-start-column="40" selection-end-line="39" selection-end-column="40" />
+            <state relative-caret-position="162">
+              <caret line="7" column="10" lean-forward="false" selection-start-line="7" selection-start-column="10" selection-end-line="7" selection-end-column="10" />
               <folding />
             </state>
           </provider>
         </entry>
       </file>
-      <file leaf-file-name="ClssSql.py" pinned="false" current-in-tab="false">
+      <file leaf-file-name="ClssSql.py" pinned="false" current-in-tab="true">
         <entry file="file://$PROJECT_DIR$/obj/utils/ClssSql.py">
           <provider selected="true" editor-type-id="text-editor">
-            <state relative-caret-position="571">
-              <caret line="153" column="12" lean-forward="false" selection-start-line="153" selection-start-column="4" selection-end-line="153" selection-end-column="12" />
+            <state relative-caret-position="234">
+              <caret line="64" column="143" lean-forward="true" selection-start-line="64" selection-start-column="143" selection-end-line="64" selection-end-column="143" />
               <folding>
                 <element signature="e#48#658#0" expanded="false" />
                 <element signature="e#3204#3214#0" expanded="false" />
-                <marker date="1593588360236" expanded="false" signature="671:1045" ph="select left(... " />
-                <marker date="1593588360236" expanded="true" signature="1094:1242" ph="INSERT INTO MF_TZ_Z... " />
-                <marker date="1593588360236" expanded="true" signature="1121:1148" ph="SELECT A.TZ_... MF_TZ" />
-                <marker date="1593588360236" expanded="true" signature="1284:1440" ph="select max(r... django_mf_bg" />
-                <marker date="1593588360236" expanded="true" signature="1499:1800" ph="select zt_no... Django_tf_bg" />
-                <marker date="1593588360236" expanded="true" signature="1603:1755" ph="select a.tz_... mf_tz" />
-                <marker date="1593588360236" expanded="true" signature="1852:2079" ph="select left(... " />
-                <marker date="1593588360236" expanded="true" signature="2105:2563" ph="select left(... " />
-                <marker date="1593588360236" expanded="true" signature="2603:2761" ph="select a.use... users" />
-                <marker date="1593588360236" expanded="false" signature="2818:3196" ph="select left(... " />
-                <marker date="1593588360236" expanded="true" signature="3235:4278" ph="select 0 as MF_TZ" />
-                <marker date="1593588360236" expanded="true" signature="3235:4320" ph="select 0 as MF_TZ" />
-                <marker date="1593588360236" expanded="true" signature="3542:3608" ph="select isnul... zc_no" />
-                <marker date="1593588360236" expanded="true" signature="3629:3695" ph="select isnul... zc_no" />
-                <marker date="1593588360236" expanded="true" signature="3769:3983" ph="select aa.sc... tf_pos_z" />
-                <marker date="1593588360236" expanded="true" signature="4346:4418" ph="select count... django_mf_bg" />
-                <marker date="1593588360236" expanded="false" signature="4440:5834" ph="select 0 as MF_TZ" />
-                <marker date="1593588360236" expanded="true" signature="4958:5024" ph="select isnul... zc_no" />
-                <marker date="1593588360236" expanded="true" signature="5039:5105" ph="select isnul... zc_no" />
-                <marker date="1593588360236" expanded="true" signature="5284:5493" ph="select aa.sc... tf_pos_z" />
-                <marker date="1593588360236" expanded="false" signature="5856:6950" ph="select 0 as MF_TZ" />
-                <marker date="1593588360236" expanded="true" signature="6185:6251" ph="select isnul... zc_no" />
-                <marker date="1593588360236" expanded="true" signature="6274:6340" ph="select isnul... zc_no" />
-                <marker date="1593588360236" expanded="true" signature="6445:6663" ph="select aa.sc... tf_pos_z" />
-                <marker date="1593588360236" expanded="false" signature="6972:8300" ph="select 0 as MF_TZ" />
-                <marker date="1593588360236" expanded="true" signature="7302:7368" ph="select isnul... zc_no" />
-                <marker date="1593588360236" expanded="true" signature="7391:7457" ph="select isnul... zc_no" />
-                <marker date="1593588360236" expanded="true" signature="7477:7695" ph="select top 1... django_mf_bg" />
-                <marker date="1593588360236" expanded="true" signature="7794:8012" ph="select aa.sc... tf_pos_z" />
-                <marker date="1593588360236" expanded="false" signature="8334:9518" ph="select 0 as MF_TZ" />
-                <marker date="1593588360236" expanded="true" signature="8334:9539" ph="select 0 as MF_TZ" />
-                <marker date="1593588360236" expanded="true" signature="8709:8775" ph="select isnul... zc_no" />
-                <marker date="1593588360236" expanded="true" signature="8798:8864" ph="select isnul... zc_no" />
-                <marker date="1593588360236" expanded="true" signature="8991:9209" ph="select aa.sc... tf_pos_z" />
-                <marker date="1593588360236" expanded="false" signature="9573:10804" ph="select 0 as MF_TZ" />
-                <marker date="1593588360236" expanded="true" signature="9956:10022" ph="select isnul... zc_no" />
-                <marker date="1593588360236" expanded="true" signature="10049:10115" ph="select isnul... zc_no" />
-                <marker date="1593588360236" expanded="true" signature="10254:10476" ph="select aa.sc... tf_pos_z" />
-                <marker date="1593588360236" expanded="false" signature="10840:11334" ph="insert into users... " />
-                <marker date="1593588360236" expanded="true" signature="10971:11334" ph="select '' as... PSWD" />
-                <marker date="1593588360236" expanded="true" signature="11292:11318" ph="select usern... users" />
-                <marker date="1593588360236" expanded="true" signature="11396:11643" ph="update a set... " />
-                <marker date="1593588360236" expanded="true" signature="11696:11983" ph="update a set... " />
-                <marker date="1593588360236" expanded="true" signature="12029:12135" ph="update MF_TZ... " />
-                <marker date="1593588360236" expanded="true" signature="12182:12356" ph="update MF_TZ... " />
-                <marker date="1593588360236" expanded="true" signature="12401:12682" ph="SELECT ISNUL... MF_TZ" />
-                <marker date="1593588360236" expanded="true" signature="12735:12853" ph="select isnul... mf_tz_z" />
-                <marker date="1593588360236" expanded="true" signature="12888:12994" ph="update MF_TZ... " />
-                <marker date="1593588360236" expanded="true" signature="13015:13262" ph="update a set... " />
-                <marker date="1593588360236" expanded="true" signature="13282:13394" ph="select isnul... MF_TZ_Z" />
-                <marker date="1593588360236" expanded="true" signature="13439:13545" ph="update MF_TZ... " />
-                <marker date="1593588360236" expanded="true" signature="13567:13813" ph="update a set... " />
-                <marker date="1593588360236" expanded="true" signature="13833:13945" ph="select isnul... MF_TZ_Z" />
-                <marker date="1593588360236" expanded="true" signature="14005:14111" ph="update MF_TZ... " />
-                <marker date="1593588360236" expanded="true" signature="14148:14262" ph="update MF_TZ... " />
-                <marker date="1593588360236" expanded="true" signature="14302:14546" ph="update a set... " />
-                <marker date="1593588360236" expanded="true" signature="14585:14947" ph="update a set... " />
-                <marker date="1593588360236" expanded="true" signature="14994:15305" ph="update a set... " />
-                <marker date="1593588360236" expanded="true" signature="15346:15598" ph="update a set... " />
-                <marker date="1593588360236" expanded="true" signature="15618:15752" ph="select isnul... MF_TZ_Z" />
-                <marker date="1593588360236" expanded="true" signature="15793:15916" ph="select a.QTY... MF_TZ" />
-                <marker date="1593588360236" expanded="true" signature="15937:16068" ph="update a set... " />
-                <marker date="1593588360236" expanded="true" signature="16091:16138" ph="update mf_tz... " />
-                <marker date="1593588360236" expanded="true" signature="16163:16210" ph="update mf_tz... " />
-                <marker date="1593588360236" expanded="true" signature="16259:16415" ph="update a set... " />
+                <marker date="1594008242924" expanded="false" signature="671:1045" ph="select left(... " />
+                <marker date="1594008242924" expanded="true" signature="1094:1242" ph="INSERT INTO MF_TZ_Z... " />
+                <marker date="1594008242924" expanded="true" signature="1121:1148" ph="SELECT A.TZ_... MF_TZ" />
+                <marker date="1594008242924" expanded="true" signature="1284:1440" ph="select max(r... django_mf_bg" />
+                <marker date="1594008242924" expanded="true" signature="1499:1800" ph="select zt_no... Django_tf_bg" />
+                <marker date="1594008242924" expanded="true" signature="1603:1755" ph="select a.tz_... mf_tz" />
+                <marker date="1594008242924" expanded="true" signature="1852:2079" ph="select left(... " />
+                <marker date="1594008242924" expanded="false" signature="2105:2563" ph="select left(... " />
+                <marker date="1594008242924" expanded="true" signature="2603:2761" ph="select a.use... users" />
+                <marker date="1594008242924" expanded="false" signature="2818:3196" ph="select left(... " />
+                <marker date="1594008242924" expanded="true" signature="3235:4278" ph="select 0 as MF_TZ" />
+                <marker date="1594008242924" expanded="true" signature="3235:4320" ph="select 0 as MF_TZ" />
+                <marker date="1594008242924" expanded="true" signature="3542:3608" ph="select isnul... zc_no" />
+                <marker date="1594008242924" expanded="true" signature="3629:3695" ph="select isnul... zc_no" />
+                <marker date="1594008242924" expanded="true" signature="3769:3983" ph="select aa.sc... tf_pos_z" />
+                <marker date="1594008242924" expanded="true" signature="4346:4418" ph="select count... django_mf_bg" />
+                <marker date="1594008242924" expanded="false" signature="4440:5834" ph="select 0 as MF_TZ" />
+                <marker date="1594008242924" expanded="true" signature="4958:5024" ph="select isnul... zc_no" />
+                <marker date="1594008242924" expanded="true" signature="5039:5105" ph="select isnul... zc_no" />
+                <marker date="1594008242924" expanded="true" signature="5284:5493" ph="select aa.sc... tf_pos_z" />
+                <marker date="1594008242924" expanded="false" signature="5903:6997" ph="select 0 as MF_TZ" />
+                <marker date="1594008242924" expanded="true" signature="6232:6298" ph="select isnul... zc_no" />
+                <marker date="1594008242924" expanded="true" signature="6321:6387" ph="select isnul... zc_no" />
+                <marker date="1594008242924" expanded="true" signature="6492:6710" ph="select aa.sc... tf_pos_z" />
+                <marker date="1594008242924" expanded="false" signature="7019:8347" ph="select 0 as MF_TZ" />
+                <marker date="1594008242924" expanded="true" signature="7349:7415" ph="select isnul... zc_no" />
+                <marker date="1594008242924" expanded="true" signature="7438:7504" ph="select isnul... zc_no" />
+                <marker date="1594008242924" expanded="true" signature="7524:7742" ph="select top 1... django_mf_bg" />
+                <marker date="1594008242924" expanded="true" signature="7841:8059" ph="select aa.sc... tf_pos_z" />
+                <marker date="1594008242924" expanded="false" signature="8381:9565" ph="select 0 as MF_TZ" />
+                <marker date="1594008242924" expanded="true" signature="8381:9586" ph="select 0 as MF_TZ" />
+                <marker date="1594008242924" expanded="true" signature="8756:8822" ph="select isnul... zc_no" />
+                <marker date="1594008242924" expanded="true" signature="8845:8911" ph="select isnul... zc_no" />
+                <marker date="1594008242924" expanded="true" signature="9038:9256" ph="select aa.sc... tf_pos_z" />
+                <marker date="1594008242924" expanded="false" signature="9620:10851" ph="select 0 as MF_TZ" />
+                <marker date="1594008242924" expanded="true" signature="10003:10069" ph="select isnul... zc_no" />
+                <marker date="1594008242924" expanded="true" signature="10096:10162" ph="select isnul... zc_no" />
+                <marker date="1594008242924" expanded="true" signature="10301:10523" ph="select aa.sc... tf_pos_z" />
+                <marker date="1594008242924" expanded="false" signature="10887:11381" ph="insert into users... " />
+                <marker date="1594008242924" expanded="true" signature="11018:11381" ph="select '' as... PSWD" />
+                <marker date="1594008242924" expanded="true" signature="11339:11365" ph="select usern... users" />
+                <marker date="1594008242924" expanded="true" signature="11443:11690" ph="update a set... " />
+                <marker date="1594008242924" expanded="true" signature="11743:12030" ph="update a set... " />
+                <marker date="1594008242924" expanded="true" signature="12076:12182" ph="update MF_TZ... " />
+                <marker date="1594008242924" expanded="true" signature="12229:12403" ph="update MF_TZ... " />
+                <marker date="1594008242924" expanded="true" signature="12448:12929" ph="SELECT ISNUL... MF_TZ" />
+                <marker date="1594008242924" expanded="true" signature="12982:13100" ph="select isnul... mf_tz_z" />
+                <marker date="1594008242924" expanded="true" signature="13135:13241" ph="update MF_TZ... " />
+                <marker date="1594008242924" expanded="true" signature="13262:13509" ph="update a set... " />
+                <marker date="1594008242924" expanded="true" signature="13529:13729" ph="select isnul... MF_TZ_Z" />
+                <marker date="1594008242924" expanded="true" signature="13782:13933" ph="select isnul... mf_tz_z" />
+                <marker date="1594008242924" expanded="true" signature="13968:14074" ph="update MF_TZ... " />
+                <marker date="1594008242924" expanded="true" signature="14096:14342" ph="update a set... " />
+                <marker date="1594008242924" expanded="true" signature="14362:14562" ph="select isnul... MF_TZ_Z" />
+                <marker date="1594008242924" expanded="true" signature="14622:14728" ph="update MF_TZ... " />
+                <marker date="1594008242924" expanded="true" signature="14765:14879" ph="update MF_TZ... " />
+                <marker date="1594008242924" expanded="false" signature="14919:15163" ph="update a set... " />
+                <marker date="1594008242924" expanded="true" signature="15202:15564" ph="update a set... " />
+                <marker date="1594008242924" expanded="true" signature="15611:15922" ph="update a set... " />
+                <marker date="1594008242924" expanded="true" signature="15963:16215" ph="update a set... " />
+                <marker date="1594008242924" expanded="true" signature="16235:16604" ph="select isnul... MF_TZ_Z" />
+                <marker date="1594008242924" expanded="true" signature="16412:16528" ph="select aa.qt... MF_TZ_Z" />
+                <marker date="1594008242924" expanded="true" signature="16645:16768" ph="select a.QTY... MF_TZ" />
+                <marker date="1594008242924" expanded="true" signature="16789:16920" ph="update a set... " />
+                <marker date="1594008242924" expanded="true" signature="16943:16990" ph="update mf_tz... " />
+                <marker date="1594008242924" expanded="true" signature="17015:17062" ph="update mf_tz... " />
+                <marker date="1594008242924" expanded="true" signature="17111:17267" ph="update a set... " />
               </folding>
             </state>
           </provider>
@@ -192,16 +159,6 @@
           </provider>
         </entry>
       </file>
-      <file leaf-file-name="executeQuery.py" pinned="false" current-in-tab="false">
-        <entry file="file://$PROJECT_DIR$/obj/utils/executeQuery.py">
-          <provider selected="true" editor-type-id="text-editor">
-            <state relative-caret-position="405">
-              <caret line="15" column="17" lean-forward="false" selection-start-line="15" selection-start-column="17" selection-end-line="15" selection-end-column="17" />
-              <folding />
-            </state>
-          </provider>
-        </entry>
-      </file>
       <file leaf-file-name="urls.py" pinned="false" current-in-tab="false">
         <entry file="file://$PROJECT_DIR$/obj/apps/users/urls.py">
           <provider selected="true" editor-type-id="text-editor">
@@ -237,7 +194,6 @@
       <find>事物</find>
       <find>PgYscl</find>
       <find>filter</find>
-      <find>BgYscl</find>
       <find>totalqty</find>
       <find>maxqty</find>
       <find>ZyUpClose</find>
@@ -246,8 +202,12 @@
       <find>qty_fin</find>
       <find>MIDDLEWARE_CLASSES</find>
       <find>select_zc_no</find>
-      <find>pr</find>
       <find>coll</find>
+      <find>strip</find>
+      <find>print</find>
+      <find>BgYscl</find>
+      <find>ZyYscl</find>
+      <find>pr</find>
     </findStrings>
   </component>
   <component name="Git.Settings">
@@ -269,20 +229,20 @@
         <option value="$PROJECT_DIR$/obj/apps/users/utils.py" />
         <option value="$PROJECT_DIR$/obj/apps/bg/utlis.py" />
         <option value="$PROJECT_DIR$/obj/apps/users/views.py" />
-        <option value="$PROJECT_DIR$/obj/apps/bg/bgutils.py" />
         <option value="$PROJECT_DIR$/obj/apps/bg/models.py" />
         <option value="$PROJECT_DIR$/red.txt" />
         <option value="$PROJECT_DIR$/start.txt" />
         <option value="$PROJECT_DIR$/obj/apps/bsdata/urls.py" />
         <option value="$PROJECT_DIR$/obj/apps/bsdata/models.py" />
-        <option value="$PROJECT_DIR$/obj/apps/bsdata/views.py" />
         <option value="$PROJECT_DIR$/obj/apps/bsdata/utils.py" />
-        <option value="$PROJECT_DIR$/obj/utils/executeQuery.py" />
-        <option value="$PROJECT_DIR$/obj/apps/bsdata/lianxi.py" />
-        <option value="$PROJECT_DIR$/obj/utils/ClssSql.py" />
         <option value="$PROJECT_DIR$/obj/settings/dev.py" />
         <option value="$PROJECT_DIR$/obj/apps/bg/utils.py" />
+        <option value="$PROJECT_DIR$/obj/apps/bsdata/lianxi.py" />
+        <option value="$PROJECT_DIR$/obj/utils/executeQuery.py" />
+        <option value="$PROJECT_DIR$/obj/apps/bsdata/views.py" />
+        <option value="$PROJECT_DIR$/obj/apps/bg/bgutils.py" />
         <option value="$PROJECT_DIR$/obj/apps/bg/views.py" />
+        <option value="$PROJECT_DIR$/obj/utils/ClssSql.py" />
       </list>
     </option>
   </component>
@@ -314,8 +274,6 @@
       <foldersAlwaysOnTop value="true" />
     </navigator>
     <panes>
-      <pane id="Scope" />
-      <pane id="Scratches" />
       <pane id="ProjectPane">
         <subPane>
           <PATH>
@@ -330,6 +288,8 @@
           </PATH>
         </subPane>
       </pane>
+      <pane id="Scratches" />
+      <pane id="Scope" />
     </panes>
   </component>
   <component name="PropertiesComponent">
@@ -358,7 +318,7 @@
       </list>
     </option>
   </component>
-  <component name="RunManager" selected="Python.lianxi (1)">
+  <component name="RunManager" selected="Python.manage">
     <configuration default="false" name="manage" type="PythonConfigurationType" factoryName="Python" temporary="true">
       <option name="INTERPRETER_OPTIONS" value="" />
       <option name="PARENT_ENVS" value="true" />
@@ -571,8 +531,8 @@
     </list>
     <recent_temporary>
       <list size="3">
-        <item index="0" class="java.lang.String" itemvalue="Python.lianxi (1)" />
-        <item index="1" class="java.lang.String" itemvalue="Python.manage" />
+        <item index="0" class="java.lang.String" itemvalue="Python.manage" />
+        <item index="1" class="java.lang.String" itemvalue="Python.lianxi (1)" />
         <item index="2" class="java.lang.String" itemvalue="Python.lianxi" />
       </list>
     </recent_temporary>
@@ -595,17 +555,24 @@
       <option name="project" value="LOCAL" />
       <updated>1593326176513</updated>
     </task>
-    <option name="localTasksCounter" value="2" />
+    <task id="LOCAL-00002" summary="派工扫码完成">
+      <created>1593595271706</created>
+      <option name="number" value="00002" />
+      <option name="presentableId" value="LOCAL-00002" />
+      <option name="project" value="LOCAL" />
+      <updated>1593595271706</updated>
+    </task>
+    <option name="localTasksCounter" value="3" />
     <servers />
   </component>
   <component name="ToolWindowManager">
     <frame x="-8" y="-8" width="1936" height="1056" extended-state="6" />
     <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.14658849" sideWeight="0.5" 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.15884861" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
       <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
       <window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="7" side_tool="true" content_ui="tabs" />
       <window_info id="Database" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
-      <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.22234273" sideWeight="0.5" order="2" 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.30043384" sideWeight="0.5" 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="7" 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="7" 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" />
@@ -630,11 +597,12 @@
   </component>
   <component name="VcsManagerConfiguration">
     <MESSAGE value="转移不选择过滤完成" />
-    <option name="LAST_COMMIT_MESSAGE" value="转移不选择过滤完成" />
+    <MESSAGE value="派工扫码完成" />
+    <option name="LAST_COMMIT_MESSAGE" value="派工扫码完成" />
   </component>
   <component name="XDebuggerManager">
     <breakpoint-manager>
-      <option name="time" value="5" />
+      <option name="time" value="6" />
     </breakpoint-manager>
     <watches-manager />
   </component>
@@ -872,13 +840,6 @@
         </state>
       </provider>
     </entry>
-    <entry file="file://$PROJECT_DIR$/obj/apps/bg/bgutils.py">
-      <provider selected="true" editor-type-id="text-editor">
-        <state relative-caret-position="108">
-          <caret line="5" column="27" lean-forward="false" selection-start-line="5" selection-start-column="27" selection-end-line="5" selection-end-column="27" />
-        </state>
-      </provider>
-    </entry>
     <entry file="file://$PROJECT_DIR$/start.txt">
       <provider selected="true" editor-type-id="text-editor">
         <state relative-caret-position="54">
@@ -908,19 +869,10 @@
         </state>
       </provider>
     </entry>
-    <entry file="file://$PROJECT_DIR$/obj/apps/bsdata/urls.py">
-      <provider selected="true" editor-type-id="text-editor">
-        <state relative-caret-position="162">
-          <caret line="7" column="1" lean-forward="false" selection-start-line="7" selection-start-column="1" selection-end-line="7" selection-end-column="1" />
-          <folding />
-        </state>
-      </provider>
-    </entry>
     <entry file="file://$PROJECT_DIR$/obj/apps/bsdata/models.py">
       <provider selected="true" editor-type-id="text-editor">
         <state relative-caret-position="432">
           <caret line="17" column="26" lean-forward="false" selection-start-line="17" selection-start-column="26" selection-end-line="17" selection-end-column="26" />
-          <folding />
         </state>
       </provider>
     </entry>
@@ -928,165 +880,176 @@
       <provider selected="true" editor-type-id="text-editor">
         <state relative-caret-position="297">
           <caret line="11" column="23" lean-forward="true" selection-start-line="11" selection-start-column="23" selection-end-line="11" selection-end-column="23" />
-          <folding />
         </state>
       </provider>
     </entry>
-    <entry file="file://$PROJECT_DIR$/obj/apps/bsdata/views.py">
+    <entry file="file://$PROJECT_DIR$/obj/settings/dev.py">
       <provider selected="true" editor-type-id="text-editor">
-        <state relative-caret-position="783">
-          <caret line="56" column="17" lean-forward="false" selection-start-line="56" selection-start-column="17" selection-end-line="56" selection-end-column="17" />
-          <folding>
-            <element signature="e#0#35#0" expanded="true" />
-            <element signature="e#505#982#0" expanded="false" />
-            <element signature="e#1016#1806#0" expanded="false" />
-            <marker date="1593484228754" expanded="true" signature="777:860" ph="select sal_n... " />
-            <marker date="1593484228754" expanded="true" signature="1421:1503" ph="select zc_no... " />
-            <marker date="1593484228754" expanded="true" signature="1560:1670" ph="select zc_no... " />
-          </folding>
+        <state relative-caret-position="3618">
+          <caret line="134" column="8" lean-forward="false" selection-start-line="134" selection-start-column="8" selection-end-line="134" selection-end-column="8" />
         </state>
       </provider>
     </entry>
-    <entry file="file://$PROJECT_DIR$/obj/utils/executeQuery.py">
+    <entry file="file://$PROJECT_DIR$/obj/apps/bg/utils.py">
       <provider selected="true" editor-type-id="text-editor">
-        <state relative-caret-position="405">
-          <caret line="15" column="17" lean-forward="false" selection-start-line="15" selection-start-column="17" selection-end-line="15" selection-end-column="17" />
+        <state relative-caret-position="0">
+          <caret line="0" column="17" lean-forward="false" selection-start-line="0" selection-start-column="6" selection-end-line="0" selection-end-column="17" />
           <folding />
         </state>
       </provider>
     </entry>
+    <entry file="file://$USER_HOME$/Envs/lixin/Lib/site-packages/django/db/transaction.py">
+      <provider selected="true" editor-type-id="text-editor">
+        <state relative-caret-position="569">
+          <caret line="59" column="4" lean-forward="false" selection-start-line="59" selection-start-column="4" selection-end-line="59" selection-end-column="4" />
+        </state>
+      </provider>
+    </entry>
     <entry file="file://$PROJECT_DIR$/obj/apps/bsdata/lianxi.py">
       <provider selected="true" editor-type-id="text-editor">
-        <state relative-caret-position="486">
-          <caret line="39" column="40" lean-forward="true" selection-start-line="39" selection-start-column="40" selection-end-line="39" selection-end-column="40" />
-          <folding />
+        <state relative-caret-position="1053">
+          <caret line="39" column="12" lean-forward="false" selection-start-line="39" selection-start-column="12" selection-end-line="39" selection-end-column="12" />
         </state>
       </provider>
     </entry>
-    <entry file="file://$PROJECT_DIR$/obj/utils/ClssSql.py">
+    <entry file="file://$PROJECT_DIR$/obj/apps/bsdata/views.py">
       <provider selected="true" editor-type-id="text-editor">
-        <state relative-caret-position="571">
-          <caret line="153" column="12" lean-forward="false" selection-start-line="153" selection-start-column="4" selection-end-line="153" selection-end-column="12" />
+        <state relative-caret-position="367">
+          <caret line="55" column="31" lean-forward="false" selection-start-line="55" selection-start-column="31" selection-end-line="55" selection-end-column="31" />
           <folding>
-            <element signature="e#48#658#0" expanded="false" />
-            <element signature="e#3204#3214#0" expanded="false" />
-            <marker date="1593588360236" expanded="false" signature="671:1045" ph="select left(... " />
-            <marker date="1593588360236" expanded="true" signature="1094:1242" ph="INSERT INTO MF_TZ_Z... " />
-            <marker date="1593588360236" expanded="true" signature="1121:1148" ph="SELECT A.TZ_... MF_TZ" />
-            <marker date="1593588360236" expanded="true" signature="1284:1440" ph="select max(r... django_mf_bg" />
-            <marker date="1593588360236" expanded="true" signature="1499:1800" ph="select zt_no... Django_tf_bg" />
-            <marker date="1593588360236" expanded="true" signature="1603:1755" ph="select a.tz_... mf_tz" />
-            <marker date="1593588360236" expanded="true" signature="1852:2079" ph="select left(... " />
-            <marker date="1593588360236" expanded="true" signature="2105:2563" ph="select left(... " />
-            <marker date="1593588360236" expanded="true" signature="2603:2761" ph="select a.use... users" />
-            <marker date="1593588360236" expanded="false" signature="2818:3196" ph="select left(... " />
-            <marker date="1593588360236" expanded="true" signature="3235:4278" ph="select 0 as MF_TZ" />
-            <marker date="1593588360236" expanded="true" signature="3235:4320" ph="select 0 as MF_TZ" />
-            <marker date="1593588360236" expanded="true" signature="3542:3608" ph="select isnul... zc_no" />
-            <marker date="1593588360236" expanded="true" signature="3629:3695" ph="select isnul... zc_no" />
-            <marker date="1593588360236" expanded="true" signature="3769:3983" ph="select aa.sc... tf_pos_z" />
-            <marker date="1593588360236" expanded="true" signature="4346:4418" ph="select count... django_mf_bg" />
-            <marker date="1593588360236" expanded="false" signature="4440:5834" ph="select 0 as MF_TZ" />
-            <marker date="1593588360236" expanded="true" signature="4958:5024" ph="select isnul... zc_no" />
-            <marker date="1593588360236" expanded="true" signature="5039:5105" ph="select isnul... zc_no" />
-            <marker date="1593588360236" expanded="true" signature="5284:5493" ph="select aa.sc... tf_pos_z" />
-            <marker date="1593588360236" expanded="false" signature="5856:6950" ph="select 0 as MF_TZ" />
-            <marker date="1593588360236" expanded="true" signature="6185:6251" ph="select isnul... zc_no" />
-            <marker date="1593588360236" expanded="true" signature="6274:6340" ph="select isnul... zc_no" />
-            <marker date="1593588360236" expanded="true" signature="6445:6663" ph="select aa.sc... tf_pos_z" />
-            <marker date="1593588360236" expanded="false" signature="6972:8300" ph="select 0 as MF_TZ" />
-            <marker date="1593588360236" expanded="true" signature="7302:7368" ph="select isnul... zc_no" />
-            <marker date="1593588360236" expanded="true" signature="7391:7457" ph="select isnul... zc_no" />
-            <marker date="1593588360236" expanded="true" signature="7477:7695" ph="select top 1... django_mf_bg" />
-            <marker date="1593588360236" expanded="true" signature="7794:8012" ph="select aa.sc... tf_pos_z" />
-            <marker date="1593588360236" expanded="false" signature="8334:9518" ph="select 0 as MF_TZ" />
-            <marker date="1593588360236" expanded="true" signature="8334:9539" ph="select 0 as MF_TZ" />
-            <marker date="1593588360236" expanded="true" signature="8709:8775" ph="select isnul... zc_no" />
-            <marker date="1593588360236" expanded="true" signature="8798:8864" ph="select isnul... zc_no" />
-            <marker date="1593588360236" expanded="true" signature="8991:9209" ph="select aa.sc... tf_pos_z" />
-            <marker date="1593588360236" expanded="false" signature="9573:10804" ph="select 0 as MF_TZ" />
-            <marker date="1593588360236" expanded="true" signature="9956:10022" ph="select isnul... zc_no" />
-            <marker date="1593588360236" expanded="true" signature="10049:10115" ph="select isnul... zc_no" />
-            <marker date="1593588360236" expanded="true" signature="10254:10476" ph="select aa.sc... tf_pos_z" />
-            <marker date="1593588360236" expanded="false" signature="10840:11334" ph="insert into users... " />
-            <marker date="1593588360236" expanded="true" signature="10971:11334" ph="select '' as... PSWD" />
-            <marker date="1593588360236" expanded="true" signature="11292:11318" ph="select usern... users" />
-            <marker date="1593588360236" expanded="true" signature="11396:11643" ph="update a set... " />
-            <marker date="1593588360236" expanded="true" signature="11696:11983" ph="update a set... " />
-            <marker date="1593588360236" expanded="true" signature="12029:12135" ph="update MF_TZ... " />
-            <marker date="1593588360236" expanded="true" signature="12182:12356" ph="update MF_TZ... " />
-            <marker date="1593588360236" expanded="true" signature="12401:12682" ph="SELECT ISNUL... MF_TZ" />
-            <marker date="1593588360236" expanded="true" signature="12735:12853" ph="select isnul... mf_tz_z" />
-            <marker date="1593588360236" expanded="true" signature="12888:12994" ph="update MF_TZ... " />
-            <marker date="1593588360236" expanded="true" signature="13015:13262" ph="update a set... " />
-            <marker date="1593588360236" expanded="true" signature="13282:13394" ph="select isnul... MF_TZ_Z" />
-            <marker date="1593588360236" expanded="true" signature="13439:13545" ph="update MF_TZ... " />
-            <marker date="1593588360236" expanded="true" signature="13567:13813" ph="update a set... " />
-            <marker date="1593588360236" expanded="true" signature="13833:13945" ph="select isnul... MF_TZ_Z" />
-            <marker date="1593588360236" expanded="true" signature="14005:14111" ph="update MF_TZ... " />
-            <marker date="1593588360236" expanded="true" signature="14148:14262" ph="update MF_TZ... " />
-            <marker date="1593588360236" expanded="true" signature="14302:14546" ph="update a set... " />
-            <marker date="1593588360236" expanded="true" signature="14585:14947" ph="update a set... " />
-            <marker date="1593588360236" expanded="true" signature="14994:15305" ph="update a set... " />
-            <marker date="1593588360236" expanded="true" signature="15346:15598" ph="update a set... " />
-            <marker date="1593588360236" expanded="true" signature="15618:15752" ph="select isnul... MF_TZ_Z" />
-            <marker date="1593588360236" expanded="true" signature="15793:15916" ph="select a.QTY... MF_TZ" />
-            <marker date="1593588360236" expanded="true" signature="15937:16068" ph="update a set... " />
-            <marker date="1593588360236" expanded="true" signature="16091:16138" ph="update mf_tz... " />
-            <marker date="1593588360236" expanded="true" signature="16163:16210" ph="update mf_tz... " />
-            <marker date="1593588360236" expanded="true" signature="16259:16415" ph="update a set... " />
+            <marker date="1593765548412" expanded="true" signature="777:860" ph="select sal_n... " />
+            <marker date="1593765548412" expanded="true" signature="1421:1503" ph="select zc_no... " />
+            <marker date="1593765548412" expanded="true" signature="1560:1670" ph="select zc_no... " />
           </folding>
         </state>
       </provider>
     </entry>
-    <entry file="file://$PROJECT_DIR$/obj/settings/dev.py">
+    <entry file="file://$PROJECT_DIR$/obj/utils/executeQuery.py">
       <provider selected="true" editor-type-id="text-editor">
-        <state relative-caret-position="574">
-          <caret line="134" column="8" lean-forward="false" selection-start-line="134" selection-start-column="8" selection-end-line="134" selection-end-column="8" />
+        <state relative-caret-position="216">
+          <caret line="26" column="4" lean-forward="false" selection-start-line="26" selection-start-column="4" selection-end-line="26" selection-end-column="4" />
           <folding />
         </state>
       </provider>
     </entry>
-    <entry file="file://$PROJECT_DIR$/obj/apps/bg/utils.py">
+    <entry file="file://$PROJECT_DIR$/obj/apps/bsdata/urls.py">
       <provider selected="true" editor-type-id="text-editor">
-        <state relative-caret-position="0">
-          <caret line="0" column="17" lean-forward="false" selection-start-line="0" selection-start-column="6" selection-end-line="0" selection-end-column="17" />
+        <state relative-caret-position="162">
+          <caret line="7" column="1" lean-forward="false" selection-start-line="7" selection-start-column="1" selection-end-line="7" selection-end-column="1" />
           <folding />
         </state>
       </provider>
     </entry>
-    <entry file="file://$USER_HOME$/Envs/lixin/Lib/site-packages/django/db/transaction.py">
+    <entry file="file://$PROJECT_DIR$/obj/apps/bg/bgutils.py">
       <provider selected="true" editor-type-id="text-editor">
-        <state relative-caret-position="217">
-          <caret line="59" column="4" lean-forward="false" selection-start-line="59" selection-start-column="4" selection-end-line="59" selection-end-column="4" />
+        <state relative-caret-position="162">
+          <caret line="7" column="10" lean-forward="false" selection-start-line="7" selection-start-column="10" selection-end-line="7" selection-end-column="10" />
           <folding />
         </state>
       </provider>
     </entry>
     <entry file="file://$PROJECT_DIR$/obj/apps/bg/views.py">
       <provider selected="true" editor-type-id="text-editor">
-        <state relative-caret-position="165">
-          <caret line="456" column="17" lean-forward="true" selection-start-line="456" selection-start-column="17" selection-end-line="456" selection-end-column="17" />
+        <state relative-caret-position="526">
+          <caret line="846" column="14" lean-forward="true" selection-start-line="846" selection-start-column="14" selection-end-line="846" selection-end-column="14" />
           <folding>
             <element signature="e#0#48#0" expanded="true" />
             <element signature="e#859#930#0" expanded="false" />
-            <element signature="e#1076#3758#0" expanded="false" />
-            <element signature="e#2206#2749#0" expanded="false" />
-            <element signature="e#3603#3701#0" expanded="false" />
-            <element signature="e#3788#13264#0" expanded="false" />
-            <element signature="e#4051#6764#0" expanded="false" />
-            <element signature="e#11078#13262#0" expanded="false" />
-            <element signature="e#13556#16134#0" expanded="false" />
-            <element signature="e#20582#22367#0" expanded="false" />
-            <element signature="e#22661#25108#0" expanded="false" />
-            <element signature="e#25169#29641#0" expanded="false" />
-            <element signature="e#29701#30853#0" expanded="false" />
-            <element signature="e#30917#32726#0" expanded="false" />
-            <element signature="e#33019#35437#0" expanded="false" />
-            <element signature="e#35498#38727#0" expanded="false" />
-            <element signature="e#38787#40759#0" expanded="false" />
-            <element signature="e#40823#43618#0" expanded="false" />
-            <element signature="e#41647#42210#0" expanded="false" />
+            <element signature="e#1076#3650#0" expanded="false" />
+            <element signature="e#3943#6656#0" expanded="false" />
+            <element signature="e#6717#9556#0" expanded="false" />
+            <element signature="e#9616#10906#0" expanded="false" />
+            <element signature="e#10970#14077#0" expanded="false" />
+            <element signature="e#14371#16949#0" expanded="false" />
+            <element signature="e#17010#20146#0" expanded="false" />
+            <element signature="e#20206#21356#0" expanded="false" />
+            <element signature="e#21420#24115#0" expanded="false" />
+            <element signature="e#24409#26856#0" expanded="false" />
+            <element signature="e#26917#30076#0" expanded="false" />
+            <element signature="e#30136#31288#0" expanded="false" />
+            <element signature="e#31352#34021#0" expanded="false" />
+            <element signature="e#34314#36732#0" expanded="false" />
+            <element signature="e#36793#40022#0" expanded="false" />
+            <element signature="e#40082#42067#0" expanded="false" />
+            <element signature="e#42131#45828#0" expanded="false" />
+          </folding>
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/obj/utils/ClssSql.py">
+      <provider selected="true" editor-type-id="text-editor">
+        <state relative-caret-position="234">
+          <caret line="64" column="143" lean-forward="true" selection-start-line="64" selection-start-column="143" selection-end-line="64" selection-end-column="143" />
+          <folding>
+            <element signature="e#48#658#0" expanded="false" />
+            <element signature="e#3204#3214#0" expanded="false" />
+            <marker date="1594008242924" expanded="false" signature="671:1045" ph="select left(... " />
+            <marker date="1594008242924" expanded="true" signature="1094:1242" ph="INSERT INTO MF_TZ_Z... " />
+            <marker date="1594008242924" expanded="true" signature="1121:1148" ph="SELECT A.TZ_... MF_TZ" />
+            <marker date="1594008242924" expanded="true" signature="1284:1440" ph="select max(r... django_mf_bg" />
+            <marker date="1594008242924" expanded="true" signature="1499:1800" ph="select zt_no... Django_tf_bg" />
+            <marker date="1594008242924" expanded="true" signature="1603:1755" ph="select a.tz_... mf_tz" />
+            <marker date="1594008242924" expanded="true" signature="1852:2079" ph="select left(... " />
+            <marker date="1594008242924" expanded="false" signature="2105:2563" ph="select left(... " />
+            <marker date="1594008242924" expanded="true" signature="2603:2761" ph="select a.use... users" />
+            <marker date="1594008242924" expanded="false" signature="2818:3196" ph="select left(... " />
+            <marker date="1594008242924" expanded="true" signature="3235:4278" ph="select 0 as MF_TZ" />
+            <marker date="1594008242924" expanded="true" signature="3235:4320" ph="select 0 as MF_TZ" />
+            <marker date="1594008242924" expanded="true" signature="3542:3608" ph="select isnul... zc_no" />
+            <marker date="1594008242924" expanded="true" signature="3629:3695" ph="select isnul... zc_no" />
+            <marker date="1594008242924" expanded="true" signature="3769:3983" ph="select aa.sc... tf_pos_z" />
+            <marker date="1594008242924" expanded="true" signature="4346:4418" ph="select count... django_mf_bg" />
+            <marker date="1594008242924" expanded="false" signature="4440:5834" ph="select 0 as MF_TZ" />
+            <marker date="1594008242924" expanded="true" signature="4958:5024" ph="select isnul... zc_no" />
+            <marker date="1594008242924" expanded="true" signature="5039:5105" ph="select isnul... zc_no" />
+            <marker date="1594008242924" expanded="true" signature="5284:5493" ph="select aa.sc... tf_pos_z" />
+            <marker date="1594008242924" expanded="false" signature="5903:6997" ph="select 0 as MF_TZ" />
+            <marker date="1594008242924" expanded="true" signature="6232:6298" ph="select isnul... zc_no" />
+            <marker date="1594008242924" expanded="true" signature="6321:6387" ph="select isnul... zc_no" />
+            <marker date="1594008242924" expanded="true" signature="6492:6710" ph="select aa.sc... tf_pos_z" />
+            <marker date="1594008242924" expanded="false" signature="7019:8347" ph="select 0 as MF_TZ" />
+            <marker date="1594008242924" expanded="true" signature="7349:7415" ph="select isnul... zc_no" />
+            <marker date="1594008242924" expanded="true" signature="7438:7504" ph="select isnul... zc_no" />
+            <marker date="1594008242924" expanded="true" signature="7524:7742" ph="select top 1... django_mf_bg" />
+            <marker date="1594008242924" expanded="true" signature="7841:8059" ph="select aa.sc... tf_pos_z" />
+            <marker date="1594008242924" expanded="false" signature="8381:9565" ph="select 0 as MF_TZ" />
+            <marker date="1594008242924" expanded="true" signature="8381:9586" ph="select 0 as MF_TZ" />
+            <marker date="1594008242924" expanded="true" signature="8756:8822" ph="select isnul... zc_no" />
+            <marker date="1594008242924" expanded="true" signature="8845:8911" ph="select isnul... zc_no" />
+            <marker date="1594008242924" expanded="true" signature="9038:9256" ph="select aa.sc... tf_pos_z" />
+            <marker date="1594008242924" expanded="false" signature="9620:10851" ph="select 0 as MF_TZ" />
+            <marker date="1594008242924" expanded="true" signature="10003:10069" ph="select isnul... zc_no" />
+            <marker date="1594008242924" expanded="true" signature="10096:10162" ph="select isnul... zc_no" />
+            <marker date="1594008242924" expanded="true" signature="10301:10523" ph="select aa.sc... tf_pos_z" />
+            <marker date="1594008242924" expanded="false" signature="10887:11381" ph="insert into users... " />
+            <marker date="1594008242924" expanded="true" signature="11018:11381" ph="select '' as... PSWD" />
+            <marker date="1594008242924" expanded="true" signature="11339:11365" ph="select usern... users" />
+            <marker date="1594008242924" expanded="true" signature="11443:11690" ph="update a set... " />
+            <marker date="1594008242924" expanded="true" signature="11743:12030" ph="update a set... " />
+            <marker date="1594008242924" expanded="true" signature="12076:12182" ph="update MF_TZ... " />
+            <marker date="1594008242924" expanded="true" signature="12229:12403" ph="update MF_TZ... " />
+            <marker date="1594008242924" expanded="true" signature="12448:12929" ph="SELECT ISNUL... MF_TZ" />
+            <marker date="1594008242924" expanded="true" signature="12982:13100" ph="select isnul... mf_tz_z" />
+            <marker date="1594008242924" expanded="true" signature="13135:13241" ph="update MF_TZ... " />
+            <marker date="1594008242924" expanded="true" signature="13262:13509" ph="update a set... " />
+            <marker date="1594008242924" expanded="true" signature="13529:13729" ph="select isnul... MF_TZ_Z" />
+            <marker date="1594008242924" expanded="true" signature="13782:13933" ph="select isnul... mf_tz_z" />
+            <marker date="1594008242924" expanded="true" signature="13968:14074" ph="update MF_TZ... " />
+            <marker date="1594008242924" expanded="true" signature="14096:14342" ph="update a set... " />
+            <marker date="1594008242924" expanded="true" signature="14362:14562" ph="select isnul... MF_TZ_Z" />
+            <marker date="1594008242924" expanded="true" signature="14622:14728" ph="update MF_TZ... " />
+            <marker date="1594008242924" expanded="true" signature="14765:14879" ph="update MF_TZ... " />
+            <marker date="1594008242924" expanded="false" signature="14919:15163" ph="update a set... " />
+            <marker date="1594008242924" expanded="true" signature="15202:15564" ph="update a set... " />
+            <marker date="1594008242924" expanded="true" signature="15611:15922" ph="update a set... " />
+            <marker date="1594008242924" expanded="true" signature="15963:16215" ph="update a set... " />
+            <marker date="1594008242924" expanded="true" signature="16235:16604" ph="select isnul... MF_TZ_Z" />
+            <marker date="1594008242924" expanded="true" signature="16412:16528" ph="select aa.qt... MF_TZ_Z" />
+            <marker date="1594008242924" expanded="true" signature="16645:16768" ph="select a.QTY... MF_TZ" />
+            <marker date="1594008242924" expanded="true" signature="16789:16920" ph="update a set... " />
+            <marker date="1594008242924" expanded="true" signature="16943:16990" ph="update mf_tz... " />
+            <marker date="1594008242924" expanded="true" signature="17015:17062" ph="update mf_tz... " />
+            <marker date="1594008242924" expanded="true" signature="17111:17267" ph="update a set... " />
           </folding>
         </state>
       </provider>

+ 1537 - 0
logs/hwj.log

@@ -50517,3 +50517,1540 @@ INFO 2020-07-01 17:17:39,851 basehttp 154 "GET /pg/?to_date=2020-07-01&end_date=
 INFO 2020-07-01 17:17:41,063 basehttp 154 "GET /pg/?to_date=2020-07-01&end_date=2020-07-01&bg_id=PG&select_zc_no= HTTP/1.1" 200 43
 INFO 2020-07-01 17:17:41,550 basehttp 154 "GET /pg/?to_date=2020-07-01&end_date=2020-07-01&bg_id=PG&select_zc_no= HTTP/1.1" 200 43
 INFO 2020-07-01 17:17:41,913 basehttp 154 "GET /pg/?to_date=2020-07-01&end_date=2020-07-01&bg_id=PG&select_zc_no= HTTP/1.1" 200 43
+INFO 2020-07-02 13:22:10,720 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-07-02 13:23:39,407 basehttp 154 "OPTIONS /authorizations/ HTTP/1.1" 200 0
+INFO 2020-07-02 13:23:40,026 basehttp 154 "POST /authorizations/ HTTP/1.1" 200 273
+INFO 2020-07-02 13:23:40,064 basehttp 154 "OPTIONS /bar/ HTTP/1.1" 200 0
+INFO 2020-07-02 13:23:40,919 basehttp 154 "GET /bar/ HTTP/1.1" 200 1282
+INFO 2020-07-02 13:23:44,353 basehttp 154 "OPTIONS /salm/ HTTP/1.1" 200 0
+INFO 2020-07-02 13:23:44,354 basehttp 154 "OPTIONS /zcno/ HTTP/1.1" 200 0
+INFO 2020-07-02 13:23:44,585 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-02 13:23:44,611 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-02 13:23:44,976 basehttp 154 "GET /bar/ HTTP/1.1" 200 1282
+INFO 2020-07-02 13:23:45,707 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-02 13:23:45,719 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-02 13:23:53,353 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-02 13:23:53,364 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-03 11:29:12,260 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-07-03 11:29:21,682 basehttp 154 "OPTIONS /authorizations/ HTTP/1.1" 200 0
+INFO 2020-07-03 11:29:23,172 basehttp 154 "POST /authorizations/ HTTP/1.1" 200 273
+INFO 2020-07-03 11:29:23,203 basehttp 154 "OPTIONS /bar/ HTTP/1.1" 200 0
+INFO 2020-07-03 11:29:23,896 basehttp 154 "GET /bar/ HTTP/1.1" 200 1282
+INFO 2020-07-03 11:29:25,880 basehttp 154 "OPTIONS /salm/ HTTP/1.1" 200 0
+INFO 2020-07-03 11:29:25,885 basehttp 154 "OPTIONS /zcno/ HTTP/1.1" 200 0
+INFO 2020-07-03 11:29:26,138 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-03 11:29:26,264 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-03 11:29:32,807 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-03 11:29:32,894 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-03 11:29:33,303 basehttp 154 "GET /bar/ HTTP/1.1" 200 1282
+INFO 2020-07-03 11:29:39,338 basehttp 154 "OPTIONS /bg/?to_date=2020-07-01&end_date=2020-07-03&bg_id=JS&select_zc_no= HTTP/1.1" 200 0
+INFO 2020-07-03 11:29:39,541 basehttp 154 "GET /bg/?to_date=2020-07-01&end_date=2020-07-03&bg_id=JS&select_zc_no= HTTP/1.1" 200 925
+INFO 2020-07-03 11:29:43,387 basehttp 154 "OPTIONS /bg/?filter_no=JS20200701004 HTTP/1.1" 200 0
+INFO 2020-07-03 11:29:43,784 basehttp 154 "GET /bg/?filter_no=JS20200701004 HTTP/1.1" 200 711
+INFO 2020-07-03 11:29:49,665 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-03 11:29:49,669 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-03 11:29:59,819 basehttp 154 "OPTIONS /tzinfo/?mo_no=%09MO06180002&zc_no=B06&bg_id=PG HTTP/1.1" 200 0
+INFO 2020-07-03 11:30:00,101 basehttp 154 "GET /tzinfo/?mo_no=%09MO06180002&zc_no=B06&bg_id=PG HTTP/1.1" 200 53
+INFO 2020-07-03 11:30:04,306 basehttp 154 "OPTIONS /tzinfo/?mo_no=MO06180002&zc_no=B06&bg_id=PG HTTP/1.1" 200 0
+INFO 2020-07-03 11:30:04,483 basehttp 154 "GET /tzinfo/?mo_no=MO06180002&zc_no=B06&bg_id=PG HTTP/1.1" 200 389
+INFO 2020-07-03 11:32:38,533 basehttp 154 "GET /tzinfo/?mo_no=MO06180002&zc_no=B06&bg_id=PG HTTP/1.1" 200 389
+INFO 2020-07-03 11:32:51,727 basehttp 154 "OPTIONS /pg/ HTTP/1.1" 200 0
+INFO 2020-07-03 11:32:53,674 basehttp 154 "POST /pg/ HTTP/1.1" 200 52
+INFO 2020-07-03 11:35:01,727 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-03 11:35:01,751 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-03 11:35:02,199 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-03 11:35:02,377 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-03 11:35:02,777 basehttp 154 "GET /bar/ HTTP/1.1" 200 1282
+INFO 2020-07-03 11:35:07,898 basehttp 154 "GET /tzinfo/?mo_no=MO06180002&zc_no=B06&bg_id=PG HTTP/1.1" 200 389
+INFO 2020-07-03 11:35:12,753 basehttp 154 "GET /tzinfo/?mo_no=MO06180002&zc_no=B06&bg_id=PG HTTP/1.1" 200 389
+INFO 2020-07-03 11:35:22,775 basehttp 154 "POST /pg/ HTTP/1.1" 200 46
+INFO 2020-07-03 11:35:30,266 basehttp 154 "GET /tzinfo/?mo_no=MO06180002&zc_no=B06&bg_id=PG HTTP/1.1" 200 386
+INFO 2020-07-03 11:35:37,057 basehttp 154 "DELETE /pg/ HTTP/1.1" 200 22
+INFO 2020-07-03 11:35:41,089 basehttp 154 "GET /tzinfo/?mo_no=MO06180002&zc_no=B06&bg_id=PG HTTP/1.1" 200 386
+INFO 2020-07-03 11:36:13,192 basehttp 154 "OPTIONS /pg/?to_date=2020-07-03&end_date=2020-07-03&bg_id=PG&select_zc_no= HTTP/1.1" 200 0
+INFO 2020-07-03 11:36:14,102 basehttp 154 "GET /pg/?to_date=2020-07-03&end_date=2020-07-03&bg_id=PG&select_zc_no= HTTP/1.1" 200 266
+INFO 2020-07-03 11:36:16,917 basehttp 154 "OPTIONS /pg/?filter_no=PG20200703001 HTTP/1.1" 200 0
+INFO 2020-07-03 11:36:17,562 basehttp 154 "GET /pg/?filter_no=PG20200703001 HTTP/1.1" 200 1136
+INFO 2020-07-03 11:45:34,787 basehttp 154 "GET /pg/?filter_no=PG20200703001 HTTP/1.1" 200 1136
+INFO 2020-07-03 11:45:35,604 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-03 11:45:35,620 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-03 11:45:41,636 basehttp 154 "GET /pg/?to_date=2020-07-03&end_date=2020-07-03&bg_id=PG&select_zc_no= HTTP/1.1" 200 266
+INFO 2020-07-03 11:45:44,158 basehttp 154 "GET /pg/?filter_no=PG20200703001 HTTP/1.1" 200 1136
+INFO 2020-07-03 11:45:46,261 basehttp 154 "DELETE /pg/ HTTP/1.1" 200 22
+INFO 2020-07-03 11:46:07,913 basehttp 154 "GET /tzinfo/?mo_no=MO06180002&zc_no=B06&bg_id=PG HTTP/1.1" 200 389
+INFO 2020-07-03 11:47:44,025 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-03 11:47:44,042 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-03 11:48:51,890 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-03 11:48:51,975 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-03 11:49:30,281 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-03 11:49:30,281 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-03 11:49:45,532 basehttp 154 "GET /tzinfo/?mo_no=MO06180002&zc_no=B06&bg_id=PG HTTP/1.1" 200 389
+INFO 2020-07-03 11:49:54,126 basehttp 154 "GET /tzinfo/?mo_no=MO06180002&zc_no=B06&bg_id=PG HTTP/1.1" 200 389
+INFO 2020-07-03 13:03:16,437 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-03 13:03:16,439 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-03 13:03:16,854 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-03 13:03:16,863 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-03 13:03:16,943 basehttp 154 "GET /bar/ HTTP/1.1" 200 1282
+INFO 2020-07-03 13:03:27,287 basehttp 154 "GET /tzinfo/?mo_no=MO06180002&zc_no=B06&bg_id=PG HTTP/1.1" 200 389
+INFO 2020-07-03 13:03:32,028 basehttp 154 "GET /tzinfo/?mo_no=MO06180002&zc_no=B06&bg_id=PG HTTP/1.1" 200 389
+INFO 2020-07-03 13:03:37,934 basehttp 154 "GET /tzinfo/?mo_no=MO06180002&zc_no=B06&bg_id=PG HTTP/1.1" 200 389
+INFO 2020-07-03 13:05:32,841 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-03 13:05:32,870 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-03 13:05:33,294 basehttp 154 "GET /bar/ HTTP/1.1" 200 1282
+INFO 2020-07-03 13:05:33,555 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-03 13:05:33,628 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-03 13:05:45,152 basehttp 154 "GET /tzinfo/?mo_no=MO06180002&zc_no=B06&bg_id=PG HTTP/1.1" 200 389
+INFO 2020-07-03 13:06:38,921 basehttp 154 "GET /tzinfo/?mo_no=MO06180002&zc_no=B06&bg_id=PG HTTP/1.1" 200 389
+INFO 2020-07-03 13:07:12,519 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-03 13:07:12,609 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-03 13:07:29,355 basehttp 154 "GET /tzinfo/?mo_no=MO06180002&zc_no=B06&bg_id=PG HTTP/1.1" 200 389
+INFO 2020-07-03 13:08:16,647 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-03 13:08:16,649 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-03 13:08:27,823 basehttp 154 "GET /tzinfo/?mo_no=MO06180002&zc_no=B06&bg_id=PG HTTP/1.1" 200 389
+INFO 2020-07-03 13:08:33,972 basehttp 154 "GET /tzinfo/?mo_no=MO06180002&zc_no=B06&bg_id=PG HTTP/1.1" 200 389
+INFO 2020-07-03 13:09:55,674 basehttp 154 "POST /pg/ HTTP/1.1" 200 46
+INFO 2020-07-03 13:09:58,600 basehttp 154 "DELETE /pg/ HTTP/1.1" 200 22
+INFO 2020-07-03 13:10:01,182 basehttp 154 "GET /tzinfo/?mo_no=MO06180002&zc_no=B06&bg_id=PG HTTP/1.1" 200 386
+INFO 2020-07-03 13:10:11,323 basehttp 154 "GET /pg/?to_date=2020-07-03&end_date=2020-07-03&bg_id=PG&select_zc_no= HTTP/1.1" 200 266
+INFO 2020-07-03 13:10:14,169 basehttp 154 "GET /pg/?filter_no=PG20200703001 HTTP/1.1" 200 1136
+INFO 2020-07-03 13:10:34,338 basehttp 154 "DELETE /pg/ HTTP/1.1" 200 22
+INFO 2020-07-03 13:10:51,363 basehttp 154 "GET /pg/?to_date=2020-07-03&end_date=2020-07-03&bg_id=PG&select_zc_no= HTTP/1.1" 200 266
+INFO 2020-07-03 13:10:54,892 basehttp 154 "GET /pg/?filter_no=PG20200703001 HTTP/1.1" 200 1136
+INFO 2020-07-03 13:11:50,783 autoreload 217 E:\12446\PycharmProjects\lixin\obj\apps\bg\views.py changed, reloading.
+INFO 2020-07-03 13:11:52,291 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-07-03 13:11:56,246 basehttp 154 "DELETE /pg/ HTTP/1.1" 200 22
+INFO 2020-07-03 13:12:31,037 autoreload 217 E:\12446\PycharmProjects\lixin\obj\apps\bg\views.py changed, reloading.
+INFO 2020-07-03 13:12:32,123 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-07-03 13:12:38,633 basehttp 154 "GET /pg/?to_date=2020-07-03&end_date=2020-07-03&bg_id=PG&select_zc_no= HTTP/1.1" 200 266
+INFO 2020-07-03 13:12:41,243 basehttp 154 "GET /pg/?filter_no=PG20200703001 HTTP/1.1" 200 1136
+INFO 2020-07-03 13:12:51,906 basehttp 154 "DELETE /pg/ HTTP/1.1" 200 22
+INFO 2020-07-03 13:13:45,754 basehttp 154 "GET /pg/?to_date=2020-07-03&end_date=2020-07-03&bg_id=PG&select_zc_no= HTTP/1.1" 200 266
+INFO 2020-07-03 13:13:47,956 basehttp 154 "GET /pg/?filter_no=PG20200703001 HTTP/1.1" 200 1136
+INFO 2020-07-03 13:15:00,666 basehttp 154 "DELETE /pg/ HTTP/1.1" 200 22
+INFO 2020-07-03 13:15:28,343 basehttp 154 "GET /tzinfo/?mo_no=MO06180002&zc_no=B06&bg_id=PG HTTP/1.1" 200 389
+INFO 2020-07-03 13:15:35,267 basehttp 154 "GET /tzinfo/?mo_no=MO06180002&zc_no=B06&bg_id=PG HTTP/1.1" 200 389
+INFO 2020-07-03 13:15:41,321 basehttp 154 "POST /pg/ HTTP/1.1" 200 46
+INFO 2020-07-03 13:15:46,775 basehttp 154 "PUT /pg/ HTTP/1.1" 200 22
+INFO 2020-07-03 13:15:57,221 basehttp 154 "PUT /pg/ HTTP/1.1" 200 22
+INFO 2020-07-03 13:16:25,250 basehttp 154 "DELETE /pg/ HTTP/1.1" 200 22
+INFO 2020-07-03 13:17:55,510 autoreload 217 E:\12446\PycharmProjects\lixin\obj\apps\bg\views.py changed, reloading.
+INFO 2020-07-03 13:17:56,506 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-07-03 13:18:05,657 basehttp 154 "GET /pg/?to_date=2020-07-03&end_date=2020-07-03&bg_id=PG&select_zc_no= HTTP/1.1" 200 266
+INFO 2020-07-03 13:18:08,268 basehttp 154 "GET /pg/?filter_no=PG20200703001 HTTP/1.1" 200 1134
+INFO 2020-07-03 13:18:12,586 basehttp 154 "DELETE /pg/ HTTP/1.1" 200 22
+INFO 2020-07-03 13:18:47,675 autoreload 217 E:\12446\PycharmProjects\lixin\obj\apps\bg\views.py changed, reloading.
+INFO 2020-07-03 13:18:48,764 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-07-03 13:19:02,872 basehttp 154 "GET /pg/?to_date=2020-07-03&end_date=2020-07-03&bg_id=PG&select_zc_no= HTTP/1.1" 200 266
+INFO 2020-07-03 13:19:04,640 basehttp 154 "GET /pg/?filter_no=PG20200703001 HTTP/1.1" 200 1134
+INFO 2020-07-03 13:19:06,040 basehttp 154 "DELETE /pg/ HTTP/1.1" 200 22
+INFO 2020-07-03 13:19:28,603 autoreload 217 E:\12446\PycharmProjects\lixin\obj\apps\bg\views.py changed, reloading.
+INFO 2020-07-03 13:19:29,622 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-07-03 13:19:35,009 basehttp 154 "GET /pg/?to_date=2020-07-03&end_date=2020-07-03&bg_id=PG&select_zc_no= HTTP/1.1" 200 266
+INFO 2020-07-03 13:19:36,959 basehttp 154 "GET /pg/?filter_no=PG20200703001 HTTP/1.1" 200 1134
+INFO 2020-07-03 13:19:43,749 basehttp 154 "DELETE /pg/ HTTP/1.1" 200 22
+INFO 2020-07-03 13:21:06,953 autoreload 217 E:\12446\PycharmProjects\lixin\obj\apps\bg\views.py changed, reloading.
+INFO 2020-07-03 13:21:07,999 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-07-03 13:21:29,555 basehttp 154 "GET /pg/?to_date=2020-07-03&end_date=2020-07-03&bg_id=PG&select_zc_no= HTTP/1.1" 200 266
+INFO 2020-07-03 13:21:31,910 basehttp 154 "GET /pg/?filter_no=PG20200703001 HTTP/1.1" 200 1134
+INFO 2020-07-03 13:21:37,251 basehttp 154 "DELETE /pg/ HTTP/1.1" 200 22
+INFO 2020-07-03 13:24:10,645 autoreload 217 E:\12446\PycharmProjects\lixin\obj\apps\bg\views.py changed, reloading.
+INFO 2020-07-03 13:24:11,623 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-07-03 13:24:42,253 autoreload 217 E:\12446\PycharmProjects\lixin\obj\apps\bg\views.py changed, reloading.
+INFO 2020-07-03 13:24:43,295 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-07-03 13:24:48,956 basehttp 154 "GET /tzinfo/?mo_no=MO06180002&zc_no=B06&bg_id=PG HTTP/1.1" 200 386
+INFO 2020-07-03 13:24:55,905 basehttp 154 "GET /pg/?filter_no=PG20200703001 HTTP/1.1" 200 1134
+INFO 2020-07-03 13:25:07,923 basehttp 154 "DELETE /pg/ HTTP/1.1" 200 22
+INFO 2020-07-03 13:25:44,588 autoreload 217 E:\12446\PycharmProjects\lixin\obj\apps\bg\views.py changed, reloading.
+INFO 2020-07-03 13:25:45,583 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-07-03 13:25:52,988 basehttp 154 "GET /pg/?to_date=2020-07-03&end_date=2020-07-03&bg_id=PG&select_zc_no= HTTP/1.1" 200 266
+INFO 2020-07-03 13:25:54,843 basehttp 154 "GET /pg/?filter_no=PG20200703001 HTTP/1.1" 200 1134
+ERROR 2020-07-03 13:25:56,879 log 228 Internal Server Error: /pg/
+Traceback (most recent call last):
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
+    response = get_response(request)
+  File "C:\Users\12446\Envs\lixin\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\lixin\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
+    response = wrapped_callback(request, *callback_args, **callback_kwargs)
+  File "e:\12446\appdata\Lib\contextlib.py", line 74, in inner
+    return func(*args, **kwds)
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\django\views\decorators\csrf.py", line 54, in wrapped_view
+    return view_func(*args, **kwargs)
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\django\views\generic\base.py", line 71, in view
+    return self.dispatch(request, *args, **kwargs)
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\rest_framework\views.py", line 505, in dispatch
+    response = self.handle_exception(exc)
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\rest_framework\views.py", line 465, in handle_exception
+    self.raise_uncaught_exception(exc)
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\rest_framework\views.py", line 476, in raise_uncaught_exception
+    raise exc
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\rest_framework\views.py", line 502, in dispatch
+    response = handler(request, *args, **kwargs)
+  File "e:\12446\appdata\Lib\contextlib.py", line 74, in inner
+    return func(*args, **kwds)
+  File "E:\12446\PycharmProjects\lixin\obj\apps\bg\views.py", line 558, in delete
+    old_data = Django_tf_bg.objects.get(zt_no=scope.get('zt_no'), bg_id=scope.get('bg_id'),bg_no_id=scope.get('bg_no'))
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\django\db\models\manager.py", line 82, in manager_method
+    return getattr(self.get_queryset(), name)(*args, **kwargs)
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\django\db\models\query.py", line 412, in get
+    (self.model._meta.object_name, num)
+bg.models.Django_tf_bg.MultipleObjectsReturned: get() returned more than one Django_tf_bg -- it returned 2!
+ERROR 2020-07-03 13:25:56,881 basehttp 154 "DELETE /pg/ HTTP/1.1" 500 21191
+INFO 2020-07-03 13:28:00,328 autoreload 217 E:\12446\PycharmProjects\lixin\obj\apps\bg\views.py changed, reloading.
+INFO 2020-07-03 13:28:01,149 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-07-03 13:28:18,000 basehttp 154 "GET /pg/?to_date=2020-07-03&end_date=2020-07-03&bg_id=PG&select_zc_no= HTTP/1.1" 200 266
+INFO 2020-07-03 13:28:20,029 basehttp 154 "GET /pg/?filter_no=PG20200703001 HTTP/1.1" 200 1134
+INFO 2020-07-03 13:28:22,778 basehttp 154 "DELETE /pg/ HTTP/1.1" 200 22
+INFO 2020-07-03 13:28:26,837 basehttp 154 "GET /pg/?to_date=2020-07-03&end_date=2020-07-03&bg_id=PG&select_zc_no= HTTP/1.1" 200 266
+INFO 2020-07-03 13:28:28,638 basehttp 154 "GET /pg/?filter_no=PG20200703001 HTTP/1.1" 200 719
+INFO 2020-07-03 13:28:33,796 basehttp 154 "GET /tzinfo/?mo_no=MO06180002&zc_no=B06&bg_id=PG HTTP/1.1" 200 386
+INFO 2020-07-03 13:28:53,574 autoreload 217 E:\12446\PycharmProjects\lixin\obj\apps\bg\views.py changed, reloading.
+INFO 2020-07-03 13:28:54,446 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-07-03 13:29:41,438 autoreload 217 E:\12446\PycharmProjects\lixin\obj\apps\bg\views.py changed, reloading.
+INFO 2020-07-03 13:29:42,349 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-07-03 13:30:21,514 autoreload 217 E:\12446\PycharmProjects\lixin\obj\apps\bg\views.py changed, reloading.
+INFO 2020-07-03 13:30:22,429 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-07-03 13:30:46,822 autoreload 217 E:\12446\PycharmProjects\lixin\obj\apps\bg\views.py changed, reloading.
+INFO 2020-07-03 13:30:47,658 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-07-03 13:32:51,021 autoreload 217 E:\12446\PycharmProjects\lixin\obj\apps\bg\views.py changed, reloading.
+INFO 2020-07-03 13:32:52,002 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-07-03 13:35:09,315 basehttp 154 "OPTIONS /salm/ HTTP/1.1" 200 0
+INFO 2020-07-03 13:35:09,316 basehttp 154 "OPTIONS /zcno/ HTTP/1.1" 200 0
+INFO 2020-07-03 13:35:09,598 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-03 13:35:09,604 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-03 13:35:54,036 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-03 13:35:54,170 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-03 13:37:14,846 basehttp 154 "OPTIONS /pg/?to_date=2020-07-03&end_date=2020-07-03&bg_id=PG&select_zc_no= HTTP/1.1" 200 0
+INFO 2020-07-03 13:37:15,083 basehttp 154 "GET /pg/?to_date=2020-07-03&end_date=2020-07-03&bg_id=PG&select_zc_no= HTTP/1.1" 200 266
+INFO 2020-07-03 13:37:19,226 basehttp 154 "OPTIONS /pg/?filter_no=PG20200703001 HTTP/1.1" 200 0
+INFO 2020-07-03 13:37:19,438 basehttp 154 "GET /pg/?filter_no=PG20200703001 HTTP/1.1" 200 719
+INFO 2020-07-03 13:37:22,239 basehttp 154 "OPTIONS /pg/ HTTP/1.1" 200 0
+INFO 2020-07-03 13:37:22,640 basehttp 154 "DELETE /pg/ HTTP/1.1" 200 22
+INFO 2020-07-03 13:38:01,537 basehttp 154 "OPTIONS /tzinfo/?mo_no=MO06180002&zc_no=B06&bg_id=PG HTTP/1.1" 200 0
+INFO 2020-07-03 13:38:01,715 basehttp 154 "GET /tzinfo/?mo_no=MO06180002&zc_no=B06&bg_id=PG HTTP/1.1" 200 389
+INFO 2020-07-03 13:38:10,012 basehttp 154 "GET /tzinfo/?mo_no=MO06180002&zc_no=B06&bg_id=PG HTTP/1.1" 200 389
+INFO 2020-07-03 13:38:19,382 basehttp 154 "POST /pg/ HTTP/1.1" 200 46
+INFO 2020-07-03 13:47:21,444 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-03 13:47:21,487 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-03 13:47:37,087 basehttp 154 "OPTIONS /tzinfo/?mo_no=%0A%0A&zc_no=B06&bg_id=SH HTTP/1.1" 200 0
+INFO 2020-07-03 13:47:37,299 basehttp 154 "GET /tzinfo/?mo_no=%0A%0A&zc_no=B06&bg_id=SH HTTP/1.1" 200 41
+INFO 2020-07-03 13:49:01,915 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-03 13:49:01,915 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-03 13:49:02,637 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-03 13:49:02,860 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-03 13:49:03,771 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-03 13:49:03,787 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-03 13:49:04,567 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-03 13:49:04,574 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-03 13:49:12,938 basehttp 154 "GET /tzinfo/?mo_no=%0A%0A&zc_no=B06&bg_id=SH HTTP/1.1" 200 41
+INFO 2020-07-03 13:50:19,692 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-03 13:50:19,696 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-03 13:50:21,670 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-03 13:50:21,713 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-03 13:50:22,279 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-03 13:50:22,302 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-03 13:50:32,876 basehttp 154 "OPTIONS /tzinfo/?mo_no=%E5%8D%AB%E6%A0%96%E6%A2%A7&zc_no=B06&bg_id=SH HTTP/1.1" 200 0
+INFO 2020-07-03 13:50:33,153 basehttp 154 "GET /tzinfo/?mo_no=%E5%8D%AB%E6%A0%96%E6%A2%A7&zc_no=B06&bg_id=SH HTTP/1.1" 200 50
+INFO 2020-07-03 14:24:15,537 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-07-03 14:24:22,935 basehttp 154 "OPTIONS /tzinfo/?mo_no=MO06180002&zc_no=B06&bg_id=SH HTTP/1.1" 200 0
+INFO 2020-07-03 14:24:23,360 basehttp 154 "GET /tzinfo/?mo_no=MO06180002&zc_no=B06&bg_id=SH HTTP/1.1" 200 399
+INFO 2020-07-03 14:24:33,883 basehttp 154 "GET /tzinfo/?mo_no=MO06180002&zc_no=B06&bg_id=SH HTTP/1.1" 200 399
+INFO 2020-07-03 14:24:58,913 autoreload 217 E:\12446\PycharmProjects\lixin\obj\apps\bg\views.py changed, reloading.
+INFO 2020-07-03 14:24:59,771 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-07-03 14:25:12,001 basehttp 154 "GET /tzinfo/?mo_no=MO06180002&zc_no=B06&bg_id=SH HTTP/1.1" 200 399
+INFO 2020-07-03 14:30:41,454 basehttp 154 "OPTIONS /sh/ HTTP/1.1" 200 0
+INFO 2020-07-03 14:30:42,621 basehttp 154 "DELETE /sh/ HTTP/1.1" 200 22
+INFO 2020-07-03 14:30:48,196 basehttp 154 "POST /sh/ HTTP/1.1" 200 46
+INFO 2020-07-03 14:30:53,052 basehttp 154 "GET /tzinfo/?mo_no=MO06180002&zc_no=B06&bg_id=SH HTTP/1.1" 200 399
+INFO 2020-07-03 14:31:14,959 basehttp 154 "OPTIONS /sh/?to_date=2020-07-03&end_date=2020-07-03&bg_id=SH&select_zc_no= HTTP/1.1" 200 0
+INFO 2020-07-03 14:31:15,295 basehttp 154 "GET /sh/?to_date=2020-07-03&end_date=2020-07-03&bg_id=SH&select_zc_no= HTTP/1.1" 200 266
+INFO 2020-07-03 14:31:19,490 basehttp 154 "OPTIONS /sh/?filter_no=SH20200703001 HTTP/1.1" 200 0
+INFO 2020-07-03 14:31:20,113 basehttp 154 "GET /sh/?filter_no=SH20200703001 HTTP/1.1" 200 718
+INFO 2020-07-03 14:31:24,074 basehttp 154 "DELETE /sh/ HTTP/1.1" 200 22
+INFO 2020-07-03 14:31:42,018 basehttp 154 "GET /tzinfo/?mo_no=MO06180002&zc_no=B06&bg_id=SH HTTP/1.1" 200 399
+INFO 2020-07-03 14:32:15,941 basehttp 154 "GET /tzinfo/?mo_no=MO06180002&zc_no=B06&bg_id=SH HTTP/1.1" 200 399
+INFO 2020-07-03 14:32:18,755 basehttp 154 "GET /tzinfo/?mo_no=MO06180002&zc_no=B06&bg_id=SH HTTP/1.1" 200 399
+INFO 2020-07-03 14:36:56,117 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-03 14:36:56,132 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-03 14:37:02,744 basehttp 154 "OPTIONS /bar/ HTTP/1.1" 200 0
+INFO 2020-07-03 14:37:02,970 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-03 14:37:03,064 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-03 14:37:03,603 basehttp 154 "GET /bar/ HTTP/1.1" 200 1282
+INFO 2020-07-03 14:37:07,251 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-03 14:37:07,252 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-03 14:37:09,971 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-03 14:37:09,987 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-03 14:37:22,317 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-03 14:37:22,318 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-03 14:39:02,650 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-03 14:39:02,663 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-03 14:39:47,248 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-03 14:39:47,248 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-03 14:40:59,156 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-03 14:40:59,185 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-03 14:40:59,854 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-03 14:41:00,046 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-03 14:44:13,412 basehttp 154 "GET /tzinfo/?mo_no=MO06180002&zc_no=B06&bg_id=SH HTTP/1.1" 200 399
+INFO 2020-07-03 14:44:20,681 basehttp 154 "GET /tzinfo/?mo_no=MO06180002&zc_no=B06&bg_id=SH HTTP/1.1" 200 399
+INFO 2020-07-03 14:44:27,924 basehttp 154 "POST /sh/ HTTP/1.1" 200 46
+INFO 2020-07-03 14:45:40,579 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-03 14:45:40,600 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-03 14:45:44,373 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-03 14:45:44,394 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-03 14:45:44,792 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-03 14:45:44,809 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-03 14:45:45,249 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-03 14:45:45,273 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-03 14:45:45,771 basehttp 154 "GET /bar/ HTTP/1.1" 200 1282
+INFO 2020-07-03 14:45:45,808 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-03 14:45:45,816 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-03 14:45:46,310 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-03 14:45:46,327 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-03 14:45:46,638 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-03 14:45:46,665 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-03 14:45:47,013 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-03 14:45:47,031 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-03 14:45:47,473 basehttp 154 "GET /bar/ HTTP/1.1" 200 1282
+INFO 2020-07-03 14:46:05,113 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-03 14:46:05,171 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-03 14:46:05,758 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-03 14:46:05,769 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-03 14:46:06,520 basehttp 154 "GET /bar/ HTTP/1.1" 200 1282
+INFO 2020-07-03 14:55:13,501 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-07-03 14:55:36,768 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-03 14:55:36,804 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-03 14:55:37,105 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-03 14:55:37,126 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-03 14:55:37,725 basehttp 154 "GET /bar/ HTTP/1.1" 200 1282
+INFO 2020-07-03 15:06:01,976 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-03 15:06:01,999 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-03 15:06:31,193 basehttp 154 "GET /tzinfo/?mo_no=MO06180002&zc_no=B06&bg_id=PG HTTP/1.1" 200 386
+INFO 2020-07-03 15:06:37,903 basehttp 154 "GET /tzinfo/?mo_no=MO06180002&zc_no=B06&bg_id=PG HTTP/1.1" 200 386
+INFO 2020-07-03 15:06:45,794 basehttp 154 "GET /tzinfo/?mo_no=MO06180002&zc_no=B06&bg_id=PG HTTP/1.1" 200 386
+INFO 2020-07-03 15:06:53,349 basehttp 154 "GET /tzinfo/?mo_no=MO06180002&zc_no=B06&bg_id=PG HTTP/1.1" 200 386
+INFO 2020-07-03 15:07:16,722 basehttp 154 "GET /tzinfo/?mo_no=MO06180002&zc_no=B06&bg_id=PG HTTP/1.1" 200 386
+INFO 2020-07-03 15:07:22,298 basehttp 154 "GET /tzinfo/?mo_no=MO06180002&zc_no=B06&bg_id=PG HTTP/1.1" 200 386
+INFO 2020-07-03 15:07:34,048 basehttp 154 "GET /tzinfo/?mo_no=MO06180002&zc_no=B06&bg_id=PG HTTP/1.1" 200 386
+INFO 2020-07-03 15:07:42,932 basehttp 154 "GET /tzinfo/?mo_no=MO06180002&zc_no=B06&bg_id=PG HTTP/1.1" 200 386
+INFO 2020-07-03 15:07:54,079 basehttp 154 "GET /tzinfo/?mo_no=MO06180002&zc_no=B06&bg_id=PG HTTP/1.1" 200 386
+INFO 2020-07-03 15:07:56,939 basehttp 154 "GET /tzinfo/?mo_no=MO06180002&zc_no=B06&bg_id=PG HTTP/1.1" 200 386
+INFO 2020-07-03 15:07:58,089 basehttp 154 "GET /tzinfo/?mo_no=MO06180002&zc_no=B06&bg_id=PG HTTP/1.1" 200 386
+INFO 2020-07-03 15:07:58,330 basehttp 154 "GET /tzinfo/?mo_no=MO06180002&zc_no=B06&bg_id=PG HTTP/1.1" 200 386
+INFO 2020-07-03 15:07:58,562 basehttp 154 "GET /tzinfo/?mo_no=MO06180002&zc_no=B06&bg_id=PG HTTP/1.1" 200 386
+INFO 2020-07-03 15:23:01,859 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-03 15:23:01,961 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-03 15:23:02,595 basehttp 154 "GET /bar/ HTTP/1.1" 200 1282
+INFO 2020-07-03 15:30:13,154 autoreload 217 E:\12446\PycharmProjects\lixin\obj\apps\bg\views.py changed, reloading.
+INFO 2020-07-03 15:30:14,046 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-07-03 15:52:47,067 autoreload 217 E:\12446\PycharmProjects\lixin\obj\apps\bg\views.py changed, reloading.
+INFO 2020-07-03 15:52:47,887 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-07-03 15:55:31,064 autoreload 217 E:\12446\PycharmProjects\lixin\obj\apps\bg\views.py changed, reloading.
+INFO 2020-07-03 15:55:31,926 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-07-03 16:03:22,975 autoreload 217 E:\12446\PycharmProjects\lixin\obj\utils\ClssSql.py changed, reloading.
+INFO 2020-07-03 16:03:24,030 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-07-03 16:04:55,974 basehttp 154 "OPTIONS /tzinfo/?mo_no=&zc_no=B02&bg_id=JS HTTP/1.1" 200 0
+INFO 2020-07-03 16:04:56,266 basehttp 154 "GET /tzinfo/?mo_no=&zc_no=B02&bg_id=JS HTTP/1.1" 200 3152
+INFO 2020-07-03 16:05:07,568 basehttp 154 "OPTIONS /bg/ HTTP/1.1" 200 0
+INFO 2020-07-03 16:05:07,809 basehttp 154 "DELETE /bg/ HTTP/1.1" 200 22
+INFO 2020-07-03 16:05:13,501 basehttp 154 "DELETE /bg/ HTTP/1.1" 200 22
+INFO 2020-07-03 16:05:21,572 basehttp 154 "DELETE /bg/ HTTP/1.1" 200 22
+INFO 2020-07-03 16:05:22,474 basehttp 154 "DELETE /bg/ HTTP/1.1" 200 22
+INFO 2020-07-03 16:05:24,160 basehttp 154 "DELETE /bg/ HTTP/1.1" 200 22
+INFO 2020-07-03 16:05:24,898 basehttp 154 "DELETE /bg/ HTTP/1.1" 200 22
+INFO 2020-07-03 16:05:26,870 basehttp 154 "DELETE /bg/ HTTP/1.1" 200 22
+INFO 2020-07-03 16:05:41,542 basehttp 154 "POST /bg/ HTTP/1.1" 200 46
+INFO 2020-07-03 16:05:48,660 basehttp 154 "GET /tzinfo/?mo_no=&zc_no=B02&bg_id=JS HTTP/1.1" 200 3149
+INFO 2020-07-03 16:05:51,494 basehttp 154 "DELETE /bg/ HTTP/1.1" 200 22
+INFO 2020-07-03 16:05:51,786 basehttp 154 "DELETE /bg/ HTTP/1.1" 200 22
+INFO 2020-07-03 16:05:52,010 basehttp 154 "DELETE /bg/ HTTP/1.1" 200 22
+INFO 2020-07-03 16:05:53,204 basehttp 154 "DELETE /bg/ HTTP/1.1" 200 22
+INFO 2020-07-03 16:05:53,541 basehttp 154 "DELETE /bg/ HTTP/1.1" 200 22
+INFO 2020-07-03 16:05:53,766 basehttp 154 "DELETE /bg/ HTTP/1.1" 200 22
+INFO 2020-07-03 16:05:54,015 basehttp 154 "DELETE /bg/ HTTP/1.1" 200 22
+INFO 2020-07-03 16:06:45,380 basehttp 154 "POST /bg/ HTTP/1.1" 200 46
+INFO 2020-07-03 16:06:48,091 basehttp 154 "OPTIONS /salm/ HTTP/1.1" 200 0
+INFO 2020-07-03 16:06:48,092 basehttp 154 "OPTIONS /zcno/ HTTP/1.1" 200 0
+INFO 2020-07-03 16:06:48,398 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-03 16:06:48,546 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-03 16:06:53,026 basehttp 154 "OPTIONS /tzinfo/?mo_no=MO06180004&zc_no=B02&bg_id=PG HTTP/1.1" 200 0
+INFO 2020-07-03 16:06:53,285 basehttp 154 "GET /tzinfo/?mo_no=MO06180004&zc_no=B02&bg_id=PG HTTP/1.1" 200 51
+INFO 2020-07-03 16:06:56,111 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-03 16:06:56,178 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-03 16:07:06,944 basehttp 154 "OPTIONS /tzinfo/?mo_no=MO06180004&zc_no=B02&bg_id=ZY&zc_no_dn=B04 HTTP/1.1" 200 0
+INFO 2020-07-03 16:07:07,253 basehttp 154 "GET /tzinfo/?mo_no=MO06180004&zc_no=B02&bg_id=ZY&zc_no_dn=B04 HTTP/1.1" 200 359
+INFO 2020-07-03 16:07:14,435 basehttp 154 "OPTIONS /zy/ HTTP/1.1" 200 0
+INFO 2020-07-03 16:07:15,163 basehttp 154 "POST /zy/ HTTP/1.1" 200 46
+INFO 2020-07-03 16:07:17,505 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-03 16:07:17,505 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-03 16:07:17,956 basehttp 154 "GET /bar/ HTTP/1.1" 200 1282
+INFO 2020-07-03 16:07:19,535 basehttp 154 "OPTIONS /bg/?to_date=2020-07-03&end_date=2020-07-03&bg_id=JS&select_zc_no= HTTP/1.1" 200 0
+INFO 2020-07-03 16:07:19,776 basehttp 154 "GET /bg/?to_date=2020-07-03&end_date=2020-07-03&bg_id=JS&select_zc_no= HTTP/1.1" 200 479
+INFO 2020-07-03 16:07:22,328 basehttp 154 "OPTIONS /bg/?filter_no=JS20200703002 HTTP/1.1" 200 0
+INFO 2020-07-03 16:07:23,054 basehttp 154 "GET /bg/?filter_no=JS20200703002 HTTP/1.1" 200 1093
+INFO 2020-07-03 16:07:39,695 basehttp 154 "DELETE /bg/ HTTP/1.1" 200 22
+INFO 2020-07-03 16:09:16,919 autoreload 217 E:\12446\PycharmProjects\lixin\obj\apps\bg\views.py changed, reloading.
+INFO 2020-07-03 16:09:17,738 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-07-03 16:09:23,146 basehttp 154 "OPTIONS /bg/?filter_no=JS20200703001 HTTP/1.1" 200 0
+INFO 2020-07-03 16:09:23,606 basehttp 154 "GET /bg/?filter_no=JS20200703001 HTTP/1.1" 200 1095
+INFO 2020-07-03 16:11:35,046 autoreload 217 E:\12446\PycharmProjects\lixin\obj\apps\bg\views.py changed, reloading.
+INFO 2020-07-03 16:11:36,047 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-07-03 16:11:45,742 autoreload 217 E:\12446\PycharmProjects\lixin\obj\apps\bg\views.py changed, reloading.
+INFO 2020-07-03 16:11:46,594 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-07-03 16:11:55,080 autoreload 217 E:\12446\PycharmProjects\lixin\obj\apps\bg\views.py changed, reloading.
+INFO 2020-07-03 16:11:55,903 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-07-03 16:11:58,901 basehttp 154 "GET /tzinfo/?mo_no=&zc_no=B02&bg_id=JS HTTP/1.1" 200 3149
+INFO 2020-07-03 16:13:37,263 autoreload 217 E:\12446\PycharmProjects\lixin\obj\utils\ClssSql.py changed, reloading.
+INFO 2020-07-03 16:13:38,126 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-07-03 16:13:43,791 autoreload 217 E:\12446\PycharmProjects\lixin\obj\apps\bg\views.py changed, reloading.
+INFO 2020-07-03 16:13:44,708 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-07-03 16:13:49,113 autoreload 217 E:\12446\PycharmProjects\lixin\obj\utils\ClssSql.py changed, reloading.
+INFO 2020-07-03 16:13:49,970 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-07-03 16:14:09,481 basehttp 154 "GET /tzinfo/?mo_no=&zc_no=B02&bg_id=JS HTTP/1.1" 200 724
+INFO 2020-07-03 16:14:42,823 basehttp 154 "GET /tzinfo/?mo_no=&zc_no=B02&bg_id=JS HTTP/1.1" 200 724
+INFO 2020-07-03 16:15:12,834 basehttp 154 "GET /tzinfo/?mo_no=&zc_no=B02&bg_id=JS HTTP/1.1" 200 724
+INFO 2020-07-03 16:16:08,086 autoreload 217 E:\12446\PycharmProjects\lixin\obj\apps\bg\views.py changed, reloading.
+INFO 2020-07-03 16:16:08,950 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-07-03 16:16:14,002 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-07-03 16:16:20,014 basehttp 154 "GET /tzinfo/?mo_no=&zc_no=B02&bg_id=JS HTTP/1.1" 200 724
+INFO 2020-07-03 16:16:46,007 autoreload 217 E:\12446\PycharmProjects\lixin\obj\utils\executeQuery.py changed, reloading.
+INFO 2020-07-03 16:16:46,884 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-07-03 16:16:48,860 basehttp 154 "GET /tzinfo/?mo_no=&zc_no=B02&bg_id=JS HTTP/1.1" 200 724
+INFO 2020-07-03 16:17:04,327 basehttp 154 "POST /bg/ HTTP/1.1" 200 46
+INFO 2020-07-03 16:17:26,302 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-03 16:17:26,414 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-03 16:17:28,167 basehttp 154 "OPTIONS /pg/?to_date=2020-07-03&end_date=2020-07-03&bg_id=PG&select_zc_no= HTTP/1.1" 200 0
+INFO 2020-07-03 16:17:28,360 basehttp 154 "GET /pg/?to_date=2020-07-03&end_date=2020-07-03&bg_id=PG&select_zc_no= HTTP/1.1" 200 43
+INFO 2020-07-03 16:18:11,838 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-03 16:18:11,860 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-03 16:18:12,421 basehttp 154 "GET /bar/ HTTP/1.1" 200 1282
+INFO 2020-07-03 16:18:14,032 basehttp 154 "GET /bg/?to_date=2020-07-03&end_date=2020-07-03&bg_id=JS&select_zc_no= HTTP/1.1" 200 702
+INFO 2020-07-03 16:18:17,095 basehttp 154 "OPTIONS /bg/?filter_no=JS20200703003 HTTP/1.1" 200 0
+INFO 2020-07-03 16:18:17,358 basehttp 154 "GET /bg/?filter_no=JS20200703003 HTTP/1.1" 200 1093
+INFO 2020-07-03 16:18:54,146 autoreload 217 E:\12446\PycharmProjects\lixin\obj\apps\bg\views.py changed, reloading.
+INFO 2020-07-03 16:18:54,928 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-07-03 16:19:07,702 basehttp 154 "DELETE /bg/ HTTP/1.1" 200 22
+INFO 2020-07-03 16:19:31,651 basehttp 154 "GET /tzinfo/?mo_no=&zc_no=B02&bg_id=JS HTTP/1.1" 200 380
+INFO 2020-07-03 16:19:38,984 basehttp 154 "POST /bg/ HTTP/1.1" 200 46
+ERROR 2020-07-03 16:19:45,070 log 228 Internal Server Error: /bg/
+Traceback (most recent call last):
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
+    response = get_response(request)
+  File "C:\Users\12446\Envs\lixin\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\lixin\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
+    response = wrapped_callback(request, *callback_args, **callback_kwargs)
+  File "e:\12446\appdata\Lib\contextlib.py", line 74, in inner
+    return func(*args, **kwds)
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\django\views\decorators\csrf.py", line 54, in wrapped_view
+    return view_func(*args, **kwargs)
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\django\views\generic\base.py", line 71, in view
+    return self.dispatch(request, *args, **kwargs)
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\rest_framework\views.py", line 505, in dispatch
+    response = self.handle_exception(exc)
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\rest_framework\views.py", line 465, in handle_exception
+    self.raise_uncaught_exception(exc)
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\rest_framework\views.py", line 476, in raise_uncaught_exception
+    raise exc
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\rest_framework\views.py", line 502, in dispatch
+    response = handler(request, *args, **kwargs)
+  File "e:\12446\appdata\Lib\contextlib.py", line 74, in inner
+    return func(*args, **kwds)
+  File "E:\12446\PycharmProjects\lixin\obj\apps\bg\views.py", line 315, in delete
+    if i.get('qty')>yscl_qty['totalqty']-yscl_qty['pgqty']:
+TypeError: unsupported operand type(s) for -: 'decimal.Decimal' and 'float'
+ERROR 2020-07-03 16:19:45,071 basehttp 154 "DELETE /bg/ HTTP/1.1" 500 20797
+INFO 2020-07-03 16:22:38,742 autoreload 217 E:\12446\PycharmProjects\lixin\obj\apps\bg\views.py changed, reloading.
+INFO 2020-07-03 16:22:39,694 autoreload 597 Watching for file changes with StatReloader
+ERROR 2020-07-03 16:25:25,406 log 228 Internal Server Error: /bg/
+Traceback (most recent call last):
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
+    response = get_response(request)
+  File "C:\Users\12446\Envs\lixin\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\lixin\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
+    response = wrapped_callback(request, *callback_args, **callback_kwargs)
+  File "e:\12446\appdata\Lib\contextlib.py", line 74, in inner
+    return func(*args, **kwds)
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\django\views\decorators\csrf.py", line 54, in wrapped_view
+    return view_func(*args, **kwargs)
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\django\views\generic\base.py", line 71, in view
+    return self.dispatch(request, *args, **kwargs)
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\rest_framework\views.py", line 505, in dispatch
+    response = self.handle_exception(exc)
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\rest_framework\views.py", line 465, in handle_exception
+    self.raise_uncaught_exception(exc)
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\rest_framework\views.py", line 476, in raise_uncaught_exception
+    raise exc
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\rest_framework\views.py", line 502, in dispatch
+    response = handler(request, *args, **kwargs)
+  File "e:\12446\appdata\Lib\contextlib.py", line 74, in inner
+    return func(*args, **kwds)
+  File "E:\12446\PycharmProjects\lixin\obj\apps\bg\views.py", line 315, in delete
+    if i.get('qty')>yscl_qty['qty']-yscl_qty['pgqty']:
+TypeError: unsupported operand type(s) for -: 'decimal.Decimal' and 'float'
+ERROR 2020-07-03 16:25:25,409 basehttp 154 "DELETE /bg/ HTTP/1.1" 500 20792
+INFO 2020-07-03 16:27:27,018 autoreload 217 E:\12446\PycharmProjects\lixin\obj\utils\ClssSql.py changed, reloading.
+INFO 2020-07-03 16:27:27,832 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-07-03 16:28:02,478 autoreload 217 E:\12446\PycharmProjects\lixin\obj\apps\bg\views.py changed, reloading.
+INFO 2020-07-03 16:28:03,349 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-07-03 16:28:07,205 basehttp 154 "DELETE /bg/ HTTP/1.1" 200 43
+INFO 2020-07-03 16:28:42,025 basehttp 154 "GET /bg/?to_date=2020-07-03&end_date=2020-07-03&bg_id=JS&select_zc_no= HTTP/1.1" 200 702
+INFO 2020-07-03 16:28:45,517 basehttp 154 "GET /bg/?filter_no=JS20200703003 HTTP/1.1" 200 700
+INFO 2020-07-03 16:28:52,477 basehttp 154 "GET /bg/?filter_no=JS20200703002 HTTP/1.1" 200 700
+INFO 2020-07-03 16:28:57,183 basehttp 154 "GET /bg/?filter_no=JS20200703001 HTTP/1.1" 200 1095
+INFO 2020-07-03 16:30:46,021 autoreload 217 E:\12446\PycharmProjects\lixin\obj\apps\bg\views.py changed, reloading.
+INFO 2020-07-03 16:30:47,111 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-07-03 16:31:28,424 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-03 16:31:28,476 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-03 16:31:28,998 basehttp 154 "GET /bar/ HTTP/1.1" 200 1282
+INFO 2020-07-03 16:31:36,814 basehttp 154 "GET /bg/?to_date=2020-07-03&end_date=2020-07-03&bg_id=JS&select_zc_no= HTTP/1.1" 200 702
+INFO 2020-07-03 16:31:40,328 basehttp 154 "GET /bg/?filter_no=JS20200703001 HTTP/1.1" 200 1095
+INFO 2020-07-03 16:32:54,994 basehttp 154 "GET /tzinfo/?mo_no=&zc_no=B02&bg_id=JS HTTP/1.1" 200 727
+INFO 2020-07-03 16:33:27,616 basehttp 154 "POST /bg/ HTTP/1.1" 200 46
+INFO 2020-07-03 16:33:30,874 basehttp 154 "GET /tzinfo/?mo_no=&zc_no=B02&bg_id=JS HTTP/1.1" 200 727
+INFO 2020-07-03 16:33:37,876 basehttp 154 "POST /bg/ HTTP/1.1" 200 46
+INFO 2020-07-03 16:33:41,233 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-03 16:33:41,335 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-03 16:33:51,928 basehttp 154 "OPTIONS /tzinfo/?mo_no=&zc_no=B02&bg_id=ZY&zc_no_dn=B04 HTTP/1.1" 200 0
+INFO 2020-07-03 16:33:52,161 basehttp 154 "GET /tzinfo/?mo_no=&zc_no=B02&bg_id=ZY&zc_no_dn=B04 HTTP/1.1" 200 693
+INFO 2020-07-03 16:34:01,731 basehttp 154 "POST /zy/ HTTP/1.1" 200 46
+INFO 2020-07-03 16:34:05,865 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-03 16:34:05,951 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-03 16:34:06,367 basehttp 154 "GET /bar/ HTTP/1.1" 200 1282
+INFO 2020-07-03 16:34:32,152 basehttp 154 "GET /bg/?to_date=2020-07-03&end_date=2020-07-03&bg_id=JS&select_zc_no= HTTP/1.1" 200 479
+INFO 2020-07-03 16:34:34,915 basehttp 154 "GET /bg/?filter_no=JS20200703002 HTTP/1.1" 200 1095
+INFO 2020-07-03 16:34:38,826 basehttp 154 "DELETE /bg/ HTTP/1.1" 304 43
+INFO 2020-07-03 16:35:29,233 basehttp 154 "DELETE /bg/ HTTP/1.1" 200 22
+INFO 2020-07-03 16:36:03,048 basehttp 154 "GET /bg/?to_date=2020-07-03&end_date=2020-07-03&bg_id=JS&select_zc_no= HTTP/1.1" 200 256
+INFO 2020-07-03 16:36:12,396 basehttp 154 "GET /tzinfo/?mo_no=&zc_no=B02&bg_id=JS HTTP/1.1" 200 380
+INFO 2020-07-03 16:36:18,123 basehttp 154 "POST /bg/ HTTP/1.1" 200 46
+INFO 2020-07-03 16:36:20,715 basehttp 154 "DELETE /bg/ HTTP/1.1" 304 43
+INFO 2020-07-03 16:36:52,916 basehttp 154 "DELETE /bg/ HTTP/1.1" 200 22
+INFO 2020-07-03 16:38:01,767 basehttp 154 "OPTIONS /bar/ HTTP/1.1" 200 0
+INFO 2020-07-03 16:38:01,962 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-03 16:38:02,054 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-03 16:38:02,713 basehttp 154 "GET /bar/ HTTP/1.1" 200 1282
+INFO 2020-07-03 16:38:09,555 basehttp 154 "GET /tzinfo/?mo_no=&zc_no=B02&bg_id=JS HTTP/1.1" 200 380
+INFO 2020-07-03 16:38:13,684 basehttp 154 "POST /bg/ HTTP/1.1" 200 46
+INFO 2020-07-03 16:38:16,714 basehttp 154 "DELETE /bg/ HTTP/1.1" 304 43
+INFO 2020-07-03 16:38:47,864 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-03 16:38:48,123 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-03 16:38:48,745 basehttp 154 "GET /bar/ HTTP/1.1" 200 1282
+INFO 2020-07-03 16:39:08,707 autoreload 217 E:\12446\PycharmProjects\lixin\obj\apps\bsdata\views.py changed, reloading.
+INFO 2020-07-03 16:39:09,630 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-07-03 16:39:22,464 basehttp 154 "GET /bg/?to_date=2020-07-03&end_date=2020-07-03&bg_id=JS&select_zc_no= HTTP/1.1" 200 256
+INFO 2020-07-03 16:39:32,193 basehttp 154 "GET /tzinfo/?mo_no=&zc_no=B02&bg_id=JS HTTP/1.1" 200 380
+INFO 2020-07-03 16:39:37,245 basehttp 154 "POST /bg/ HTTP/1.1" 200 46
+INFO 2020-07-03 16:39:51,822 basehttp 154 "DELETE /bg/ HTTP/1.1" 304 43
+INFO 2020-07-03 16:40:11,680 basehttp 154 "GET /bg/?to_date=2020-07-03&end_date=2020-07-03&bg_id=JS&select_zc_no= HTTP/1.1" 200 256
+INFO 2020-07-03 16:41:43,503 autoreload 217 E:\12446\PycharmProjects\lixin\obj\apps\bg\views.py changed, reloading.
+INFO 2020-07-03 16:41:44,362 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-07-03 16:41:55,647 basehttp 154 "GET /bg/?to_date=2020-07-03&end_date=2020-07-03&bg_id=JS&select_zc_no= HTTP/1.1" 200 256
+INFO 2020-07-03 16:41:58,592 basehttp 154 "GET /tzinfo/?mo_no=&zc_no=B02&bg_id=JS HTTP/1.1" 200 380
+INFO 2020-07-03 16:42:03,911 basehttp 154 "POST /bg/ HTTP/1.1" 200 46
+INFO 2020-07-03 16:42:12,632 basehttp 154 "DELETE /bg/ HTTP/1.1" 304 43
+INFO 2020-07-03 16:42:15,574 basehttp 154 "DELETE /bg/ HTTP/1.1" 304 43
+INFO 2020-07-03 16:42:41,672 autoreload 217 E:\12446\PycharmProjects\lixin\obj\apps\bg\views.py changed, reloading.
+INFO 2020-07-03 16:42:42,647 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-07-03 16:42:45,036 basehttp 154 "DELETE /bg/ HTTP/1.1" 304 43
+INFO 2020-07-03 16:42:53,706 basehttp 154 "DELETE /bg/ HTTP/1.1" 304 43
+INFO 2020-07-03 16:42:57,655 basehttp 154 "DELETE /bg/ HTTP/1.1" 304 43
+INFO 2020-07-03 16:42:59,113 basehttp 154 "DELETE /bg/ HTTP/1.1" 304 43
+INFO 2020-07-03 16:43:25,475 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-03 16:43:25,596 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-03 16:43:26,228 basehttp 154 "GET /bar/ HTTP/1.1" 200 1282
+INFO 2020-07-03 16:43:33,211 basehttp 154 "GET /bg/?to_date=2020-07-03&end_date=2020-07-03&bg_id=JS&select_zc_no= HTTP/1.1" 200 479
+INFO 2020-07-03 16:43:36,552 basehttp 154 "GET /bg/?filter_no=JS20200703002 HTTP/1.1" 200 687
+INFO 2020-07-03 16:43:38,343 basehttp 154 "DELETE /bg/ HTTP/1.1" 304 43
+INFO 2020-07-03 16:43:39,014 basehttp 154 "DELETE /bg/ HTTP/1.1" 304 43
+INFO 2020-07-03 16:43:56,488 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-03 16:43:56,490 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-03 16:43:57,149 basehttp 154 "GET /bar/ HTTP/1.1" 200 1282
+INFO 2020-07-03 16:44:02,462 basehttp 154 "GET /bg/?to_date=2020-07-03&end_date=2020-07-03&bg_id=JS&select_zc_no= HTTP/1.1" 200 479
+INFO 2020-07-03 16:44:05,034 basehttp 154 "GET /bg/?filter_no=JS20200703002 HTTP/1.1" 200 687
+INFO 2020-07-03 16:44:08,010 basehttp 154 "DELETE /bg/ HTTP/1.1" 304 43
+INFO 2020-07-03 16:44:30,419 autoreload 217 E:\12446\PycharmProjects\lixin\obj\apps\bg\views.py changed, reloading.
+INFO 2020-07-03 16:44:31,436 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-07-03 16:44:35,252 basehttp 154 "DELETE /bg/ HTTP/1.1" 201 43
+INFO 2020-07-03 16:44:58,715 basehttp 154 "GET /bg/?to_date=2020-07-03&end_date=2020-07-03&bg_id=JS&select_zc_no= HTTP/1.1" 200 479
+INFO 2020-07-03 16:45:02,071 basehttp 154 "GET /bg/?filter_no=JS20200703001 HTTP/1.1" 200 1095
+INFO 2020-07-03 16:45:04,942 basehttp 154 "DELETE /bg/ HTTP/1.1" 200 22
+INFO 2020-07-03 16:45:08,638 basehttp 154 "GET /bg/?to_date=2020-07-03&end_date=2020-07-03&bg_id=JS&select_zc_no= HTTP/1.1" 200 479
+INFO 2020-07-03 16:45:12,121 basehttp 154 "GET /bg/?filter_no=JS20200703002 HTTP/1.1" 200 687
+INFO 2020-07-03 16:45:16,911 basehttp 154 "DELETE /bg/ HTTP/1.1" 201 43
+INFO 2020-07-03 16:45:25,344 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-03 16:45:25,431 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-03 16:45:28,562 basehttp 154 "OPTIONS /zy/?to_date=2020-07-03&end_date=2020-07-03&bg_id=ZY&select_zc_no= HTTP/1.1" 200 0
+INFO 2020-07-03 16:45:28,815 basehttp 154 "GET /zy/?to_date=2020-07-03&end_date=2020-07-03&bg_id=ZY&select_zc_no= HTTP/1.1" 200 256
+INFO 2020-07-03 16:45:31,436 basehttp 154 "OPTIONS /zy/?filter_no=ZY20200703001 HTTP/1.1" 200 0
+INFO 2020-07-03 16:45:31,672 basehttp 154 "GET /zy/?filter_no=ZY20200703001 HTTP/1.1" 200 1098
+INFO 2020-07-03 16:45:40,366 basehttp 154 "DELETE /zy/ HTTP/1.1" 200 22
+INFO 2020-07-03 16:45:42,949 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-03 16:45:42,950 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-03 16:45:43,521 basehttp 154 "GET /bar/ HTTP/1.1" 200 1282
+INFO 2020-07-03 16:45:48,948 basehttp 154 "GET /tzinfo/?mo_no=&zc_no=B02&bg_id=JS HTTP/1.1" 200 380
+INFO 2020-07-03 16:46:03,520 basehttp 154 "GET /tzinfo/?mo_no=&zc_no=B02&bg_id=JS HTTP/1.1" 200 727
+INFO 2020-07-03 16:46:13,845 basehttp 154 "DELETE /bg/ HTTP/1.1" 200 22
+INFO 2020-07-03 16:46:19,414 basehttp 154 "POST /bg/ HTTP/1.1" 200 46
+INFO 2020-07-03 16:46:20,343 basehttp 154 "GET /tzinfo/?mo_no=&zc_no=B02&bg_id=JS HTTP/1.1" 200 727
+INFO 2020-07-03 16:46:22,062 basehttp 154 "DELETE /bg/ HTTP/1.1" 200 22
+INFO 2020-07-03 16:46:26,612 basehttp 154 "POST /bg/ HTTP/1.1" 200 46
+INFO 2020-07-03 16:46:27,831 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-03 16:46:27,831 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-03 16:46:37,407 basehttp 154 "GET /tzinfo/?mo_no=&zc_no=B02&bg_id=ZY&zc_no_dn=B04 HTTP/1.1" 200 359
+INFO 2020-07-03 16:46:46,233 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-03 16:46:46,234 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-03 16:46:46,765 basehttp 154 "GET /bar/ HTTP/1.1" 200 1282
+INFO 2020-07-03 16:46:48,067 basehttp 154 "GET /bg/?to_date=2020-07-03&end_date=2020-07-03&bg_id=JS&select_zc_no= HTTP/1.1" 200 925
+INFO 2020-07-03 16:46:53,572 basehttp 154 "OPTIONS /bg/?filter_no=JS20200703004 HTTP/1.1" 200 0
+INFO 2020-07-03 16:46:53,869 basehttp 154 "GET /bg/?filter_no=JS20200703004 HTTP/1.1" 200 687
+INFO 2020-07-03 16:46:59,864 basehttp 154 "GET /bg/?filter_no=JS20200703003 HTTP/1.1" 200 687
+INFO 2020-07-03 16:47:02,867 basehttp 154 "GET /tzinfo/?mo_no=&zc_no=B02&bg_id=JS HTTP/1.1" 200 727
+INFO 2020-07-03 16:47:15,846 basehttp 154 "GET /tzinfo/?mo_no=&zc_no=B02&bg_id=JS HTTP/1.1" 200 727
+INFO 2020-07-03 16:47:18,474 basehttp 154 "DELETE /bg/ HTTP/1.1" 200 22
+INFO 2020-07-03 16:47:22,255 basehttp 154 "POST /bg/ HTTP/1.1" 200 46
+INFO 2020-07-03 16:47:24,913 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-03 16:47:24,915 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-03 16:47:26,659 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-03 16:47:26,751 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-03 16:47:27,186 basehttp 154 "GET /bar/ HTTP/1.1" 200 1282
+INFO 2020-07-03 16:47:33,353 basehttp 154 "GET /tzinfo/?mo_no=&zc_no=B02&bg_id=JS HTTP/1.1" 200 727
+INFO 2020-07-03 16:47:35,386 basehttp 154 "DELETE /bg/ HTTP/1.1" 200 22
+INFO 2020-07-03 16:47:40,225 basehttp 154 "POST /bg/ HTTP/1.1" 200 46
+INFO 2020-07-03 16:47:41,462 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-03 16:47:41,463 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-03 16:47:52,089 basehttp 154 "GET /tzinfo/?mo_no=&zc_no=B02&bg_id=ZY&zc_no_dn=B04 HTTP/1.1" 200 359
+INFO 2020-07-03 16:47:59,043 basehttp 154 "POST /zy/ HTTP/1.1" 200 46
+INFO 2020-07-03 16:48:02,087 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-03 16:48:02,100 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-03 16:48:02,577 basehttp 154 "GET /bar/ HTTP/1.1" 200 1282
+INFO 2020-07-03 16:48:04,455 basehttp 154 "GET /bg/?to_date=2020-07-03&end_date=2020-07-03&bg_id=JS&select_zc_no= HTTP/1.1" 200 479
+INFO 2020-07-03 16:48:07,530 basehttp 154 "GET /bg/?filter_no=JS20200703002 HTTP/1.1" 200 687
+INFO 2020-07-03 16:48:10,145 basehttp 154 "DELETE /bg/ HTTP/1.1" 201 43
+INFO 2020-07-03 16:48:15,678 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-03 16:48:15,679 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-03 16:48:18,159 basehttp 154 "GET /zy/?to_date=2020-07-03&end_date=2020-07-03&bg_id=ZY&select_zc_no= HTTP/1.1" 200 256
+INFO 2020-07-03 16:48:20,691 basehttp 154 "GET /zy/?filter_no=ZY20200703001 HTTP/1.1" 200 687
+ERROR 2020-07-03 16:48:32,719 log 228 Internal Server Error: /zy/
+Traceback (most recent call last):
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
+    response = get_response(request)
+  File "C:\Users\12446\Envs\lixin\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\lixin\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
+    response = wrapped_callback(request, *callback_args, **callback_kwargs)
+  File "e:\12446\appdata\Lib\contextlib.py", line 74, in inner
+    return func(*args, **kwds)
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\django\views\decorators\csrf.py", line 54, in wrapped_view
+    return view_func(*args, **kwargs)
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\django\views\generic\base.py", line 71, in view
+    return self.dispatch(request, *args, **kwargs)
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\rest_framework\views.py", line 505, in dispatch
+    response = self.handle_exception(exc)
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\rest_framework\views.py", line 465, in handle_exception
+    self.raise_uncaught_exception(exc)
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\rest_framework\views.py", line 476, in raise_uncaught_exception
+    raise exc
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\rest_framework\views.py", line 502, in dispatch
+    response = handler(request, *args, **kwargs)
+  File "e:\12446\appdata\Lib\contextlib.py", line 74, in inner
+    return func(*args, **kwds)
+  File "E:\12446\PycharmProjects\lixin\obj\apps\bg\views.py", line 1005, in put
+    update_sql_dai = ClassSqls.ZyUpSql_dai.format(i['mo_no'], bg_id, zd_zc)
+IndexError: tuple index out of range
+ERROR 2020-07-03 16:48:32,720 basehttp 154 "PUT /zy/ HTTP/1.1" 500 20728
+INFO 2020-07-03 16:48:40,854 basehttp 154 "GET /zy/?to_date=2020-07-03&end_date=2020-07-03&bg_id=ZY&select_zc_no= HTTP/1.1" 200 256
+INFO 2020-07-03 16:48:42,786 basehttp 154 "GET /zy/?filter_no=ZY20200703001 HTTP/1.1" 200 687
+ERROR 2020-07-03 16:48:49,193 log 228 Internal Server Error: /zy/
+Traceback (most recent call last):
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
+    response = get_response(request)
+  File "C:\Users\12446\Envs\lixin\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\lixin\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
+    response = wrapped_callback(request, *callback_args, **callback_kwargs)
+  File "e:\12446\appdata\Lib\contextlib.py", line 74, in inner
+    return func(*args, **kwds)
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\django\views\decorators\csrf.py", line 54, in wrapped_view
+    return view_func(*args, **kwargs)
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\django\views\generic\base.py", line 71, in view
+    return self.dispatch(request, *args, **kwargs)
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\rest_framework\views.py", line 505, in dispatch
+    response = self.handle_exception(exc)
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\rest_framework\views.py", line 465, in handle_exception
+    self.raise_uncaught_exception(exc)
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\rest_framework\views.py", line 476, in raise_uncaught_exception
+    raise exc
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\rest_framework\views.py", line 502, in dispatch
+    response = handler(request, *args, **kwargs)
+  File "e:\12446\appdata\Lib\contextlib.py", line 74, in inner
+    return func(*args, **kwds)
+  File "E:\12446\PycharmProjects\lixin\obj\apps\bg\views.py", line 1005, in put
+    update_sql_dai = ClassSqls.ZyUpSql_dai.format(i['mo_no'], bg_id, zd_zc)
+IndexError: tuple index out of range
+ERROR 2020-07-03 16:48:49,194 basehttp 154 "PUT /zy/ HTTP/1.1" 500 20728
+ERROR 2020-07-03 16:48:54,859 log 228 Internal Server Error: /zy/
+Traceback (most recent call last):
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
+    response = get_response(request)
+  File "C:\Users\12446\Envs\lixin\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\lixin\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
+    response = wrapped_callback(request, *callback_args, **callback_kwargs)
+  File "e:\12446\appdata\Lib\contextlib.py", line 74, in inner
+    return func(*args, **kwds)
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\django\views\decorators\csrf.py", line 54, in wrapped_view
+    return view_func(*args, **kwargs)
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\django\views\generic\base.py", line 71, in view
+    return self.dispatch(request, *args, **kwargs)
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\rest_framework\views.py", line 505, in dispatch
+    response = self.handle_exception(exc)
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\rest_framework\views.py", line 465, in handle_exception
+    self.raise_uncaught_exception(exc)
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\rest_framework\views.py", line 476, in raise_uncaught_exception
+    raise exc
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\rest_framework\views.py", line 502, in dispatch
+    response = handler(request, *args, **kwargs)
+  File "e:\12446\appdata\Lib\contextlib.py", line 74, in inner
+    return func(*args, **kwds)
+  File "E:\12446\PycharmProjects\lixin\obj\apps\bg\views.py", line 1005, in put
+    update_sql_dai = ClassSqls.ZyUpSql_dai.format(i['mo_no'], bg_id, zd_zc)
+IndexError: tuple index out of range
+ERROR 2020-07-03 16:48:54,860 basehttp 154 "PUT /zy/ HTTP/1.1" 500 20728
+ERROR 2020-07-03 16:51:21,711 log 228 Internal Server Error: /zy/
+Traceback (most recent call last):
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
+    response = get_response(request)
+  File "C:\Users\12446\Envs\lixin\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\lixin\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
+    response = wrapped_callback(request, *callback_args, **callback_kwargs)
+  File "e:\12446\appdata\Lib\contextlib.py", line 74, in inner
+    return func(*args, **kwds)
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\django\views\decorators\csrf.py", line 54, in wrapped_view
+    return view_func(*args, **kwargs)
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\django\views\generic\base.py", line 71, in view
+    return self.dispatch(request, *args, **kwargs)
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\rest_framework\views.py", line 505, in dispatch
+    response = self.handle_exception(exc)
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\rest_framework\views.py", line 465, in handle_exception
+    self.raise_uncaught_exception(exc)
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\rest_framework\views.py", line 476, in raise_uncaught_exception
+    raise exc
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\rest_framework\views.py", line 502, in dispatch
+    response = handler(request, *args, **kwargs)
+  File "e:\12446\appdata\Lib\contextlib.py", line 74, in inner
+    return func(*args, **kwds)
+  File "E:\12446\PycharmProjects\lixin\obj\apps\bg\views.py", line 1005, in put
+    update_sql_dai = ClassSqls.ZyUpSql_dai.format(i['mo_no'], bg_id, zd_zc)
+IndexError: tuple index out of range
+ERROR 2020-07-03 16:51:21,713 basehttp 154 "PUT /zy/ HTTP/1.1" 500 20728
+INFO 2020-07-03 16:54:36,508 autoreload 217 E:\12446\PycharmProjects\lixin\obj\apps\bg\views.py changed, reloading.
+INFO 2020-07-03 16:54:37,429 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-07-03 16:54:40,520 autoreload 217 E:\12446\PycharmProjects\lixin\obj\apps\bg\views.py changed, reloading.
+INFO 2020-07-03 16:54:41,468 autoreload 597 Watching for file changes with StatReloader
+ERROR 2020-07-03 16:54:59,402 log 228 Internal Server Error: /zy/
+Traceback (most recent call last):
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
+    response = get_response(request)
+  File "C:\Users\12446\Envs\lixin\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\lixin\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
+    response = wrapped_callback(request, *callback_args, **callback_kwargs)
+  File "e:\12446\appdata\Lib\contextlib.py", line 74, in inner
+    return func(*args, **kwds)
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\django\views\decorators\csrf.py", line 54, in wrapped_view
+    return view_func(*args, **kwargs)
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\django\views\generic\base.py", line 71, in view
+    return self.dispatch(request, *args, **kwargs)
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\rest_framework\views.py", line 505, in dispatch
+    response = self.handle_exception(exc)
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\rest_framework\views.py", line 465, in handle_exception
+    self.raise_uncaught_exception(exc)
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\rest_framework\views.py", line 476, in raise_uncaught_exception
+    raise exc
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\rest_framework\views.py", line 502, in dispatch
+    response = handler(request, *args, **kwargs)
+  File "e:\12446\appdata\Lib\contextlib.py", line 74, in inner
+    return func(*args, **kwds)
+  File "E:\12446\PycharmProjects\lixin\obj\apps\bg\views.py", line 1005, in put
+    update_sql_dai = ClassSqls.ZyUpSql_dai.format(i['mo_no'], bg_id,i['zc_no'], zd_zc)
+KeyError: 'zc_no'
+ERROR 2020-07-03 16:54:59,406 basehttp 154 "PUT /zy/ HTTP/1.1" 500 20701
+INFO 2020-07-03 16:56:27,489 autoreload 217 E:\12446\PycharmProjects\lixin\obj\apps\bg\views.py changed, reloading.
+INFO 2020-07-03 16:56:28,313 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-07-03 16:56:45,152 autoreload 217 E:\12446\PycharmProjects\lixin\obj\apps\bg\views.py changed, reloading.
+INFO 2020-07-03 16:56:45,950 autoreload 597 Watching for file changes with StatReloader
+ERROR 2020-07-03 16:57:18,620 log 228 Internal Server Error: /zy/
+Traceback (most recent call last):
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
+    response = get_response(request)
+  File "C:\Users\12446\Envs\lixin\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\lixin\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
+    response = wrapped_callback(request, *callback_args, **callback_kwargs)
+  File "e:\12446\appdata\Lib\contextlib.py", line 74, in inner
+    return func(*args, **kwds)
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\django\views\decorators\csrf.py", line 54, in wrapped_view
+    return view_func(*args, **kwargs)
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\django\views\generic\base.py", line 71, in view
+    return self.dispatch(request, *args, **kwargs)
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\rest_framework\views.py", line 505, in dispatch
+    response = self.handle_exception(exc)
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\rest_framework\views.py", line 465, in handle_exception
+    self.raise_uncaught_exception(exc)
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\rest_framework\views.py", line 476, in raise_uncaught_exception
+    raise exc
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\rest_framework\views.py", line 502, in dispatch
+    response = handler(request, *args, **kwargs)
+  File "e:\12446\appdata\Lib\contextlib.py", line 74, in inner
+    return func(*args, **kwds)
+  File "E:\12446\PycharmProjects\lixin\obj\apps\bg\views.py", line 1005, in put
+    update_sql_dai = ClassSqls.ZyUpSql_dai.format(i['mo_no'], bg_id,i['zc_no'], i['bg_no_id'])
+KeyError: 'zc_no'
+ERROR 2020-07-03 16:57:18,622 basehttp 154 "PUT /zy/ HTTP/1.1" 500 20709
+INFO 2020-07-03 16:58:36,576 autoreload 217 E:\12446\PycharmProjects\lixin\obj\apps\bg\views.py changed, reloading.
+INFO 2020-07-03 16:58:37,471 autoreload 597 Watching for file changes with StatReloader
+ERROR 2020-07-03 16:58:42,214 log 228 Internal Server Error: /zy/
+Traceback (most recent call last):
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
+    response = get_response(request)
+  File "C:\Users\12446\Envs\lixin\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\lixin\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
+    response = wrapped_callback(request, *callback_args, **callback_kwargs)
+  File "e:\12446\appdata\Lib\contextlib.py", line 74, in inner
+    return func(*args, **kwds)
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\django\views\decorators\csrf.py", line 54, in wrapped_view
+    return view_func(*args, **kwargs)
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\django\views\generic\base.py", line 71, in view
+    return self.dispatch(request, *args, **kwargs)
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\rest_framework\views.py", line 505, in dispatch
+    response = self.handle_exception(exc)
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\rest_framework\views.py", line 465, in handle_exception
+    self.raise_uncaught_exception(exc)
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\rest_framework\views.py", line 476, in raise_uncaught_exception
+    raise exc
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\rest_framework\views.py", line 502, in dispatch
+    response = handler(request, *args, **kwargs)
+  File "e:\12446\appdata\Lib\contextlib.py", line 74, in inner
+    return func(*args, **kwds)
+  File "E:\12446\PycharmProjects\lixin\obj\apps\bg\views.py", line 1005, in put
+    update_sql_dai = ClassSqls.ZyUpSql_dai.format(i['mo_no'], bg_id,i['zc_no'], i['bg_no_id'])
+KeyError: 'zc_no'
+ERROR 2020-07-03 16:58:42,216 basehttp 154 "PUT /zy/ HTTP/1.1" 500 20709
+INFO 2020-07-03 17:00:20,044 autoreload 217 E:\12446\PycharmProjects\lixin\obj\apps\bg\views.py changed, reloading.
+INFO 2020-07-03 17:00:20,967 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-07-03 17:00:26,182 basehttp 154 "PUT /zy/ HTTP/1.1" 200 22
+INFO 2020-07-03 17:00:31,415 basehttp 154 "GET /zy/?to_date=2020-07-03&end_date=2020-07-03&bg_id=ZY&select_zc_no= HTTP/1.1" 200 256
+INFO 2020-07-03 17:00:33,843 basehttp 154 "GET /zy/?filter_no=ZY20200703001 HTTP/1.1" 200 685
+INFO 2020-07-03 17:00:50,381 basehttp 154 "PUT /zy/ HTTP/1.1" 200 22
+INFO 2020-07-03 17:00:54,463 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-03 17:00:54,531 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-03 17:00:55,502 basehttp 154 "GET /bar/ HTTP/1.1" 200 1282
+INFO 2020-07-03 17:00:56,597 basehttp 154 "GET /bg/?to_date=2020-07-03&end_date=2020-07-03&bg_id=JS&select_zc_no= HTTP/1.1" 200 479
+INFO 2020-07-03 17:00:59,372 basehttp 154 "GET /bg/?filter_no=JS20200703002 HTTP/1.1" 200 687
+INFO 2020-07-03 17:01:03,857 basehttp 154 "DELETE /bg/ HTTP/1.1" 201 43
+INFO 2020-07-03 17:01:10,496 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-03 17:01:10,508 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-03 17:01:12,747 basehttp 154 "GET /zy/?to_date=2020-07-03&end_date=2020-07-03&bg_id=ZY&select_zc_no= HTTP/1.1" 200 256
+INFO 2020-07-03 17:01:16,022 basehttp 154 "GET /zy/?filter_no=ZY20200703001 HTTP/1.1" 200 687
+INFO 2020-07-03 17:01:26,423 basehttp 154 "PUT /zy/ HTTP/1.1" 200 22
+INFO 2020-07-03 17:01:29,443 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-03 17:01:29,464 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-03 17:01:30,015 basehttp 154 "GET /bar/ HTTP/1.1" 200 1282
+INFO 2020-07-03 17:01:31,783 basehttp 154 "GET /bg/?to_date=2020-07-03&end_date=2020-07-03&bg_id=JS&select_zc_no= HTTP/1.1" 200 479
+INFO 2020-07-03 17:01:35,025 basehttp 154 "GET /bg/?filter_no=JS20200703001 HTTP/1.1" 200 687
+INFO 2020-07-03 17:01:37,538 basehttp 154 "DELETE /bg/ HTTP/1.1" 201 43
+INFO 2020-07-03 17:01:39,848 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-03 17:01:39,851 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-03 17:01:42,821 basehttp 154 "GET /zy/?to_date=2020-07-03&end_date=2020-07-03&bg_id=ZY&select_zc_no= HTTP/1.1" 200 256
+INFO 2020-07-03 17:01:46,042 basehttp 154 "GET /zy/?filter_no=ZY20200703001 HTTP/1.1" 200 685
+INFO 2020-07-03 17:01:52,558 basehttp 154 "PUT /zy/ HTTP/1.1" 200 22
+INFO 2020-07-03 17:01:55,835 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-03 17:01:55,847 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-03 17:01:56,344 basehttp 154 "GET /bar/ HTTP/1.1" 200 1282
+INFO 2020-07-03 17:01:57,834 basehttp 154 "GET /bg/?to_date=2020-07-03&end_date=2020-07-03&bg_id=JS&select_zc_no= HTTP/1.1" 200 479
+INFO 2020-07-03 17:02:02,814 basehttp 154 "GET /bg/?filter_no=JS20200703001 HTTP/1.1" 200 687
+INFO 2020-07-03 17:02:04,620 basehttp 154 "DELETE /bg/ HTTP/1.1" 201 43
+INFO 2020-07-03 17:06:54,529 autoreload 217 E:\12446\PycharmProjects\lixin\obj\apps\bg\views.py changed, reloading.
+INFO 2020-07-03 17:06:55,365 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-07-03 17:11:32,094 autoreload 217 E:\12446\PycharmProjects\lixin\obj\utils\ClssSql.py changed, reloading.
+INFO 2020-07-03 17:11:32,989 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-07-03 17:11:36,720 basehttp 154 "GET /bg/?to_date=2020-07-03&end_date=2020-07-03&bg_id=JS&select_zc_no= HTTP/1.1" 200 479
+INFO 2020-07-03 17:11:39,668 basehttp 154 "GET /bg/?filter_no=JS20200703001 HTTP/1.1" 200 687
+INFO 2020-07-03 17:11:42,146 basehttp 154 "DELETE /bg/ HTTP/1.1" 200 22
+INFO 2020-07-03 17:11:45,739 basehttp 154 "GET /bg/?to_date=2020-07-03&end_date=2020-07-03&bg_id=JS&select_zc_no= HTTP/1.1" 200 256
+INFO 2020-07-03 17:11:48,635 basehttp 154 "GET /bg/?filter_no=JS20200703002 HTTP/1.1" 200 687
+INFO 2020-07-03 17:11:50,549 basehttp 154 "DELETE /bg/ HTTP/1.1" 201 43
+INFO 2020-07-03 17:13:58,502 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-03 17:13:58,535 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-03 17:14:00,789 basehttp 154 "GET /zy/?to_date=2020-07-03&end_date=2020-07-03&bg_id=ZY&select_zc_no= HTTP/1.1" 200 256
+INFO 2020-07-03 17:14:03,701 basehttp 154 "GET /zy/?filter_no=ZY20200703001 HTTP/1.1" 200 685
+INFO 2020-07-03 17:14:15,508 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-03 17:14:15,511 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-03 17:14:16,107 basehttp 154 "GET /bar/ HTTP/1.1" 200 1282
+INFO 2020-07-03 17:23:21,244 autoreload 217 E:\12446\PycharmProjects\lixin\obj\utils\ClssSql.py changed, reloading.
+INFO 2020-07-03 17:23:22,083 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-07-03 17:23:38,744 basehttp 154 "OPTIONS /tzinfo/?mo_no=&zc_no=B04&bg_id=JS HTTP/1.1" 200 0
+INFO 2020-07-03 17:23:39,152 basehttp 154 "GET /tzinfo/?mo_no=&zc_no=B04&bg_id=JS HTTP/1.1" 200 41
+INFO 2020-07-03 17:23:46,594 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-03 17:23:46,629 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-03 17:23:48,582 basehttp 154 "GET /zy/?to_date=2020-07-03&end_date=2020-07-03&bg_id=ZY&select_zc_no= HTTP/1.1" 200 256
+ERROR 2020-07-03 17:23:50,937 log 228 Internal Server Error: /zy/
+Traceback (most recent call last):
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\django\db\backends\utils.py", line 84, in _execute
+    return self.cursor.execute(sql, params)
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\sql_server\pyodbc\base.py", line 536, in execute
+    return self.cursor.execute(sql, params)
+pyodbc.ProgrammingError: ('42000', '[42000] [Microsoft][SQL Server Native Client 10.0][SQL Server]无法绑定由多个部分组成的标识符 "b.QTY_ZY_LX"。 (4104) (SQLExecDirectW)')
+
+The above exception was the direct cause of the following exception:
+
+Traceback (most recent call last):
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
+    response = get_response(request)
+  File "C:\Users\12446\Envs\lixin\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\lixin\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
+    response = wrapped_callback(request, *callback_args, **callback_kwargs)
+  File "e:\12446\appdata\Lib\contextlib.py", line 74, in inner
+    return func(*args, **kwds)
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\django\views\decorators\csrf.py", line 54, in wrapped_view
+    return view_func(*args, **kwargs)
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\django\views\generic\base.py", line 71, in view
+    return self.dispatch(request, *args, **kwargs)
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\rest_framework\views.py", line 505, in dispatch
+    response = self.handle_exception(exc)
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\rest_framework\views.py", line 465, in handle_exception
+    self.raise_uncaught_exception(exc)
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\rest_framework\views.py", line 476, in raise_uncaught_exception
+    raise exc
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\rest_framework\views.py", line 502, in dispatch
+    response = handler(request, *args, **kwargs)
+  File "E:\12446\PycharmProjects\lixin\obj\apps\bg\views.py", line 842, in get
+    yscl_qty = executeQuery(yscl_sql)[0]
+  File "E:\12446\PycharmProjects\lixin\obj\utils\executeQuery.py", line 16, in executeQuery
+    dep_data = cursor.execute(sql, []).fetchall()
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\django\db\backends\utils.py", line 99, in execute
+    return super().execute(sql, params)
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\django\db\backends\utils.py", line 67, in execute
+    return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\django\db\backends\utils.py", line 76, in _execute_with_wrappers
+    return executor(sql, params, many, context)
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\django\db\backends\utils.py", line 84, in _execute
+    return self.cursor.execute(sql, params)
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\django\db\utils.py", line 89, in __exit__
+    raise dj_exc_value.with_traceback(traceback) from exc_value
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\django\db\backends\utils.py", line 84, in _execute
+    return self.cursor.execute(sql, params)
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\sql_server\pyodbc\base.py", line 536, in execute
+    return self.cursor.execute(sql, params)
+django.db.utils.ProgrammingError: ('42000', '[42000] [Microsoft][SQL Server Native Client 10.0][SQL Server]无法绑定由多个部分组成的标识符 "b.QTY_ZY_LX"。 (4104) (SQLExecDirectW)')
+ERROR 2020-07-03 17:23:50,940 basehttp 154 "GET /zy/?filter_no=ZY20200703001 HTTP/1.1" 500 22713
+ERROR 2020-07-03 17:23:54,729 log 228 Internal Server Error: /zy/
+Traceback (most recent call last):
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\django\db\backends\utils.py", line 84, in _execute
+    return self.cursor.execute(sql, params)
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\sql_server\pyodbc\base.py", line 536, in execute
+    return self.cursor.execute(sql, params)
+pyodbc.ProgrammingError: ('42000', '[42000] [Microsoft][SQL Server Native Client 10.0][SQL Server]无法绑定由多个部分组成的标识符 "b.QTY_ZY_LX"。 (4104) (SQLExecDirectW)')
+
+The above exception was the direct cause of the following exception:
+
+Traceback (most recent call last):
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
+    response = get_response(request)
+  File "C:\Users\12446\Envs\lixin\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\lixin\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
+    response = wrapped_callback(request, *callback_args, **callback_kwargs)
+  File "e:\12446\appdata\Lib\contextlib.py", line 74, in inner
+    return func(*args, **kwds)
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\django\views\decorators\csrf.py", line 54, in wrapped_view
+    return view_func(*args, **kwargs)
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\django\views\generic\base.py", line 71, in view
+    return self.dispatch(request, *args, **kwargs)
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\rest_framework\views.py", line 505, in dispatch
+    response = self.handle_exception(exc)
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\rest_framework\views.py", line 465, in handle_exception
+    self.raise_uncaught_exception(exc)
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\rest_framework\views.py", line 476, in raise_uncaught_exception
+    raise exc
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\rest_framework\views.py", line 502, in dispatch
+    response = handler(request, *args, **kwargs)
+  File "E:\12446\PycharmProjects\lixin\obj\apps\bg\views.py", line 842, in get
+    yscl_qty = executeQuery(yscl_sql)[0]
+  File "E:\12446\PycharmProjects\lixin\obj\utils\executeQuery.py", line 16, in executeQuery
+    dep_data = cursor.execute(sql, []).fetchall()
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\django\db\backends\utils.py", line 99, in execute
+    return super().execute(sql, params)
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\django\db\backends\utils.py", line 67, in execute
+    return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\django\db\backends\utils.py", line 76, in _execute_with_wrappers
+    return executor(sql, params, many, context)
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\django\db\backends\utils.py", line 84, in _execute
+    return self.cursor.execute(sql, params)
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\django\db\utils.py", line 89, in __exit__
+    raise dj_exc_value.with_traceback(traceback) from exc_value
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\django\db\backends\utils.py", line 84, in _execute
+    return self.cursor.execute(sql, params)
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\sql_server\pyodbc\base.py", line 536, in execute
+    return self.cursor.execute(sql, params)
+django.db.utils.ProgrammingError: ('42000', '[42000] [Microsoft][SQL Server Native Client 10.0][SQL Server]无法绑定由多个部分组成的标识符 "b.QTY_ZY_LX"。 (4104) (SQLExecDirectW)')
+ERROR 2020-07-03 17:23:54,730 basehttp 154 "GET /zy/?filter_no=ZY20200703001 HTTP/1.1" 500 22713
+INFO 2020-07-03 17:27:01,279 autoreload 217 E:\12446\PycharmProjects\lixin\obj\utils\ClssSql.py changed, reloading.
+INFO 2020-07-03 17:27:02,240 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-07-03 17:27:04,857 basehttp 154 "GET /zy/?to_date=2020-07-03&end_date=2020-07-03&bg_id=ZY&select_zc_no= HTTP/1.1" 200 256
+INFO 2020-07-03 17:27:06,997 basehttp 154 "GET /zy/?filter_no=ZY20200703001 HTTP/1.1" 200 685
+INFO 2020-07-03 17:27:18,557 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-03 17:27:18,640 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-03 17:27:19,670 basehttp 154 "GET /bar/ HTTP/1.1" 200 1282
+INFO 2020-07-03 17:27:37,697 basehttp 154 "GET /tzinfo/?mo_no=&zc_no=B04&bg_id=JS HTTP/1.1" 200 41
+INFO 2020-07-03 17:27:41,524 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-03 17:27:41,525 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-03 17:27:43,627 basehttp 154 "GET /zy/?to_date=2020-07-03&end_date=2020-07-03&bg_id=ZY&select_zc_no= HTTP/1.1" 200 256
+INFO 2020-07-03 17:27:47,092 basehttp 154 "GET /zy/?filter_no=ZY20200703001 HTTP/1.1" 200 685
+INFO 2020-07-03 17:27:59,233 basehttp 154 "PUT /zy/ HTTP/1.1" 200 22
+INFO 2020-07-03 17:28:01,817 basehttp 154 "GET /zy/?to_date=2020-07-03&end_date=2020-07-03&bg_id=ZY&select_zc_no= HTTP/1.1" 200 256
+INFO 2020-07-03 17:28:03,862 basehttp 154 "GET /zy/?filter_no=ZY20200703001 HTTP/1.1" 200 685
+INFO 2020-07-03 17:28:09,568 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-03 17:28:09,568 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-03 17:28:10,097 basehttp 154 "GET /bar/ HTTP/1.1" 200 1282
+INFO 2020-07-03 17:28:14,262 basehttp 154 "GET /tzinfo/?mo_no=&zc_no=B04&bg_id=JS HTTP/1.1" 200 41
+INFO 2020-07-03 17:28:27,432 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-03 17:28:27,445 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-03 17:28:30,942 basehttp 154 "GET /zy/?to_date=2020-07-03&end_date=2020-07-03&bg_id=ZY&select_zc_no= HTTP/1.1" 200 256
+INFO 2020-07-03 17:28:33,781 basehttp 154 "GET /zy/?filter_no=ZY20200703001 HTTP/1.1" 200 685
+INFO 2020-07-03 17:29:56,435 basehttp 154 "PUT /zy/ HTTP/1.1" 200 22
+INFO 2020-07-03 17:30:12,939 basehttp 154 "DELETE /zy/ HTTP/1.1" 200 22
+INFO 2020-07-03 17:30:35,276 basehttp 154 "GET /tzinfo/?mo_no=&zc_no=B02&bg_id=ZY&zc_no_dn=B04 HTTP/1.1" 200 359
+INFO 2020-07-03 17:30:40,016 basehttp 154 "POST /zy/ HTTP/1.1" 200 46
+INFO 2020-07-03 17:31:12,067 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-03 17:31:12,220 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-03 17:31:12,971 basehttp 154 "GET /bar/ HTTP/1.1" 200 1282
+INFO 2020-07-03 17:31:14,329 basehttp 154 "GET /bg/?to_date=2020-07-03&end_date=2020-07-03&bg_id=JS&select_zc_no= HTTP/1.1" 200 43
+INFO 2020-07-03 17:31:25,034 basehttp 154 "GET /tzinfo/?mo_no=&zc_no=B02&bg_id=JS HTTP/1.1" 200 727
+INFO 2020-07-03 17:31:28,405 basehttp 154 "POST /bg/ HTTP/1.1" 200 46
+INFO 2020-07-03 17:31:29,744 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-03 17:31:29,745 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-03 17:31:38,974 basehttp 154 "GET /tzinfo/?mo_no=&zc_no=B02&bg_id=ZY&zc_no_dn=B04 HTTP/1.1" 200 701
+INFO 2020-07-03 17:31:41,240 basehttp 154 "POST /zy/ HTTP/1.1" 200 46
+INFO 2020-07-03 17:31:52,903 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-03 17:31:53,074 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-03 17:31:53,830 basehttp 154 "GET /bar/ HTTP/1.1" 200 1282
+INFO 2020-07-03 17:31:57,486 basehttp 154 "GET /tzinfo/?mo_no=&zc_no=B04&bg_id=JS HTTP/1.1" 200 743
+INFO 2020-07-03 17:32:50,491 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-03 17:32:50,491 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-03 17:32:53,061 basehttp 154 "GET /zy/?to_date=2020-07-03&end_date=2020-07-03&bg_id=ZY&select_zc_no= HTTP/1.1" 200 256
+INFO 2020-07-03 17:32:55,314 basehttp 154 "GET /zy/?filter_no=ZY20200703001 HTTP/1.1" 200 1102
+INFO 2020-07-06 08:42:55,098 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-07-06 08:44:27,794 basehttp 154 "OPTIONS /authorizations/ HTTP/1.1" 200 0
+INFO 2020-07-06 08:44:28,490 basehttp 154 "POST /authorizations/ HTTP/1.1" 200 273
+INFO 2020-07-06 08:44:28,536 basehttp 154 "OPTIONS /bar/ HTTP/1.1" 200 0
+INFO 2020-07-06 08:44:29,899 basehttp 154 "GET /bar/ HTTP/1.1" 200 1282
+INFO 2020-07-06 08:44:32,114 basehttp 154 "OPTIONS /salm/ HTTP/1.1" 200 0
+INFO 2020-07-06 08:44:32,119 basehttp 154 "OPTIONS /zcno/ HTTP/1.1" 200 0
+INFO 2020-07-06 08:44:32,336 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-06 08:44:32,415 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-06 08:44:33,348 basehttp 154 "GET /bar/ HTTP/1.1" 200 1282
+INFO 2020-07-06 08:44:34,055 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-06 08:44:34,055 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-06 08:44:44,082 basehttp 154 "OPTIONS /tzinfo/?mo_no=&zc_no=B02&bg_id=ZY&zc_no_dn=B04 HTTP/1.1" 200 0
+INFO 2020-07-06 08:44:44,394 basehttp 154 "GET /tzinfo/?mo_no=&zc_no=B02&bg_id=ZY&zc_no_dn=B04 HTTP/1.1" 200 41
+INFO 2020-07-06 08:44:49,763 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-06 08:44:49,777 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-06 08:45:00,815 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-06 08:45:00,818 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-06 08:45:13,791 basehttp 154 "OPTIONS /tzinfo/?mo_no=&zc_no=B04&bg_id=ZY&zc_no_dn=B06 HTTP/1.1" 200 0
+INFO 2020-07-06 08:45:14,027 basehttp 154 "GET /tzinfo/?mo_no=&zc_no=B04&bg_id=ZY&zc_no_dn=B06 HTTP/1.1" 200 41
+INFO 2020-07-06 08:46:07,829 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-06 08:46:07,848 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-06 08:46:08,401 basehttp 154 "GET /bar/ HTTP/1.1" 200 1282
+INFO 2020-07-06 08:46:14,578 basehttp 154 "OPTIONS /tzinfo/?mo_no=&zc_no=B02&bg_id=JS HTTP/1.1" 200 0
+INFO 2020-07-06 08:46:14,777 basehttp 154 "GET /tzinfo/?mo_no=&zc_no=B02&bg_id=JS HTTP/1.1" 200 41
+INFO 2020-07-06 08:48:30,609 basehttp 154 "GET /tzinfo/?mo_no=&zc_no=B02&bg_id=JS HTTP/1.1" 200 41
+INFO 2020-07-06 08:48:32,798 basehttp 154 "GET /tzinfo/?mo_no=&zc_no=B02&bg_id=JS HTTP/1.1" 200 41
+INFO 2020-07-06 08:50:55,368 basehttp 154 "GET /tzinfo/?mo_no=&zc_no=B02&bg_id=JS HTTP/1.1" 200 727
+INFO 2020-07-06 08:51:32,827 basehttp 154 "OPTIONS /bg/ HTTP/1.1" 200 0
+INFO 2020-07-06 08:51:33,190 basehttp 154 "DELETE /bg/ HTTP/1.1" 200 22
+INFO 2020-07-06 08:51:38,096 basehttp 154 "POST /bg/ HTTP/1.1" 200 46
+INFO 2020-07-06 08:51:39,584 basehttp 154 "GET /tzinfo/?mo_no=&zc_no=B02&bg_id=JS HTTP/1.1" 200 727
+INFO 2020-07-06 08:51:41,342 basehttp 154 "DELETE /bg/ HTTP/1.1" 200 22
+INFO 2020-07-06 08:51:49,844 basehttp 154 "POST /bg/ HTTP/1.1" 200 46
+INFO 2020-07-06 08:51:51,729 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-06 08:51:51,964 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-06 08:52:10,943 basehttp 154 "GET /tzinfo/?mo_no=&zc_no=B02&bg_id=ZY&zc_no_dn=B04 HTTP/1.1" 200 359
+INFO 2020-07-06 08:52:20,248 basehttp 154 "OPTIONS /zy/ HTTP/1.1" 200 0
+INFO 2020-07-06 08:52:20,708 basehttp 154 "POST /zy/ HTTP/1.1" 200 46
+INFO 2020-07-06 08:52:26,522 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-06 08:52:26,537 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-06 08:52:29,300 basehttp 154 "OPTIONS /pg/?to_date=2020-07-06&end_date=2020-07-06&bg_id=PG&select_zc_no= HTTP/1.1" 200 0
+INFO 2020-07-06 08:52:29,513 basehttp 154 "GET /pg/?to_date=2020-07-06&end_date=2020-07-06&bg_id=PG&select_zc_no= HTTP/1.1" 200 43
+INFO 2020-07-06 08:52:34,761 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-06 08:52:34,768 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-06 08:52:35,443 basehttp 154 "GET /bar/ HTTP/1.1" 200 1282
+INFO 2020-07-06 08:52:37,538 basehttp 154 "OPTIONS /bg/?to_date=2020-07-06&end_date=2020-07-06&bg_id=JS&select_zc_no= HTTP/1.1" 200 0
+INFO 2020-07-06 08:52:37,814 basehttp 154 "GET /bg/?to_date=2020-07-06&end_date=2020-07-06&bg_id=JS&select_zc_no= HTTP/1.1" 200 479
+INFO 2020-07-06 08:52:39,730 basehttp 154 "OPTIONS /bg/?filter_no=JS20200706002 HTTP/1.1" 200 0
+INFO 2020-07-06 08:52:39,999 basehttp 154 "GET /bg/?filter_no=JS20200706002 HTTP/1.1" 200 687
+INFO 2020-07-06 08:52:42,398 basehttp 154 "DELETE /bg/ HTTP/1.1" 201 43
+INFO 2020-07-06 08:56:17,261 basehttp 154 "OPTIONS /tzinfo/?mo_no=&zc_no=B04&bg_id=JS HTTP/1.1" 200 0
+INFO 2020-07-06 08:56:17,563 basehttp 154 "GET /tzinfo/?mo_no=&zc_no=B04&bg_id=JS HTTP/1.1" 200 380
+INFO 2020-07-06 08:56:48,336 basehttp 154 "POST /bg/ HTTP/1.1" 200 46
+INFO 2020-07-06 08:56:50,278 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-06 08:56:50,347 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-06 08:57:01,051 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-06 08:57:01,051 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-06 08:57:01,694 basehttp 154 "GET /bar/ HTTP/1.1" 200 1282
+INFO 2020-07-06 08:57:03,284 basehttp 154 "GET /bg/?to_date=2020-07-06&end_date=2020-07-06&bg_id=JS&select_zc_no= HTTP/1.1" 200 702
+INFO 2020-07-06 08:57:05,513 basehttp 154 "OPTIONS /bg/?filter_no=JS20200706003 HTTP/1.1" 200 0
+INFO 2020-07-06 08:57:05,759 basehttp 154 "GET /bg/?filter_no=JS20200706003 HTTP/1.1" 200 693
+INFO 2020-07-06 08:57:09,755 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-06 08:57:09,756 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-06 08:57:14,865 basehttp 154 "OPTIONS /tzinfo/?mo_no=MO06180004&zc_no=B04&bg_id=PG HTTP/1.1" 200 0
+INFO 2020-07-06 08:57:15,220 basehttp 154 "GET /tzinfo/?mo_no=MO06180004&zc_no=B04&bg_id=PG HTTP/1.1" 200 51
+INFO 2020-07-06 08:57:37,140 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-06 08:57:37,141 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-06 08:57:46,502 basehttp 154 "GET /tzinfo/?mo_no=&zc_no=B04&bg_id=ZY&zc_no_dn=B06 HTTP/1.1" 200 367
+INFO 2020-07-06 08:57:57,547 basehttp 154 "POST /zy/ HTTP/1.1" 200 46
+INFO 2020-07-06 08:58:00,816 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-06 08:58:00,830 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-06 08:58:01,386 basehttp 154 "GET /bar/ HTTP/1.1" 200 1282
+INFO 2020-07-06 08:58:06,818 basehttp 154 "GET /bg/?to_date=2020-07-06&end_date=2020-07-06&bg_id=JS&select_zc_no= HTTP/1.1" 200 702
+INFO 2020-07-06 08:58:09,299 basehttp 154 "GET /bg/?filter_no=JS20200706003 HTTP/1.1" 200 693
+INFO 2020-07-06 08:58:11,206 basehttp 154 "DELETE /bg/ HTTP/1.1" 201 43
+INFO 2020-07-06 08:58:16,272 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-06 08:58:16,273 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-06 08:58:19,896 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-06 08:58:19,898 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-06 08:58:20,424 basehttp 154 "GET /bar/ HTTP/1.1" 200 1282
+INFO 2020-07-06 08:58:25,369 basehttp 154 "OPTIONS /tzinfo/?mo_no=&zc_no=B06&bg_id=JS HTTP/1.1" 200 0
+INFO 2020-07-06 08:58:25,607 basehttp 154 "GET /tzinfo/?mo_no=&zc_no=B06&bg_id=JS HTTP/1.1" 200 379
+INFO 2020-07-06 08:58:35,152 basehttp 154 "POST /bg/ HTTP/1.1" 200 46
+INFO 2020-07-06 09:08:14,966 autoreload 217 E:\12446\PycharmProjects\lixin\obj\utils\ClssSql.py changed, reloading.
+INFO 2020-07-06 09:08:15,795 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-07-06 09:20:11,376 autoreload 217 E:\12446\PycharmProjects\lixin\obj\apps\bg\views.py changed, reloading.
+INFO 2020-07-06 09:20:12,156 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-07-06 09:30:16,638 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-06 09:30:16,654 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-06 09:30:18,621 basehttp 154 "OPTIONS /zy/?to_date=2020-07-06&end_date=2020-07-06&bg_id=ZY&select_zc_no= HTTP/1.1" 200 0
+INFO 2020-07-06 09:30:18,837 basehttp 154 "GET /zy/?to_date=2020-07-06&end_date=2020-07-06&bg_id=ZY&select_zc_no= HTTP/1.1" 200 479
+INFO 2020-07-06 09:30:21,392 basehttp 154 "OPTIONS /zy/?filter_no=ZY20200706002 HTTP/1.1" 200 0
+INFO 2020-07-06 09:30:21,631 basehttp 154 "GET /zy/?filter_no=ZY20200706002 HTTP/1.1" 200 695
+INFO 2020-07-06 09:32:41,405 autoreload 217 E:\12446\PycharmProjects\lixin\obj\utils\ClssSql.py changed, reloading.
+INFO 2020-07-06 09:32:42,449 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-07-06 09:37:10,408 autoreload 217 E:\12446\PycharmProjects\lixin\obj\apps\bg\views.py changed, reloading.
+INFO 2020-07-06 09:37:11,217 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-07-06 09:38:16,289 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-06 09:38:16,291 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-06 09:38:16,819 basehttp 154 "GET /bar/ HTTP/1.1" 200 1282
+INFO 2020-07-06 09:38:18,681 basehttp 154 "GET /bg/?to_date=2020-07-06&end_date=2020-07-06&bg_id=JS&select_zc_no= HTTP/1.1" 200 925
+INFO 2020-07-06 09:38:20,864 basehttp 154 "OPTIONS /bg/?filter_no=JS20200706004 HTTP/1.1" 200 0
+INFO 2020-07-06 09:38:21,546 basehttp 154 "GET /bg/?filter_no=JS20200706004 HTTP/1.1" 200 690
+INFO 2020-07-06 09:38:26,286 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-06 09:38:26,311 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-06 09:38:30,303 basehttp 154 "GET /zy/?to_date=2020-07-06&end_date=2020-07-06&bg_id=ZY&select_zc_no= HTTP/1.1" 200 479
+INFO 2020-07-06 09:38:32,578 basehttp 154 "GET /zy/?filter_no=ZY20200706002 HTTP/1.1" 200 695
+INFO 2020-07-06 09:41:09,989 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-06 09:41:10,008 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-06 09:41:12,075 basehttp 154 "GET /zy/?to_date=2020-07-06&end_date=2020-07-06&bg_id=ZY&select_zc_no= HTTP/1.1" 200 479
+INFO 2020-07-06 09:41:12,360 basehttp 154 "GET /zy/?to_date=2020-07-06&end_date=2020-07-06&bg_id=ZY&select_zc_no= HTTP/1.1" 200 479
+INFO 2020-07-06 09:41:14,885 basehttp 154 "GET /zy/?filter_no=ZY20200706002 HTTP/1.1" 200 695
+ERROR 2020-07-06 09:41:18,850 log 228 Internal Server Error: /zy/
+Traceback (most recent call last):
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
+    response = get_response(request)
+  File "C:\Users\12446\Envs\lixin\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\lixin\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
+    response = wrapped_callback(request, *callback_args, **callback_kwargs)
+  File "e:\12446\appdata\Lib\contextlib.py", line 74, in inner
+    return func(*args, **kwds)
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\django\views\decorators\csrf.py", line 54, in wrapped_view
+    return view_func(*args, **kwargs)
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\django\views\generic\base.py", line 71, in view
+    return self.dispatch(request, *args, **kwargs)
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\rest_framework\views.py", line 505, in dispatch
+    response = self.handle_exception(exc)
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\rest_framework\views.py", line 465, in handle_exception
+    self.raise_uncaught_exception(exc)
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\rest_framework\views.py", line 476, in raise_uncaught_exception
+    raise exc
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\rest_framework\views.py", line 502, in dispatch
+    response = handler(request, *args, **kwargs)
+  File "e:\12446\appdata\Lib\contextlib.py", line 74, in inner
+    return func(*args, **kwds)
+  File "E:\12446\PycharmProjects\lixin\obj\apps\bg\views.py", line 1080, in delete
+    yscl_sql = ClassSqls.BgYscl.format(scope.get('zt_no'))
+AttributeError: 'NoneType' object has no attribute 'get'
+ERROR 2020-07-06 09:41:18,850 basehttp 154 "DELETE /zy/ HTTP/1.1" 500 20755
+INFO 2020-07-06 09:43:31,590 autoreload 217 E:\12446\PycharmProjects\lixin\obj\apps\bg\views.py changed, reloading.
+INFO 2020-07-06 09:43:32,510 autoreload 597 Watching for file changes with StatReloader
+ERROR 2020-07-06 09:43:37,412 log 228 Internal Server Error: /zy/
+Traceback (most recent call last):
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
+    response = get_response(request)
+  File "C:\Users\12446\Envs\lixin\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\lixin\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
+    response = wrapped_callback(request, *callback_args, **callback_kwargs)
+  File "e:\12446\appdata\Lib\contextlib.py", line 74, in inner
+    return func(*args, **kwds)
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\django\views\decorators\csrf.py", line 54, in wrapped_view
+    return view_func(*args, **kwargs)
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\django\views\generic\base.py", line 71, in view
+    return self.dispatch(request, *args, **kwargs)
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\rest_framework\views.py", line 505, in dispatch
+    response = self.handle_exception(exc)
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\rest_framework\views.py", line 465, in handle_exception
+    self.raise_uncaught_exception(exc)
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\rest_framework\views.py", line 476, in raise_uncaught_exception
+    raise exc
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\rest_framework\views.py", line 502, in dispatch
+    response = handler(request, *args, **kwargs)
+  File "e:\12446\appdata\Lib\contextlib.py", line 74, in inner
+    return func(*args, **kwds)
+  File "E:\12446\PycharmProjects\lixin\obj\apps\bg\views.py", line 1089, in delete
+    print(yscl_qty['shqty'])
+KeyError: 'shqty'
+ERROR 2020-07-06 09:43:37,412 basehttp 154 "DELETE /zy/ HTTP/1.1" 500 20651
+INFO 2020-07-06 09:44:01,155 autoreload 217 E:\12446\PycharmProjects\lixin\obj\apps\bg\views.py changed, reloading.
+INFO 2020-07-06 09:44:02,124 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-07-06 09:44:06,039 basehttp 154 "DELETE /zy/ HTTP/1.1" 201 43
+INFO 2020-07-06 09:44:48,223 basehttp 154 "GET /zy/?to_date=2020-07-06&end_date=2020-07-06&bg_id=ZY&select_zc_no= HTTP/1.1" 200 479
+INFO 2020-07-06 09:44:50,554 basehttp 154 "GET /zy/?filter_no=ZY20200706002 HTTP/1.1" 200 695
+INFO 2020-07-06 09:44:54,397 basehttp 154 "DELETE /zy/ HTTP/1.1" 201 43
+INFO 2020-07-06 09:45:25,414 autoreload 217 E:\12446\PycharmProjects\lixin\obj\apps\bg\views.py changed, reloading.
+INFO 2020-07-06 09:45:26,414 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-07-06 09:45:32,088 autoreload 217 E:\12446\PycharmProjects\lixin\obj\apps\bg\views.py changed, reloading.
+INFO 2020-07-06 09:45:33,057 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-07-06 09:45:42,488 basehttp 154 "GET /zy/?to_date=2020-07-06&end_date=2020-07-06&bg_id=ZY&select_zc_no= HTTP/1.1" 200 479
+INFO 2020-07-06 09:45:44,957 basehttp 154 "GET /zy/?filter_no=ZY20200706002 HTTP/1.1" 200 695
+INFO 2020-07-06 09:45:47,515 basehttp 154 "DELETE /zy/ HTTP/1.1" 201 43
+INFO 2020-07-06 09:49:04,773 autoreload 217 E:\12446\PycharmProjects\lixin\obj\apps\bg\views.py changed, reloading.
+INFO 2020-07-06 09:49:05,693 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-07-06 09:49:12,570 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-06 09:49:12,602 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-06 09:49:13,773 basehttp 154 "GET /bar/ HTTP/1.1" 200 1282
+INFO 2020-07-06 09:49:18,299 basehttp 154 "GET /zy/?to_date=2020-07-06&end_date=2020-07-06&bg_id=ZY&select_zc_no= HTTP/1.1" 200 479
+INFO 2020-07-06 09:49:21,509 basehttp 154 "GET /zy/?filter_no=ZY20200706002 HTTP/1.1" 200 695
+INFO 2020-07-06 09:49:24,100 basehttp 154 "DELETE /zy/ HTTP/1.1" 201 43
+INFO 2020-07-06 09:50:45,871 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-06 09:50:45,889 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-06 09:51:08,861 basehttp 154 "GET /zy/?to_date=2020-07-06&end_date=2020-07-06&bg_id=ZY&select_zc_no= HTTP/1.1" 200 479
+INFO 2020-07-06 09:51:12,027 basehttp 154 "GET /zy/?filter_no=ZY20200706002 HTTP/1.1" 200 695
+INFO 2020-07-06 09:51:14,959 basehttp 154 "DELETE /zy/ HTTP/1.1" 201 43
+INFO 2020-07-06 09:53:15,317 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-06 09:53:15,345 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-06 09:53:16,062 basehttp 154 "GET /bar/ HTTP/1.1" 200 1282
+INFO 2020-07-06 09:53:17,559 basehttp 154 "GET /bg/?to_date=2020-07-06&end_date=2020-07-06&bg_id=JS&select_zc_no= HTTP/1.1" 200 925
+INFO 2020-07-06 09:53:20,109 basehttp 154 "GET /bg/?filter_no=JS20200706004 HTTP/1.1" 200 690
+ERROR 2020-07-06 09:53:22,461 log 228 Internal Server Error: /bg/
+Traceback (most recent call last):
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
+    response = get_response(request)
+  File "C:\Users\12446\Envs\lixin\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\lixin\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
+    response = wrapped_callback(request, *callback_args, **callback_kwargs)
+  File "e:\12446\appdata\Lib\contextlib.py", line 74, in inner
+    return func(*args, **kwds)
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\django\views\decorators\csrf.py", line 54, in wrapped_view
+    return view_func(*args, **kwargs)
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\django\views\generic\base.py", line 71, in view
+    return self.dispatch(request, *args, **kwargs)
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\rest_framework\views.py", line 505, in dispatch
+    response = self.handle_exception(exc)
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\rest_framework\views.py", line 465, in handle_exception
+    self.raise_uncaught_exception(exc)
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\rest_framework\views.py", line 476, in raise_uncaught_exception
+    raise exc
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\rest_framework\views.py", line 502, in dispatch
+    response = handler(request, *args, **kwargs)
+  File "e:\12446\appdata\Lib\contextlib.py", line 74, in inner
+    return func(*args, **kwds)
+  File "E:\12446\PycharmProjects\lixin\obj\apps\bg\views.py", line 321, in delete
+    if int(i.get('spc_no'))==1:
+ValueError: invalid literal for int() with base 10: ''
+ERROR 2020-07-06 09:53:22,462 basehttp 154 "DELETE /bg/ HTTP/1.1" 500 20727
+ERROR 2020-07-06 09:53:25,168 log 228 Internal Server Error: /bg/
+Traceback (most recent call last):
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
+    response = get_response(request)
+  File "C:\Users\12446\Envs\lixin\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\lixin\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
+    response = wrapped_callback(request, *callback_args, **callback_kwargs)
+  File "e:\12446\appdata\Lib\contextlib.py", line 74, in inner
+    return func(*args, **kwds)
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\django\views\decorators\csrf.py", line 54, in wrapped_view
+    return view_func(*args, **kwargs)
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\django\views\generic\base.py", line 71, in view
+    return self.dispatch(request, *args, **kwargs)
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\rest_framework\views.py", line 505, in dispatch
+    response = self.handle_exception(exc)
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\rest_framework\views.py", line 465, in handle_exception
+    self.raise_uncaught_exception(exc)
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\rest_framework\views.py", line 476, in raise_uncaught_exception
+    raise exc
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\rest_framework\views.py", line 502, in dispatch
+    response = handler(request, *args, **kwargs)
+  File "e:\12446\appdata\Lib\contextlib.py", line 74, in inner
+    return func(*args, **kwds)
+  File "E:\12446\PycharmProjects\lixin\obj\apps\bg\views.py", line 321, in delete
+    if int(i.get('spc_no'))==1:
+ValueError: invalid literal for int() with base 10: ''
+ERROR 2020-07-06 09:53:25,168 basehttp 154 "DELETE /bg/ HTTP/1.1" 500 20727
+INFO 2020-07-06 09:56:02,332 autoreload 217 E:\12446\PycharmProjects\lixin\obj\apps\bg\views.py changed, reloading.
+INFO 2020-07-06 09:56:03,352 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-07-06 09:56:10,596 basehttp 154 "DELETE /bg/ HTTP/1.1" 200 22
+INFO 2020-07-06 09:56:27,905 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-06 09:56:27,906 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-06 09:56:29,895 basehttp 154 "GET /zy/?to_date=2020-07-06&end_date=2020-07-06&bg_id=ZY&select_zc_no= HTTP/1.1" 200 479
+INFO 2020-07-06 09:56:32,476 basehttp 154 "GET /zy/?filter_no=ZY20200706002 HTTP/1.1" 200 695
+INFO 2020-07-06 09:56:35,421 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-06 09:56:35,448 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-06 09:56:36,269 basehttp 154 "GET /bar/ HTTP/1.1" 200 1282
+INFO 2020-07-06 09:56:43,300 basehttp 154 "GET /tzinfo/?mo_no=&zc_no=B06&bg_id=JS HTTP/1.1" 200 379
+INFO 2020-07-06 09:56:46,941 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-06 09:56:46,947 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-06 09:56:49,940 basehttp 154 "GET /zy/?to_date=2020-07-06&end_date=2020-07-06&bg_id=ZY&select_zc_no= HTTP/1.1" 200 479
+INFO 2020-07-06 09:56:52,845 basehttp 154 "GET /zy/?filter_no=ZY20200706002 HTTP/1.1" 200 695
+INFO 2020-07-06 09:56:55,337 basehttp 154 "DELETE /zy/ HTTP/1.1" 201 43
+INFO 2020-07-06 09:58:44,891 autoreload 217 E:\12446\PycharmProjects\lixin\obj\apps\bg\views.py changed, reloading.
+INFO 2020-07-06 09:58:45,720 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-07-06 09:59:06,278 autoreload 217 E:\12446\PycharmProjects\lixin\obj\apps\bg\views.py changed, reloading.
+INFO 2020-07-06 09:59:07,287 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-07-06 09:59:18,382 basehttp 154 "GET /zy/?to_date=2020-07-06&end_date=2020-07-06&bg_id=ZY&select_zc_no= HTTP/1.1" 200 479
+INFO 2020-07-06 09:59:21,049 basehttp 154 "GET /zy/?filter_no=ZY20200706002 HTTP/1.1" 200 695
+INFO 2020-07-06 09:59:24,229 basehttp 154 "DELETE /zy/ HTTP/1.1" 201 43
+INFO 2020-07-06 10:01:45,532 autoreload 217 E:\12446\PycharmProjects\lixin\obj\apps\bg\views.py changed, reloading.
+INFO 2020-07-06 10:01:46,411 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-07-06 10:01:54,395 basehttp 154 "GET /zy/?to_date=2020-07-06&end_date=2020-07-06&bg_id=ZY&select_zc_no= HTTP/1.1" 200 479
+INFO 2020-07-06 10:01:56,950 basehttp 154 "GET /zy/?filter_no=ZY20200706002 HTTP/1.1" 200 695
+INFO 2020-07-06 10:02:00,417 basehttp 154 "DELETE /zy/ HTTP/1.1" 200 22
+INFO 2020-07-06 10:02:13,663 basehttp 154 "GET /tzinfo/?mo_no=&zc_no=B04&bg_id=ZY&zc_no_dn=B06 HTTP/1.1" 200 367
+INFO 2020-07-06 10:05:09,717 autoreload 217 E:\12446\PycharmProjects\lixin\obj\apps\bg\views.py changed, reloading.
+INFO 2020-07-06 10:05:10,776 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-07-06 10:05:45,710 basehttp 154 "POST /zy/ HTTP/1.1" 200 46
+INFO 2020-07-06 10:05:55,717 basehttp 154 "DELETE /zy/ HTTP/1.1" 200 22
+INFO 2020-07-06 10:06:09,424 autoreload 217 E:\12446\PycharmProjects\lixin\obj\apps\bg\views.py changed, reloading.
+INFO 2020-07-06 10:06:10,514 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-07-06 10:06:18,527 basehttp 154 "GET /tzinfo/?mo_no=&zc_no=B04&bg_id=ZY&zc_no_dn=B06 HTTP/1.1" 200 367
+INFO 2020-07-06 10:06:20,494 basehttp 154 "POST /zy/ HTTP/1.1" 200 46
+INFO 2020-07-06 10:06:25,366 basehttp 154 "DELETE /zy/ HTTP/1.1" 200 22
+INFO 2020-07-06 10:06:42,627 autoreload 217 E:\12446\PycharmProjects\lixin\obj\apps\bg\views.py changed, reloading.
+INFO 2020-07-06 10:06:43,457 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-07-06 10:07:22,691 autoreload 217 E:\12446\PycharmProjects\lixin\obj\apps\bg\bgutils.py changed, reloading.
+INFO 2020-07-06 10:07:23,511 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-07-06 10:07:31,717 basehttp 154 "GET /zy/?to_date=2020-07-06&end_date=2020-07-06&bg_id=ZY&select_zc_no= HTTP/1.1" 200 256
+INFO 2020-07-06 10:07:43,099 basehttp 154 "GET /tzinfo/?mo_no=&zc_no=B04&bg_id=ZY&zc_no_dn=B06 HTTP/1.1" 200 367
+INFO 2020-07-06 10:07:45,952 basehttp 154 "POST /zy/ HTTP/1.1" 200 46
+INFO 2020-07-06 10:07:56,244 basehttp 154 "DELETE /zy/ HTTP/1.1" 200 22
+INFO 2020-07-06 10:08:25,959 autoreload 217 E:\12446\PycharmProjects\lixin\obj\apps\bg\views.py changed, reloading.
+INFO 2020-07-06 10:08:26,749 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-07-06 10:08:40,033 basehttp 154 "GET /tzinfo/?mo_no=&zc_no=B04&bg_id=ZY&zc_no_dn=B06 HTTP/1.1" 200 367
+INFO 2020-07-06 10:08:42,342 basehttp 154 "POST /zy/ HTTP/1.1" 200 46
+INFO 2020-07-06 10:08:48,174 basehttp 154 "DELETE /zy/ HTTP/1.1" 200 22
+INFO 2020-07-06 10:09:03,785 basehttp 154 "GET /tzinfo/?mo_no=&zc_no=B04&bg_id=ZY&zc_no_dn=B06 HTTP/1.1" 200 367
+INFO 2020-07-06 10:09:05,710 basehttp 154 "POST /zy/ HTTP/1.1" 200 46
+INFO 2020-07-06 10:11:24,962 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-06 10:11:25,020 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-06 10:11:25,539 basehttp 154 "GET /bar/ HTTP/1.1" 200 1282
+INFO 2020-07-06 10:11:34,164 basehttp 154 "GET /tzinfo/?mo_no=&zc_no=B06&bg_id=JS HTTP/1.1" 200 379
+INFO 2020-07-06 10:11:36,553 basehttp 154 "POST /bg/ HTTP/1.1" 200 46
+INFO 2020-07-06 10:11:42,782 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-06 10:11:42,879 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-06 10:11:45,890 basehttp 154 "GET /zy/?to_date=2020-07-06&end_date=2020-07-06&bg_id=ZY&select_zc_no= HTTP/1.1" 200 479
+INFO 2020-07-06 10:11:48,336 basehttp 154 "GET /zy/?filter_no=ZY20200706002 HTTP/1.1" 200 693
+INFO 2020-07-06 10:11:50,495 basehttp 154 "DELETE /zy/ HTTP/1.1" 200 22
+INFO 2020-07-06 10:12:05,533 autoreload 217 E:\12446\PycharmProjects\lixin\obj\apps\bg\views.py changed, reloading.
+INFO 2020-07-06 10:12:06,372 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-07-06 10:12:23,326 basehttp 154 "GET /tzinfo/?mo_no=&zc_no=B04&bg_id=ZY&zc_no_dn=B06 HTTP/1.1" 200 367
+INFO 2020-07-06 10:12:25,313 basehttp 154 "POST /zy/ HTTP/1.1" 200 46
+INFO 2020-07-06 10:12:35,111 basehttp 154 "DELETE /zy/ HTTP/1.1" 200 22
+INFO 2020-07-06 10:12:57,042 autoreload 217 E:\12446\PycharmProjects\lixin\obj\apps\bg\views.py changed, reloading.
+INFO 2020-07-06 10:12:57,969 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-07-06 10:13:07,234 basehttp 154 "GET /tzinfo/?mo_no=&zc_no=B04&bg_id=ZY&zc_no_dn=B06 HTTP/1.1" 200 367
+INFO 2020-07-06 10:13:09,243 basehttp 154 "POST /zy/ HTTP/1.1" 200 46
+INFO 2020-07-06 10:13:15,591 basehttp 154 "DELETE /zy/ HTTP/1.1" 201 43
+INFO 2020-07-06 10:14:33,125 autoreload 217 E:\12446\PycharmProjects\lixin\obj\apps\bg\views.py changed, reloading.
+INFO 2020-07-06 10:14:33,905 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-07-06 10:15:52,099 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-06 10:15:52,136 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-06 10:15:52,547 basehttp 154 "GET /bar/ HTTP/1.1" 200 1282
+INFO 2020-07-06 10:15:54,353 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-06 10:15:54,354 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-06 10:16:07,701 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-06 10:16:07,808 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-06 10:16:08,176 basehttp 154 "GET /bar/ HTTP/1.1" 200 1282
+INFO 2020-07-06 10:16:09,505 basehttp 154 "GET /bg/?to_date=2020-07-06&end_date=2020-07-06&bg_id=JS&select_zc_no= HTTP/1.1" 200 925
+INFO 2020-07-06 10:16:11,823 basehttp 154 "GET /bg/?filter_no=JS20200706004 HTTP/1.1" 200 690
+INFO 2020-07-06 10:16:16,257 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-06 10:16:16,263 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-06 10:16:21,996 basehttp 154 "OPTIONS /tzinfo/?mo_no=MO06180004&zc_no=B06&bg_id=PG HTTP/1.1" 200 0
+INFO 2020-07-06 10:16:22,184 basehttp 154 "GET /tzinfo/?mo_no=MO06180004&zc_no=B06&bg_id=PG HTTP/1.1" 200 367
+INFO 2020-07-06 10:16:26,180 basehttp 154 "OPTIONS /pg/ HTTP/1.1" 200 0
+INFO 2020-07-06 10:16:26,612 basehttp 154 "POST /pg/ HTTP/1.1" 200 46
+INFO 2020-07-06 10:16:28,695 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-06 10:16:28,709 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-06 10:16:29,244 basehttp 154 "GET /bar/ HTTP/1.1" 200 1282
+INFO 2020-07-06 10:16:30,922 basehttp 154 "GET /bg/?to_date=2020-07-06&end_date=2020-07-06&bg_id=JS&select_zc_no= HTTP/1.1" 200 925
+INFO 2020-07-06 10:16:34,365 basehttp 154 "GET /bg/?filter_no=JS20200706004 HTTP/1.1" 200 690
+INFO 2020-07-06 10:16:36,618 basehttp 154 "DELETE /bg/ HTTP/1.1" 200 22
+INFO 2020-07-06 10:18:58,465 autoreload 217 E:\12446\PycharmProjects\lixin\obj\apps\bg\views.py changed, reloading.
+INFO 2020-07-06 10:18:59,294 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-07-06 10:19:12,759 basehttp 154 "GET /tzinfo/?mo_no=&zc_no=B06&bg_id=JS HTTP/1.1" 200 379
+INFO 2020-07-06 10:19:14,525 basehttp 154 "POST /bg/ HTTP/1.1" 200 46
+INFO 2020-07-06 10:19:15,973 basehttp 154 "DELETE /bg/ HTTP/1.1" 201 43
+INFO 2020-07-06 10:19:38,646 autoreload 217 E:\12446\PycharmProjects\lixin\obj\apps\bg\views.py changed, reloading.
+INFO 2020-07-06 10:19:39,476 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-07-06 10:19:54,897 autoreload 217 E:\12446\PycharmProjects\lixin\obj\apps\bg\views.py changed, reloading.
+INFO 2020-07-06 10:19:55,677 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-07-06 10:20:06,121 autoreload 217 E:\12446\PycharmProjects\lixin\obj\apps\bg\views.py changed, reloading.
+INFO 2020-07-06 10:20:06,951 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-07-06 10:20:13,607 autoreload 217 E:\12446\PycharmProjects\lixin\obj\apps\bg\views.py changed, reloading.
+INFO 2020-07-06 10:20:14,367 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-07-06 10:20:23,552 autoreload 217 E:\12446\PycharmProjects\lixin\obj\apps\bg\views.py changed, reloading.
+INFO 2020-07-06 10:20:24,362 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-07-06 10:20:32,327 autoreload 217 E:\12446\PycharmProjects\lixin\obj\apps\bg\views.py changed, reloading.
+INFO 2020-07-06 10:20:33,177 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-07-06 10:20:40,908 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-06 10:20:40,930 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-06 10:20:50,914 basehttp 154 "GET /pg/?to_date=2020-07-06&end_date=2020-07-06&bg_id=PG&select_zc_no= HTTP/1.1" 200 266
+INFO 2020-07-06 10:20:52,889 basehttp 154 "OPTIONS /pg/?filter_no=PG20200706001 HTTP/1.1" 200 0
+INFO 2020-07-06 10:20:53,122 basehttp 154 "GET /pg/?filter_no=PG20200706001 HTTP/1.1" 200 698
+INFO 2020-07-06 10:21:06,043 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-06 10:21:06,055 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-06 10:21:13,873 basehttp 154 "OPTIONS /tzinfo/?mo_no=MO06180004&zc_no=B06&bg_id=SH HTTP/1.1" 200 0
+INFO 2020-07-06 10:21:14,174 basehttp 154 "GET /tzinfo/?mo_no=MO06180004&zc_no=B06&bg_id=SH HTTP/1.1" 200 381
+INFO 2020-07-06 10:21:17,694 basehttp 154 "OPTIONS /sh/ HTTP/1.1" 200 0
+ERROR 2020-07-06 10:21:18,136 log 228 Internal Server Error: /sh/
+Traceback (most recent call last):
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
+    response = get_response(request)
+  File "C:\Users\12446\Envs\lixin\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\lixin\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
+    response = wrapped_callback(request, *callback_args, **callback_kwargs)
+  File "e:\12446\appdata\Lib\contextlib.py", line 74, in inner
+    return func(*args, **kwds)
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\django\views\decorators\csrf.py", line 54, in wrapped_view
+    return view_func(*args, **kwargs)
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\django\views\generic\base.py", line 71, in view
+    return self.dispatch(request, *args, **kwargs)
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\rest_framework\views.py", line 505, in dispatch
+    response = self.handle_exception(exc)
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\rest_framework\views.py", line 465, in handle_exception
+    self.raise_uncaught_exception(exc)
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\rest_framework\views.py", line 476, in raise_uncaught_exception
+    raise exc
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\rest_framework\views.py", line 502, in dispatch
+    response = handler(request, *args, **kwargs)
+  File "e:\12446\appdata\Lib\contextlib.py", line 74, in inner
+    return func(*args, **kwds)
+  File "E:\12446\PycharmProjects\lixin\obj\apps\bg\views.py", line 727, in post
+    if selold['yscl'] < selold['qty_pg_lx'] + i['qty']:
+KeyError: 'qty_pg_lx'
+ERROR 2020-07-06 10:21:18,138 basehttp 154 "POST /sh/ HTTP/1.1" 500 20676
+INFO 2020-07-06 10:25:44,951 autoreload 217 E:\12446\PycharmProjects\lixin\obj\utils\ClssSql.py changed, reloading.
+INFO 2020-07-06 10:25:45,785 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-07-06 10:25:49,652 basehttp 154 "POST /sh/ HTTP/1.1" 200 52
+INFO 2020-07-06 10:28:36,454 autoreload 217 E:\12446\PycharmProjects\lixin\obj\apps\bg\views.py changed, reloading.
+INFO 2020-07-06 10:28:37,603 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-07-06 10:28:42,459 basehttp 154 "GET /tzinfo/?mo_no=MO06180004&zc_no=B06&bg_id=SH HTTP/1.1" 200 381
+INFO 2020-07-06 10:28:45,082 basehttp 154 "POST /sh/ HTTP/1.1" 200 46
+INFO 2020-07-06 10:30:32,349 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-06 10:30:32,370 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-06 10:30:34,588 basehttp 154 "GET /pg/?to_date=2020-07-06&end_date=2020-07-06&bg_id=PG&select_zc_no= HTTP/1.1" 200 266
+INFO 2020-07-06 10:30:37,096 basehttp 154 "GET /pg/?filter_no=PG20200706001 HTTP/1.1" 200 698
+ERROR 2020-07-06 10:30:40,129 log 228 Internal Server Error: /pg/
+Traceback (most recent call last):
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
+    response = get_response(request)
+  File "C:\Users\12446\Envs\lixin\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\lixin\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
+    response = wrapped_callback(request, *callback_args, **callback_kwargs)
+  File "e:\12446\appdata\Lib\contextlib.py", line 74, in inner
+    return func(*args, **kwds)
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\django\views\decorators\csrf.py", line 54, in wrapped_view
+    return view_func(*args, **kwargs)
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\django\views\generic\base.py", line 71, in view
+    return self.dispatch(request, *args, **kwargs)
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\rest_framework\views.py", line 505, in dispatch
+    response = self.handle_exception(exc)
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\rest_framework\views.py", line 465, in handle_exception
+    self.raise_uncaught_exception(exc)
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\rest_framework\views.py", line 476, in raise_uncaught_exception
+    raise exc
+  File "C:\Users\12446\Envs\lixin\lib\site-packages\rest_framework\views.py", line 502, in dispatch
+    response = handler(request, *args, **kwargs)
+  File "e:\12446\appdata\Lib\contextlib.py", line 74, in inner
+    return func(*args, **kwds)
+  File "E:\12446\PycharmProjects\lixin\obj\apps\bg\views.py", line 571, in delete
+    print(yscl_qty['jsqty'])
+KeyError: 'jsqty'
+ERROR 2020-07-06 10:30:40,130 basehttp 154 "DELETE /pg/ HTTP/1.1" 500 20650
+INFO 2020-07-06 10:31:29,035 autoreload 217 E:\12446\PycharmProjects\lixin\obj\apps\bg\views.py changed, reloading.
+INFO 2020-07-06 10:31:29,915 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-07-06 10:31:31,982 basehttp 154 "DELETE /pg/ HTTP/1.1" 201 43
+INFO 2020-07-06 11:44:29,205 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-07-06 11:46:23,338 basehttp 154 "OPTIONS /pg/?to_date=2020-07-06&end_date=2020-07-06&bg_id=PG&select_zc_no= HTTP/1.1" 200 0
+INFO 2020-07-06 11:46:28,516 basehttp 154 "GET /pg/?to_date=2020-07-06&end_date=2020-07-06&bg_id=PG&select_zc_no= HTTP/1.1" 200 266
+INFO 2020-07-06 11:46:28,675 basehttp 154 "GET /pg/?filter_no=PG20200706001 HTTP/1.1" 200 698
+INFO 2020-07-06 11:46:33,402 basehttp 154 "DELETE /pg/ HTTP/1.1" 201 43
+INFO 2020-07-06 11:46:37,249 basehttp 154 "OPTIONS /salm/ HTTP/1.1" 200 0
+INFO 2020-07-06 11:46:37,249 basehttp 154 "OPTIONS /zcno/ HTTP/1.1" 200 0
+INFO 2020-07-06 11:46:37,525 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-06 11:46:37,704 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-06 11:51:10,627 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-06 11:51:10,632 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-06 11:51:12,176 basehttp 154 "GET /pg/?to_date=2020-07-06&end_date=2020-07-06&bg_id=PG&select_zc_no= HTTP/1.1" 200 266
+INFO 2020-07-06 11:51:19,077 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-06 11:51:19,170 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-06 11:51:26,329 basehttp 154 "GET /tzinfo/?mo_no=MO06180004&zc_no=B06&bg_id=SH HTTP/1.1" 200 51
+INFO 2020-07-06 11:51:34,946 basehttp 154 "OPTIONS /sh/?to_date=2020-07-06&end_date=2020-07-06&bg_id=SH&select_zc_no= HTTP/1.1" 200 0
+INFO 2020-07-06 11:51:35,211 basehttp 154 "GET /sh/?to_date=2020-07-06&end_date=2020-07-06&bg_id=SH&select_zc_no= HTTP/1.1" 200 266
+INFO 2020-07-06 11:51:38,056 basehttp 154 "OPTIONS /sh/?filter_no=SH20200706001 HTTP/1.1" 200 0
+INFO 2020-07-06 11:51:38,603 basehttp 154 "GET /sh/?filter_no=SH20200706001 HTTP/1.1" 200 698
+INFO 2020-07-06 11:52:03,119 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-06 11:52:03,142 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-06 11:52:16,453 basehttp 154 "OPTIONS /tzinfo/?mo_no=&zc_no=B06&bg_id=ZY&zc_no_dn=B07 HTTP/1.1" 200 0
+INFO 2020-07-06 11:52:16,673 basehttp 154 "GET /tzinfo/?mo_no=&zc_no=B06&bg_id=ZY&zc_no_dn=B07 HTTP/1.1" 200 367
+INFO 2020-07-06 11:52:18,725 basehttp 154 "OPTIONS /zy/ HTTP/1.1" 200 0
+INFO 2020-07-06 11:52:19,504 basehttp 154 "POST /zy/ HTTP/1.1" 200 46
+INFO 2020-07-06 11:52:21,541 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-06 11:52:21,548 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-06 11:52:23,753 basehttp 154 "GET /sh/?to_date=2020-07-06&end_date=2020-07-06&bg_id=SH&select_zc_no= HTTP/1.1" 200 266
+INFO 2020-07-06 11:52:25,933 basehttp 154 "GET /sh/?filter_no=SH20200706001 HTTP/1.1" 200 698
+INFO 2020-07-06 11:52:28,044 basehttp 154 "DELETE /sh/ HTTP/1.1" 201 43
+INFO 2020-07-06 11:52:44,841 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-06 11:52:44,852 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-06 11:52:45,280 basehttp 154 "OPTIONS /bar/ HTTP/1.1" 200 0
+INFO 2020-07-06 11:52:45,478 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-06 11:52:45,567 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-06 11:52:45,988 basehttp 154 "GET /bar/ HTTP/1.1" 200 1282
+INFO 2020-07-06 11:52:46,115 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-06 11:52:46,207 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-06 11:52:46,539 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-06 11:52:46,543 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-06 11:52:47,146 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-06 11:52:47,157 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-06 11:53:29,925 basehttp 154 "OPTIONS /zy/?to_date=2020-07-06&end_date=2020-07-06&bg_id=ZY&select_zc_no= HTTP/1.1" 200 0
+INFO 2020-07-06 11:53:30,115 basehttp 154 "GET /zy/?to_date=2020-07-06&end_date=2020-07-06&bg_id=ZY&select_zc_no= HTTP/1.1" 200 702
+INFO 2020-07-06 11:54:43,994 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-06 11:54:44,084 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-06 11:54:45,877 basehttp 154 "GET /sh/?to_date=2020-07-06&end_date=2020-07-06&bg_id=SH&select_zc_no= HTTP/1.1" 200 266
+INFO 2020-07-06 11:57:14,209 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-06 11:57:14,235 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-06 11:57:14,775 basehttp 154 "GET /bar/ HTTP/1.1" 200 1282
+INFO 2020-07-06 11:57:17,981 basehttp 154 "GET /sh/?to_date=2020-07-06&end_date=2020-07-06&bg_id=SH&select_zc_no= HTTP/1.1" 200 266
+INFO 2020-07-06 11:57:51,849 basehttp 154 "GET /sh/?to_date=2020-07-06&end_date=2020-07-06&bg_id=SH&select_zc_no= HTTP/1.1" 200 266
+INFO 2020-07-06 11:58:39,950 basehttp 154 "GET /salm/ HTTP/1.1" 200 12992
+INFO 2020-07-06 11:58:40,098 basehttp 154 "GET /zcno/ HTTP/1.1" 200 12978
+INFO 2020-07-06 12:00:24,523 autoreload 217 E:\12446\PycharmProjects\lixin\obj\apps\bg\views.py changed, reloading.
+INFO 2020-07-06 12:00:25,335 autoreload 597 Watching for file changes with StatReloader
+INFO 2020-07-06 12:04:04,158 autoreload 217 E:\12446\PycharmProjects\lixin\obj\utils\ClssSql.py changed, reloading.
+INFO 2020-07-06 12:04:04,964 autoreload 597 Watching for file changes with StatReloader

+ 0 - 1
obj/apps/bg/bgutils.py

@@ -8,7 +8,6 @@ def uptz(tz_no):
     # 查询数据
     ZySelfz = ClassSqls.ZySelfz.format(tz_no)
     fz_result = executeQuery(ZySelfz)[0]
-    print(fz_result['qty_fin'],fz_result['qty'])
     if fz_result['qty'] <= fz_result['qty_fin']:
         # 成立更新结案标识
         Zyupclose = ClassSqls.ZyUpClose.format(tz_no)

+ 94 - 42
obj/apps/bg/views.py

@@ -35,9 +35,6 @@ class TzInfo(APIView):
         zc_no = params.get('zc_no')
         bg_id = params.get('bg_id')
         zc_no_dn = params.get('zc_no_dn')
-        print(mo_no)
-        print(zc_no)
-        print(bg_id)
         if bg_id is None:
             return Response('单据类别异常', status=status.HTTP_416_REQUESTED_RANGE_NOT_SATISFIABLE)
         if zc_no is None or mo_no is None:
@@ -60,7 +57,6 @@ class TzInfo(APIView):
         error_mo = []
         # 用户存储结果集
         result = []
-        # print(sql)
         if ismulti:
             mo_no=list(set(mo_no.split(';')))
             for i in mo_no:
@@ -97,7 +93,6 @@ class TzInfo(APIView):
         # 拼接数据的返回项次
         for itm in range(len(result)):
             result[itm]['itm']=itm+1
-        # print(result)
         data = {
             "msg":"过滤成功",
             "result":result,
@@ -311,7 +306,16 @@ class Bg(APIView):
             Django_mf_bg.objects.filter(bg_no=bg_no).delete()
             # print(del_zt_no)
             for i in del_zt_no:
-                if int(i.get('spc_no'))==1:
+                # 查询应生产量
+                yscl_sql = ClassSqls.BgYscl.format(i.get('zt_no'))
+                yscl_qty = executeQuery(yscl_sql)[0]
+                if i.get('qty') > yscl_qty['jsqty']-yscl_qty['zyqty']:
+                    transaction.savepoint_rollback(sid)
+                    data = {
+                        "msg": "已转后续单据不允许删除"
+                    }
+                    return Response(data, status=status.HTTP_201_CREATED)
+                if str(i.get('spc_no'))=='1':
                     update_sql = ClassSqls.BgUpdel1.format(i.get('qty'), i.get('zl'),i.get('zt_no'),i.get('qty'),i.get('qty'))
                 else:
                     update_sql = ClassSqls.BgUpdel.format(i.get('qty'), i.get('zl'),i.get('zt_no'))
@@ -321,8 +325,17 @@ class Bg(APIView):
             sid = transaction.savepoint()  # 开启事物
             try:
                 # 删除的时候要先查询出删除数据的的数量,查询单据的数量和重量
-                old_data = Django_tf_bg.objects.get(zt_no=scope.get('zt_no'), bg_id=scope.get('bg_id'),bg_no_id=scope.get('bg_no'))
+                old_data = Django_tf_bg.objects.get(zt_no=scope.get('zt_no'), bg_id=scope.get('bg_id'),bg_no_id=scope.get('bg_no'),itm=scope.get('itm'))
                 Django_tf_bg.objects.get(bg_no_id=scope.get('bg_no'), itm=scope.get('itm')).delete()
+                # 查询应生产量
+                yscl_sql = ClassSqls.BgYscl.format(old_data.get('zt_no'))
+                yscl_qty = executeQuery(yscl_sql)[0]
+                if old_data.get('qty') > yscl_qty['jsqty'] - yscl_qty['zyqty']:
+                    transaction.savepoint_rollback(sid)
+                    data = {
+                        "msg": "已转后续单据不允许删除"
+                    }
+                    return Response(data, status=status.HTTP_201_CREATED)
                 if int(scope.get('spc_no'))==1:
                     update_sql = ClassSqls.BgUpdel1.format(old_data.qty, old_data.zl, scope.get('zt_no'),old_data.qty,old_data.qty)
                 else:
@@ -330,7 +343,7 @@ class Bg(APIView):
                 IseUpDelQuery(update_sql)
             except:
                 data = {
-                    "msg": "删除成功"
+                    "msg": "删除失败"
                 }
                 return Response(data, status=status.HTTP_200_OK)
             transaction.savepoint_commit(sid)  # 提交事物
@@ -459,6 +472,7 @@ class Pg(APIView):
             selPg = ClassSqls.PgSelSql.format(i['zt_no'])
             selold = executeQuery(selPg)[0]
             if selold['yscl']<selold['qty_pg_lx']+i['qty']:
+                # 回滚事物
                 transaction.savepoint_rollback(save_id)
                 data = {
                         "msg": "超出或者重复扫单超出了应发量",
@@ -544,6 +558,15 @@ class Pg(APIView):
             Django_mf_bg.objects.filter(bg_no=bg_no).delete()
             # print(del_zt_no)
             for i in del_zt_no:
+                # 查询应生产量
+                yscl_sql = ClassSqls.PgYscl.format(i['zt_no'])
+                yscl_qty = executeQuery(yscl_sql)[0]
+                if i['qty'] > yscl_qty['pgqty'] - yscl_qty['shqty']:
+                    transaction.savepoint_rollback(sid)
+                    data = {
+                        "msg": "已转后续单据不允许删除"
+                    }
+                    return Response(data, status=status.HTTP_201_CREATED)
                 update_sql = ClassSqls.PgUpdel.format(i.get('qty'), i.get('zl'), i.get('zt_no'))
                 IseUpDelQuery(update_sql)
             transaction.savepoint_commit(sid)  # 提交事物
@@ -551,13 +574,22 @@ class Pg(APIView):
             sid = transaction.savepoint()  # 开启事物
             try:
                 # 删除的时候要先查询出删除数据的的数量,查询单据的数量和重量
-                old_data = Django_tf_bg.objects.get(zt_no=scope.get('zt_no'), bg_id=scope.get('bg_id'),bg_no_id=scope.get('bg_no'))
+                old_data = Django_tf_bg.objects.get(zt_no=scope.get('zt_no'), bg_id=scope.get('bg_id'),bg_no_id=scope.get('bg_no'),itm=scope.get('itm'))
+                # 查询应生产量
+                yscl_sql = ClassSqls.PgYscl.format(scope.get('zt_no'))
+                yscl_qty = executeQuery(yscl_sql)[0]
+                if scope.get['qty'] <= yscl_qty['pgqty'] - yscl_qty['shqty']:
+                    transaction.savepoint_rollback(sid)
+                    data = {
+                        "msg": "已转后续单据不允许删除"
+                    }
+                    return Response(data, status=status.HTTP_201_CREATED)
                 Django_tf_bg.objects.filter(bg_no_id=scope.get('bg_no'), itm=scope.get('itm')).delete()
                 update_sql = ClassSqls.PgUpdel.format(old_data.qty, old_data.zl, scope.get('zt_no'))
                 IseUpDelQuery(update_sql)
             except:
                 data = {
-                    "msg": "删除成功"
+                    "msg": "删除失败"
                 }
                 return Response(data, status=status.HTTP_200_OK)
             transaction.savepoint_commit(sid)  # 提交事物
@@ -678,6 +710,15 @@ class Sh(APIView):
                     "msg": "新增失败,存在超出数量项次",
                 }
                 return Response(data, status=status.HTTP_200_OK)
+            selPg = ClassSqls.ShSelSql.format(i['zt_no'])
+            selold = executeQuery(selPg)[0]
+            if selold['yscl'] < selold['qty_sh_lx'] + i['qty']:
+                # 回滚事物
+                transaction.savepoint_rollback(sid)
+                data = {
+                    "msg": "超出或者重复扫单超出了应发量",
+                }
+                return Response(data, status=status.HTTP_200_OK)
             # filter(i['cc']),此方法是用来格式化数据的,如果数据为none则返回空
             prd_name = filter(i['prd_name'])
             cc = filter(i['cc'])
@@ -696,30 +737,6 @@ class Sh(APIView):
             tf_bg.save()
             update_sql = ClassSqls.ShUpSql.format(i['zt_no'], bg_id)
             IseUpDelQuery(update_sql)
-            #     print(update_sql)
-            #     IseUpDelQuery(update_sql)
-            # # 根据单据类别的不同更新通知单数据
-            # if bg_id == 'JS':
-            #     update_sql = """update a set a.qty_js_lx=b.qty,a.qty1_js_lx=b.zl from MF_TZ_Z a,
-            #     (select sum(isnull(qty,0)) as qty,sum(isnull(cast(zl as float),0)) as zl from Django_tf_bg where zt_no='{0}' and bg_id='{1}')
-            #     b WHERE a.tz_no=b.zt_no""".format(i['zt_no'],bg_id)
-            #     print(update_sql)
-            #     IseUpDelQuery(update_sql)
-            # if bg_id == 'PG':
-            #     update_sql = """update a set a.qty_pg_lx=b.qty,a.qty1_pg_lx=b.zl from MF_TZ_Z a,
-            #     (select sum(isnull(qty,0)) as qty,sum(isnull(cast(zl as float),0)) as zl from Django_tf_bg where zt_no='{0}' and bg_id='{1}')
-            #     b WHERE a.tz_no=b.zt_no""".format(i['zt_no'],bg_id)
-            #     IseUpDelQuery(update_sql)
-            # if bg_id == 'SH':
-            #     update_sql = """update a set a.qty_sh_lx=b.qty,a.qty1_sh_lx=b.zl from MF_TZ_Z a,
-            #     (select sum(isnull(qty,0)) as qty,sum(isnull(cast(zl as float),0)) as zl from Django_tf_bg where zt_no='{0}' and bg_id='{1}')
-            #     b WHERE a.tz_no=b.zt_no""".format(i['zt_no'], bg_id)
-            #     IseUpDelQuery(update_sql)
-            # if bg_id == 'ZY':
-            #     update_sql = """update a set a.qty_zy_lx=b.qty,a.qty1_zy_lx=b.zl from MF_TZ_Z a,
-            #     (select sum(isnull(qty,0)) as qty,sum(isnull(cast(zl as float),0)) as zl from Django_tf_bg where zt_no='{0}' and bg_id='{1}')
-            #     b WHERE a.tz_no=b.zt_no""".format(i['zt_no'], bg_id)
-            #     IseUpDelQuery(update_sql)
         transaction.savepoint_commit(sid)  # 提交事物
         # 5、返回响应
         data = {
@@ -775,7 +792,6 @@ class Sh(APIView):
             }
             return Response(data, status=status.HTTP_304_NOT_MODIFIED)
         if bg_no and sign is None:
-            print(1111)
             # 删除表身
             sid = transaction.savepoint()  # 开启事物
             # 查询删除表身的通知单号
@@ -785,6 +801,15 @@ class Sh(APIView):
             Django_mf_bg.objects.filter(bg_no=bg_no).delete()
             # print(del_zt_no)
             for i in del_zt_no:
+                # 查询应生产量
+                yscl_sql = ClassSqls.ShYscl.format(i['zt_no'])
+                yscl_qty = executeQuery(yscl_sql)[0]
+                if i['qty'] > yscl_qty['shqty'] - yscl_qty['zyqty']:
+                    transaction.savepoint_rollback(sid)
+                    data = {
+                        "msg": "已转后续单据不允许删除"
+                    }
+                    return Response(data, status=status.HTTP_201_CREATED)
                 update_sql = ClassSqls.ShUpdel.format(i.get('qty'), i.get('zl'), i.get('zt_no'))
                 IseUpDelQuery(update_sql)
             transaction.savepoint_commit(sid)  # 提交事物
@@ -792,13 +817,21 @@ class Sh(APIView):
             sid = transaction.savepoint()  # 开启事物
             try:
                 # 删除的时候要先查询出删除数据的的数量,查询单据的数量和重量
-                old_data = Django_tf_bg.objects.get(zt_no=scope.get('zt_no'), bg_id=scope.get('bg_id'),bg_no_id=scope.get('bg_no'))
+                old_data = Django_tf_bg.objects.get(zt_no=scope.get('zt_no'), bg_id=scope.get('bg_id'),bg_no_id=scope.get('bg_no'),itm=scope.get('itm'))
+                yscl_sql = ClassSqls.ShYscl.format(scope.get('zt_no'))
+                yscl_qty = executeQuery(yscl_sql)[0]
+                if scope.get['qty'] > yscl_qty['shqty'] - yscl_qty['zyqty']:
+                    transaction.savepoint_rollback(sid)
+                    data = {
+                        "msg": "已转后续单据不允许删除"
+                    }
+                    return Response(data, status=status.HTTP_201_CREATED)
                 Django_tf_bg.objects.filter(bg_no_id=scope.get('bg_no'), itm=scope.get('itm')).delete()
                 update_sql = ClassSqls.ShUpdel.format(old_data.qty, old_data.zl, scope.get('zt_no'))
                 IseUpDelQuery(update_sql)
             except:
                 data = {
-                    "msg": "删除成功"
+                    "msg": "删除失败"
                 }
                 return Response(data, status=status.HTTP_200_OK)
             transaction.savepoint_commit(sid)  # 提交事物
@@ -962,6 +995,7 @@ class Zy(APIView):
         bg_no = data.get('bg_no')
         isbad = data.get('isbad')
         zd_zc = data.get('zd_zc')
+        zc_no = data.get('zc_no')
         # print(data)
         # 2、修改表头
         sid = transaction.savepoint()  # 开启事物
@@ -973,7 +1007,7 @@ class Zy(APIView):
         mf_bg.save()
         # 3、修改表身
         for i in request.data.get('dataList'):
-            # print(i)
+            print(i)
             # 判断是否超
             if i['qty'] > i['maxqty']:
                 data = {
@@ -991,13 +1025,12 @@ class Zy(APIView):
             # 更新通知单自定义栏位
             #     0为正常单据 ,1为异常单据
             if isbad == 0:
-                print(old_zd_zc)
                 update_sql = ClassSqls.ZyUpSql.format(i['zt_no'], bg_id)
                 # 更新掉旧的待接收数量
                 update_old_dai_sql = ClassSqls.update_old_dai_sql.format(i.get('qty'), i.get('zl'), mf_bg.mo_no,old_zd_zc)
                 IseUpDelQuery(update_old_dai_sql)
                 # 查询更新新的指定制程带接收量
-                update_sql_dai = ClassSqls.ZyUpSql_dai.format(i['mo_no'], bg_id, zd_zc)
+                update_sql_dai = ClassSqls.ZyUpSql_dai.format(i['mo_no'], bg_id,zc_no, i['bg_no_id'])
                 IseUpDelQuery(update_sql_dai)
             else:
                 update_sql = ClassSqls.ZyUpSql1.format(i['zt_no'], bg_id)
@@ -1012,11 +1045,14 @@ class Zy(APIView):
         # 1、获取参数
         data = request.data
         scope = data.get('scope')
+
         bg_no = data.get('bg_no')
+
         isbad = data.get('isbad')
         # 是否删除行标志
         sign = data.get('sign')
         if scope is None and bg_no is None:
+            print(bg_no)
             data = {
                 "msg": "删除失败"
             }
@@ -1032,6 +1068,14 @@ class Zy(APIView):
             Django_mf_bg.objects.filter(bg_no=bg_no).delete()
             # print(del_zt_no)
             for i in del_zt_no:
+                yscl_sql = ClassSqls.ZyYscl.format(i['zt_no'])
+                yscl_qty = executeQuery(yscl_sql)[0]
+                if i['qty'] > yscl_qty['zyqty'] - yscl_qty['jsqty']:
+                    transaction.savepoint_rollback(sid)
+                    data = {
+                        "msg": "已转后续单据不允许删除"
+                    }
+                    return Response(data, status=status.HTTP_201_CREATED)
                 if isbad==0:
                     # 更新掉旧的待接收数量
                     update_old_dai_sql = ClassSqls.update_old_dai_sql.format(i.get('qty'), i.get('zl'), i.get('mo_no'),i.get('zd_zc'))
@@ -1048,12 +1092,20 @@ class Zy(APIView):
             sid = transaction.savepoint()  # 开启事物
             try:
                 # 删除的时候要先查询出删除数据的的数量,查询单据的数量和重量
-                old_data = Django_tf_bg.objects.get(zt_no=scope.get('zt_no'), bg_id=scope.get('bg_id'),bg_no_id=scope.get('bg_no'))
+                old_data = Django_tf_bg.objects.get(zt_no=scope.get('zt_no'), bg_id=scope.get('bg_id'),bg_no_id=scope.get('bg_no'),itm=scope.get('itm'))
+                yscl_sql = ClassSqls.ZyYscl.format(scope.get('zt_no'))
+                yscl_qty = executeQuery(yscl_sql)[0]
+                if scope.get['qty'] > yscl_qty['zyqty'] - yscl_qty['jsqty']:
+                    transaction.savepoint_rollback(sid)
+                    data = {
+                        "msg": "已转后续单据不允许删除"
+                    }
+                    return Response(data, status=status.HTTP_201_CREATED)
                 Django_tf_bg.objects.filter(bg_no_id=scope.get('bg_no'), itm=scope.get('itm')).delete()
                 # 正常单据删除
                 if isbad==0:
                     # 更新掉旧的待接收数量
-                    update_old_dai_sql = ClassSqls.update_old_dai_sql.format(i.get('qty'), i.get('zl'), i.get('mo_no'),i.get('zd_zc'))
+                    update_old_dai_sql = ClassSqls.update_old_dai_sql.format(scope.get('qty'), scope.get('zl'), scope.get('mo_no'),scope.get('zd_zc'))
                     IseUpDelQuery(update_old_dai_sql)
                     update_sql = ClassSqls.ZyUpdel.format(old_data.qty, old_data.zl, scope.get('zt_no'))
                 else:

+ 2 - 3
obj/apps/bsdata/lianxi.py

@@ -36,6 +36,5 @@
 #             childrens = []
 #     return display_list
 
-a = [' a asdasdasdasda','dda'
-                        'dasdasdasdasd']
-print(a)
+if 3>3-1:
+    print(1)

+ 0 - 1
obj/apps/bsdata/views.py

@@ -54,7 +54,6 @@ class Bars(APIView):
     def get(self,request):
         bar_list = Bar.objects.filter(partment_id=None)
         bar = display(bar_list)
-        print(bar)
         data = {
             'bar':bar
         }

+ 12 - 4
obj/utils/ClssSql.py

@@ -79,6 +79,7 @@ left join prdt_z d on c.prd_no=d.prd_no
 left join mF_TZ_z e on a.tz_no=e.tz_no
 left join dept f on f.dep = a.dep
 where isnull(a.close_id,'')<>'T' and case when isnull(a.zc_no_up,'')<>'' then isnull(e.qty_djs_lx ,0) else isnull(a.Qty,0) end > isnull(e.qty_js_lx,0) and a.zc_no='{0}'"""
+    #and a.mo_no in('MO06180003','MO06180004')
     TzInfoPg = """select 0 as zl, a.zc_no,a.mo_no,a.tz_no as zt_no,a.mrp_no as prd_no,c.name as prd_name,isnull(e.qty_js_lx,0)-isnull(e.qty_pg_lx,0) 
         as qty,isnull(e.qty_js_lx,0)-isnull(e.qty_pg_lx,0) as yscl,b.sc_lx as cc,b.zy_lx as zy,a.rem as ms,a.rrem as rem,d.dd,c.rem as prd_rem,isnull(e.qty_js_lx,0)as totalqty,
         zc_no_up = (select isnull(zc_no+'-'+name,'') from zc_no where zc_no=a.zc_no_up),
@@ -148,7 +149,10 @@ where isnull(a.close_id,'')<>'T' and case when isnull(a.zc_no_up,'')<>'' then is
     # 删除的时候更新,当spc_no=1时
     BgUpdel1 = """update MF_TZ_Z set qty_js_lx=isnull(qty_js_lx,0)-{0},qty1_js_lx=isnull(qty1_js_lx,0)-{1},qty_pg_lx=isnull(qty_pg_lx,0)-{3},qty_sh_lx=isnull(qty_sh_lx,0)-{4} where tz_no='{2}'"""
     #      查询单据的时候计算应生产量
-    BgYscl = """SELECT CASE WHEN ISNULL(A.ZC_NO_UP,'')='' THEN ISNULL(A.QTY,0)-ISNULL(B.QTY_JS_LX,0) ELSE ISNULL(B.QTY_DJS_LX,0)-ISNULL(B.QTY_JS_LX,0) END AS qty,a.tz_no,a.QTY as totalqty,cast(ISNULL(B.QTY_PG_LX,0) as float) as pgqty FROM  MF_TZ A,MF_TZ_Z B WHERE A.TZ_NO=B.TZ_NO AND A.TZ_NO='{0}'"""
+    BgYscl = """SELECT CASE WHEN ISNULL(A.ZC_NO_UP,'')='' THEN ISNULL(A.QTY,0)-ISNULL(B.QTY_JS_LX,0) ELSE ISNULL(B.QTY_DJS_LX,0)-ISNULL(B.QTY_JS_LX,0) END AS qty,
+a.tz_no,a.QTY as totalqty,cast(ISNULL(B.QTY_PG_LX,0) as float) as pgqty,cast(isnull(b.QTY_JS_LX,0) as float) as jsqty,CASE WHEN ISNULL(C.SPC_NO,'')=1 THEN cast(isnull(b.QTY_ZY_LX,0) as float)
+ELSE cast(isnull(b.QTY_PG_LX,0) as float) END as zyqty
+ FROM  MF_TZ A,MF_TZ_Z B,DEPT C WHERE A.TZ_NO=B.TZ_NO AND A.DEP=C.DEP AND A.TZ_NO='{0}'"""
     # 派工单
     # 查询派工单的生产量和待生产量
     PgSelSql = """select isnull(qty_js_lx,0)-isnull(qty_pg_lx,0) as yscl,isnull(qty_pg_lx,0) as qty_pg_lx from mf_tz_z where tz_no='{0}'"""
@@ -156,13 +160,15 @@ where isnull(a.close_id,'')<>'T' and case when isnull(a.zc_no_up,'')<>'' then is
     PgUpdel = """update MF_TZ_Z set qty_pg_lx=isnull(qty_pg_lx,0)-{0},qty1_pg_lx=isnull(qty1_pg_lx,0)-{1} where tz_no='{2}'"""
     PgUpSql = """update a set a.qty_pg_lx=b.qty,a.qty1_pg_lx=b.zl from MF_TZ_Z a,(select sum(isnull(qty,0)) as qty,sum(isnull(cast(zl as float),0)) as zl, 
             zt_no from Django_tf_bg where zt_no='{0}' and bg_id='{1}' group by zt_no)b WHERE a.tz_no=b.zt_no"""
-    PgYscl = """select isnull(qty_js_lx,0)-isnull(qty_pg_lx,0) as qty,tz_no,qty_js_lx as totalqty from MF_TZ_Z where tz_no='{0}'"""
+    PgYscl = """select isnull(qty_js_lx,0)-isnull(qty_pg_lx,0) as qty,tz_no,qty_js_lx as totalqty,cast(isnull(QTY_PG_LX,0) as float) as pgqty,cast(isnull(QTY_SH_LX,0) as float) as shqty from MF_TZ_Z where tz_no='{0}'"""
     # 收货单
+    # 查询收货单的生产量和待生产量
+    ShSelSql = """select isnull(qty_pg_lx,0)-isnull(qty_sh_lx,0) as yscl,isnull(qty_sh_lx,0) as qty_sh_lx,isnull(qty_pg_lx,0) as qty_pg_lx from mf_tz_z where tz_no='{0}'"""
     # 删除的时候更新
     ShUpdel = """update MF_TZ_Z set qty_sh_lx=isnull(qty_sh_lx,0)-{0},qty1_sh_lx=isnull(qty1_sh_lx,0)-{1} where tz_no='{2}'"""
     ShUpSql =  """update a set a.qty_sh_lx=b.qty,a.qty1_sh_lx=b.zl from MF_TZ_Z a,(select sum(isnull(qty,0)) as qty,sum(isnull(cast(zl as float),0)) as zl,
             zt_no from Django_tf_bg where zt_no='{0}' and bg_id='{1}' group by zt_no)b WHERE a.tz_no=b.zt_no"""
-    ShYscl = """select isnull(qty_pg_lx,0)-isnull(qty_sh_lx,0) as qty,tz_no,qty_pg_lx as totalqty from MF_TZ_Z where tz_no='{0}'"""
+    ShYscl = """select isnull(qty_pg_lx,0)-isnull(qty_sh_lx,0) as qty,tz_no,qty_pg_lx as totalqty,cast(isnull(QTY_SH_LX,0) as float) as shqty,cast(isnull(QTY_ZY_LX,0) as float) as zyqty from MF_TZ_Z where tz_no='{0}'"""
     # 转移单
     # 删除的时候更新
     #     正常单据
@@ -181,7 +187,9 @@ where isnull(a.close_id,'')<>'T' and case when isnull(a.zc_no_up,'')<>'' then is
     # 异常单据更新到异常栏位上
     ZyUpSql1 = """update a set a.QTY_YCGD_LX=b.qty,a.QTY1_YCGD_LX=b.zl from MF_TZ_Z a,(select sum(isnull(qty,0)) as qty,sum(isnull(cast(zl as float),0)) as zl,
               zt_no from Django_tf_bg where zt_no='{0}' and bg_id='{1}' group by zt_no)b WHERE a.tz_no=b.zt_no"""
-    ZyYscl = """select isnull(qty_sh_lx,0)-isnull(qty_zy_lx,0)-isnull(qty_ycgd_lx,0) as qty,tz_no,qty_sh_lx as totalqty from MF_TZ_Z where tz_no='{0}'"""
+    ZyYscl = """select isnull(a.qty_sh_lx,0)-isnull(a.qty_zy_lx,0)-isnull(a.qty_ycgd_lx,0) as qty,a.tz_no,a.qty_sh_lx as totalqty,cast(isnull(a.QTY_ZY_LX,0) as float) as zyqty, 
+ jsqty = cast((select aa.qty_js_lx from MF_TZ_Z aa,MF_TZ bb where aa.tz_no=bb.tz_no and bb.ZC_NO_UP=b.ZC_NO_DN and bb.mo_no=b.mo_no) as float)
+ from MF_TZ_Z a,MF_TZ b where a.tz_no=b.tz_no and  a.tz_no='{0}'"""
     # 通知单以生产量、自定义栏位
     ZySelfz = """select isnull(a.qty_fin,0) as qty_fin,isnull(a.qty,0) as qty from MF_TZ a,MF_TZ_z b where a.tz_no=b.tz_no and a.tz_no='{0}'"""
     ZyUpFin = """update a set a.QTY_FIN=isnull(b.qty_zy_lx,0)+isnull(b.QTY_YCGD_LX,0) from MF_TZ a,MF_TZ_z b where a.tz_no=b.tz_no and a.tz_no='{0}'"""

+ 0 - 1
obj/utils/executeQuery.py

@@ -13,7 +13,6 @@ def executeQuery(sql):
     sql:sql语句
     """
     with connection.cursor() as cursor:
-        print(sql)
         dep_data = cursor.execute(sql, []).fetchall()
         col_names = [desc[0] for desc in cursor.description]
         result = []