shc 10 mēneši atpakaļ
vecāks
revīzija
b5d5ac4a03

+ 1 - 1
hnqz-upms/hnqz-upms-biz/src/main/java/com/qunzhixinxi/hnqz/admin/service/impl/SysEnterpriseAreaServiceImpl.java

@@ -67,7 +67,7 @@ public class SysEnterpriseAreaServiceImpl extends ServiceImpl<SysEnterpriseAreaM
     @Transactional(rollbackFor = Exception.class)
     public void updateRelation(Long deptId, Collection<Long> areaCodes) {
         // 删除旧的
-        this.remove(Wrappers.<SysEnterpriseArea>lambdaQuery().eq(SysEnterpriseArea::getEntId, deptId).eq(SysEnterpriseArea::getAreaId, areaCodes));
+        this.remove(Wrappers.<SysEnterpriseArea>lambdaQuery().eq(SysEnterpriseArea::getEntId, deptId));
         // 插入信息
         LocalDateTime now = LocalDateTime.now();
         List<SysEnterpriseArea> collect = areaCodes.stream().map(code -> {