1
zhang
昨天 b7e27e0760d7a912de932dc24cb49a5302530355
zy-acs-cv/src/main/java/com/zy/asrs/service/impl/CtuMainServiceImpl.java
@@ -24,7 +24,7 @@
 * Created by vincent on 2020/8/6
 */
@Slf4j
@Service("ctuMainService")
@Service
@Transactional
@Data
public class CtuMainServiceImpl implements CtuMainService {
@@ -39,11 +39,11 @@
    @Value("${ctu.sendTask}")
    private String sendTask;
    private String code ="code";
    private String code = "code";
    private String dataCode ="data";
    private String dataCode = "data";
    private Integer codeValue =200;
    private Integer codeValue = 200;
    private Integer timeout = 1200;
@@ -107,8 +107,8 @@
                }
                log.info("未返回站点状态:{}", staNo);
            } else {
                log.error("调用下发任务接口报错,响应码:{},响应内容:{}", jsonObject.getInteger("code"), response);
                throw new CoolException("调用下发任务接口报错,响应码:" + jsonObject.getInteger("code"));
                log.error("调用下发任务接口报错,响应码:{},响应内容:{}", jsonObject.getInteger(code), response);
                throw new CoolException("调用下发任务接口报错,响应码:" + jsonObject.getInteger(code));
            }
        } catch (CoolException e) {
            log.error("调用站点状态接口异常", e);
@@ -118,4 +118,6 @@
        }
        return null;
    }
}