|
|
@@ -23,15 +23,13 @@ public class CommonCountServiceImpl implements CommonCountService{
|
|
|
|
|
|
@Override
|
|
|
public List<CommonCount> findByStatus(Short status) {
|
|
|
- List<CommonCount> commonCounts = commonCountDao.findByStatusOrderByDetno(status);
|
|
|
-
|
|
|
- for (CommonCount commonCount : commonCounts) {
|
|
|
- if (commonCount.getSql() != null) {
|
|
|
-// commonCount.setCount(jdbcTemplate.queryForLong(commonCount.getSql()));
|
|
|
- commonCount.setSql(null);
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- return commonCounts;
|
|
|
+ return commonCountDao.findByStatusOrderByDetno(status);
|
|
|
+
|
|
|
+// for (CommonCount commonCount : commonCounts) {
|
|
|
+// if (commonCount.getSql() != null) {
|
|
|
+//// commonCount.setCount(jdbcTemplate.queryForLong(commonCount.getSql()));
|
|
|
+// commonCount.setSql(null);
|
|
|
+// }
|
|
|
+// }
|
|
|
}
|
|
|
}
|