wangzhiqiang 3 жил өмнө
parent
commit
11863ab003

+ 1 - 1
simulation-resource-server/src/main/resources/mapper/scene/ScenePackageMapper.xml

@@ -30,7 +30,7 @@
                 and a.package_id = #{packageId,jdbcType=VARCHAR}
             </if>
             <if test="packageCode != null and packageCode != ''">
-                and a.package_code = #{packageCode,jdbcType=VARCHAR}
+                and a.package_code like CONCAT('%',#{packageCode,jdbcType=VARCHAR},'%')
             </if>
             <if test="share != null and share != ''">
                 and a.share = #{share,jdbcType=VARCHAR}