|
@@ -9,81 +9,82 @@ import com.iotechn.unimall.core.annotation.param.NotNull;
|
|
import com.iotechn.unimall.core.exception.ServiceException;
|
|
import com.iotechn.unimall.core.exception.ServiceException;
|
|
import com.iotechn.unimall.data.domain.gubi.GubiTypeThree;
|
|
import com.iotechn.unimall.data.domain.gubi.GubiTypeThree;
|
|
import com.iotechn.unimall.data.model.Page;
|
|
import com.iotechn.unimall.data.model.Page;
|
|
|
|
+
|
|
import java.util.Date;
|
|
import java.util.Date;
|
|
|
|
|
|
/**
|
|
/**
|
|
* 分值信息Service接口
|
|
* 分值信息Service接口
|
|
- *
|
|
|
|
|
|
+ *
|
|
* @author jlb
|
|
* @author jlb
|
|
* @date 2022-11-15
|
|
* @date 2022-11-15
|
|
*/
|
|
*/
|
|
@HttpOpenApi(group = "admin.gubi.gubiTypeThree", description = "分值信息")
|
|
@HttpOpenApi(group = "admin.gubi.gubiTypeThree", description = "分值信息")
|
|
-public interface IGubiTypeThreeService{
|
|
|
|
- @HttpMethod(description = "新增", permission = "admin:gubi:gubiTypeThree:add", permissionParentName = "宠物管理", permissionName = "分值信息管理")
|
|
|
|
- public Boolean add(@NotNull @HttpParam(name = "gubiTypeThree", type = HttpParamType.COMMON, description = "分值信息") GubiTypeThree gubiTypeThree,
|
|
|
|
- @HttpParam(name = "adminId", type = HttpParamType.ADMIN_ID, description = "adminId") Long adminId)throws ServiceException;
|
|
|
|
|
|
+public interface IGubiTypeThreeService {
|
|
|
|
+ @HttpMethod(description = "新增", permission = "admin:gubi:gubiTypeThree:add", permissionParentName = "宠物管理", permissionName = "分值信息管理")
|
|
|
|
+ public Boolean add(@NotNull @HttpParam(name = "gubiTypeThree", type = HttpParamType.COMMON, description = "分值信息") GubiTypeThree gubiTypeThree,
|
|
|
|
+ @HttpParam(name = "adminId", type = HttpParamType.ADMIN_ID, description = "adminId") Long adminId) throws ServiceException;
|
|
|
|
+
|
|
|
|
+ @HttpMethod(description = "列表", permission = "admin:gubi:gubiTypeThree:list", permissionParentName = "宠物管理", permissionName = "分值信息管理")
|
|
|
|
+ public Page<GubiTypeThree> list(
|
|
|
|
+ @HttpParam(name = "companyId", type = HttpParamType.COMMON, description = "") Long companyId,
|
|
|
|
+ @HttpParam(name = "typeId", type = HttpParamType.COMMON, description = "分类id") String typeId,
|
|
|
|
+ @HttpParam(name = "secondId", type = HttpParamType.COMMON, description = "二级分类id") String secondId,
|
|
|
|
+ @HttpParam(name = "product", type = HttpParamType.COMMON, description = "品名") String product,
|
|
|
|
+ @HttpParam(name = "number", type = HttpParamType.COMMON, description = "官网编号") String number,
|
|
|
|
+ @HttpParam(name = "year", type = HttpParamType.COMMON, description = "年份") String year,
|
|
|
|
+ @HttpParam(name = "face", type = HttpParamType.COMMON, description = "面值") String face,
|
|
|
|
+ @HttpParam(name = "edition", type = HttpParamType.COMMON, description = "版别") String edition,
|
|
|
|
+ @HttpParam(name = "region", type = HttpParamType.COMMON, description = "地区") String region,
|
|
|
|
+ @HttpParam(name = "grade", type = HttpParamType.COMMON, description = "分值等级") String grade,
|
|
|
|
+ @HttpParam(name = "highScores", type = HttpParamType.COMMON, description = "高分数量") String highScores,
|
|
|
|
+ @HttpParam(name = "collection", type = HttpParamType.COMMON, description = "收集时间") Date collection,
|
|
|
|
+ @HttpParam(name = "introduction", type = HttpParamType.COMMON, description = "详细介绍") String introduction,
|
|
|
|
+ @HttpParam(name = "postion", type = HttpParamType.COMMON, description = "排序") Long postion,
|
|
|
|
+ @HttpParam(name = "status", type = HttpParamType.COMMON, description = "状态") String status,
|
|
|
|
+ @HttpParam(name = "urlPath", type = HttpParamType.COMMON, description = "附件") String urlPath,
|
|
|
|
+ @HttpParam(name = "deleteFlag", type = HttpParamType.COMMON, description = "0:否(默认) 1:是") Long deleteFlag,
|
|
|
|
+ @HttpParam(name = "gmtCreate", type = HttpParamType.COMMON, description = "") Date gmtCreate,
|
|
|
|
+ @HttpParam(name = "gmtUpdate", type = HttpParamType.COMMON, description = "") Date gmtUpdate,
|
|
|
|
+ @HttpParam(name = "userId", type = HttpParamType.COMMON, description = "") Long userId,
|
|
|
|
+ @HttpParam(name = "adminId", type = HttpParamType.COMMON, description = "") Long adminId,
|
|
|
|
+ @HttpParam(name = "page", type = HttpParamType.COMMON, description = "页码", valueDef = "1") Integer page,
|
|
|
|
+ @HttpParam(name = "limit", type = HttpParamType.COMMON, description = "页码长度", valueDef = "20") Integer limit)
|
|
|
|
+ throws ServiceException;
|
|
|
|
+
|
|
|
|
+ @HttpMethod(description = "删除", permission = "admin:gubi:gubiTypeThree:delete", permissionParentName = "宠物管理", permissionName = "分值信息管理")
|
|
|
|
+ public Boolean delete(@NotNull @HttpParam(name = "id", type = HttpParamType.COMMON, description = "") String id) throws ServiceException;
|
|
|
|
|
|
- @HttpMethod(description = "列表", permission = "admin:gubi:gubiTypeThree:list",permissionParentName = "宠物管理", permissionName = "分值信息管理")
|
|
|
|
- public Page<GubiTypeThree> list(
|
|
|
|
- @HttpParam(name = "companyId", type = HttpParamType.COMMON, description = "") Long companyId,
|
|
|
|
- @HttpParam(name = "typeId", type = HttpParamType.COMMON, description = "分类id") String typeId,
|
|
|
|
- @HttpParam(name = "secondId", type = HttpParamType.COMMON, description = "二级分类id") String secondId,
|
|
|
|
- @HttpParam(name = "product", type = HttpParamType.COMMON, description = "品名") String product,
|
|
|
|
- @HttpParam(name = "number", type = HttpParamType.COMMON, description = "官网编号") String number,
|
|
|
|
- @HttpParam(name = "year", type = HttpParamType.COMMON, description = "年份") String year,
|
|
|
|
- @HttpParam(name = "face", type = HttpParamType.COMMON, description = "面值") String face,
|
|
|
|
- @HttpParam(name = "edition", type = HttpParamType.COMMON, description = "版别") String edition,
|
|
|
|
- @HttpParam(name = "region", type = HttpParamType.COMMON, description = "地区") String region,
|
|
|
|
- @HttpParam(name = "grade", type = HttpParamType.COMMON, description = "分值等级") String grade,
|
|
|
|
- @HttpParam(name = "highScores", type = HttpParamType.COMMON, description = "高分数量") String highScores,
|
|
|
|
- @HttpParam(name = "collection", type = HttpParamType.COMMON, description = "收集时间") Date collection,
|
|
|
|
- @HttpParam(name = "introduction", type = HttpParamType.COMMON, description = "详细介绍") String introduction,
|
|
|
|
- @HttpParam(name = "postion", type = HttpParamType.COMMON, description = "排序") Long postion,
|
|
|
|
- @HttpParam(name = "status", type = HttpParamType.COMMON, description = "状态") String status,
|
|
|
|
- @HttpParam(name = "urlPath", type = HttpParamType.COMMON, description = "附件") String urlPath,
|
|
|
|
- @HttpParam(name = "deleteFlag", type = HttpParamType.COMMON, description = "0:否(默认) 1:是") Long deleteFlag,
|
|
|
|
- @HttpParam(name = "gmtCreate", type = HttpParamType.COMMON, description = "") Date gmtCreate,
|
|
|
|
- @HttpParam(name = "gmtUpdate", type = HttpParamType.COMMON, description = "") Date gmtUpdate,
|
|
|
|
- @HttpParam(name = "userId", type = HttpParamType.COMMON, description = "") Long userId,
|
|
|
|
- @HttpParam(name = "adminId", type = HttpParamType.COMMON, description = "") Long adminId,
|
|
|
|
- @HttpParam(name = "page", type = HttpParamType.COMMON, description = "页码", valueDef = "1") Integer page,
|
|
|
|
- @HttpParam(name = "limit", type = HttpParamType.COMMON, description = "页码长度", valueDef = "20") Integer limit)
|
|
|
|
- throws ServiceException;
|
|
|
|
|
|
+ @HttpMethod(description = "修改", permission = "admin:gubi:gubiTypeThree:update", permissionParentName = "宠物管理", permissionName = "分值信息管理")
|
|
|
|
+ public Boolean update(@NotNull @HttpParam(name = "gubiTypeThree", type = HttpParamType.COMMON, description = "分值信息") GubiTypeThree gubiTypeThree,
|
|
|
|
+ @HttpParam(name = "adminId", type = HttpParamType.ADMIN_ID, description = "adminId") Long adminId) throws ServiceException;
|
|
|
|
|
|
- @HttpMethod(description = "删除", permission = "admin:gubi:gubiTypeThree:delete",permissionParentName = "宠物管理", permissionName = "分值信息管理")
|
|
|
|
- public Boolean delete(@NotNull @HttpParam(name = "id", type = HttpParamType.COMMON, description = "")String id)throws ServiceException;
|
|
|
|
|
|
+ @HttpMethod(description = "查询", permission = "admin:gubi:gubiTypeThree:get", permissionParentName = "宠物管理", permissionName = "分值信息管理")
|
|
|
|
+ public GubiTypeThree get(@NotNull @HttpParam(name = "id", type = HttpParamType.COMMON, description = "") Long id) throws ServiceException;
|
|
|
|
|
|
- @HttpMethod(description = "修改", permission = "admin:gubi:gubiTypeThree:update",permissionParentName = "宠物管理", permissionName = "分值信息管理")
|
|
|
|
- public Boolean update(@NotNull @HttpParam(name = "gubiTypeThree", type = HttpParamType.COMMON, description = "分值信息") GubiTypeThree gubiTypeThree,
|
|
|
|
- @HttpParam(name = "adminId", type = HttpParamType.ADMIN_ID, description = "adminId") Long adminId)throws ServiceException;
|
|
|
|
|
|
+ @HttpMethod(description = "导出excl表", permission = "admin:gubi:gubiTypeThree:export", permissionParentName = "宠物管理", permissionName = "分值信息管理")
|
|
|
|
+ public String export(
|
|
|
|
+ @HttpParam(name = "companyId", type = HttpParamType.COMMON, description = "") Long companyId,
|
|
|
|
+ @HttpParam(name = "typeId", type = HttpParamType.COMMON, description = "分类id") String typeId,
|
|
|
|
+ @HttpParam(name = "secondId", type = HttpParamType.COMMON, description = "二级分类id") String secondId,
|
|
|
|
+ @HttpParam(name = "product", type = HttpParamType.COMMON, description = "品名") String product,
|
|
|
|
+ @HttpParam(name = "number", type = HttpParamType.COMMON, description = "官网编号") String number,
|
|
|
|
+ @HttpParam(name = "year", type = HttpParamType.COMMON, description = "年份") String year,
|
|
|
|
+ @HttpParam(name = "face", type = HttpParamType.COMMON, description = "面值") String face,
|
|
|
|
+ @HttpParam(name = "edition", type = HttpParamType.COMMON, description = "版别") String edition,
|
|
|
|
+ @HttpParam(name = "region", type = HttpParamType.COMMON, description = "地区") String region,
|
|
|
|
+ @HttpParam(name = "grade", type = HttpParamType.COMMON, description = "分值等级") String grade,
|
|
|
|
+ @HttpParam(name = "highScores", type = HttpParamType.COMMON, description = "高分数量") String highScores,
|
|
|
|
+ @HttpParam(name = "collection", type = HttpParamType.COMMON, description = "收集时间") Date collection,
|
|
|
|
+ @HttpParam(name = "introduction", type = HttpParamType.COMMON, description = "详细介绍") String introduction,
|
|
|
|
+ @HttpParam(name = "postion", type = HttpParamType.COMMON, description = "排序") Long postion,
|
|
|
|
+ @HttpParam(name = "status", type = HttpParamType.COMMON, description = "状态") String status,
|
|
|
|
+ @HttpParam(name = "urlPath", type = HttpParamType.COMMON, description = "附件") String urlPath,
|
|
|
|
+ @HttpParam(name = "deleteFlag", type = HttpParamType.COMMON, description = "0:否(默认) 1:是") Long deleteFlag,
|
|
|
|
+ @HttpParam(name = "gmtCreate", type = HttpParamType.COMMON, description = "") Date gmtCreate,
|
|
|
|
+ @HttpParam(name = "gmtUpdate", type = HttpParamType.COMMON, description = "") Date gmtUpdate,
|
|
|
|
+ @HttpParam(name = "userId", type = HttpParamType.COMMON, description = "") Long userId,
|
|
|
|
+ @HttpParam(name = "adminId", type = HttpParamType.COMMON, description = "") Long adminId,
|
|
|
|
+ @HttpParam(name = "page", type = HttpParamType.COMMON, description = "页码", valueDef = "1") Integer page,
|
|
|
|
+ @HttpParam(name = "limit", type = HttpParamType.COMMON, description = "页码长度", valueDef = "20") Integer limit) throws ServiceException;
|
|
|
|
|
|
- @HttpMethod(description = "查询", permission = "admin:gubi:gubiTypeThree:get",permissionParentName = "宠物管理", permissionName = "分值信息管理")
|
|
|
|
- public GubiTypeThree get(@NotNull @HttpParam(name = "id", type = HttpParamType.COMMON, description = "")Long id)throws ServiceException;
|
|
|
|
-
|
|
|
|
- @HttpMethod(description = "导出excl表", permission = "admin:gubi:gubiTypeThree:export",permissionParentName = "宠物管理", permissionName = "分值信息管理")
|
|
|
|
- public String export(
|
|
|
|
- @HttpParam(name = "companyId", type = HttpParamType.COMMON, description = "") Long companyId,
|
|
|
|
- @HttpParam(name = "typeId", type = HttpParamType.COMMON, description = "分类id") String typeId,
|
|
|
|
- @HttpParam(name = "secondId", type = HttpParamType.COMMON, description = "二级分类id") String secondId,
|
|
|
|
- @HttpParam(name = "product", type = HttpParamType.COMMON, description = "品名") String product,
|
|
|
|
- @HttpParam(name = "number", type = HttpParamType.COMMON, description = "官网编号") String number,
|
|
|
|
- @HttpParam(name = "year", type = HttpParamType.COMMON, description = "年份") String year,
|
|
|
|
- @HttpParam(name = "face", type = HttpParamType.COMMON, description = "面值") String face,
|
|
|
|
- @HttpParam(name = "edition", type = HttpParamType.COMMON, description = "版别") String edition,
|
|
|
|
- @HttpParam(name = "region", type = HttpParamType.COMMON, description = "地区") String region,
|
|
|
|
- @HttpParam(name = "grade", type = HttpParamType.COMMON, description = "分值等级") String grade,
|
|
|
|
- @HttpParam(name = "highScores", type = HttpParamType.COMMON, description = "高分数量") String highScores,
|
|
|
|
- @HttpParam(name = "collection", type = HttpParamType.COMMON, description = "收集时间") Date collection,
|
|
|
|
- @HttpParam(name = "introduction", type = HttpParamType.COMMON, description = "详细介绍") String introduction,
|
|
|
|
- @HttpParam(name = "postion", type = HttpParamType.COMMON, description = "排序") Long postion,
|
|
|
|
- @HttpParam(name = "status", type = HttpParamType.COMMON, description = "状态") String status,
|
|
|
|
- @HttpParam(name = "urlPath", type = HttpParamType.COMMON, description = "附件") String urlPath,
|
|
|
|
- @HttpParam(name = "deleteFlag", type = HttpParamType.COMMON, description = "0:否(默认) 1:是") Long deleteFlag,
|
|
|
|
- @HttpParam(name = "gmtCreate", type = HttpParamType.COMMON, description = "") Date gmtCreate,
|
|
|
|
- @HttpParam(name = "gmtUpdate", type = HttpParamType.COMMON, description = "") Date gmtUpdate,
|
|
|
|
- @HttpParam(name = "userId", type = HttpParamType.COMMON, description = "") Long userId,
|
|
|
|
- @HttpParam(name = "adminId", type = HttpParamType.COMMON, description = "") Long adminId,
|
|
|
|
- @HttpParam(name = "page", type = HttpParamType.COMMON, description = "页码", valueDef = "1") Integer page,
|
|
|
|
- @HttpParam(name = "limit", type = HttpParamType.COMMON, description = "页码长度", valueDef = "20") Integer limit)throws ServiceException;
|
|
|
|
-
|
|
|
|
}
|
|
}
|