|
|
@ -13,6 +13,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
<result property="mailUserName" column="mail_user_name" />
|
|
|
|
<result property="mailUserName" column="mail_user_name" />
|
|
|
|
<result property="mailAuthorizationCode" column="mail_authorization_code" />
|
|
|
|
<result property="mailAuthorizationCode" column="mail_authorization_code" />
|
|
|
|
<result property="mailReceiveFolder" column="mail_receive_folder" />
|
|
|
|
<result property="mailReceiveFolder" column="mail_receive_folder" />
|
|
|
|
|
|
|
|
<result property="sourceName" column="source_name" />
|
|
|
|
<result property="createBy" column="create_by" />
|
|
|
|
<result property="createBy" column="create_by" />
|
|
|
|
<result property="createTime" column="create_time" />
|
|
|
|
<result property="createTime" column="create_time" />
|
|
|
|
<result property="updateBy" column="update_by" />
|
|
|
|
<result property="updateBy" column="update_by" />
|
|
|
@ -22,7 +23,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
</resultMap>
|
|
|
|
</resultMap>
|
|
|
|
|
|
|
|
|
|
|
|
<sql id="selectMailInfoVo">
|
|
|
|
<sql id="selectMailInfoVo">
|
|
|
|
select id,lark_table_id, mail_server, mail_port, mail_protocol, mail_user_name, mail_authorization_code, mail_receive_folder, create_by, create_time, update_by, update_time, flag, remark from mail_info
|
|
|
|
select id,lark_table_id, mail_server, mail_port, mail_protocol, mail_user_name, mail_authorization_code, mail_receive_folder,source_name, create_by, create_time, update_by, update_time, flag, remark from mail_info
|
|
|
|
</sql>
|
|
|
|
</sql>
|
|
|
|
|
|
|
|
|
|
|
|
<select id="selectMailInfoList" parameterType="com.ruoyi.flyingbook.domain.MailInfo" resultMap="MailInfoResult">
|
|
|
|
<select id="selectMailInfoList" parameterType="com.ruoyi.flyingbook.domain.MailInfo" resultMap="MailInfoResult">
|
|
|
@ -35,6 +36,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
<if test="mailUserName != null and mailUserName != ''"> and mail_user_name like concat('%', #{mailUserName}, '%')</if>
|
|
|
|
<if test="mailUserName != null and mailUserName != ''"> and mail_user_name like concat('%', #{mailUserName}, '%')</if>
|
|
|
|
<if test="mailAuthorizationCode != null and mailAuthorizationCode != ''"> and mail_authorization_code = #{mailAuthorizationCode}</if>
|
|
|
|
<if test="mailAuthorizationCode != null and mailAuthorizationCode != ''"> and mail_authorization_code = #{mailAuthorizationCode}</if>
|
|
|
|
<if test="mailReceiveFolder != null and mailReceiveFolder != ''"> and mail_receive_folder = #{mailReceiveFolder}</if>
|
|
|
|
<if test="mailReceiveFolder != null and mailReceiveFolder != ''"> and mail_receive_folder = #{mailReceiveFolder}</if>
|
|
|
|
|
|
|
|
<if test="sourceName != null and sourceName != ''"> and source_name = #{sourceName}</if>
|
|
|
|
<if test="flag != null "> and flag = #{flag}</if>
|
|
|
|
<if test="flag != null "> and flag = #{flag}</if>
|
|
|
|
</where>
|
|
|
|
</where>
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
@ -54,6 +56,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
<if test="mailUserName != null and mailUserName != ''">mail_user_name,</if>
|
|
|
|
<if test="mailUserName != null and mailUserName != ''">mail_user_name,</if>
|
|
|
|
<if test="mailAuthorizationCode != null and mailAuthorizationCode != ''">mail_authorization_code,</if>
|
|
|
|
<if test="mailAuthorizationCode != null and mailAuthorizationCode != ''">mail_authorization_code,</if>
|
|
|
|
<if test="mailReceiveFolder != null">mail_receive_folder,</if>
|
|
|
|
<if test="mailReceiveFolder != null">mail_receive_folder,</if>
|
|
|
|
|
|
|
|
<if test="sourceName != null">source_name,</if>
|
|
|
|
<if test="createBy != null and createBy != ''">create_by,</if>
|
|
|
|
<if test="createBy != null and createBy != ''">create_by,</if>
|
|
|
|
<if test="createTime != null">create_time,</if>
|
|
|
|
<if test="createTime != null">create_time,</if>
|
|
|
|
<if test="updateBy != null">update_by,</if>
|
|
|
|
<if test="updateBy != null">update_by,</if>
|
|
|
@ -69,6 +72,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
<if test="mailUserName != null and mailUserName != ''">#{mailUserName},</if>
|
|
|
|
<if test="mailUserName != null and mailUserName != ''">#{mailUserName},</if>
|
|
|
|
<if test="mailAuthorizationCode != null and mailAuthorizationCode != ''">#{mailAuthorizationCode},</if>
|
|
|
|
<if test="mailAuthorizationCode != null and mailAuthorizationCode != ''">#{mailAuthorizationCode},</if>
|
|
|
|
<if test="mailReceiveFolder != null">#{mailReceiveFolder},</if>
|
|
|
|
<if test="mailReceiveFolder != null">#{mailReceiveFolder},</if>
|
|
|
|
|
|
|
|
<if test="sourceName != null">#{sourceName},</if>
|
|
|
|
<if test="createBy != null and createBy != ''">#{createBy},</if>
|
|
|
|
<if test="createBy != null and createBy != ''">#{createBy},</if>
|
|
|
|
<if test="createTime != null">#{createTime},</if>
|
|
|
|
<if test="createTime != null">#{createTime},</if>
|
|
|
|
<if test="updateBy != null">#{updateBy},</if>
|
|
|
|
<if test="updateBy != null">#{updateBy},</if>
|
|
|
@ -88,6 +92,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
<if test="mailUserName != null and mailUserName != ''">mail_user_name = #{mailUserName},</if>
|
|
|
|
<if test="mailUserName != null and mailUserName != ''">mail_user_name = #{mailUserName},</if>
|
|
|
|
<if test="mailAuthorizationCode != null and mailAuthorizationCode != ''">mail_authorization_code = #{mailAuthorizationCode},</if>
|
|
|
|
<if test="mailAuthorizationCode != null and mailAuthorizationCode != ''">mail_authorization_code = #{mailAuthorizationCode},</if>
|
|
|
|
<if test="mailReceiveFolder != null">mail_receive_folder = #{mailReceiveFolder},</if>
|
|
|
|
<if test="mailReceiveFolder != null">mail_receive_folder = #{mailReceiveFolder},</if>
|
|
|
|
|
|
|
|
<if test="sourceName != null">source_name = #{sourceName},</if>
|
|
|
|
<if test="createBy != null and createBy != ''">create_by = #{createBy},</if>
|
|
|
|
<if test="createBy != null and createBy != ''">create_by = #{createBy},</if>
|
|
|
|
<if test="createTime != null">create_time = #{createTime},</if>
|
|
|
|
<if test="createTime != null">create_time = #{createTime},</if>
|
|
|
|
<if test="updateBy != null">update_by = #{updateBy},</if>
|
|
|
|
<if test="updateBy != null">update_by = #{updateBy},</if>
|
|
|
|