package com.ycwl.basic.service.printer; import com.ycwl.basic.model.mobile.order.PriceObj; import com.ycwl.basic.model.pc.printer.entity.PrinterEntity; import com.ycwl.basic.model.pc.printer.resp.MemberPrintResp; import com.ycwl.basic.model.pc.printer.resp.PrinterResp; import com.ycwl.basic.model.printer.req.FromSourceReq; import com.ycwl.basic.model.printer.req.PrinterSyncReq; import com.ycwl.basic.model.printer.resp.PrintTaskResp; import com.ycwl.basic.model.printer.req.WorkerAuthReqVo; import com.ycwl.basic.utils.ApiResponse; import java.util.List; import java.util.Map; public interface PrinterService { List listByScenicId(Long scenicId); ApiResponse> list(PrinterEntity condition); ApiResponse get(Integer id); ApiResponse add(PrinterEntity entity); ApiResponse update(PrinterEntity entity); ApiResponse delete(Integer id); List sync(PrinterSyncReq req); void taskSuccess(Integer taskId, WorkerAuthReqVo req); void taskFail(Integer taskId, WorkerAuthReqVo req); List getUserPhotoList(Long userId, Long scenicId, Long faceId); List getUserPhotoListByOrderId(Long orderId); boolean deleteUserPhoto(Long memberId, Long scenicId, Long relationId); Integer addUserPhoto(Long memberId, Long scenicId, String url, Long faceId); MemberPrintResp getUserPhoto(Long memberId, Long scenicId, Long id); int setPhotoCropped(Long memberId, Long scenicId, Long id, String url, String crop); int setPhotoQuantity(Long memberId, Long scenicId, Long id, Integer quantity); PriceObj queryPrice(Long memberId, Long scenicId, Long faceId); List addUserPhotoFromSource(Long memberId, Long scenicId, FromSourceReq req, Long faceId); Map createOrder(Long memberId, Long scenicId, Integer printerId, Long faceId); void batchSetUserPhotoListToPrinter(Long memberId, Long scenicId, Integer printerId); void setUserIsBuyItem(Long memberId, Long id, Long orderId); Object useSample(Long userId, Long sampleId); void autoAddPhotosToPreferPrint(Long faceId); }