AuthMapper.java 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. package com.caimei.mapper.cmMapper;
  2. import com.caimei.model.po.CmBrandAuthPo;
  3. import com.caimei.model.po.LdmDataPo;
  4. import com.caimei.model.po.TownPo;
  5. import com.caimei.model.vo.AuthFormVo;
  6. import com.caimei.model.vo.AuthVo;
  7. import com.caimei.model.vo.TemplateVo;
  8. import org.apache.ibatis.annotations.Mapper;
  9. import org.apache.ibatis.annotations.Param;
  10. import java.util.Date;
  11. import java.util.List;
  12. /**
  13. * Description
  14. *
  15. * @author : Aslee
  16. * @date : 2021/5/11
  17. */
  18. @Mapper
  19. public interface AuthMapper {
  20. List<AuthVo> getAuthList(@Param("listType") Integer listType, @Param("authUserId") Integer authUserId, @Param("authParty") String authParty, @Param("mobile") String mobile, @Param("status") Integer status, @Param("auditStatus") Integer auditStatus, @Param("lowerAuditStatus") Integer lowerAuditStatus, @Param("shopAuditStatus") Integer shopAuditStatus, @Param("sendStatus") Integer sendStatus);
  21. void updateAuthStatusByAuthId(@Param("authId") Integer authId, @Param("status") Integer status);
  22. void deleteAuthByAuthId(Integer authId);
  23. void insertAuth(CmBrandAuthPo auth);
  24. void updateAuthByAuthId(CmBrandAuthPo auth);
  25. Integer getProductWaitAuditNum(Integer authId);
  26. void updateAuthAuditStatus(@Param("authId") Integer authId, @Param("status") Integer status, @Param("auditStatus") Integer auditStatus, @Param("invalidReason") String invalidReason, @Param("auditBy") Integer auditBy, @Param("auditTime") Date auditTime);
  27. Integer getClubStatus(Integer authId);
  28. AuthFormVo getAuthFormById(Integer authId);
  29. Integer getAuthIdByAuthParty(@Param("authParty") String authParty, @Param("authUserId") Integer authUserId);
  30. List<AuthFormVo> getAuthPartyList(@Param("authIds") String authIds);
  31. void deleteBanner(Integer authId);
  32. void insertBanner(@Param("authId") Integer authId, @Param("banner") String banner);
  33. List<String> getBannerList(Integer authId);
  34. List<LdmDataPo> getLdmData();
  35. Integer getProvinceId(String provinceName);
  36. Integer getCityId(String cityName);
  37. Integer getTownId(String townName);
  38. Integer getLdmLatestClubId();
  39. void updateLdmLatestClubId(Integer ldmLatestClubId);
  40. Integer getCityIdByTownId(Integer townId);
  41. String getProvinceName(String regId1);
  42. String getCityName(String regId1);
  43. String getTownName(String regId1);
  44. List<TownPo> getTownList(String townName);
  45. Integer getProvinceIdByCityId(Integer cityId);
  46. List<AuthVo> getAuthByNameAndAddress(@Param("authParty") String authParty, @Param("address") String address);
  47. void updateRemarks(@Param("authId") Integer authId, @Param("remarks") String remarks);
  48. AuthFormVo getAuthBaseInfo(@Param("authUserId") Integer authUserId, @Param("authId") Integer authId);
  49. AuthVo getAuthById(Integer authId);
  50. void updateAuthShopAuditStatus(@Param("authId") Integer authId, @Param("status") Integer status, @Param("shopAuditStatus") Integer auditStatus, @Param("shopInvalidReason") String invalidReason, @Param("shopAuditBy") Integer auditBy, @Param("shopAuditTime") Date auditTime);
  51. List<String> getTownNames();
  52. List<String> getProvinceNames();
  53. List<String> getCityNames(Integer ProvinceId);
  54. Integer getCityIdByProvinceId(@Param("provinceId")Integer provinceId,@Param("cityName") String cityName);
  55. String getProvinceNameById(Integer provinceId);
  56. String getCityNameByCityId(Integer cityId);
  57. String getTownNameById(Integer townId);
  58. void updateSendStatus(Integer authId);
  59. Integer getAdminUserId();
  60. TemplateVo getAuthTemplate(@Param("authId") Integer authId, @Param("authUserId") Integer authUserId, @Param("templateType") Integer templateType);
  61. void updateAuthImage(CmBrandAuthPo auth);
  62. List<CmBrandAuthPo> getAllAuth(Integer authUserId);
  63. void checkAuth(Integer authId);
  64. }