mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-05-03 17:40:13 +08:00
update 推送第三方平台可多选
This commit is contained in:
@@ -84,5 +84,5 @@ public interface ThirdPartyStationRelationMapper {
|
||||
* @param type
|
||||
* @return
|
||||
*/
|
||||
int updateRelationDelFlag(@Param("stationId") String stationId, @Param("type") String type);
|
||||
int updateRelationDelFlag(@Param("stationId") String stationId, @Param("types") List<String> types);
|
||||
}
|
||||
|
||||
@@ -74,5 +74,5 @@ public interface ThirdPartyStationRelationService {
|
||||
*/
|
||||
public int deleteThirdPartyStationRelationById(Long id);
|
||||
|
||||
int updateRelationDelFlag(String stationId, String type);
|
||||
int updateRelationDelFlag(String stationId, List<String> types);
|
||||
}
|
||||
|
||||
@@ -111,7 +111,7 @@ public class ThirdPartyStationRelationServiceImpl implements ThirdPartyStationRe
|
||||
}
|
||||
|
||||
@Override
|
||||
public int updateRelationDelFlag(String stationId, String type) {
|
||||
return thirdPartyStationRelationMapper.updateRelationDelFlag(stationId, type);
|
||||
public int updateRelationDelFlag(String stationId, List<String> types) {
|
||||
return thirdPartyStationRelationMapper.updateRelationDelFlag(stationId, types);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -127,6 +127,9 @@
|
||||
del_flag = '1'
|
||||
where
|
||||
station_id = #{stationId,jdbcType=VARCHAR}
|
||||
and third_party_type = #{type,jdbcType=VARCHAR}
|
||||
and third_party_type in
|
||||
<foreach collection="types" open="(" item="type" close=")" separator=",">
|
||||
#{type,jdbcType=VARCHAR}
|
||||
</foreach>
|
||||
</update>
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user