|
@@ -56,7 +56,7 @@ func (rg *RegisterController) List(c *gin.Context) {
|
|
|
if req.Keyword != "" {
|
|
|
kw := "%" + req.Keyword + "%"
|
|
|
cond += ` AND (company_name LIKE ? OR contract_code LIKE ? OR seller_name LIKE ? OR pay_company_name LIKE ?)`
|
|
|
- pars = append(pars, kw, kw, kw)
|
|
|
+ pars = append(pars, kw, kw, kw, kw)
|
|
|
}
|
|
|
if req.StartDate != "" && req.EndDate != "" {
|
|
|
st := fmt.Sprint(req.StartDate, " 00:00:00")
|