| | |
| | | //下发硬件更新计费模板 |
| | | List<TChargingPile> tChargingPiles = this.listByIds(id); |
| | | for (TChargingPile chargingPile : tChargingPiles) { |
| | | System.err.println(JSON.toJSONString(accountingStrategyDetails)); |
| | | integrationClient.setupBillingModel1(chargingPile.getCode(), JSON.toJSONString(accountingStrategyDetails)); |
| | | } |
| | | |
| | |
| | | </foreach> |
| | | </if> |
| | | <if test="null != query.name and '' != query.name"> |
| | | and CONCAT(b.number, a.name) like CONCAT('%', #{query.name}, '%') |
| | | and CONCAT(b.name, a.name) like CONCAT('%', #{query.name}, '%') |
| | | </if> |
| | | </select> |
| | | </mapper> |
| | |
| | | chargingOrder.setVipDiscountAmount(BigDecimal.ZERO); |
| | | chargingOrder.setOrderSource(0); |
| | | chargingOrder.setTitle("【充电桩充电】" + chargingPile.getNumber() + "号桩/" + tChargingGun.getCode() + "号枪"); |
| | | chargingOrder.setStatus(1); |
| | | |
| | | Site site = siteClient.getSiteByIds(Arrays.asList(tChargingGun.getSiteId())).getData().get(0); |
| | | Integer accountingStrategyId = tChargingGun.getAccountingStrategyId(); |