首页信息查询接口 增加根据类型查询条件
This commit is contained in:
@ -74,6 +74,12 @@
|
||||
<if test="templatetype!=null and templatetype!=''">
|
||||
and biz_message_template.type = #{templatetype}
|
||||
</if>
|
||||
<if test="templatecodes!=null and templatecodes.size()>0 ">
|
||||
and biz_message.templatecode in
|
||||
<foreach item="item" collection="templatecodes" separator="," open="(" close=")" index="">
|
||||
#{item, jdbcType=NUMERIC}
|
||||
</foreach>
|
||||
</if>
|
||||
ORDER BY createtime DESC
|
||||
</select>
|
||||
|
||||
|
@ -1,5 +1,6 @@
|
||||
package com.chinaunicom.mall.ebtp.extend.bizmessage.entity;
|
||||
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
@ -12,4 +13,7 @@ public class BizMessageVo extends BizMessage{
|
||||
private String userId;
|
||||
private Long datanum;
|
||||
private Integer size;
|
||||
|
||||
@ApiModelProperty(required = false, value = "指定消息类型,null 查全部")
|
||||
private List<String> templatecodes;
|
||||
}
|
||||
|
Reference in New Issue
Block a user