最迟售卖时间冷柜改为24小时
This commit is contained in:
@@ -277,8 +277,8 @@ public class PreFryRecordsServiceImpl implements PreFryRecordsService {
|
|||||||
private Date getLatestSaleTime(Integer applyType) {
|
private Date getLatestSaleTime(Integer applyType) {
|
||||||
Calendar calendar = Calendar.getInstance();
|
Calendar calendar = Calendar.getInstance();
|
||||||
if (applyType == PreFryApplyTypeEnum.HAS_REFRIGERATED_DISPLAY.getCode()) {
|
if (applyType == PreFryApplyTypeEnum.HAS_REFRIGERATED_DISPLAY.getCode()) {
|
||||||
// 冷藏展示柜加12小时
|
// 冷藏展示柜加24小时
|
||||||
calendar.add(Calendar.HOUR_OF_DAY, 12);
|
calendar.add(Calendar.HOUR_OF_DAY, 24);
|
||||||
} else {
|
} else {
|
||||||
// 常温展示柜或无展示柜加4小时
|
// 常温展示柜或无展示柜加4小时
|
||||||
calendar.add(Calendar.HOUR_OF_DAY, 4);
|
calendar.add(Calendar.HOUR_OF_DAY, 4);
|
||||||
|
|||||||
Reference in New Issue
Block a user