邮件模块 bug -修改保留字
parent
8bc5254e30
commit
8d6a4d40a0
|
@ -1,6 +1,7 @@
|
|||
package cn.iocoder.yudao.module.system.dal.dataobject.mail;
|
||||
|
||||
import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
@ -24,6 +25,7 @@ public class MailAccountDO extends BaseDO {
|
|||
/**
|
||||
* 邮箱
|
||||
*/
|
||||
@TableField("`from`")
|
||||
private String from;
|
||||
/**
|
||||
* 用户名
|
||||
|
|
|
@ -16,7 +16,7 @@ public interface MailAccountMapper extends BaseMapperX<MailAccountDO> {
|
|||
|
||||
default PageResult<MailAccountDO> selectPage(MailAccountPageReqVO pageReqVO) {
|
||||
return selectPage(pageReqVO, new QueryWrapperX<MailAccountDO>()
|
||||
.likeIfPresent("form" , pageReqVO.getFrom())
|
||||
.likeIfPresent("from" , pageReqVO.getFrom())
|
||||
.likeIfPresent("host" , pageReqVO.getHost())
|
||||
.likeIfPresent("username" , pageReqVO.getUsername())
|
||||
.eqIfPresent("password" , pageReqVO.getPassword())
|
||||
|
|
Loading…
Reference in New Issue