Ver código fonte

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

GouGengquan 7 meses atrás
pai
commit
cf9f499cea

+ 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}, '%')