|
@ -146,7 +146,10 @@ public class ItemHotlineServiceImpl extends BaseServiceImpl<ItemHotlineDao, Item |
|
|
for (CenterData item : centerHotLine) { |
|
|
for (CenterData item : centerHotLine) { |
|
|
ItemHotlineEntity itemHotlineEntity = ConvertUtils.sourceToTarget(item, ItemHotlineEntity.class); |
|
|
ItemHotlineEntity itemHotlineEntity = ConvertUtils.sourceToTarget(item, ItemHotlineEntity.class); |
|
|
itemHotlineEntity.setDjrxm("12345热线:" + itemHotlineEntity.getDjrxm()); |
|
|
itemHotlineEntity.setDjrxm("12345热线:" + itemHotlineEntity.getDjrxm()); |
|
|
itemHotlineEntity.setSjnr("登记时间:"+item.getDjsj()+"内容:"+item.getSjnr()); |
|
|
SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); |
|
|
|
|
|
// 格式化 Date 对象
|
|
|
|
|
|
String formattedDate = formatter.format(item.getDjsj()); |
|
|
|
|
|
itemHotlineEntity.setSjnr("登记时间:"+formattedDate+"内容:"+item.getSjnr()); |
|
|
// 存入12345表
|
|
|
// 存入12345表
|
|
|
baseDao.insert(itemHotlineEntity); |
|
|
baseDao.insert(itemHotlineEntity); |
|
|
// 存入之后 告知市里
|
|
|
// 存入之后 告知市里
|
|
@ -198,7 +201,6 @@ public class ItemHotlineServiceImpl extends BaseServiceImpl<ItemHotlineDao, Item |
|
|
workingDaysToAdd--; |
|
|
workingDaysToAdd--; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
log.info("4444444444"+futureDate); |
|
|
|
|
|
Date date = Date.from(futureDate.atStartOfDay(ZoneId.systemDefault()).toInstant()); |
|
|
Date date = Date.from(futureDate.atStartOfDay(ZoneId.systemDefault()).toInstant()); |
|
|
|
|
|
|
|
|
// 创建 SimpleDateFormat 对象,指定输出格式
|
|
|
// 创建 SimpleDateFormat 对象,指定输出格式
|
|
|