Browse Source

根据站点id删除客户关系

hym 4 năm trước cách đây
mục cha
commit
4f992602c1
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/main/resources/mapper/SiteMapper.xml

+ 1 - 1
src/main/resources/mapper/SiteMapper.xml

@@ -182,7 +182,7 @@
         update sc_site set status = 0,update_date=NOW(),update_by=#{updateBy} where id = #{id}
     </update>
     <update id="deleteCustomerRelations">
-        update sc_customer set site_id=null where id=#{id}
+        update sc_customer set site_id=null where site_id=#{id}
     </update>
     <update id="updateCustomerSiteId">
         update sc_customer set site_id=#{id}