Просмотр исходного кода

[消息][修改][过滤掉邮箱数据]

release_toaliyun_real
luozukai 6 лет назад
Родитель
Сommit
8216d65b7d
2 измененных файлов: 5 добавлений и 0 удалений
  1. +4
    -0
      mallinkService/src/main/java/com/iformall/domain/po/WxMsgValidationcodeModel.java
  2. +1
    -0
      mallinkService/src/main/resources/mapper/WxMsgValidationcodeModelMapper.xml

+ 4
- 0
mallinkService/src/main/java/com/iformall/domain/po/WxMsgValidationcodeModel.java Просмотреть файл

@@ -50,6 +50,10 @@ public class WxMsgValidationcodeModel implements Serializable {
@io.swagger.annotations.ApiModelProperty(value="发送开关 0开1关",name="open") @io.swagger.annotations.ApiModelProperty(value="发送开关 0开1关",name="open")
private Integer open; private Integer open;


@io.swagger.annotations.ApiModelProperty(value="消息类型 0全部 1短信 2邮箱",name="open")
@Transient
private Integer msgType;

public static enum Field public static enum Field
{ {
Id_ASC("`id` ASC"),Id_DESC("`id` DESC") Id_ASC("`id` ASC"),Id_DESC("`id` DESC")


+ 1
- 0
mallinkService/src/main/resources/mapper/WxMsgValidationcodeModelMapper.xml Просмотреть файл

@@ -34,6 +34,7 @@
<if test=" null != type "> and `type` = #{type} </if> <if test=" null != type "> and `type` = #{type} </if>
<if test=" null != tenantId "> and `tenant_id` = #{tenantId} </if> <if test=" null != tenantId "> and `tenant_id` = #{tenantId} </if>
<if test=" null != open "> and `open` = #{open} </if> <if test=" null != open "> and `open` = #{open} </if>
<if test="1 == msgType"> and content not like '&lt;%' </if>


<if test=" null != ids "> <if test=" null != ids ">
and id in and id in


Загрузка…
Отмена
Сохранить