diff --git a/nflg-mobilebroken-repository/src/main/resources/mapper/ProductPartMapper.xml b/nflg-mobilebroken-repository/src/main/resources/mapper/ProductPartMapper.xml index 08a94044..6636ac07 100644 --- a/nflg-mobilebroken-repository/src/main/resources/mapper/ProductPartMapper.xml +++ b/nflg-mobilebroken-repository/src/main/resources/mapper/ProductPartMapper.xml @@ -14,7 +14,7 @@ AND pp.attr_id=#{request.attrId} - AND pp.`name` LIKE CONCAT('%', #{request.name}, '%') + AND (pp.`name` LIKE CONCAT('%', #{request.name}, '%') or pp.`describe` LIKE CONCAT('%', #{request.name}, '%')) ORDER BY pp.enable DESC,pp.id DESC