parent
942a3718bc
commit
a951b1de4a
|
@ -23,6 +23,10 @@
|
|||
<attribute name="maven.pomderived" value="true"/>
|
||||
</attributes>
|
||||
</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"/>
|
||||
</classpath>
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
<img alt="code style" src="https://img.shields.io/badge/BUILD-PASSING-green.svg">
|
||||
</a>
|
||||
<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>
|
||||
</p>
|
||||
|
||||
|
|
16
pom.xml
16
pom.xml
|
@ -41,6 +41,22 @@
|
|||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
</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>
|
||||
<dependency>
|
||||
<groupId>junit</groupId>
|
||||
|
|
|
@ -360,13 +360,21 @@ public class ProjectCaseController {
|
|||
ms="删除用例成功!";
|
||||
if(proprefail>0&&planfail==0){
|
||||
status="warning";
|
||||
ms="删除用例"+suc+"条成功!"+proprefail+"条因为无项目权限删除失败!";
|
||||
ms="删除用例"+suc+"条成功!"+proprefail+"条因为当前用户无项目权限删除失败!";
|
||||
}else if(proprefail==0&&planfail>0){
|
||||
status="warning";
|
||||
ms="删除用例"+suc+"条成功!"+planfail+"条因为在测试计划中无法删除!";
|
||||
ms="删除用例"+suc+"条成功!"+planfail+"条用例因为存在测试计划中无法删除!";
|
||||
}else if(proprefail>0&&planfail>0){
|
||||
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