项目维度 产品线
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
package com.ydw.bat.wkflow.util;
|
||||
|
||||
import com.ydw.bat.wkflow.business_main.datas.dto.PCA.PCAtotal;
|
||||
import com.ydw.bat.wkflow.business_main.datas.dto.PEPres;
|
||||
import net.sf.json.JSONObject;
|
||||
import net.sf.json.JsonConfig;
|
||||
@@ -15,4 +16,11 @@ public class DealWithDate {
|
||||
return jsonObject.toString();
|
||||
}
|
||||
|
||||
public static String delWithTimePCA(PCAtotal a){
|
||||
JsonConfig jsonConfig = new JsonConfig();
|
||||
jsonConfig.registerJsonValueProcessor(Date.class, new JsonDateValueProcessor());
|
||||
JSONObject jsonObject = JSONObject.fromObject(a,jsonConfig);
|
||||
return jsonObject.toString();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user