|
@@ -24,7 +24,7 @@ public class PrintNumTask implements ITask {
|
|
|
public void run() {
|
|
|
// TODO Auto-generated method stub
|
|
|
DataService dService = ServiceFactory.getService(DataService.class);
|
|
|
- List<Record> records = Db.use("print").find("select * from IMAGEVIEW where ADDTIME >?",parseStringToDate1());
|
|
|
+ List<Record> records = Db.use("print").find("select * from IMAGEVIEW where ADDTIME >? and PRINTED=?",parseStringToDate1(),"true");
|
|
|
for (Record record : records) {
|
|
|
try {
|
|
|
if (record == null) {
|