소스 검색

fix:回收站

ly 9 달 전
부모
커밋
abbabcc601
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      src/main/resources/mybatis/business/BizRecycleBinMapper.xml

+ 4 - 0
src/main/resources/mybatis/business/BizRecycleBinMapper.xml

@@ -14,6 +14,10 @@
         left join biz_company com on com.id =input.company_id
         <trim prefix=" WHERE" suffix="" suffixOverrides="AND">
             input.deleted = 1 and input.tenant_id =#{tenantId}
+            <if test="sourceValue != null and sourceValue != '' ">
+                  AND com.name like concat('%', #{sourceValue}, '%')
+            </if>
+
         </trim>
         order by input.create_time desc
     </select>