mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-21 11:35:12 +08:00
update远程升级接口
This commit is contained in:
@@ -192,9 +192,6 @@ public class PileRemoteService {
|
||||
* 远程更新
|
||||
*/
|
||||
public void updateFirmware(UpdateFirmwareDTO dto) {
|
||||
if (StringUtils.isBlank(dto.getFirmwareId())) {
|
||||
throw new BusinessException(ReturnCodeEnum.CODE_PARAM_NOT_NULL_ERROR);
|
||||
}
|
||||
PileFirmwareInfo pileFirmwareInfo = pileFirmwareInfoService.selectPileFirmwareInfoById(Long.valueOf(dto.getFirmwareId()));
|
||||
if (pileFirmwareInfo == null) {
|
||||
throw new BusinessException(ReturnCodeEnum.CODE_FIRMWARE_NOT_FOUND_ERROR);
|
||||
|
||||
Reference in New Issue
Block a user