|
@@ -656,8 +656,7 @@ public class ProjectUtil {
|
|
|
}
|
|
|
|
|
|
|
|
|
- public void releaseLicense(String projectUserId, String modelType, int parallelism) {
|
|
|
- final String clusterUserId = getClusterUserIdByProjectUserId(projectUserId);
|
|
|
+ public void releaseLicense(String clusterUserId, String modelType, int parallelism) {
|
|
|
if (DictConstants.MODEL_TYPE_VTD.equals(modelType)) {
|
|
|
releaseLicense("user:" + clusterUserId + ":using-license:simulation", parallelism);
|
|
|
} else if (DictConstants.MODEL_TYPE_CARSIM.equals(modelType)) {
|