|
|
|
|
@ -15,7 +15,6 @@ import org.slf4j.LoggerFactory;
|
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
|
import org.springframework.beans.factory.annotation.Value;
|
|
|
|
|
import org.springframework.stereotype.Component;
|
|
|
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
|
|
|
|
|
|
|
|
import java.io.File;
|
|
|
|
|
import java.util.ArrayList;
|
|
|
|
|
@ -57,10 +56,9 @@ public class TimeTask {
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 定时任务查询识别中任务的结果,并对结果进行解析存储,相应的改变任务状态
|
|
|
|
|
*
|
|
|
|
|
* 注意:不能添加事务 会导致数据错误
|
|
|
|
|
* @throws Exception
|
|
|
|
|
*/
|
|
|
|
|
@Transactional
|
|
|
|
|
public void getTaskResult() {
|
|
|
|
|
String result = "";
|
|
|
|
|
try {
|
|
|
|
|
@ -263,7 +261,7 @@ public class TimeTask {
|
|
|
|
|
if (info != null && info.size() > 0) {
|
|
|
|
|
for (DaYtzm ytzm : info) {
|
|
|
|
|
//判断返回结果是否都是字符串 "无"
|
|
|
|
|
/* if(CallThirdInterface.allFieldsEqualTo(ytzm,"无")){
|
|
|
|
|
/*if(CallThirdInterface.allFieldsEqualTo(ytzm,"无")){
|
|
|
|
|
continue;
|
|
|
|
|
}*/
|
|
|
|
|
ytzm.setAllPicIds(picIds);
|
|
|
|
|
|