Commit 24b99074 by zhouhaibao

[+]代码提交

1 parent efbd78bf
...@@ -6,7 +6,7 @@ import org.apache.ibatis.annotations.Mapper; ...@@ -6,7 +6,7 @@ import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param; import org.apache.ibatis.annotations.Param;
@Mapper @Mapper
public interface ChargingPileMapper extends CommonBaseMapper<ChargingPile> { public interface ChargingPileApiMapper extends CommonBaseMapper<ChargingPile> {
ChargingPile findByPileId(@Param("pileId") String pileId); ChargingPile findByPileId(@Param("pileId") String pileId);
} }
\ No newline at end of file \ No newline at end of file
package cn.com.glsx.charging.modules.service; package cn.com.glsx.charging.modules.service;
import cn.com.glsx.charging.modules.entity.ChargingPile; import cn.com.glsx.charging.modules.entity.ChargingPile;
import cn.com.glsx.charging.modules.mapper.ChargingPileMapper; import cn.com.glsx.charging.modules.mapper.ChargingPileApiMapper;
import javax.annotation.Resource; import javax.annotation.Resource;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
...@@ -9,7 +9,7 @@ import org.springframework.stereotype.Service; ...@@ -9,7 +9,7 @@ import org.springframework.stereotype.Service;
@Service @Service
public class ChargingPileService { public class ChargingPileService {
@Autowired @Autowired
private ChargingPileMapper chargingPileMapper; private ChargingPileApiMapper chargingPileMapper;
public ChargingPile findByPileId(String s) { public ChargingPile findByPileId(String s) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!