浏览代码

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

GouGengquan 7 月之前
父节点
当前提交
cf9f499cea
共有 1 个文件被更改,包括 1 次插入1 次删除
  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}, '%')