Merge branch 'feature/product' into test
This commit is contained in:
commit
8e1ab13d59
|
|
@ -25,6 +25,11 @@ public class ProductPartInfoVO {
|
|||
*/
|
||||
private String attrName;
|
||||
|
||||
/**
|
||||
* 描述
|
||||
*/
|
||||
private String describe;
|
||||
|
||||
/**
|
||||
* 项
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
AND pp.attr_id=#{request.attrId}
|
||||
</if>
|
||||
<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>
|
||||
</where>
|
||||
ORDER BY pp.enable DESC,pp.id DESC
|
||||
|
|
|
|||
Loading…
Reference in New Issue