update 电单车

This commit is contained in:
Guoqs
2024-09-20 15:53:35 +08:00
parent 0c1447c49e
commit e6145ae06d
3 changed files with 11 additions and 14 deletions

View File

@@ -291,7 +291,7 @@ public class PileRemoteService {
pileBillingTemplateService.updatePileBillingTemplate(pileBillingTemplate);
// 获取到站点下所有的桩, 下发计费模板, 电单车不支持
if (StringUtils.equals(billingTemplateVO.getDeviceType(), "1")) {
if (StringUtils.equals(billingTemplateVO.getDeviceType(), Constants.ONE)) {
List<PileDetailVO> pileList = pileBasicInfoService.selectPileListByStationIds(Lists.newArrayList(Long.valueOf(dto.getStationId())));
if (CollectionUtils.isNotEmpty(pileList)) {
for (PileDetailVO pileInfoVO : pileList) {