Browse Source

购物金

master
huangjiajun 2 months ago
parent
commit
f2deb2501c
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/implement/service_award_return_flow_db.go

+ 1
- 1
src/implement/service_award_return_flow_db.go View File

@@ -20,7 +20,7 @@ func (s ServiceAwardReturnFlowDb) GetServiceAwardReturnFlowTotal(types, createTi
sess.And("type=?", types)
}
if createTime != "" {
sess.And("date<?", createTime)
sess.And("date<=?", createTime)
}
sum, _ = sess.Sum(&models.ServiceAwardReturnFlow{}, "sum")
hasReturnMoney, _ = sess.Sum(&models.ServiceAwardReturnFlow{}, "has_return_money")


Loading…
Cancel
Save