sysUser增加属性

This commit is contained in:
sxu 2025-03-03 19:41:56 +08:00
parent ec1a298fde
commit a110d97b16
1 changed files with 18 additions and 0 deletions

View File

@ -293,6 +293,12 @@
<if test="approvalStatus != null and approvalStatus!=''">approval_status,</if> <if test="approvalStatus != null and approvalStatus!=''">approval_status,</if>
<if test="isPermanent != null and isPermanent!=''">is_permanent,</if> <if test="isPermanent != null and isPermanent!=''">is_permanent,</if>
<if test="isBuiltIn != null and isBuiltIn!=''">is_built_in,</if> <if test="isBuiltIn != null and isBuiltIn!=''">is_built_in,</if>
<if test="custId != null and custId !=''">cust_id,</if>
<if test="custNum != null and custNum !=''">cust_num,</if>
<if test="areaId != null and areaId !=''">area_id,</if>
<if test="psnType != null and psnType !=''">psn_type,</if>
<if test="psnTypeName != null and psnTypeName !=''">psn_type_name,</if>
<if test="isCustomer != null and isCustomer !=''">is_customer,</if>
create_time create_time
)values( )values(
<if test="userId != null and userId != ''">#{userId},</if> <if test="userId != null and userId != ''">#{userId},</if>
@ -311,6 +317,12 @@
<if test="approvalStatus != null and approvalStatus!=''">#{approvalStatus},</if> <if test="approvalStatus != null and approvalStatus!=''">#{approvalStatus},</if>
<if test="isPermanent != null and isPermanent!=''">#{isPermanent},</if> <if test="isPermanent != null and isPermanent!=''">#{isPermanent},</if>
<if test="isBuiltIn != null and isBuiltIn!=''">#{isBuiltIn},</if> <if test="isBuiltIn != null and isBuiltIn!=''">#{isBuiltIn},</if>
<if test="custId != null and custId !=''">#{custId},</if>
<if test="custNum != null and custNum !=''">#{custNum},</if>
<if test="areaId != null and areaId !=''">#{areaId},</if>
<if test="psnType != null and psnType !=''">#{psnType},</if>
<if test="psnTypeName != null and psnTypeName !=''">#{psnTypeName},</if>
<if test="isCustomer != null and isCustomer !=''">#{isCustomer},</if>
sysdate() sysdate()
) )
</insert> </insert>
@ -334,6 +346,12 @@
<if test="loginType != null and loginType!=''">login_type = #{loginType},</if> <if test="loginType != null and loginType!=''">login_type = #{loginType},</if>
<if test="isPermanent != null and isPermanent!=''">is_permanent = #{isPermanent},</if> <if test="isPermanent != null and isPermanent!=''">is_permanent = #{isPermanent},</if>
<if test="isBuiltIn != null and isBuiltIn!=''">is_built_in = #{isBuiltIn},</if> <if test="isBuiltIn != null and isBuiltIn!=''">is_built_in = #{isBuiltIn},</if>
<if test="custId != null and custId !=''">cust_id = #{custId},</if>
<if test="custNum != null and custNum !=''">cust_num = #{custNum},</if>
<if test="areaId != null and areaId !=''">area_id = #{areaId},</if>
<if test="psnType != null and psnType !=''">psn_type = #{psnType},</if>
<if test="psnTypeName != null and psnTypeName !=''">psn_type_name = #{psnTypeName},</if>
<if test="isCustomer != null and isCustomer !=''">is_customer = #{isCustomer},</if>
update_time = sysdate() update_time = sysdate()
</set> </set>
where user_id = #{userId} where user_id = #{userId}