数据上报错误
parent
e347397922
commit
949cc3cf50
|
@ -122,7 +122,7 @@ public class GameApplication {
|
||||||
|
|
||||||
|
|
||||||
private static void initReportLog(){
|
private static void initReportLog(){
|
||||||
File file = new File("reportLog_"+GameApplication.serverId);
|
File file = new File("../reportLog_"+GameApplication.serverId);
|
||||||
if(!file.exists()){
|
if(!file.exists()){
|
||||||
boolean mkdirs = file.mkdirs();//创建目录
|
boolean mkdirs = file.mkdirs();//创建目录
|
||||||
if(!mkdirs){
|
if(!mkdirs){
|
||||||
|
|
|
@ -22,7 +22,7 @@ import java.util.concurrent.BlockingQueue;
|
||||||
* @discribe
|
* @discribe
|
||||||
*/
|
*/
|
||||||
public class ReportUtil {
|
public class ReportUtil {
|
||||||
private static final String LOG_PATH = "reportLog_"+GameApplication.serverId;
|
private static final String LOG_PATH = "../reportLog_"+GameApplication.serverId;
|
||||||
|
|
||||||
private static Map<Integer,ReportBaseBean> baseBeanMap = new HashMap<>();
|
private static Map<Integer,ReportBaseBean> baseBeanMap = new HashMap<>();
|
||||||
|
|
||||||
|
|
|
@ -416,7 +416,11 @@ public class ExpeditionLogic {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
Set<ExpeditionNodeInfo> tempnode = getNode(sExpeditionFloorConfig, typeArr[0], typeArr[1]);
|
Set<ExpeditionNodeInfo> tempnode = getNode(sExpeditionFloorConfig, typeArr[0], typeArr[1]);
|
||||||
|
|
||||||
tempnode.forEach(nodeInfo -> {
|
tempnode.forEach(nodeInfo -> {
|
||||||
|
if(indexList.size()==0){
|
||||||
|
return;
|
||||||
|
}
|
||||||
nodeInfo.setLay(lay-orDefault);
|
nodeInfo.setLay(lay-orDefault);
|
||||||
if (nodeInfo.getLay() == 2) {
|
if (nodeInfo.getLay() == 2) {
|
||||||
nodeInfo.setState(NODESTATE_NOT_PASS);
|
nodeInfo.setState(NODESTATE_NOT_PASS);
|
||||||
|
|
Loading…
Reference in New Issue