临时用户生效日期

This commit is contained in:
sxu 2025-06-05 09:58:20 +08:00
parent efd87bfc9a
commit d2f6c7b5d6
1 changed files with 6 additions and 6 deletions

View File

@ -292,8 +292,8 @@
<if test="approvalStatus != null and approvalStatus!=''">approval_status,</if>
<if test="isPermanent != null and isPermanent!=''">is_permanent,</if>
<if test="isBuiltIn != null and isBuiltIn!=''">is_built_in,</if>
<if test="effectiveStartDay != null and effectiveStartDay !=''">effective_start_day,</if>
<if test="effectiveEndDay != null and effectiveEndDay !=''">effective_end_day,</if>
<if test="effectiveStartDay != null">effective_start_day,</if>
<if test="effectiveEndDay != null">effective_end_day,</if>
create_time, update_time
)values(
<if test="userId != null and userId != ''">#{userId},</if>
@ -314,8 +314,8 @@
<if test="approvalStatus != null and approvalStatus!=''">#{approvalStatus},</if>
<if test="isPermanent != null and isPermanent!=''">#{isPermanent},</if>
<if test="isBuiltIn != null and isBuiltIn!=''">#{isBuiltIn},</if>
<if test="effectiveStartDay != null and effectiveStartDay !=''">#{effectiveStartDay},</if>
<if test="effectiveEndDay != null and effectiveEndDay !=''">#{effectiveEndDay},</if>
<if test="effectiveStartDay != null">#{effectiveStartDay},</if>
<if test="effectiveEndDay != null">#{effectiveEndDay},</if>
sysdate(), sysdate()
)
</insert>
@ -342,8 +342,8 @@
<if test="loginType != null and loginType!=''">login_type = #{loginType},</if>
<if test="isPermanent != null and isPermanent!=''">is_permanent = #{isPermanent},</if>
<if test="isBuiltIn != null and isBuiltIn!=''">is_built_in = #{isBuiltIn},</if>
<if test="effectiveStartDay != null and effectiveStartDay !=''">effective_start_day = #{effectiveStartDay},</if>
<if test="effectiveEndDay != null and effectiveEndDay !=''">effective_end_day = #{effectiveEndDay},</if>
<if test="effectiveStartDay != null">effective_start_day = #{effectiveStartDay},</if>
<if test="effectiveEndDay != null">effective_end_day = #{effectiveEndDay},</if>
update_time = sysdate()
</set>
where user_id = #{userId}