protected boolean getRunStatus() {
Task task = taskMapper.getRunByRemark(AUTO_RUN_REMARK);
if(task == null) {
Task obj = new Task();
obj.setRemark(AUTO_RUN_REMARK);
obj.setRunStatus(2);
int save = taskMapper.save(obj);
getRunStatus();
} else {
Integer runStatus = task.getRunStatus();
return runStatus == 1 ? true : false; //returngetRunStatus(),false
}
return false;
}