瀏覽代碼

根据站点id删除客户关系

hym 4 年之前
父節點
當前提交
4f992602c1
共有 1 個文件被更改,包括 1 次插入1 次删除
  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}