code stringlengths 1 1.05M | repo_name stringlengths 6 83 | path stringlengths 3 242 | language stringclasses 222
values | license stringclasses 20
values | size int64 1 1.05M |
|---|---|---|---|---|---|
package com.sky.dto;
import lombok.Data;
import java.io.Serializable;
@Data
public class DishPageQueryDTO implements Serializable {
private int page;
private int pageSize;
private String name;
//分类id
private Integer categoryId;
//状态 0表示禁用 1表示启用
private Integer status;
}
| 2301_80211016/cqwm | sky-pojo/src/main/java/com/sky/dto/DishPageQueryDTO.java | Java | unknown | 332 |
package com.sky.dto;
import lombok.Data;
import java.io.Serializable;
@Data
public class EmployeeDTO implements Serializable {
private Long id;
private String username;
private String name;
private String phone;
private String sex;
private String idNumber;
}
| 2301_80211016/cqwm | sky-pojo/src/main/java/com/sky/dto/EmployeeDTO.java | Java | unknown | 293 |
package com.sky.dto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
@Data
@ApiModel(description = "员工登录时传递的数据模型")
public class EmployeeLoginDTO implements Serializable {
@ApiModelProperty("用户名")
private String username... | 2301_80211016/cqwm | sky-pojo/src/main/java/com/sky/dto/EmployeeLoginDTO.java | Java | unknown | 417 |
package com.sky.dto;
import lombok.Data;
import java.io.Serializable;
@Data
public class EmployeePageQueryDTO implements Serializable {
//员工姓名
private String name;
//页码
private int page;
//每页显示记录数
private int pageSize;
}
| 2301_80211016/cqwm | sky-pojo/src/main/java/com/sky/dto/EmployeePageQueryDTO.java | Java | unknown | 278 |
package com.sky.dto;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class GoodsSalesDTO implements Serializable {
//商品名称
private String name;
//销量
... | 2301_80211016/cqwm | sky-pojo/src/main/java/com/sky/dto/GoodsSalesDTO.java | Java | unknown | 358 |
package com.sky.dto;
import lombok.Data;
import java.io.Serializable;
@Data
public class OrdersCancelDTO implements Serializable {
private Long id;
//订单取消原因
private String cancelReason;
}
| 2301_80211016/cqwm | sky-pojo/src/main/java/com/sky/dto/OrdersCancelDTO.java | Java | unknown | 217 |
package com.sky.dto;
import lombok.Data;
import java.io.Serializable;
@Data
public class OrdersConfirmDTO implements Serializable {
private Long id;
//订单状态 1待付款 2待接单 3 已接单 4 派送中 5 已完成 6 已取消 7 退款
private Integer status;
}
| 2301_80211016/cqwm | sky-pojo/src/main/java/com/sky/dto/OrdersConfirmDTO.java | Java | unknown | 286 |
package com.sky.dto;
import com.sky.entity.OrderDetail;
import lombok.Data;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;
@Data
public class OrdersDTO implements Serializable {
private Long id;
//订单号
private String number;
//订单状态 1待... | 2301_80211016/cqwm | sky-pojo/src/main/java/com/sky/dto/OrdersDTO.java | Java | unknown | 1,025 |
package com.sky.dto;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
import java.io.Serializable;
import java.time.LocalDateTime;
@Data
public class OrdersPageQueryDTO implements Serializable {
private int page;
private int pageSize;
private String number;
private... | 2301_80211016/cqwm | sky-pojo/src/main/java/com/sky/dto/OrdersPageQueryDTO.java | Java | unknown | 574 |
package com.sky.dto;
import lombok.Data;
import java.io.Serializable;
@Data
public class OrdersPaymentDTO implements Serializable {
//订单号
private String orderNumber;
//付款方式
private Integer payMethod;
}
| 2301_80211016/cqwm | sky-pojo/src/main/java/com/sky/dto/OrdersPaymentDTO.java | Java | unknown | 236 |
package com.sky.dto;
import lombok.Data;
import java.io.Serializable;
@Data
public class OrdersRejectionDTO implements Serializable {
private Long id;
//订单拒绝原因
private String rejectionReason;
}
| 2301_80211016/cqwm | sky-pojo/src/main/java/com/sky/dto/OrdersRejectionDTO.java | Java | unknown | 224 |
package com.sky.dto;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
@Data
public class OrdersSubmitDTO implements Serializable {
//地址簿id
private Long addressBookId;
//付款方式
private int pa... | 2301_80211016/cqwm | sky-pojo/src/main/java/com/sky/dto/OrdersSubmitDTO.java | Java | unknown | 884 |
package com.sky.dto;
import lombok.Data;
import java.io.Serializable;
@Data
public class PasswordEditDTO implements Serializable {
//员工id
private Long empId;
//旧密码
private String oldPassword;
//新密码
private String newPassword;
}
| 2301_80211016/cqwm | sky-pojo/src/main/java/com/sky/dto/PasswordEditDTO.java | Java | unknown | 275 |
package com.sky.dto;
import com.sky.entity.SetmealDish;
import lombok.Data;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;
@Data
public class SetmealDTO implements Serializable {
private Long id;
//分类id
private Long categoryId;
//套餐名称
... | 2301_80211016/cqwm | sky-pojo/src/main/java/com/sky/dto/SetmealDTO.java | Java | unknown | 651 |
package com.sky.dto;
import lombok.Data;
import java.io.Serializable;
@Data
public class SetmealPageQueryDTO implements Serializable {
private int page;
private int pageSize;
private String name;
//分类id
private Integer categoryId;
//状态 0表示禁用 1表示启用
private Integer status;
}
| 2301_80211016/cqwm | sky-pojo/src/main/java/com/sky/dto/SetmealPageQueryDTO.java | Java | unknown | 335 |
package com.sky.dto;
import lombok.Data;
import java.io.Serializable;
@Data
public class ShoppingCartDTO implements Serializable {
private Long dishId;
private Long setmealId;
private String dishFlavor;
}
| 2301_80211016/cqwm | sky-pojo/src/main/java/com/sky/dto/ShoppingCartDTO.java | Java | unknown | 221 |
package com.sky.dto;
import lombok.Data;
import java.io.Serializable;
/**
* C端用户登录
*/
@Data
public class UserLoginDTO implements Serializable {
private String code;
}
| 2301_80211016/cqwm | sky-pojo/src/main/java/com/sky/dto/UserLoginDTO.java | Java | unknown | 188 |
package com.sky.entity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;
/**
* 地址簿
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class AddressBook implements Serializable {
private static final long ser... | 2301_80211016/cqwm | sky-pojo/src/main/java/com/sky/entity/AddressBook.java | Java | unknown | 1,027 |
package com.sky.entity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;
import java.time.LocalDateTime;
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Category implements Serializable {
private static f... | 2301_80211016/cqwm | sky-pojo/src/main/java/com/sky/entity/Category.java | Java | unknown | 815 |
package com.sky.entity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
/**
* 菜品
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Dish implemen... | 2301_80211016/cqwm | sky-pojo/src/main/java/com/sky/entity/Dish.java | Java | unknown | 850 |
package com.sky.entity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;
/**
* 菜品口味
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class DishFlavor implements Serializable {
private static final long ser... | 2301_80211016/cqwm | sky-pojo/src/main/java/com/sky/entity/DishFlavor.java | Java | unknown | 508 |
package com.sky.entity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;
import java.time.LocalDateTime;
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Employee implements Serializable {
private static ... | 2301_80211016/cqwm | sky-pojo/src/main/java/com/sky/entity/Employee.java | Java | unknown | 816 |
package com.sky.entity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;
import java.math.BigDecimal;
/**
* 订单明细
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class OrderDetail implements Serializable {
... | 2301_80211016/cqwm | sky-pojo/src/main/java/com/sky/entity/OrderDetail.java | Java | unknown | 740 |
package com.sky.entity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
/**
* 订单
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Orders imple... | 2301_80211016/cqwm | sky-pojo/src/main/java/com/sky/entity/Orders.java | Java | unknown | 2,442 |
package com.sky.entity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
/**
* 套餐
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Setmeal imple... | 2301_80211016/cqwm | sky-pojo/src/main/java/com/sky/entity/Setmeal.java | Java | unknown | 853 |
package com.sky.entity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;
import java.math.BigDecimal;
/**
* 套餐菜品关系
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class SetmealDish implements Serializable {
... | 2301_80211016/cqwm | sky-pojo/src/main/java/com/sky/entity/SetmealDish.java | Java | unknown | 649 |
package com.sky.entity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
/**
* 购物车
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ShoppingCar... | 2301_80211016/cqwm | sky-pojo/src/main/java/com/sky/entity/ShoppingCart.java | Java | unknown | 808 |
package com.sky.entity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class User implements Serializabl... | 2301_80211016/cqwm | sky-pojo/src/main/java/com/sky/entity/User.java | Java | unknown | 741 |
package com.sky.vo;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;
/**
* 数据概览
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class BusinessDataVO implements Serializable {
private Double turnover;//营业额... | 2301_80211016/cqwm | sky-pojo/src/main/java/com/sky/vo/BusinessDataVO.java | Java | unknown | 547 |
package com.sky.vo;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class DishItemVO implements Serializable {
//菜品名称
private String name;
//份数
pri... | 2301_80211016/cqwm | sky-pojo/src/main/java/com/sky/vo/DishItemVO.java | Java | unknown | 453 |
package com.sky.vo;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;
/**
* 菜品总览
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class DishOverViewVO implements Serializable {
// 已启售数量
private Integer s... | 2301_80211016/cqwm | sky-pojo/src/main/java/com/sky/vo/DishOverViewVO.java | Java | unknown | 403 |
package com.sky.vo;
import com.sky.entity.DishFlavor;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.List;
@Data
@Builde... | 2301_80211016/cqwm | sky-pojo/src/main/java/com/sky/vo/DishVO.java | Java | unknown | 942 |
package com.sky.vo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(descri... | 2301_80211016/cqwm | sky-pojo/src/main/java/com/sky/vo/EmployeeLoginVO.java | Java | unknown | 665 |
package com.sky.vo;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;
/**
* 订单概览数据
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class OrderOverViewVO implements Serializable {
//待接单数量
private Integer... | 2301_80211016/cqwm | sky-pojo/src/main/java/com/sky/vo/OrderOverViewVO.java | Java | unknown | 591 |
package com.sky.vo;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;
import java.time.LocalDateTime;
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class OrderPaymentVO implements Serializable {
private Strin... | 2301_80211016/cqwm | sky-pojo/src/main/java/com/sky/vo/OrderPaymentVO.java | Java | unknown | 557 |
package com.sky.vo;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class OrderReportVO implements Serializable {
//日期,以逗号分隔,例如:2022-10-01,2022-10-02,2022-10-03... | 2301_80211016/cqwm | sky-pojo/src/main/java/com/sky/vo/OrderReportVO.java | Java | unknown | 763 |
package com.sky.vo;
import lombok.Data;
import java.io.Serializable;
@Data
public class OrderStatisticsVO implements Serializable {
//待接单数量
private Integer toBeConfirmed;
//待派送数量
private Integer confirmed;
//派送中数量
private Integer deliveryInProgress;
}
| 2301_80211016/cqwm | sky-pojo/src/main/java/com/sky/vo/OrderStatisticsVO.java | Java | unknown | 310 |
package com.sky.vo;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class OrderSubmitVO implements Seria... | 2301_80211016/cqwm | sky-pojo/src/main/java/com/sky/vo/OrderSubmitVO.java | Java | unknown | 527 |
package com.sky.vo;
import com.sky.entity.OrderDetail;
import com.sky.entity.Orders;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;
import java.util.List;
@Data
@NoArgsConstructor
@AllArgsConstructor
public class OrderVO extends Orders implements Se... | 2301_80211016/cqwm | sky-pojo/src/main/java/com/sky/vo/OrderVO.java | Java | unknown | 461 |
package com.sky.vo;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class SalesTop10ReportVO implements Serializable {
//商品名称列表,以逗号分隔,例如:鱼香肉丝,宫保鸡丁,水煮鱼
priva... | 2301_80211016/cqwm | sky-pojo/src/main/java/com/sky/vo/SalesTop10ReportVO.java | Java | unknown | 489 |
package com.sky.vo;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;
/**
* 套餐总览
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class SetmealOverViewVO implements Serializable {
// 已启售数量
private Intege... | 2301_80211016/cqwm | sky-pojo/src/main/java/com/sky/vo/SetmealOverViewVO.java | Java | unknown | 406 |
package com.sky.vo;
import com.sky.entity.SetmealDish;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.List;
@Data
@Build... | 2301_80211016/cqwm | sky-pojo/src/main/java/com/sky/vo/SetmealVO.java | Java | unknown | 941 |
package com.sky.vo;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class TurnoverReportVO implements Serializable {
//日期,以逗号分隔,例如:2022-10-01,2022-10-02,2022-10... | 2301_80211016/cqwm | sky-pojo/src/main/java/com/sky/vo/TurnoverReportVO.java | Java | unknown | 477 |
package com.sky.vo;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class UserLoginVO implements Serializable {
private Long id;
private String openid;
... | 2301_80211016/cqwm | sky-pojo/src/main/java/com/sky/vo/UserLoginVO.java | Java | unknown | 345 |
package com.sky.vo;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class UserReportVO implements Serializable {
//日期,以逗号分隔,例如:2022-10-01,2022-10-02,2022-10-03
... | 2301_80211016/cqwm | sky-pojo/src/main/java/com/sky/vo/UserReportVO.java | Java | unknown | 561 |
package com.sky;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import org.springframework.web.bind.annotation.GetMapping;
@SpringBo... | 2301_80211016/cqwm | sky-server/src/main/java/com/sky/SkyApplication.java | Java | unknown | 751 |
package com.sky.annotation;
import com.sky.enumeration.OperationType;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface Aut... | 2301_80211016/cqwm | sky-server/src/main/java/com/sky/annotation/AutoFill.java | Java | unknown | 357 |
package com.sky.aspect;
import com.sky.annotation.AutoFill;
import com.sky.constant.AutoFillConstant;
import com.sky.context.BaseContext;
import com.sky.enumeration.OperationType;
import lombok.extern.slf4j.Slf4j;
import org.aspectj.lang.JoinPoint;
import org.aspectj.lang.Signature;
import org.aspectj.lang.annotation... | 2301_80211016/cqwm | sky-server/src/main/java/com/sky/aspect/AutoFillAspect.java | Java | unknown | 2,794 |
package com.sky.config;
import com.aliyun.oss.internal.OSSUtils;
import com.sky.properties.AliOssProperties;
import com.sky.utils.AliOssUtil;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.context.annotation.Bean;
import o... | 2301_80211016/cqwm | sky-server/src/main/java/com/sky/config/OssConfiguration.java | Java | unknown | 851 |
package com.sky.config;
import lombok.extern.slf4j.Slf4j;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.data.redis.connection.RedisConnectionFactory;
import org.springframework.data.redis.core.RedisTemplate;
import org.sprin... | 2301_80211016/cqwm | sky-server/src/main/java/com/sky/config/RedisConfiguration.java | Java | unknown | 1,052 |
package com.sky.config;
import com.sky.interceptor.JwtTokenAdminInterceptor;
import com.sky.json.JacksonObjectMapper;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Config... | 2301_80211016/cqwm | sky-server/src/main/java/com/sky/config/WebMvcConfiguration.java | Java | unknown | 3,264 |
package com.sky.controller.admin;
import com.sky.dto.CategoryDTO;
import com.sky.dto.CategoryPageQueryDTO;
import com.sky.entity.Category;
import com.sky.result.PageResult;
import com.sky.result.Result;
import com.sky.service.CategoryService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperatio... | 2301_80211016/cqwm | sky-server/src/main/java/com/sky/controller/admin/CategoryController.java | Java | unknown | 2,703 |
package com.sky.controller.admin;
import com.sky.constant.MessageConstant;
import com.sky.result.Result;
import com.sky.utils.AliOssUtil;
import lombok.extern.slf4j.Slf4j;
import org.aspectj.bridge.Message;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.P... | 2301_80211016/cqwm | sky-server/src/main/java/com/sky/controller/admin/CommonController.java | Java | unknown | 1,432 |
package com.sky.controller.admin;
import com.sky.dto.DishDTO;
import com.sky.dto.DishPageQueryDTO;
import com.sky.result.PageResult;
import com.sky.result.Result;
import com.sky.service.DishService;
import com.sky.vo.DishVO;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowir... | 2301_80211016/cqwm | sky-server/src/main/java/com/sky/controller/admin/DishController.java | Java | unknown | 2,094 |
package com.sky.controller.admin;
import com.sky.constant.JwtClaimsConstant;
import com.sky.dto.EmployeeDTO;
import com.sky.dto.EmployeeLoginDTO;
import com.sky.dto.EmployeePageQueryDTO;
import com.sky.entity.Employee;
import com.sky.properties.JwtProperties;
import com.sky.result.PageResult;
import com.sky.result.Res... | 2301_80211016/cqwm | sky-server/src/main/java/com/sky/controller/admin/EmployeeController.java | Java | unknown | 3,312 |
package com.sky.controller.admin;
import com.sky.result.Result;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.web.bind.annotation.*;
@RestController("adminShopController")
@RequestM... | 2301_80211016/cqwm | sky-server/src/main/java/com/sky/controller/admin/ShopController.java | Java | unknown | 1,178 |
package com.sky.controller.user;
import com.sky.result.Result;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.web.bind.annotation.*;
@RestController("userShopController")
@RequestMap... | 2301_80211016/cqwm | sky-server/src/main/java/com/sky/controller/user/ShopController.java | Java | unknown | 827 |
package com.sky.handler;
import com.sky.constant.MessageConstant;
import com.sky.exception.BaseException;
import com.sky.result.Result;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.ExceptionHandler;
import org.springframework.web.bind.annotation.RestControllerAdvice;
import java.sq... | 2301_80211016/cqwm | sky-server/src/main/java/com/sky/handler/GlobalExceptionHandler.java | Java | unknown | 1,294 |
package com.sky.interceptor;
import com.sky.constant.JwtClaimsConstant;
import com.sky.context.BaseContext;
import com.sky.properties.JwtProperties;
import com.sky.utils.JwtUtil;
import io.jsonwebtoken.Claims;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.s... | 2301_80211016/cqwm | sky-server/src/main/java/com/sky/interceptor/JwtTokenAdminInterceptor.java | Java | unknown | 1,946 |
package com.sky.mapper;
import com.github.pagehelper.Page;
import com.sky.enumeration.OperationType;
import com.sky.dto.CategoryPageQueryDTO;
import com.sky.entity.Category;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import jav... | 2301_80211016/cqwm | sky-server/src/main/java/com/sky/mapper/CategoryMapper.java | Java | unknown | 1,259 |
package com.sky.mapper;
import com.sky.entity.DishFlavor;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import java.util.List;
@Mapper
public interface DishFlavorMapper {
/**
* 批量插入口味数据
* @param flavors
*/... | 2301_80211016/cqwm | sky-server/src/main/java/com/sky/mapper/DishFlavorMapper.java | Java | unknown | 860 |
package com.sky.mapper;
import com.github.pagehelper.Page;
import com.sky.annotation.AutoFill;
import com.sky.dto.DishPageQueryDTO;
import com.sky.entity.Dish;
import com.sky.enumeration.OperationType;
import com.sky.vo.DishVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
... | 2301_80211016/cqwm | sky-server/src/main/java/com/sky/mapper/DishMapper.java | Java | unknown | 1,299 |
package com.sky.mapper;
import com.github.pagehelper.Page;
import com.sky.annotation.AutoFill;
import com.sky.dto.EmployeePageQueryDTO;
import com.sky.entity.Employee;
import com.sky.enumeration.OperationType;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.i... | 2301_80211016/cqwm | sky-server/src/main/java/com/sky/mapper/EmployeeMapper.java | Java | unknown | 1,369 |
package com.sky.mapper;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;
@Mapper
public interface SetmealDishMapper {
// 根据菜品id查询套餐id
List<Long> getSetmealIdsByDishIds(List<Long> dishIds);
}
| 2301_80211016/cqwm | sky-server/src/main/java/com/sky/mapper/SetmealDishMapper.java | Java | unknown | 243 |
package com.sky.mapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
@Mapper
public interface SetmealMapper {
/**
* 根据分类id查询套餐的数量
* @param id
* @return
*/
@Select("select count(id) from setmeal where category_id = #{categoryId}")
Integer c... | 2301_80211016/cqwm | sky-server/src/main/java/com/sky/mapper/SetmealMapper.java | Java | unknown | 372 |
package com.sky.service;
import com.sky.dto.CategoryDTO;
import com.sky.dto.CategoryPageQueryDTO;
import com.sky.entity.Category;
import com.sky.result.PageResult;
import java.util.List;
public interface CategoryService {
/**
* 新增分类
* @param categoryDTO
*/
void save(CategoryDTO categoryDTO);
... | 2301_80211016/cqwm | sky-server/src/main/java/com/sky/service/CategoryService.java | Java | unknown | 935 |
package com.sky.service;
import com.sky.dto.DishDTO;
import com.sky.dto.DishPageQueryDTO;
import com.sky.result.PageResult;
import com.sky.vo.DishVO;
import java.util.List;
public interface DishService {
//新增菜品及对应的口味数据
public void saveWithFlavor(DishDTO dishDTO);
PageResult pageQuery(DishPageQueryDTO ... | 2301_80211016/cqwm | sky-server/src/main/java/com/sky/service/DishService.java | Java | unknown | 664 |
package com.sky.service;
import com.sky.dto.EmployeeDTO;
import com.sky.dto.EmployeeLoginDTO;
import com.sky.dto.EmployeePageQueryDTO;
import com.sky.entity.Employee;
import com.sky.result.PageResult;
public interface EmployeeService {
/**
* 员工登录
* @param employeeLoginDTO
* @return
*/
Emp... | 2301_80211016/cqwm | sky-server/src/main/java/com/sky/service/EmployeeService.java | Java | unknown | 787 |
package com.sky.service.impl;
import com.github.pagehelper.Page;
import com.github.pagehelper.PageHelper;
import com.sky.constant.MessageConstant;
import com.sky.constant.StatusConstant;
import com.sky.context.BaseContext;
import com.sky.dto.CategoryDTO;
import com.sky.dto.CategoryPageQueryDTO;
import com.sky.entity.C... | 2301_80211016/cqwm | sky-server/src/main/java/com/sky/service/impl/CategoryServiceImpl.java | Java | unknown | 4,087 |
package com.sky.service.impl;
import com.github.pagehelper.Page;
import com.github.pagehelper.PageHelper;
import com.sky.annotation.AutoFill;
import com.sky.constant.MessageConstant;
import com.sky.constant.StatusConstant;
import com.sky.dto.DishDTO;
import com.sky.dto.DishPageQueryDTO;
import com.sky.entity.Dish;
imp... | 2301_80211016/cqwm | sky-server/src/main/java/com/sky/service/impl/DishServiceimpl.java | Java | unknown | 4,220 |
package com.sky.service.impl;
import com.github.pagehelper.Page;
import com.github.pagehelper.PageHelper;
import com.sky.constant.MessageConstant;
import com.sky.constant.PasswordConstant;
import com.sky.constant.StatusConstant;
import com.sky.context.BaseContext;
import com.sky.dto.EmployeeDTO;
import com.sky.dto.Emp... | 2301_80211016/cqwm | sky-server/src/main/java/com/sky/service/impl/EmployeeServiceImpl.java | Java | unknown | 4,362 |
/*
* Copyright (c) 2023 Huawei Device Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless r... | 2301_80000730/security_2000 | vulntest/SSTSTestcases/2023/01/OpenHarmony-SA-2023-0101/TestCaseRule-OpenHarmony-SA-2023-0101.yara | YARA | unknown | 1,012 |
/*
* Copyright (c) 2023 Huawei Device Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable ... | 2301_80000730/security_2000 | vulntest/SSTSTestcases/2023/01/OpenHarmony-SA-2023-0102/TestCaseRule-OpenHarmony-SA-2023-0102.yara | YARA | unknown | 1,207 |
/*
* Copyright (c) 2023 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 2301_80000730/security_2000 | vulntest/SSTSTestcases/2023/02/OpenHarmony-SA-2023-0201/TestCaseRule-OpenHarmony-SA-2023-0201.yara | YARA | unknown | 1,197 |
/*
* Copyright (c) 2024 Beijing University Of Posts and Telecommunications.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Un... | 2301_80000730/security_2000 | vulntest/SSTSTestcases/2023/03/CVE-2022-4450/TestCaseInfo-CVE-2022-4450.yara | YARA | unknown | 1,137 |
/*
* Copyright (c) 2024 BUPT.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... | 2301_80000730/security_2000 | vulntest/SSTSTestcases/2023/03/CVE-2023-23914/TestCaseRule-CVE-2023-23914.yara | YARA | unknown | 989 |
/*
* Copyright (c) 2023 Huawei Device Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable ... | 2301_80000730/security_2000 | vulntest/SSTSTestcases/2023/03/OpenHarmony-SA-2023-0301/TestCaseRule-OpenHarmony-SA-2023-0301.yara | YARA | unknown | 1,828 |
/*
* Copyright (c) 2023 Huawei Device Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable ... | 2301_80000730/security_2000 | vulntest/SSTSTestcases/2023/03/OpenHarmony-SA-2023-0302/TestCaseRule-OpenHarmony-SA-2023-0302.yara | YARA | unknown | 1,043 |
/*
* Copyright (c) 2024 Beijing University of Posts and Telecommunications.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICE... | 2301_80000730/security_2000 | vulntest/SSTSTestcases/2023/04/OpenHarmony-CVE-2022-30787/TestCaseRule-OpenHarmony-CVE-2022-30787.yara | YARA | unknown | 973 |
/*
* Copyright (c) 2024 Beijing University of Posts and Telecommunications.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICEN... | 2301_80000730/security_2000 | vulntest/SSTSTestcases/2024/06/CVE-2024-2398/TestCaseRule-CVE-2024-2398.yara | YARA | unknown | 1,004 |
/*
* Copyright (c) 2024 Beijing University of Posts and Telecommunications.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENS... | 2301_80000730/security_2000 | vulntest/SSTSTestcases/2024/06/CVE-2024-2478/TestCaseRule-CVE-2024-2478.yara | YARA | unknown | 1,077 |
/*
* Copyright (c) 2024 Beijing University of Posts and Telecommunications.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICE... | 2301_80000730/security_2000 | vulntest/SSTSTestcases/2024/07/CVE-2024-26883/TestCaseRule-CVE-2024-26883.yara | YARA | unknown | 1,124 |
/*
* Copyright (c) 2024 Beijing University of Posts and Telecommunications.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICE... | 2301_80000730/security_2000 | vulntest/SSTSTestcases/2024/07/CVE-2024-26884/TestCaseRule-CVE-2024-26884.yara | YARA | unknown | 1,006 |
/*
* Copyright (c) 2024 Beijing University of Posts and Telecommunications.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICEN... | 2301_80000730/security_2000 | vulntest/SSTSTestcases/2024/07/CVE-2024-27004/TestCaseRule-CVE-2024-27004.yara | YARA | unknown | 1,021 |
/*
* Copyright (c) 2024 Beijing University of Posts and Telecommunications.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICEN... | 2301_80000730/security_2000 | vulntest/SSTSTestcases/2024/07/CVE-2024-27038/CVE-2024-27038.yara | YARA | unknown | 1,081 |
/*
* Copyright (c) 2024 Beijing University of Posts and Telecommunications.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICEN... | 2301_80000730/security_2000 | vulntest/SSTSTestcases/2024/08/CVE-2023-52739/TestCaseRule-CVE-2023-52739.yara | YARA | unknown | 1,069 |
/*
* Copyright (c) 2024 Beijing University of Posts and Telecommunications.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICEN... | 2301_80000730/security_2000 | vulntest/SSTSTestcases/2024/08/CVE-2023-52781/CVE-2023-52781.yara | YARA | unknown | 1,069 |
/*
* Copyright (c) 2024 Beijing University of Posts and Telecommunications.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICEN... | 2301_80000730/security_2000 | vulntest/SSTSTestcases/2024/08/CVE-2023-52835/TestCaseRule-CVE-2023-52835.yara | YARA | unknown | 1,075 |
/*
* Copyright (c) 2024 Beijing University of Posts and Telecommunications.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICE... | 2301_80000730/security_2000 | vulntest/SSTSTestcases/2024/08/CVE-2023-52868/TestCaseRule-CVE-2023-52868.yara | YARA | unknown | 1,007 |
/*
* Copyright (c) 2024 Beijing University of Posts and Telecommunications.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICE... | 2301_80000730/security_2000 | vulntest/SSTSTestcases/2024/08/CVE-2024-26733/TestCaseRule-CVE-2024-26733.yara | YARA | unknown | 1,006 |
/*
* Copyright (c) 2024 Beijing University of Posts and Telecommunications.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICE... | 2301_80000730/security_2000 | vulntest/SSTSTestcases/2024/08/CVE-2024-26934/TestCaseRule-CVE-2024-26934.yara | YARA | unknown | 1,006 |
/*
* Copyright (c) 2024 Beijing University of Posts and Telecommunications.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICEN... | 2301_80000730/security_2000 | vulntest/SSTSTestcases/2024/08/CVE-2024-27399/TestCaseRule-CVE-2024-27399.yara | YARA | unknown | 1,098 |
/*
* Copyright (c) 2024 Beijing University of Posts and Telecommunications.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICEN... | 2301_80000730/security_2000 | vulntest/SSTSTestcases/2024/08/CVE-2024-28182/TestCaseRule-CVE-2024-28182.yara | YARA | unknown | 1,069 |
/*
* Copyright (c) 2024 Beijing University of Posts and Telecommunications.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licens... | 2301_80000730/security_2000 | vulntest/SSTSTestcases/2024/08/CVE-2024-35789/CVE-2024-35789.yara | YARA | unknown | 1,055 |
/*
* Copyright (c) 2024 Beijing University of Posts and Telecommunications.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICE... | 2301_80000730/security_2000 | vulntest/SSTSTestcases/2024/08/CVE-2024-35822/TestcaseRule-OpenHarmony-CVE-2024-35822.yara | YARA | unknown | 1,027 |
/*
* Copyright (c) 2024 Beijing University of Posts and Telecommunications.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENS... | 2301_80000730/security_2000 | vulntest/SSTSTestcases/2024/08/CVE-2024-35969/TestCaseRule-OpenHarmony-CVE-2024-35969.yara | YARA | unknown | 975 |
/*
* Copyright (c) 2024 Beijing University of Posts and Telecommunications.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICEN... | 2301_80000730/security_2000 | vulntest/SSTSTestcases/2024/08/CVE-2024-36008/TestCaseRule-CVE-2024-36008.yara | YARA | unknown | 1,041 |
/*
* Copyright (c) 2024 Beijing University of Posts and Telecommunications.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICEN... | 2301_80000730/security_2000 | vulntest/SSTSTestcases/2024/08/CVE-2024-36899/TestCaseRule-CVE-2024-36899.yara | YARA | unknown | 993 |
/*
* Copyright (c) 2024 Beijing University of Posts and Telecommunications.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICEN... | 2301_80000730/security_2000 | vulntest/SSTSTestcases/2024/08/CVE-2024-36901/TestCaseRule-CVE-2024-36901.yara | YARA | unknown | 1,149 |
/*
* Copyright (c) 2024 Beijing University of Posts and Telecommunications.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licens... | 2301_80000730/security_2000 | vulntest/SSTSTestcases/2024/08/CVE-2024-36904/CVE-2024-36904.yara | YARA | unknown | 940 |