jinlin
2024-02-23 1772fc5e211f9e9e0ab4cdc6c29b436aac178c2a
modules/mainPart/src/main/java/com/zt/life/modules/project/service/ProjectService.java
@@ -55,4 +55,15 @@
        MyProjectRoleDto data = baseDao.getMyProjectRole(projectId, userId);
        return data;
    }
    public void deleteItem(Long[] ids, String tableName, String fieldName) {
        for (Long id : ids){
            Map<String, Object> params = new HashMap<>();
            params.put("id", id);
            params.put("tableName", tableName);
            params.put("fieldName", fieldName);
            baseDao.deleteItem(params);
        }
    }
}