mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-29 23:50:00 +08:00
update 电单车协议
This commit is contained in:
@@ -450,9 +450,9 @@ public class PileBillingTemplateServiceImpl implements PileBillingTemplateServic
|
||||
*/
|
||||
@Override
|
||||
@Transactional(readOnly = false, propagation = Propagation.REQUIRED)
|
||||
public int changeStationTemplate(String stationId, String templateId) {
|
||||
// 根据stationId把站点下所有的计费模板设置为 未启用
|
||||
pileBillingTemplateMapper.updateStatusByStationId(stationId, Constants.ZERO);
|
||||
public int changeStationTemplate(String stationId, String templateId, String deviceType) {
|
||||
// 根据stationId把站点下所有的计费模板设置为 未启用, 区分deviceType
|
||||
pileBillingTemplateMapper.updateStatusByStationId(stationId, Constants.ZERO, deviceType);
|
||||
// 根据templateId 修改状态为启用
|
||||
pileBillingTemplateMapper.updateStatusByTemplateId(templateId, Constants.ONE);
|
||||
// 清缓存
|
||||
|
||||
Reference in New Issue
Block a user