1、增加debug信息开关

2、修正DETECTION_INFO_WARNING insert语句
This commit is contained in:
fangshunjian
2018-12-21 19:13:35 +06:00
parent fc5f49a016
commit 725dc8ad84
7 changed files with 49 additions and 11 deletions

View File

@@ -168,7 +168,9 @@ public class DetectDetailInsertThread implements Runnable{
int count=0;
for(Object[] e : params){
arrTemp=e;
logger.debug(" params " + Arrays.toString(e)+"addToBatch "+ ++count);
if(Constants.DEBUG_DETECTDETAILINSERTTHREAD_SAVETODB) {
logger.debug(" params " + Arrays.toString(e)+"addToBatch "+ ++count);
}
for (int i = 0; i < e.length; i++) {
Object value = e[i];
temp=value;