京西折扣

This commit is contained in:
苏尹岚
2020-08-10 16:50:45 +08:00
parent b53944d849
commit 3eb3bc8c62
3 changed files with 45 additions and 0 deletions

View File

@@ -1371,6 +1371,26 @@ func GetHalfHoursList() (strs []string) {
return strs
}
func GetDiscountActHoursList() (str []string) {
for k := 1; k < 3; k++ {
for i := 0; i < 10; i++ {
for j := 0; j < 6; j++ {
if k == 1 && i == 0 && j == 0 {
continue
}
if k == 2 && i > 2 {
break
}
if k == 2 && i == 2 && j > 0 {
break
}
str = append(str, utils.Int2Str(k)+utils.Int2Str(i)+":"+utils.Int2Str(j)+"0"+":00")
}
}
}
return str
}
func RefreshAllMatterOrderStatus(ctx *jxcontext.Context) (err error) {
var (
db = dao.GetDB()