Commit f34cc103500db939b250df35acd3d8183f8ed973

Authored by wdn127929
1 parent 10553449

修改默认午餐到店时间为12:00

... ... @@ -11,14 +11,14 @@ if (flutterRoot == null) {
throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
}
def flutterVersionCode = "263"
def flutterVersionCode = "270"
if (flutterVersionCode == null) {
flutterVersionCode = '263'
flutterVersionCode = '270'
}
def flutterVersionName = "2.6.3"
def flutterVersionName = "2.7.0"
if (flutterVersionName == null) {
flutterVersionName = '2.6.3'
flutterVersionName = '2.7.0'
}
apply plugin: 'com.android.application'
... ...
... ... @@ -280,14 +280,14 @@ class HomeEnterModel with ChangeNotifier {
case "noon": //选中午市
bool select = false;
for (var temp in dailyMap['noon']) {
//午市选中12:30
//午市选中12:00
temp['select'] = false;
if (select) continue;
if (noons.contains("12:30") &&
if (noons.contains("12:00") &&
timeMillsNow <=
DateUtil.getDateMsByTimeStr(DateUtil.formatDate(dateTime)
.replaceRange(11, 19, "12:30:00"))) {
if (temp['title'] == "12:30") {
.replaceRange(11, 19, "12:00:00"))) {
if (temp['title'] == "12:00") {
temp['select'] = true;
select = true;
}
... ...
... ... @@ -351,14 +351,14 @@ class NotebookDetailChangeModel with ChangeNotifier {
case "noon": //选中午市
bool select = false;
for (var temp in dailyMap['noon']) {
//午市选中12:30
//午市选中12:00
temp['select'] = false;
if (select) continue;
if (noons.contains("12:30") &&
if (noons.contains("12:00") &&
timeMillsNow <=
DateUtil.getDateMsByTimeStr(DateUtil.formatDate(dateTime)
.replaceRange(11, 19, "12:30:00"))) {
if (temp['title'] == "12:30") {
.replaceRange(11, 19, "12:00:00"))) {
if (temp['title'] == "12:00") {
temp['select'] = true;
select = true;
}
... ...
... ... @@ -149,12 +149,12 @@ class TableManagerModel with ChangeNotifier {
DateUtil.getDateMsByTimeStr(DateUtil.formatDate(dateTime)
.replaceRange(11, 19, "$temp:00"))) {
currSelectTime = temp;
if (noons.contains("12:30") &&
if (noons.contains("12:00") &&
DateUtil.getDateMsByTimeStr(DateUtil.formatDate(dateTime)
.replaceRange(11, 19, "$temp:00")) <
DateUtil.getDateMsByTimeStr(DateUtil.formatDate(dateTime)
.replaceRange(11, 19, "12:30:00"))) {
currSelectTime = "12:30";
.replaceRange(11, 19, "12:00:00"))) {
currSelectTime = "12:00";
}
break;
}
... ...