Browse Source

添加根据视频唯一标识查询视频信息

syh 4 years ago
parent
commit
7dd1f4ad45

+ 3 - 0
module-common/src/main/java/cn/com/ctop/common/module/mapper/xml/MaterialInfoMapper.xml

@@ -132,6 +132,9 @@
         <if test="userId!=null">
             and matInfo.user_id = #{userId}
         </if>
+        <if test="code!=null">
+            and matInfo.code = #{code}
+        </if>
         <if test="materialName!=null">
             and matInfo.material_name like concat('%',#{materialName},'%')
         </if>