zss
2025-02-28 7d2330819e11cc505d3721373af34263f5c2fc16
ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml
@@ -25,6 +25,7 @@
        <result property="remark"       column="remark"       />
        <result property="nameEn"       column="name_en"       />
        <result property="signatureUrl"       column="signature_url"       />
        <result property="pictureUrl"       column="picture_url"       />
        <result property="company"       column="company"       />
        <association property="dept"    javaType="SysDept"         resultMap="deptResult" />
        <collection  property="roles"   javaType="java.util.List"  resultMap="RoleResult" />
@@ -68,6 +69,9 @@
      </if>
      <if test="userName != null and userName != ''">
         AND u.account like concat('%', #{userName}, '%')
      </if>
      <if test="nickName != null and nickName != ''">
         AND u.name like concat('%', #{nickName}, '%')
      </if>
      <if test="status != null and status != ''">
         AND u.status = #{status}
@@ -201,6 +205,7 @@
          <if test="remark != null">remark = #{remark},</if>
         <if test="nameEn != null and nameEn != ''">name_en = #{nameEn},</if>
         <if test="signatureUrl != null and signatureUrl != ''">signature_url = #{signatureUrl},</if>
         <if test="pictureUrl != null and pictureUrl != ''">picture_url = #{pictureUrl},</if>
         <if test="company != null and company != ''">company = #{company},</if>
          update_time = sysdate()
       </set>