Commit 0b0092e9 by zhangxingmin

Merge remote-tracking branch 'origin/dev' into prod

parents f7e66bbb 72790754
......@@ -4,6 +4,7 @@ import com.yd.common.dto.PageDto;
import lombok.Data;
import javax.validation.constraints.NotNull;
import java.util.List;
@Data
public class ApiProductLaunchPageRequest extends PageDto {
......@@ -18,4 +19,8 @@ public class ApiProductLaunchPageRequest extends PageDto {
*/
private String title;
/**
* 标题列表(多个)
*/
private List<String> titleList;
}
......@@ -16,6 +16,12 @@
<if test="request.title != null and request.title != ''">
and pl.title like concat('%', #{request.title}, '%')
</if>
<if test="request.titleList != null and request.titleList.size > 0">
and pl.title in
<foreach collection="request.titleList" item="item" index="index" open="(" separator="," close=")">
#{item}
</foreach>
</if>
and pl.is_deleted = 0
</where>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment