每道菜的价格

This commit is contained in:
qjq
2024-04-16 15:00:00 +08:00
parent a57a7d6e93
commit 23bb203d36
50 changed files with 2022 additions and 77 deletions

View File

@ -0,0 +1,12 @@
package cn.iocoder.yudao.module.system.api.DeviceMoney;
import cn.iocoder.yudao.module.system.api.DeviceMoney.dto.DeviceMoneyDto;
/**
* @Author:qjq
* @Date:2024/4/15 上午11:21
*/
public interface DeviceMoneyApi {
int insertDeviceMoney(DeviceMoneyDto createReqVO);
}

View File

@ -0,0 +1,41 @@
package cn.iocoder.yudao.module.system.api.DeviceMoney.dto;
import lombok.Data;
import java.math.BigDecimal;
/**
* @Author:qjq
* @Date:2024/4/15 上午11:22
*/
@Data
public class DeviceMoneyDto {
/**
* 设备ip
*/
private String deviceIp;
/**
* 设备名称
*/
private String deviceName;
/**
* 设备sn
*/
private String deviceSn;
/**
* 门店编号
*/
private Long carteenId;
/**
* 设备流水
*/
private BigDecimal money;
/**
* 时间段
*/
private String timePeriod;
/**
* 热门菜品ids,如[1,2,3,4,5,]
*/
private String dishesIds;
}

View File

@ -3,6 +3,8 @@ package cn.iocoder.yudao.module.system.api.carteen;
import cn.iocoder.yudao.module.system.api.carteen.dto.CarteenRespDto;
import java.util.List;
/**
* 菜品营养 Service 接口
*
@ -14,4 +16,18 @@ public interface CarteenApi {
* 获得门店信息
*/
public CarteenRespDto getCarteen(Long id);
/**
* @Description: 根据id获取门店信息
* @Author: qjq
* @Date: 2024/4/12 下午3:31
* @return
*/
CarteenRespDto getCarteenById(Long id);
/**
* @Description: 获取门店列表
* @Author: qjq
* @Date: 2024/4/15 上午10:18
* @return
*/
List<CarteenRespDto> getCarteenList();
}

View File

@ -0,0 +1,13 @@
package cn.iocoder.yudao.module.system.api.deviceInfo;
import cn.iocoder.yudao.module.system.api.deviceInfo.dto.DeviceInfoDto;
import java.util.List;
/**
* @Author:qjq 设备信息api
* @Date:2024/4/12 下午3:53
*/
public interface DeviceInfoApi {
List<DeviceInfoDto> getDeviceInfoList(Long carteenId);
}

View File

@ -0,0 +1,34 @@
package cn.iocoder.yudao.module.system.api.deviceInfo.dto;
import lombok.Data;
/**
* @Author:qjq
* @Date:2024/4/10 下午4:37
*/
@Data
public class DeviceInfoDto {
/**
* 设备sn码
*/
private String deviceSn;
/**
* 门店编号
*/
private Long carteenId;
/**
* 设备ip
*/
private String deviceIp;
/**
* 设备名称
*/
private String deviceName;
/**
* 门店名称
*/
private String carteenName;
}

View File

@ -183,7 +183,11 @@ public interface ErrorCodeConstants {
// ========== 门店 流水 1_002_035_002 ==========
ErrorCode DISHES_RAW_NOT_EXISTS = new ErrorCode(1_002_035_002, "菜品原材料不存在");
// ========== 门店 流水 1_002_036_002 ==========
ErrorCode BUSINESS_NOT_EXISTS = new ErrorCode(1_002_035_002, "营业统计不存在");
ErrorCode BUSINESS_NOT_EXISTS = new ErrorCode(1_002_036_002, "营业统计不存在");
// ========== 门店 流水 1_002_037_002 ==========
ErrorCode DEVUCE_NOT_EXISTS = new ErrorCode(1_002_035_002, "设备不存在");
ErrorCode DEVUCE_NOT_EXISTS = new ErrorCode(1_002_037_002, "设备不存在");
// ========== 门店 设备日流水 1_002_038_002 ==========
ErrorCode DEVICE_MONEY_NOT_EXISTS = new ErrorCode(1_002_038_002, "门店设备流水不存在");
// ========== 门店 设备日流水 1_002_039_002 ==========
ErrorCode MATERIAL_NOT_EXISTS = new ErrorCode(1_002_039_002, "门店材料库存不存在");
}