phi_platform_user/src/main/java/com/hx/phip/controller/promotion/PromotionController.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
phi_platform_user/src/main/java/com/hx/phip/controller/promotion/PromotionController.java
@@ -59,7 +59,7 @@ sql.append(" LEFT JOIN shop AS s ON s.id = p.shopId"); sql.append(" WHERE p.isDel = #{m.isDel} AND p.isUp = #{m.isUp}"); if (!StringUtils.isEmpty(promotionDto.getKeyWord())) { sql.append(" AND p.name LIKE #{m.keyWord}"); sql.append(" AND ( p.name LIKE #{m.keyWord} or p.code LIKE #{m.keyWord} ) "); sqlMap.put("keyWord", "%" + promotionDto.getKeyWord() + "%"); } sql.append(" ORDER BY p.createTime DESC ");