Sql sql = Sqls.create(“select ORDER_TIME as '订单时间',
ORDER_NO as '订单唯一标示',
ITEM_NO as '商品唯一标识',
EP_ID as '企业ID',
APP_ID as '卖家惟客宝APP_ID',
STORE_ID as '门店ID',
USER_ID as '下单用户ID',
PHONE as '手机号码',
GENDER as '性别',
BIRTHDAY as '生日YYYYMMDD',
CREATE_TIME as '会员注册时间',
ITEM_TYPE as '订单商品类型',
ITEM_NAME1 as '商品一级名称',
ITEM_NAME2 as '商品二级名称',
ITEM_NAME3 as '商品品类名称',
ITEM_COUNT as '购买商品数量',
ITEM_FEE as '商品实付金额',
ORDER_FEE as '订单金额',
LOYALTY as '忠诚度',
BUY_POWER as '购买力',
AGE as '年龄段'
from DWS_WXAPP_DDS_USER_ORDER_DETAIL”);
List<Map> data = NutDao.execute(sql).getList(Map.class);
ORDER_TIME(订单时间)该字段在DB中是date类型,取出来的结果是时间戳,但是没有对应的实体类,如何转成日期格式