parent
942a3718bc
commit
a951b1de4a
|
@ -23,6 +23,10 @@
|
||||||
<attribute name="maven.pomderived" value="true"/>
|
<attribute name="maven.pomderived" value="true"/>
|
||||||
</attributes>
|
</attributes>
|
||||||
</classpathentry>
|
</classpathentry>
|
||||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
|
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7">
|
||||||
|
<attributes>
|
||||||
|
<attribute name="maven.pomderived" value="true"/>
|
||||||
|
</attributes>
|
||||||
|
</classpathentry>
|
||||||
<classpathentry kind="output" path="target/classes"/>
|
<classpathentry kind="output" path="target/classes"/>
|
||||||
</classpath>
|
</classpath>
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
<img alt="code style" src="https://img.shields.io/badge/BUILD-PASSING-green.svg">
|
<img alt="code style" src="https://img.shields.io/badge/BUILD-PASSING-green.svg">
|
||||||
</a>
|
</a>
|
||||||
<a href="http://git.oschina.net/seagull1985/LuckyFrameWeb/releases">
|
<a href="http://git.oschina.net/seagull1985/LuckyFrameWeb/releases">
|
||||||
<img src="https://img.shields.io/badge/LuckyFrame-V2.7 releases-green.svg" >
|
<img src="https://img.shields.io/badge/LuckyFrame-V2.7.1 releases-green.svg" >
|
||||||
</a>
|
</a>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
|
16
pom.xml
16
pom.xml
|
@ -41,6 +41,22 @@
|
||||||
<properties>
|
<properties>
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
|
<repositories>
|
||||||
|
<repository>
|
||||||
|
<id>maven-ali</id>
|
||||||
|
<url>http://maven.aliyun.com/nexus/content/groups/public</url>
|
||||||
|
<releases>
|
||||||
|
<enabled>true</enabled>
|
||||||
|
</releases>
|
||||||
|
<snapshots>
|
||||||
|
<enabled>true</enabled>
|
||||||
|
<updatePolicy>always</updatePolicy>
|
||||||
|
<checksumPolicy>fail</checksumPolicy>
|
||||||
|
</snapshots>
|
||||||
|
</repository>
|
||||||
|
</repositories>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>junit</groupId>
|
<groupId>junit</groupId>
|
||||||
|
|
|
@ -360,13 +360,21 @@ public class ProjectCaseController {
|
||||||
ms="删除用例成功!";
|
ms="删除用例成功!";
|
||||||
if(proprefail>0&&planfail==0){
|
if(proprefail>0&&planfail==0){
|
||||||
status="warning";
|
status="warning";
|
||||||
ms="删除用例"+suc+"条成功!"+proprefail+"条因为无项目权限删除失败!";
|
ms="删除用例"+suc+"条成功!"+proprefail+"条因为当前用户无项目权限删除失败!";
|
||||||
}else if(proprefail==0&&planfail>0){
|
}else if(proprefail==0&&planfail>0){
|
||||||
status="warning";
|
status="warning";
|
||||||
ms="删除用例"+suc+"条成功!"+planfail+"条因为在测试计划中无法删除!";
|
ms="删除用例"+suc+"条成功!"+planfail+"条用例因为存在测试计划中无法删除!";
|
||||||
}else if(proprefail>0&&planfail>0){
|
}else if(proprefail>0&&planfail>0){
|
||||||
status="warning";
|
status="warning";
|
||||||
ms="删除用例"+suc+"条成功!"+planfail+"条因为在测试计划中无法删除!"+proprefail+"条因为无项目权限删除失败!";
|
ms="删除用例"+suc+"条成功!"+planfail+"条用例因为已经在测试计划中无法删除!"+proprefail+"条用例因为当前用户无项目权限删除失败!";
|
||||||
|
}
|
||||||
|
}else{
|
||||||
|
if(proprefail>0&&planfail==0){
|
||||||
|
ms=proprefail+"条用例因为当前用户无项目权限删除失败!";
|
||||||
|
}else if(proprefail==0&&planfail>0){
|
||||||
|
ms=planfail+"条用例因为存在测试计划中无法删除!";
|
||||||
|
}else if(proprefail>0&&planfail>0){
|
||||||
|
ms=planfail+"条用例因为已经在测试计划中无法删除!"+proprefail+"条用例因为当前用户无项目权限删除失败!";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue