This commit is contained in:
parent
f6ecf0dfb0
commit
cbfb409a11
|
@ -15,7 +15,7 @@ public interface CameraChannelMapper extends BaseMapper<CameraChannel> {
|
|||
|
||||
List<CameraChannelDto> selectAll(CameraChannel cameraChannel,@Param("page") Integer page,@Param("pageSize") Integer pageSize);
|
||||
|
||||
@Select("select cc.*,cp.pic_url from t_camera_channel cc JOIN t_channel_picture cp ON cc.channel_code=cp.channel_code where cc.channel_id = #{channelId}")
|
||||
@Select("select cc.*,cp.pic_url from t_camera_channel cc LEFT JOIN t_channel_picture cp ON cc.channel_code=cp.channel_code where cc.channel_id = #{channelId}")
|
||||
List<CameraChannelDto1> selectByChannelId(@Param("channelId") String channelId);
|
||||
|
||||
@Select("select * from t_camera_channel where parent_id = #{parentId}")
|
||||
|
|
Loading…
Reference in New Issue