From 63ef162b62ddfd6c7ad8b4f3e66075c3f01de621 Mon Sep 17 00:00:00 2001 From: yujian <yujian> Date: 星期五, 26 四月 2019 14:22:49 +0800 Subject: [PATCH] 品牌分类删除,同时删除引用分类商品关系 --- fanli/src/main/java/com/yeshi/fanli/util/ShamHongBaoUtil.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/util/ShamHongBaoUtil.java b/fanli/src/main/java/com/yeshi/fanli/util/ShamHongBaoUtil.java index 6fb856a..1ece662 100644 --- a/fanli/src/main/java/com/yeshi/fanli/util/ShamHongBaoUtil.java +++ b/fanli/src/main/java/com/yeshi/fanli/util/ShamHongBaoUtil.java @@ -56,7 +56,7 @@ if (cell.getContents() == null || "".equals(cell.getContents().trim())) { continue; } - shamUserService.delete(Long.parseLong(cell.getContents())); + shamUserService.deleteByPrimaryKey(Long.parseLong(cell.getContents())); } } catch (BiffException e) { e.printStackTrace(); -- Gitblit v1.8.0