京西折扣
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user