|
@@ -238,8 +238,8 @@ func GetSpecialSurplusByCompany(companyId int) (specialSurplus string, err error
|
|
|
pars = append(pars, companyId)
|
|
|
|
|
|
//查询当年的数据
|
|
|
- condition += ` AND b.create_time >= ? `
|
|
|
- pars = append(pars, time.Now().Format(utils.FormatYearDate)+"-01-01")
|
|
|
+ //condition += ` AND b.create_time >= ? `
|
|
|
+ //pars = append(pars, time.Now().Format(utils.FormatYearDate)+"-01-01")
|
|
|
listTripBill, e := cygx.GetCygxActivitySpecialTripBillList(condition, pars)
|
|
|
if e != nil {
|
|
|
err = errors.New("GetActivitySpecialTripCountByActivitySpecial, Err: " + e.Error())
|
|
@@ -434,8 +434,8 @@ func GetChartPermissionSpecialSurplusByCompany(companyId int) (userType int, tri
|
|
|
pars = append(pars, companyId)
|
|
|
|
|
|
//查询当年的数据
|
|
|
- condition += ` AND b.create_time >= ? `
|
|
|
- pars = append(pars, time.Now().Format(utils.FormatYearDate)+"-01-01")
|
|
|
+ //condition += ` AND b.create_time >= ? `
|
|
|
+ //pars = append(pars, time.Now().Format(utils.FormatYearDate)+"-01-01")
|
|
|
listTripBill, e := cygx.GetCygxActivitySpecialTripBillList(condition, pars)
|
|
|
if e != nil {
|
|
|
err = errors.New("GetActivitySpecialTripCountByActivitySpecial, Err: " + e.Error())
|