Prechádzať zdrojové kódy

添加场站监视页面上网电量和购网电量数据

123456 3 rokov pred
rodič
commit
d655fd5663

+ 11 - 2
src/main/java/com/gyee/frame/service/initialpoint/InitialPointGoldenService.java

@@ -620,8 +620,17 @@ public class InitialPointGoldenService implements  IinitialPoint{
                                 sb.append(wp.getPhoto());
                                 String temp=wp.getId().substring(0,wp.getId().indexOf("_"));
 
-                                sbtable.append(temp).append("FJ");
-                                sb.append(temp).append("F_").append("FJ_");
+
+
+                                if(stp.getCode().equals(CI))
+                                {
+                                    sbtable.append(temp).append("JS");
+                                    sb.append(temp).append("F_").append("JS_");
+                                }else
+                                {
+                                    sbtable.append(temp).append("FJ");
+                                    sb.append(temp).append("F_").append("FJ_");
+                                }
                                 temp=wt.getProjectid().substring(0,wt.getProjectid().lastIndexOf("_"));
                                 sb.append("P").append(Integer.valueOf(temp.substring(temp.length()-2))).append("_");
                                 temp=wt.getLineid().substring(0,wt.getProjectid().lastIndexOf("_"));