cid
This commit is contained in:
parent
450fe8e075
commit
509da2d4ef
|
@ -152,7 +152,7 @@ func (s *StaffSalary) Bank(cid int64, month string, ctx *gin.Context) {
|
||||||
|
|
||||||
func (s *StaffSalary) Summary(cid int64, month string, ctx *gin.Context) {
|
func (s *StaffSalary) Summary(cid int64, month string, ctx *gin.Context) {
|
||||||
xls := ctx.Query("xls")
|
xls := ctx.Query("xls")
|
||||||
staffSalarys, err := dao.NewStaffSalaryDao().Query(1000, 0, month)
|
staffSalarys, err := dao.NewStaffSalaryDao().Query(cid, 0, month)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
panic(config.ErrDb.New().Append(err))
|
panic(config.ErrDb.New().Append(err))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue