Explorar o código

客户详情修改

wanghui %!s(int64=8) %!d(string=hai) anos
pai
achega
76247d7e67

+ 11 - 2
src/main/java/com/goafanti/common/mapper/CustomerOrganizationInfoMapper.xml

@@ -350,20 +350,29 @@
   </update>
   <update id="updateCustomerOrganizationByCid">
   	 update customer_organization_info
-  	 <set>     
+  	 <set>
       <if test="companyName != null">
         company_name = #{companyName,jdbcType=VARCHAR},
       </if>
       <if test="locationProvince != null">
         location_province = #{locationProvince,jdbcType=CHAR},
       </if>
+      <if test="locationCity != null">
+        location_city = #{locationCity,jdbcType=VARCHAR},
+      </if>
+      <if test="locationArea != null">
+        location_area = #{locationArea,jdbcType=VARCHAR},
+      </if>
       <if test="adress != null">
         adress = #{adress,jdbcType=VARCHAR},
       </if>
       <if test="companyIndustry != null">
         company_industry = #{companyIndustry,jdbcType=VARCHAR},
       </if>
-    </set>    
+      <if test="remarks != null">
+        remarks = #{remarks,jdbcType=VARCHAR},
+      </if>
+     </set>  
     where cid = #{cid,jdbcType=VARCHAR}
   </update>
 </mapper>