mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-07-19 05:27:59 +08:00
update 校验固件名是否唯一
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package com.jsowell.pile.mapper;
|
||||
|
||||
import com.jsowell.pile.domain.PileFirmwareInfo;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
import java.util.List;
|
||||
@@ -29,6 +30,14 @@ public interface PileFirmwareInfoMapper {
|
||||
*/
|
||||
public List<PileFirmwareInfo> selectPileFirmwareInfoList(PileFirmwareInfo pileFirmwareInfo);
|
||||
|
||||
/**
|
||||
* 根据固件名称查询充电桩固件信息
|
||||
*
|
||||
* @param name 固件名称
|
||||
* @return 充电桩固件信息
|
||||
*/
|
||||
public PileFirmwareInfo checkNameUnique(@Param("name") String name);
|
||||
|
||||
/**
|
||||
* 新增充电桩固件信息
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user