mirror of
				https://gitee.com/hhyykk/ipms-sjy.git
				synced 2025-11-04 12:18:42 +08:00 
			
		
		
		
	邮件模块 bug -修改保留字
This commit is contained in:
		@@ -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())
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user