|
@ -178,10 +178,10 @@ public class CreditsDetailService extends BaseJpaService<CreditsDetailDO,Creditt
|
|
" cd.patient_id ) cd1 ON cd1.patient_id = ba.patient_id " +
|
|
" cd.patient_id ) cd1 ON cd1.patient_id = ba.patient_id " +
|
|
" WHERE " + buffer +
|
|
" WHERE " + buffer +
|
|
" ORDER BY" +
|
|
" ORDER BY" +
|
|
" ba.create_time DESC " +
|
|
|
|
"LIMIT "+(page-1)*size+","+size +")ba1" +
|
|
|
|
|
|
" ba.create_time DESC )ba1" +
|
|
" ORDER BY " +
|
|
" ORDER BY " +
|
|
" ba1.total DESC";
|
|
|
|
|
|
" ba1.total DESC"+
|
|
|
|
" LIMIT "+(page-1)*size+","+size ;
|
|
List<AccountDO> accountDOS = jdbcTemplate.query(sql,new BeanPropertyRowMapper(AccountDO.class));
|
|
List<AccountDO> accountDOS = jdbcTemplate.query(sql,new BeanPropertyRowMapper(AccountDO.class));
|
|
String sqlCount = "SELECT count(1) AS total"+
|
|
String sqlCount = "SELECT count(1) AS total"+
|
|
" FROM " +
|
|
" FROM " +
|