Quellcode durchsuchen

解决文档分享获取已选择人员时的BUG。

wukai vor 1 Jahr
Ursprung
Commit
64542a81ee
1 geänderte Dateien mit 1 neuen und 0 gelöschten Zeilen
  1. 1 0
      doc-biz/src/main/resources/mapper/biz/DocShareMapper.xml

+ 1 - 0
doc-biz/src/main/resources/mapper/biz/DocShareMapper.xml

@@ -36,6 +36,7 @@
         <include refid="selectDocShareVo"/>
         <where>
             <if test="userName != null  and userName != ''">and USER_NAME like concat('%', #{userName}, '%')</if>
+            <if test="docId != null ">and DOC_ID=#{docId}</if>
         </where>
     </select>