package com.landtool.lanbase.modules.res.service.impl; import java.util.HashMap; import java.util.List; import java.util.Map; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.landtool.lanbase.modules.res.dao.Res_ActionRecordMapper; import com.landtool.lanbase.modules.res.entity.Res_ActionRecord; import com.landtool.lanbase.modules.res.entity.Res_MainInfo; import com.landtool.lanbase.modules.res.entity.UserDefined.MainInfoJoinActionRecord; import com.landtool.lanbase.modules.res.service.ResActionRecordService; @Service("ResActionRecordService") public class ResActionRecordServiceImpl implements ResActionRecordService { @Autowired private Res_ActionRecordMapper resActionRecordMapper; @Override public int deleteByPrimaryKey(Integer actionid) { return resActionRecordMapper.deleteByPrimaryKey(actionid); } @Override public int insert(Res_ActionRecord record) { return resActionRecordMapper.insert(record); } @Override public int insertSelective(Res_ActionRecord record) { return resActionRecordMapper.insertSelective(record); } @Override public Res_ActionRecord selectByPrimaryKey(Long actionid) { return resActionRecordMapper.selectByPrimaryKey(actionid); } @Override public int updateByPrimaryKeySelective(Res_ActionRecord record) { return resActionRecordMapper.updateByPrimaryKeySelective(record); } @Override public int updateByPrimaryKey(Res_ActionRecord record) { return resActionRecordMapper.updateByPrimaryKey(record); } @Override public List selectByActiontype(Res_ActionRecord record) { return resActionRecordMapper.selectByActiontype(record); } @Override public Res_ActionRecord getUserActionRecord(Res_ActionRecord record) { return resActionRecordMapper.getUserActionRecord(record); } @Override public int selectResourceCount(Res_ActionRecord record) { return resActionRecordMapper.selectResourceCount(record); } @Override public List selectFangWenPaiHang() { return resActionRecordMapper.selectFangWenPaiHang(); } @Override public List selectResMainInfoWodeShouCang(MainInfoJoinActionRecord record) { return resActionRecordMapper.selectResMainInfoWodeShouCang(record); } @Override public List selectResMainInfoZuiXinZiYuan(Res_MainInfo resMainInfo) { return resActionRecordMapper.selectResMainInfoZuiXinZiYuan(resMainInfo); } @Override public List getTopList(Integer num, String actionType, Long userId,String isDiTuFuwu) { System.out.println(num); Map paramMap = new HashMap(); paramMap.put("num", num); paramMap.put("actionType", actionType); paramMap.put("userId", userId); paramMap.put("isDiTuFuwu", isDiTuFuwu); return resActionRecordMapper.getTopList(paramMap); } @Override public List getListFWPH(Map map) { return resActionRecordMapper.getListFWPH(map); } @Override public List getListWDSC(Map map) { return resActionRecordMapper.getListWDSC(map); } @Override public List selectActionRecordJoinMainInfo(MainInfoJoinActionRecord record) { return resActionRecordMapper.selectActionRecordJoinMainInfo(record); } @Override public int selectCountByResourceid(Integer resourceid) { return resActionRecordMapper.selectCountByResourceid(resourceid); } @Override public int deleteByResourceid(Integer resourceid) { return resActionRecordMapper.deleteByResourceid(resourceid); } @Override public List selectKeyWordsByUserid(Integer userid) { return resActionRecordMapper.selectKeyWordsByUserid(userid); } @Override public List selectMainInfoRecommends(Map map) { return resActionRecordMapper.selectMainInfoRecommends(map); } @Override public List queryAppByResourceid(Map map) { return resActionRecordMapper.queryAppByResourceid(map); } @Override public List queryAppActionCount(Map map) { return resActionRecordMapper.queryAppActionCount(map); } @Override public List queryResourceByAppid(Map map) { return resActionRecordMapper.queryResourceByAppid(map); } }