AchievementService.java 3.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. package com.goafanti.achievement.service;
  2. import java.util.List;
  3. import com.goafanti.achievement.bo.AchievementImportBo;
  4. import com.goafanti.achievement.bo.AchievementListBo;
  5. import com.goafanti.achievement.bo.AchievementOrgOwnerDetailBo;
  6. import com.goafanti.achievement.bo.AchievementPartnerListBo;
  7. import com.goafanti.achievement.bo.AchievementUserOwnerDetailBo;
  8. import com.goafanti.common.bo.PolicyEntity;
  9. import com.goafanti.common.model.Achievement;
  10. import com.goafanti.core.mybatis.page.Pagination;
  11. import com.goafanti.demand.bo.DemandAchievementListBo;
  12. import com.goafanti.portal.bo.AchievementDetailBo;
  13. import com.goafanti.portal.bo.AchievementObject;
  14. import com.goafanti.portal.bo.AchievementPortalDetailBo;
  15. import com.goafanti.portal.bo.AchievementResultObject;
  16. public interface AchievementService {
  17. void saveAchievement(Achievement a, String[] keywords,List<String>webPages,List<String>appPages);
  18. int updateAchievement(Achievement a, String[] keywords, Integer sIgnin,List<String>webPages,List<String>appPages);
  19. Achievement selectByPrimaryKey(String id);
  20. int deleteByPrimaryKey(List<String> asList);
  21. Pagination<AchievementObject> listMyAchievement(Integer auditStatus, String name,Integer dataCategory, String startDate,
  22. String endDate, Integer pNo, Integer pSize);
  23. Pagination<AchievementObject> listAchievement(String name,String ownerName,Integer category,Integer dataCategory,Integer auditStatus,
  24. String startDate,String endDate,Integer pageNo,Integer pageSize);
  25. int updateAuditAchievement(Achievement a, String techBroderId, Integer auditStatus);
  26. int updateReleaseStatus(Achievement a);
  27. AchievementUserOwnerDetailBo selectUserOwnerDetail(String id );
  28. AchievementOrgOwnerDetailBo selectOrgOwnerDetail(String id);
  29. List<DemandAchievementListBo> selectAchievementDemandListByAchievementId(String id);
  30. void insertImport(List<AchievementImportBo> data);
  31. AchievementDetailBo selectAchievementDetail(String uid, String id);
  32. Achievement selectAchievementDetail(String id);
  33. int updateMatchDemand(Achievement a);
  34. Pagination<AchievementPartnerListBo> listPartnerAchievement(String ownerId, Integer pNo, Integer pSize);
  35. AchievementPortalDetailBo findUserPortalAchievementDetail(String id);
  36. AchievementPortalDetailBo findOrgPortalAchievementDetail(String id);
  37. int updateByPrimaryKeySelective(Achievement a);
  38. Pagination<AchievementPartnerListBo> listAppUserAchievement(Integer auditStatus, Integer serialNumber, String name, String keyword,Integer dataCategory,
  39. Integer category, Integer ownerType, Integer status, String releaseDateStartDate, String releaseDateEndDate,
  40. Integer releaseStatus,String ownerId,Integer fieldA, Integer pNo, Integer pSize);
  41. Pagination<AchievementPartnerListBo> listAppMyAchievement(Integer pNo, Integer pSize);
  42. AchievementUserOwnerDetailBo selectAppUserOwnerDetail(String id);
  43. int saveAppAchievement(Achievement a, String[] keywords);
  44. public List<AchievementObject> recentAchievements(int size,String url,String showLocation);
  45. public List<AchievementObject>getHotAchievements(int size,String url,String showLocation);
  46. public List<AchievementObject>getPatentList(int size,String url,String showLocation);
  47. public List<AchievementObject>getPracticalTechnologys(int size,String url,String showLocation);
  48. List<PolicyEntity> getIntellectualProperty(int size);
  49. AchievementObject getAchievementDetail(String id,Integer type);
  50. AchievementResultObject getAchievementDetailById(String id);
  51. List<AchievementObject>getBoutiquePatent(int size);
  52. List<AchievementObject>guessYouLike(int size);
  53. int updateAuditAchievement(String id,Integer auditResult,String auditInfo);
  54. }