工程管理

This commit is contained in:
cwchen 2024-03-16 19:18:51 +08:00
parent d669798282
commit 35a6335b75
3 changed files with 3 additions and 2 deletions

View File

@ -33,7 +33,7 @@ public class Constant {
public final static String XL = "线路";
public final static String[] buildArr = {"12A0,合肥","12B0,马鞍山","12C0,芜湖","12D0,安庆","12F0,淮南",
public final static String[] BUILD_ARR = {"12A0,合肥","12B0,马鞍山","12C0,芜湖","12D0,安庆","12F0,淮南",
"12G0,宣城","12H0,阜阳","12J0,铜陵","12L0,蚌埠","12M0,滁州","12N0,六安","12P0,淮北","12Q0,宿州","12R0,池州",
"12S0,黄山","12T0,亳州","12Z0,建设分公司"};

View File

@ -61,6 +61,7 @@ public interface IProScheduleService {
List<GxPlanProgressVo> getGxPlanProgressLists(ProScheduleDto dto);
/**
* 计划进度填报
* @param vo
* @return AjaxResult
* @description

View File

@ -340,7 +340,7 @@ public class ProServiceImpl implements IProService {
public static String getBuildCode(String buildName){
if (!StringUtils.isEmpty(buildName)) {
for (String build : Constant.buildArr) {
for (String build : Constant.BUILD_ARR) {
if (build.contains(buildName)) {
System.err.println(build);
return build.split(",")[0];