소스 검색

文物模块, 增加根据文物Id查询

wuweihao 3 년 전
부모
커밋
9be669d8f4
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  1. 5 0
      zhoushan-system-dao/src/main/resources/mapper/cust/TbCollectionMapperCust.xml

+ 5 - 0
zhoushan-system-dao/src/main/resources/mapper/cust/TbCollectionMapperCust.xml

@@ -63,6 +63,11 @@
     <if test="name != null and name != ''">
       and a.name LIKE CONCAT('%', #{name}, '%')
     </if>
+
+    <if test="typeId != null and typeId != ''">
+      and a.type_id = #{typeId}
+    </if>
+
   </select>
 
   <update id="addLikeNumById" parameterType="java.lang.Long">