|
|
@@ -34,10 +34,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="serverStatus" column="server_status" />
|
|
|
<result property="isAuto" column="is_auto" />
|
|
|
<result property="videoGetStatus" column="video_get_status" />
|
|
|
+ <result property="delayStart" column="delay_start" />
|
|
|
+ <result property="delayEnd" column="delay_end" />
|
|
|
</resultMap>
|
|
|
|
|
|
<sql id="selectQwUserVo">
|
|
|
- select id,is_auto, video_get_status, qw_user_id,server_id,server_status,ipad_status,config_id,vid,uid,contact_way,app_key, qw_user_name, department, openid, company_id, company_user_id, corp_id, status, is_del, welcome_text, welcome_image, is_send_msg,app_key,qw_hook_id,fastGpt_role_id,login_status,tool_status,login_code_url,version from qw_user
|
|
|
+ select id,is_auto, video_get_status, qw_user_id,server_id,server_status,ipad_status,config_id,vid,uid,contact_way,app_key, qw_user_name, department, openid, company_id, company_user_id, corp_id, status, is_del, welcome_text, welcome_image, is_send_msg,app_key,qw_hook_id,fastGpt_role_id,login_status,tool_status,login_code_url,version,delay_start,delay_end from qw_user
|
|
|
</sql>
|
|
|
|
|
|
<select id="selectQwUserList" parameterType="QwUser" resultMap="QwUserResult">
|
|
|
@@ -115,6 +117,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="serverStatus != null">server_status,</if>
|
|
|
<if test="isAuto != null">is_auto,</if>
|
|
|
<if test="videoGetStatus != null">video_get_status,</if>
|
|
|
+ <if test="delayStart != null">delay_start,</if>
|
|
|
+ <if test="delayEnd != null">delay_end,</if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="qwUserId != null">#{qwUserId},</if>
|
|
|
@@ -143,6 +147,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="serverId != null">#{serverId},</if>
|
|
|
<if test="isAuto != null">#{isAuto},</if>
|
|
|
<if test="videoGetStatus != null">#{videoGetStatus},</if>
|
|
|
+ <if test="delayStart != null">#{delayStart},</if>
|
|
|
+ <if test="delayEnd != null">#{delayEnd},</if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
|
|
|
@@ -177,6 +183,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="serverStatus != null">server_status = #{serverStatus},</if>
|
|
|
<if test="isAuto != null">is_auto = #{isAuto},</if>
|
|
|
<if test="videoGetStatus != null">video_get_status = #{videoGetStatus},</if>
|
|
|
+ <if test="delayStart != null">delay_start = #{delayStart},</if>
|
|
|
+ <if test="delayEnd != null">delay_end = #{delayEnd},</if>
|
|
|
</trim>
|
|
|
where id = #{id}
|
|
|
</update>
|