新增功能

This commit is contained in:
2026-02-18 16:27:34 +08:00
parent fb0cbea2dc
commit f0bd5ba1e5
29 changed files with 1918 additions and 21 deletions

View File

@ -0,0 +1,63 @@
package com.fuint.common.service;
import com.fuint.common.param.LookWorkPage;
import com.fuint.framework.exception.BusinessCheckException;
import com.fuint.framework.pagination.PaginationResponse;
import com.fuint.repository.model.MtLookWork;
import java.util.List;
import java.util.Map;
/**
* 看看功能业务接口
*
* Created by Codex
*/
public interface LookService {
PaginationResponse<Map<String, Object>> queryWorkListForAdmin(LookWorkPage page) throws BusinessCheckException;
PaginationResponse<Map<String, Object>> queryWorkListForClient(Integer merchantId,
Integer storeId,
Integer userId,
Integer page,
Integer pageSize,
boolean onlyMine) throws BusinessCheckException;
Map<String, Object> getWorkDetail(Integer workId, Integer userId) throws BusinessCheckException;
Map<String, Object> getWorkDetailForAdmin(Integer workId) throws BusinessCheckException;
MtLookWork saveWork(Integer merchantId,
Integer storeId,
Integer userId,
String title,
String description,
List<String> images,
String operator) throws BusinessCheckException;
void removeWork(Integer workId, Integer userId, String operator) throws BusinessCheckException;
PaginationResponse<Map<String, Object>> queryCommentList(Integer workId,
Integer page,
Integer pageSize,
Integer userId) throws BusinessCheckException;
Map<String, Object> saveComment(Integer workId,
Integer userId,
String content,
List<String> images,
String operator) throws BusinessCheckException;
Map<String, Object> toggleWorkLike(Integer workId,
Integer userId,
Integer merchantId,
Integer storeId) throws BusinessCheckException;
Map<String, Object> toggleCommentLike(Integer commentId,
Integer userId,
Integer merchantId,
Integer storeId) throws BusinessCheckException;
void updateWorkStatus(Integer workId, String status, String operator, Integer merchantId) throws BusinessCheckException;
}