Преглед на файлове

文物模块, 增加根据文物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">