项目维度 产品线

This commit is contained in:
yuezhihang
2021-08-17 16:47:29 +08:00
parent e58047120b
commit af87ee07b2
5 changed files with 18 additions and 3 deletions
@@ -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();
}
}