...
|
...
|
@@ -29,11 +29,11 @@ func dayEndTime(t time.Time) time.Time { |
|
|
return t2
|
|
|
}
|
|
|
|
|
|
func dayZeroTime(t time.Time) time.Time {
|
|
|
y, m, d := t.Local().Date()
|
|
|
t2 := time.Date(y, m, d, 0, 0, 0, 0, time.Local)
|
|
|
return t2
|
|
|
}
|
|
|
// func dayZeroTime(t time.Time) time.Time {
|
|
|
// y, m, d := t.Local().Date()
|
|
|
// t2 := time.Date(y, m, d, 0, 0, 0, 0, time.Local)
|
|
|
// return t2
|
|
|
// }
|
|
|
|
|
|
func (srv TaskService) CreateTaskTest(param *command.CreateTaskCommand) error {
|
|
|
transactionContext, err := factory.CreateTransactionContext(nil)
|
...
|
...
|
|