| 
...
 | 
...
 | 
@@ -126,6 +126,9 @@ | 
| 
 | 
 | 
       <if test="age != null" >
 | 
| 
 | 
 | 
         age,
 | 
| 
 | 
 | 
       </if>
 | 
| 
 | 
 | 
       <if test="companyId != null" >
 | 
| 
 | 
 | 
         company_id,
 | 
| 
 | 
 | 
       </if>
 | 
| 
 | 
 | 
     </trim>
 | 
| 
 | 
 | 
     <trim prefix="values (" suffix=")" suffixOverrides="," >
 | 
| 
 | 
 | 
       <if test="userId != null" >
 | 
| 
...
 | 
...
 | 
@@ -170,6 +173,9 @@ | 
| 
 | 
 | 
       <if test="age != null" >
 | 
| 
 | 
 | 
         #{age,jdbcType=INTEGER},
 | 
| 
 | 
 | 
       </if>
 | 
| 
 | 
 | 
       <if test="companyId != null" >
 | 
| 
 | 
 | 
         #{companyId,jdbcType=INTEGER},
 | 
| 
 | 
 | 
       </if>
 | 
| 
 | 
 | 
     </trim>
 | 
| 
 | 
 | 
   </insert>
 | 
| 
 | 
 | 
   <update id="updateByPrimaryKeySelective" parameterType="com.tianbo.warehouse.model.USERS" >
 | 
| 
...
 | 
...
 | 
@@ -211,6 +217,9 @@ | 
| 
 | 
 | 
       <if test="age != null" >
 | 
| 
 | 
 | 
         age = #{age,jdbcType=INTEGER},
 | 
| 
 | 
 | 
       </if>
 | 
| 
 | 
 | 
       <if test="companyId != null" >
 | 
| 
 | 
 | 
         company_id = #{companyId,jdbcType=INTEGER},
 | 
| 
 | 
 | 
       </if>
 | 
| 
 | 
 | 
     </set>
 | 
| 
 | 
 | 
     where user_id = #{userId,jdbcType=INTEGER}
 | 
| 
 | 
 | 
   </update>
 | 
...
 | 
...
 | 
 |