AuthTemplateMapper.java 1.5 KB

12345678910111213141516171819202122232425262728293031323334
  1. package com.caimei.mapper.cmMapper;
  2. import com.caimei.model.vo.*;
  3. import org.apache.ibatis.annotations.Mapper;
  4. import org.apache.ibatis.annotations.Param;
  5. import java.util.List;
  6. /**
  7. * Description
  8. *
  9. * @author : Aslee
  10. * @date : 2022/7/6
  11. */
  12. @Mapper
  13. public interface AuthTemplateMapper {
  14. /**
  15. * 模板列表
  16. * @param listType
  17. * @param authUserId
  18. * @return
  19. */
  20. List<TemplateVo> getTemplateList(@Param("listType") Integer listType, @Param("authUserId") Integer authUserId);
  21. void insertTemplate(@Param("templateImage") String templateImage, @Param("authUserId") Integer authUserId, @Param("templateSize") String templateSize, @Param("qrPosition") String qrPosition, @Param("qrSize") Integer qrSize, @Param("logoSize") String logoSize);
  22. void updateSelective(@Param("templateId") Integer templateId, @Param("templateImage") String templateImage, @Param("templateSize") String templateSize, @Param("authUserId") Integer authUserId, @Param("status") Integer status, @Param("qrPosition") String qrPosition, @Param("qrSize") Integer qrSize, String logoSize, @Param("authFlag") Integer authFlag, @Param("productFlag") Integer productFlag);
  23. void clearAuthFlag(Integer authUserId);
  24. void clearProductFlag(Integer authUserId);
  25. TemplateVo getTemplateFormData(@Param("templateId") Integer templateId, @Param("authId") Integer authId, @Param("authUserId") Integer authUserId, @Param("authFlag") Integer authFlag, @Param("status") Integer status);
  26. }