test

 

   // for test only
        if (EnvTool.isLocalhost) {
            if (BizEnum.BRANCH_SOURCE.BCP.name().equals(dto.getBranchSource()) && "PA".equals(dto.getBranchType())) {
                wrapper.in("c_serial_number", "CM2021120710005837CM2", "CM2021120710005866CM2", "CM2021120710005871CM2", "CM2021120710005877CM2", "CM2021120710005884CM2", "CM2021120710005897CM2");
            }
            if (BizEnum.BRANCH_SOURCE.RESERVE.name().equals(dto.getBranchSource()) && "UPRGR".equals(dto.getBranchType())) {
                wrapper.in("c_serial_number", "uprA31960", "uprA31961", "uprA31962", "uprA31963", "uprA31964", "uprA31965");
            }
            if (BizEnum.BRANCH_SOURCE.RESERVE.name().equals(dto.getBranchSource()) && "UPRRO".equals(dto.getBranchType())) {
                wrapper.in("c_serial_number", "uprB32471", "uprB32472", "uprB32473", "uprB32474", "uprB32475", "uprB32476");
            }
        }

 

posted @ 2022-01-07 15:03  xiluhua  阅读(19)  评论(0编辑  收藏  举报