mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 19:15:35 +08:00
update 站点白名单
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package com.jsowell.pile.mapper;
|
||||
|
||||
import com.jsowell.pile.domain.PileStationWhitelist;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
import java.util.List;
|
||||
@@ -60,4 +61,6 @@ public interface PileStationWhitelistMapper {
|
||||
* @return 结果
|
||||
*/
|
||||
public int deletePileStationWhitelistByIds(Long[] ids);
|
||||
|
||||
PileStationWhitelist queryWhitelistByMemberId(@Param("stationId") String stationId, @Param("memberId") String memberId);
|
||||
}
|
||||
|
||||
@@ -58,4 +58,6 @@ public interface IPileStationWhitelistService {
|
||||
* @return 结果
|
||||
*/
|
||||
public int deletePileStationWhitelistById(Long id);
|
||||
|
||||
PileStationWhitelist queryWhitelistByMemberId(String stationId, String memberId);
|
||||
}
|
||||
|
||||
@@ -101,4 +101,9 @@ public class PileStationWhitelistServiceImpl implements IPileStationWhitelistSer
|
||||
public int deletePileStationWhitelistById(Long id) {
|
||||
return pileStationWhitelistMapper.deletePileStationWhitelistById(id);
|
||||
}
|
||||
|
||||
@Override
|
||||
public PileStationWhitelist queryWhitelistByMemberId(String stationId, String memberId) {
|
||||
return pileStationWhitelistMapper.queryWhitelistByMemberId(stationId, memberId);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user