Commit 61af2060 by 杨林龙

删除没有使用的方法

1 parent 7a61e274
...@@ -14,8 +14,4 @@ import java.util.List; ...@@ -14,8 +14,4 @@ import java.util.List;
*/ */
@Mapper @Mapper
public interface ChannelRiskDataMapper extends CommonBaseMapper<ChannelRiskData> { public interface ChannelRiskDataMapper extends CommonBaseMapper<ChannelRiskData> {
//工单+设备号+车架号唯一
@Select("SELECT * FROM t_channel_risk_data WHERE workorder_no=#{workorderNo} AND vin=#{vin} AND sn=#{sn}")
@ResultMap("BaseResultMap")
List<ChannelRiskData> selectByWorkStandSN(@Param(value = "workorderNo") String workorderNo, @Param(value = "vin") String vin, @Param(value = "sn") String sn);
} }
\ No newline at end of file \ No newline at end of file
...@@ -14,10 +14,4 @@ import org.apache.ibatis.annotations.Select; ...@@ -14,10 +14,4 @@ import org.apache.ibatis.annotations.Select;
*/ */
@Mapper @Mapper
public interface ElectricFenceDriveMapper extends CommonBaseMapper<ElectricFenceDrive> { public interface ElectricFenceDriveMapper extends CommonBaseMapper<ElectricFenceDrive> {
@Select("SELECT defd.* FROM t_electric_fence_drive defd where defd.fence_id=#{fenceDrive.fenceId} and defd.sn=#{fenceDrive.sn} " +
"and defd.journey_time=#{fenceDrive.journeyTime}")
@ResultMap("BaseResultMap")
ElectricFenceDrive getFenceDrive(@Param(value = "fenceDrive") ElectricFenceDrive fenceDrive);
} }
...@@ -10,6 +10,4 @@ import org.apache.ibatis.annotations.Param; ...@@ -10,6 +10,4 @@ import org.apache.ibatis.annotations.Param;
*/ */
@Mapper @Mapper
public interface ElectricInStoreMapper extends CommonBaseMapper<ElectricInStoreDrive> { public interface ElectricInStoreMapper extends CommonBaseMapper<ElectricInStoreDrive> {
ElectricInStoreDrive getElectricInStore(@Param("electricInStoreDrive") ElectricInStoreDrive electricInStoreDrive);
} }
...@@ -21,13 +21,4 @@ ...@@ -21,13 +21,4 @@
sve_system_id,position_state,gps_state, sve_system_id,position_state,gps_state,
gps_time,created_time,updated_time gps_time,created_time,updated_time
</sql> </sql>
<select id="getElectricInStore" resultMap="BaseResultMap">
select *
from t_electric_instore_drive teid
where teid.fence_id=#{electricInStoreDrive.fenceId}
and teid.sn=#{electricInStoreDrive.sn}
and teid.gps_state=0
and teid.gps_time=#{electricInStoreDrive.gpsTime}
</select>
</mapper> </mapper>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!