Browse Source

fix-[xmg二期]:注释xmg数据库中sysuser
中没有的字段

seeseele 7 months ago
parent
commit
c5ea4bbc09
1 changed files with 16 additions and 16 deletions
  1. 16 16
      src/main/resources/mybatis/system/SysUserMapper.xml

+ 16 - 16
src/main/resources/mybatis/system/SysUserMapper.xml

@@ -14,8 +14,8 @@
         <result property="sex" column="sex"/>
         <result property="sex" column="sex"/>
         <result property="avatar" column="avatar"/>
         <result property="avatar" column="avatar"/>
         <result property="password" column="password"/>
         <result property="password" column="password"/>
-        <result property="money" column="money"/>
-        <result property="totalMoney" column="total_money"/>
+<!--        <result property="money" column="money"/>-->
+<!--        <result property="totalMoney" column="total_money"/>-->
         <result property="status" column="status"/>
         <result property="status" column="status"/>
         <result property="delFlag" column="del_flag"/>
         <result property="delFlag" column="del_flag"/>
         <result property="loginIp" column="login_ip"/>
         <result property="loginIp" column="login_ip"/>
@@ -67,8 +67,8 @@
                u.password,
                u.password,
                u.sex,
                u.sex,
                u.status,
                u.status,
-               u.money,
-               u.total_money,
+#                u.money,
+#                u.total_money,
                u.del_flag,
                u.del_flag,
                u.login_ip,
                u.login_ip,
                u.login_date,
                u.login_date,
@@ -161,7 +161,7 @@
         <!--        <include refid="selectUserVo"/>-->
         <!--        <include refid="selectUserVo"/>-->
         select
         select
         user_id, dept_id, user_name, nick_name, email, avatar, phonenumber, password, sex, status,
         user_id, dept_id, user_name, nick_name, email, avatar, phonenumber, password, sex, status,
-        money, total_money, del_flag, login_ip, login_date, create_by, create_time, remark, company_id
+         del_flag, login_ip, login_date, create_by, create_time, remark, company_id
         from sys_user
         from sys_user
         <where>
         <where>
             <if test="companyId != null">and company_id = #{companyId}</if>
             <if test="companyId != null">and company_id = #{companyId}</if>
@@ -246,8 +246,8 @@
         <if test="phonenumber != null and phonenumber != ''">phonenumber,</if>
         <if test="phonenumber != null and phonenumber != ''">phonenumber,</if>
         <if test="sex != null and sex != ''">sex,</if>
         <if test="sex != null and sex != ''">sex,</if>
         <if test="password != null and password != ''">password,</if>
         <if test="password != null and password != ''">password,</if>
-        <if test="money != null and money != ''">money,</if>
-        <if test="totalMoney != null and totalMoney != ''">total_money,</if>
+<!--        <if test="money != null and money != ''">money,</if>-->
+<!--        <if test="totalMoney != null and totalMoney != ''">total_money,</if>-->
         <if test="status != null and status != ''">status,</if>
         <if test="status != null and status != ''">status,</if>
         <if test="createBy != null and createBy != ''">create_by,</if>
         <if test="createBy != null and createBy != ''">create_by,</if>
         <if test="remark != null and remark != ''">remark,</if>
         <if test="remark != null and remark != ''">remark,</if>
@@ -263,8 +263,8 @@
         <if test="phonenumber != null and phonenumber != ''">#{phonenumber},</if>
         <if test="phonenumber != null and phonenumber != ''">#{phonenumber},</if>
         <if test="sex != null and sex != ''">#{sex},</if>
         <if test="sex != null and sex != ''">#{sex},</if>
         <if test="password != null and password != ''">#{password},</if>
         <if test="password != null and password != ''">#{password},</if>
-        <if test="money != null and money != ''">#{money},</if>
-        <if test="totalMoney != null and totalMoney != ''">#{totalMoney},</if>
+<!--        <if test="money != null and money != ''">#{money},</if>-->
+<!--        <if test="totalMoney != null and totalMoney != ''">#{totalMoney},</if>-->
         <if test="status != null and status != ''">#{status},</if>
         <if test="status != null and status != ''">#{status},</if>
         <if test="createBy != null and createBy != ''">#{createBy},</if>
         <if test="createBy != null and createBy != ''">#{createBy},</if>
         <if test="remark != null and remark != ''">#{remark},</if>
         <if test="remark != null and remark != ''">#{remark},</if>
@@ -313,16 +313,16 @@
     </update>
     </update>
 
 
     <update id="updateUserCharge" parameterType="SysUser">
     <update id="updateUserCharge" parameterType="SysUser">
-        update sys_user
-        set money       = money + #{money},
-            total_money = total_money + #{money}
-        where user_id = #{userId}
+#         update sys_user
+#         set money       = money + #{money},
+#             total_money = total_money + #{money}
+#         where user_id = #{userId}
     </update>
     </update>
 
 
     <update id="updateUserMoney" parameterType="SysUser">
     <update id="updateUserMoney" parameterType="SysUser">
-        update sys_user
-        set money = #{money}
-        where user_id = #{userId}
+#         update sys_user
+#         set money = #{money}
+#         where user_id = #{userId}
     </update>
     </update>
 
 
     <delete id="deleteUserById" parameterType="Long">
     <delete id="deleteUserById" parameterType="Long">