| | |
| | | sb.append(" JOIN product_sys_staffs s "); |
| | | sb.append(" on t.created_by=s.user_id"); |
| | | sb.append(" group by t.file_name,t.uuid,s.show_name,t.created_utc_datetime,t.attachment_size"); |
| | | sb.append(" )b order by b.applyCount asc"); |
| | | sb.append(" )b order by b.applyCount DESC"); |
| | | DataTableEntity dataTableEntity = baseDao.listTable(sb.toString(), param.toArray()); |
| | | return dataTableEntity; |
| | | } |
| | |
| | | sb.append(" GROUP BY w.borrower,s.show_name"); |
| | | sb.append(" )a )b"); |
| | | sb.append(" on a.borrower=b.borrower "); |
| | | sb.append(" order by a.applayCount,b.applayFileCount asc"); |
| | | sb.append(" order by a.applayCount,b.applayFileCount DESC"); |
| | | DataTableEntity dataTableEntity = baseDao.listTable(sb.toString(), param.toArray()); |
| | | return dataTableEntity; |
| | | } |