|
@@ -255,7 +255,7 @@ public class STKTask {
|
|
|
|
|
|
|
|
|
//获取会计科目
|
|
|
- @Scheduled(cron = "0 05 01 * * ?")
|
|
|
+ //@Scheduled(cron = "0 05 01 * * ?")
|
|
|
public void queryAccountantProject() {
|
|
|
QueryAccountantProjectDto dto = new QueryAccountantProjectDto();
|
|
|
Integer page = 1;
|
|
@@ -289,7 +289,7 @@ public class STKTask {
|
|
|
num = num + 1;
|
|
|
}
|
|
|
//判断没发生异常,且是最后一页条件判断==》没有下页编码,或者当前页数等于返回页数
|
|
|
- if (!exception && null != accountantProjectVo && null != accountantProjectVo.getData() && dto.getPage() >= accountantProjectVo.getPages()) {
|
|
|
+ if (!exception && null != accountantProjectVo && null != accountantProjectVo.getData() && page >= accountantProjectVo.getPages()) {
|
|
|
isBreak = false;
|
|
|
}
|
|
|
|