|
@@ -34,7 +34,7 @@ public class D00000Service extends D00000BaseModel implements ExecProcessFlow {
|
|
DNodeSQLBuilder.Criteria sc1 =sb.createCriteria();
|
|
DNodeSQLBuilder.Criteria sc1 =sb.createCriteria();
|
|
sc1.andNameLike("%"+searchtag+"%");
|
|
sc1.andNameLike("%"+searchtag+"%");
|
|
}
|
|
}
|
|
- Long count = projectDao.countByExample(sb);
|
|
|
|
|
|
+ int count = projectDao.selectCountByExample(sb);
|
|
sb.setOrderByClause("id ASC");
|
|
sb.setOrderByClause("id ASC");
|
|
|
|
|
|
XIUtils.pageSet(page,size);
|
|
XIUtils.pageSet(page,size);
|
|
@@ -52,7 +52,7 @@ public class D00000Service extends D00000BaseModel implements ExecProcessFlow {
|
|
rows.add(row);
|
|
rows.add(row);
|
|
}
|
|
}
|
|
this.getD_d00000().setRows(rows);
|
|
this.getD_d00000().setRows(rows);
|
|
- this.getD_d00000().setTotal(count.intValue());
|
|
|
|
|
|
+ this.getD_d00000().setTotal(count);
|
|
}
|
|
}
|
|
|
|
|
|
/**
|
|
/**
|