Przeglądaj źródła

按projectId获取groupCode

zhyk18 2 lat temu
rodzic
commit
9ce3d9834a

+ 10 - 0
src/main/java/com/persagy/bdtp/adm/common/AdmRequest.java

@@ -12,6 +12,16 @@ public class AdmRequest {
 
 	private String groupCode;
 
+	public String getGroupCode() {
+		if("Pj1101080665".equals(projectId))
+			return "JDKJ";
+		if("Pj6101122002".equals(projectId))
+			return "LHF";
+		if("Pj9909090001".equals(projectId))
+			return "YSCS";
+		return groupCode;
+	}
+
 	private String projectId;