ludc
2024-12-10 62e34faacf9d5de8bf94de6cabd219560af3b1d7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
import com.vci.corba.omd.data.BusinessObject;
import com.vci.starter.web.util.VciBaseUtil;
import com.vci.web.util.WebUtil;
 
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
 
/**
 * @Description
 * @Author dangsn
 * @Date 2024/12/4 10:00
 */
public class WebUtilTest {
    public static void main(String[] args) {
        Map thisData = new HashMap();
        thisData.put("btmname", "dangsn");
        thisData.put("oid","XXXAAA");
        thisData.put("createtime", "2024-12-09 10:10:10");
        try {
            Object o = VciBaseUtil.mapToBean(thisData, PartDO.class);
            System.out.println(WebUtil.getJSONStringWithDateFormat(o));
        } catch (Exception e) {
            throw new RuntimeException(e);
        }
    }
}