Bladeren bron

1.文档查询SQL修改,不查询资产业务文档

GouGengquan 7 maanden geleden
bovenliggende
commit
cf9f499cea
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1 1
      dao/src/main/resources/mapper/DocumentProductionMapper.xml

+ 1 - 1
dao/src/main/resources/mapper/DocumentProductionMapper.xml

@@ -19,7 +19,7 @@
             consignor
         FROM
             document_production
-        WHERE business_type = 'ASSETS'
+        WHERE business_type != 'ASSETS'
             AND DATE(create_time) = #{dto.createDate}
             <if test="dto != null and dto.docName != null ">
                 AND doc_name LIKE CONCAT('%', #{dto.docName}, '%')