File tree Expand file tree Collapse file tree
APIJSON-Java-Server/APIJSONORM/src/main/java/zuo/biao/apijson/server Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -390,10 +390,10 @@ public JSONObject parseResponse(JSONObject request) {
390390 long endTime = System .currentTimeMillis ();
391391 long duration = endTime - startTime ;
392392
393- if (Log .DEBUG ) {
394- requestObject .put ("sql:generate/ cache/ execute/ maxExecute" , sqlExecutor .getGeneratedSQLCount () + "/ " + sqlExecutor .getCachedSQLCount () + "/ " + sqlExecutor .getExecutedSQLCount () + "/ " + getMaxSQLCount ());
395- requestObject .put ("depth:count/ max" , queryDepth + "/ " + getMaxQueryDepth ());
396- requestObject .put ("time:start/ duration/ end" , startTime + "/ " + duration + "/ " + endTime );
393+ if (Log .DEBUG ) { //用 | 替代 /,避免 APIJSON ORM,APIAuto 等解析路径错误
394+ requestObject .put ("sql:generate| cache| execute| maxExecute" , sqlExecutor .getGeneratedSQLCount () + "| " + sqlExecutor .getCachedSQLCount () + "| " + sqlExecutor .getExecutedSQLCount () + "| " + getMaxSQLCount ());
395+ requestObject .put ("depth:count| max" , queryDepth + "| " + getMaxQueryDepth ());
396+ requestObject .put ("time:start| duration| end" , startTime + "| " + duration + "| " + endTime );
397397 }
398398
399399 onClose ();
You can’t perform that action at this time.
0 commit comments