Преглед изворни кода

磁贴日志增加员工编号和域账号

njs пре 2 година
родитељ
комит
e770cadea5

+ 1 - 1
suishenbang-system/src/main/resources/mapper/system/SysMagnetLogMapper.xml

@@ -69,9 +69,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
          </trim>
          </trim>
         <trim prefix="values (" suffix=")" suffixOverrides=",">
         <trim prefix="values (" suffix=")" suffixOverrides=",">
             <if test="userId != null ">#{userId},</if>
             <if test="userId != null ">#{userId},</if>
+            <if test="userName != null  and userName != ''">#{userName},</if>
             <if test="loginName != null  and loginName != ''"> #{loginName},</if>
             <if test="loginName != null  and loginName != ''"> #{loginName},</if>
             <if test="sapEmployeeId != null  and sapEmployeeId != ''"> #{sapEmployeeId},</if>
             <if test="sapEmployeeId != null  and sapEmployeeId != ''"> #{sapEmployeeId},</if>
-            <if test="userName != null  and userName != ''">#{userName},</if>
             <if test="orgCode != null  and orgCode != ''">#{orgCode},</if>
             <if test="orgCode != null  and orgCode != ''">#{orgCode},</if>
             <if test="orgName != null  and orgName != ''">#{orgName},</if>
             <if test="orgName != null  and orgName != ''">#{orgName},</if>
             <if test="level != null  and level != ''">#{level},</if>
             <if test="level != null  and level != ''">#{level},</if>