|
|
@@ -250,7 +250,7 @@ public class OrderRedDotServiceImpl implements OrderRedDotService {
|
|
|
buffer.append(" where red_enuu = ?");
|
|
|
}
|
|
|
buffer.append(" and red_ortype = ? and not exists (select 1 from reddot$done where red_done_redid = red_id and red_done_enuu = ? and red_done_useruu = ?)");
|
|
|
- return commonDao.query(buffer.toString(), Long.class, enUU, orderType, enUU, SystemSession.getUser().getUserUU());
|
|
|
+ return commonDao.queryForList(buffer.toString(), Long.class, enUU, orderType, enUU, SystemSession.getUser().getUserUU());
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
@@ -286,7 +286,7 @@ public class OrderRedDotServiceImpl implements OrderRedDotService {
|
|
|
buffer.append(" where red_enuu = ?");
|
|
|
}
|
|
|
buffer.append(" and red_ortype = ? and not exists (select 1 from reddot$done where red_done_redid = red_id and red_done_enuu = ? and red_done_useruu = ?)");
|
|
|
- return commonDao.query(buffer.toString(), Long.class, enUU, orderType, enUU, SystemSession.getUser().getUserUU());
|
|
|
+ return commonDao.queryForList(buffer.toString(), Long.class, enUU, orderType, enUU, SystemSession.getUser().getUserUU());
|
|
|
}
|
|
|
|
|
|
/**
|