瀏覽代碼

按projectId获取groupCode

zhyk18 2 年之前
父節點
當前提交
9ce3d9834a
共有 1 個文件被更改,包括 10 次插入0 次删除
  1. 10 0
      src/main/java/com/persagy/bdtp/adm/common/AdmRequest.java

+ 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;