正在显示
2 个修改的文件
包含
2 行增加
和
2 行删除
@@ -823,7 +823,7 @@ func (srv StaffAssessServeice) ExportUserAssess(param *query.ExportAssessContent | @@ -823,7 +823,7 @@ func (srv StaffAssessServeice) ExportUserAssess(param *query.ExportAssessContent | ||
823 | for _, v4 := range eData.rowSort.Child { | 823 | for _, v4 := range eData.rowSort.Child { |
824 | //纵向-索引-第一列-日期 | 824 | //纵向-索引-第一列-日期 |
825 | if len(includeBeginDay) > 0 { | 825 | if len(includeBeginDay) > 0 { |
826 | - if _, ok := includeBeginDay[v.Name]; !ok { | 826 | + if _, ok := includeBeginDay[v4.Name]; !ok { |
827 | continue | 827 | continue |
828 | } | 828 | } |
829 | } | 829 | } |
@@ -1025,7 +1025,7 @@ func (d *StaffAssessDao) ExportDataUserAssess(param SearchConditin1) ([]ExportDa | @@ -1025,7 +1025,7 @@ func (d *StaffAssessDao) ExportDataUserAssess(param SearchConditin1) ([]ExportDa | ||
1025 | condition = append(condition, pg.In(param.TargetUserId)) | 1025 | condition = append(condition, pg.In(param.TargetUserId)) |
1026 | } | 1026 | } |
1027 | //加入排序 | 1027 | //加入排序 |
1028 | - sqlStr += ` order by convert_to(t_staff_assess_1.target_user_name,'GBK'),staff_assess_content.sort_by ` | 1028 | + sqlStr += ` order by convert_to(t_staff_assess_1.target_user_name,'GBK'),t_staff_assess_1.begin_day,staff_assess_content.sort_by ` |
1029 | //获取前置sql语句 | 1029 | //获取前置sql语句 |
1030 | sqlStr0 := d.useTStaffAssess(param.CompanyId, param.CycleId, param.OperaterId, param.BeginDay, param.Hrbp, param.Limit, param.Offset, string(domain.AssessSelf)) | 1030 | sqlStr0 := d.useTStaffAssess(param.CompanyId, param.CycleId, param.OperaterId, param.BeginDay, param.Hrbp, param.Limit, param.Offset, string(domain.AssessSelf)) |
1031 | sqlStr = sqlStr0 + sqlStr | 1031 | sqlStr = sqlStr0 + sqlStr |
-
请 注册 或 登录 后发表评论