Selaa lähdekoodia

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

wuweihao 3 vuotta sitten
vanhempi
commit
9be669d8f4

+ 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">