mirror of
				https://gitee.com/hhyykk/ipms-sjy.git
				synced 2025-10-29 17:28:42 +08:00 
			
		
		
		
	邮件模块 bug -修改保留字
This commit is contained in:
		| @@ -1,6 +1,7 @@ | |||||||
| package cn.iocoder.yudao.module.system.dal.dataobject.mail; | package cn.iocoder.yudao.module.system.dal.dataobject.mail; | ||||||
|  |  | ||||||
| import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO; | import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO; | ||||||
|  | import com.baomidou.mybatisplus.annotation.TableField; | ||||||
| import com.baomidou.mybatisplus.annotation.TableName; | import com.baomidou.mybatisplus.annotation.TableName; | ||||||
| import lombok.Data; | import lombok.Data; | ||||||
| import lombok.EqualsAndHashCode; | import lombok.EqualsAndHashCode; | ||||||
| @@ -24,6 +25,7 @@ public class MailAccountDO extends BaseDO { | |||||||
|     /** |     /** | ||||||
|      * 邮箱 |      * 邮箱 | ||||||
|      */ |      */ | ||||||
|  |     @TableField("`from`") | ||||||
|     private String from; |     private String from; | ||||||
|     /** |     /** | ||||||
|      * 用户名 |      * 用户名 | ||||||
|   | |||||||
| @@ -16,7 +16,7 @@ public interface MailAccountMapper extends BaseMapperX<MailAccountDO> { | |||||||
|  |  | ||||||
|     default PageResult<MailAccountDO> selectPage(MailAccountPageReqVO pageReqVO) { |     default PageResult<MailAccountDO> selectPage(MailAccountPageReqVO pageReqVO) { | ||||||
|         return selectPage(pageReqVO, new QueryWrapperX<MailAccountDO>() |         return selectPage(pageReqVO, new QueryWrapperX<MailAccountDO>() | ||||||
|                 .likeIfPresent("form" , pageReqVO.getFrom()) |                 .likeIfPresent("from" , pageReqVO.getFrom()) | ||||||
|                 .likeIfPresent("host" , pageReqVO.getHost()) |                 .likeIfPresent("host" , pageReqVO.getHost()) | ||||||
|                 .likeIfPresent("username" , pageReqVO.getUsername()) |                 .likeIfPresent("username" , pageReqVO.getUsername()) | ||||||
|                 .eqIfPresent("password" , pageReqVO.getPassword()) |                 .eqIfPresent("password" , pageReqVO.getPassword()) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 wangjingyi
					wangjingyi