File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
APIJSON-Java-Server/APIJSONORM/src/main/java/zuo/biao/apijson/server Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -390,10 +390,10 @@ public JSONObject parseResponse(JSONObject request) {
390
390
long endTime = System .currentTimeMillis ();
391
391
long duration = endTime - startTime ;
392
392
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 );
397
397
}
398
398
399
399
onClose ();
You can’t perform that action at this time.
0 commit comments