Merge branch 'feature/product' into test

This commit is contained in:
曹鹏飞 2025-07-22 10:03:25 +08:00
commit 8e1ab13d59
2 changed files with 6 additions and 1 deletions

View File

@ -25,6 +25,11 @@ public class ProductPartInfoVO {
*/ */
private String attrName; private String attrName;
/**
* 描述
*/
private String describe;
/** /**
* *
*/ */

View File

@ -14,7 +14,7 @@
AND pp.attr_id=#{request.attrId} AND pp.attr_id=#{request.attrId}
</if> </if>
<if test="request.name!=null and request.name!=''"> <if test="request.name!=null and request.name!=''">
AND pp.`name` LIKE CONCAT('%', #{request.name}, '%') AND (pp.`name` LIKE CONCAT('%', #{request.name}, '%') or pp.`describe` LIKE CONCAT('%', #{request.name}, '%'))
</if> </if>
</where> </where>
ORDER BY pp.enable DESC,pp.id DESC ORDER BY pp.enable DESC,pp.id DESC