Ver código fonte

Merge branch '5.0.0' of https://gitee.com/shangg/MCMS

huise 5 anos atrás
pai
commit
ba09b022c4

+ 2 - 2
src/main/java/net/mingsoft/cms/dao/ICategoryDao.xml

@@ -174,7 +174,7 @@
 			and
 			(
 			<if test="categoryParentId != null and categoryParentId!=''">
-				CATEGORY_PARENT_ID like '%${categoryParentId}%'
+				find_in_set(#{categoryParentId},CATEGORY_PARENT_ID)
 			</if>
 			<if test="categoryParentId == null or  categoryParentId ==''">
 				<include refid="queryWhereCategoryId"></include>
@@ -237,4 +237,4 @@
 		order by id desc
 	</select>
 
-</mapper>
+</mapper>

BIN
src/main/webapp/static/ms-admin/5.0.0/images/1577692394350.jpg


BIN
src/main/webapp/static/ms-admin/5.0.0/images/1577694374686.png