|
@@ -18,7 +18,7 @@ public class PayTask implements ITask {
|
|
|
public void run() {
|
|
|
// TODO Auto-generated method stub
|
|
|
DataService dService = ServiceFactory.getService(DataService.class);
|
|
|
- List<Record> records = Db.use("connected").find("select top 30 * from zlhis.paylist where ISFEE=1 order by PAYTIME desc");
|
|
|
+ List<Record> records = Db.use("connected").find("select * from(select * from zlhis.paylist where ISFEE=1 and STUDYUID is not null order by PAYTIME desc)where rownum<10");
|
|
|
for (Record record : records) {
|
|
|
JSONObject jsonObject = new JSONObject();
|
|
|
jsonObject.put("institution_id", PropKit.get("institution_id"));
|