[6.2.0] 运营信息时间格式化
This commit is contained in:
@@ -45,7 +45,8 @@ class TaskListAdapter(val context: Context,
|
||||
override fun onBindViewHolder(holder: TaskItemViewHolder, position: Int) {
|
||||
dataList?.also {
|
||||
val taskInfo = dataList[holder.bindingAdapterPosition]
|
||||
holder.taskTimeTv.text = "下单时间 " + DateTimeUtil.second2MMSS(taskInfo.startTime)
|
||||
holder.taskTimeTv.text = "下单时间 " + DateTimeUtil.formatLongToString(taskInfo.startTime,
|
||||
DateTimeUtil.HH_mm)
|
||||
holder.taskTypeBt.text = "演练单"
|
||||
holder.taskStartSiteTv.text = taskInfo.startSiteName
|
||||
holder.taskEndSiteTv.text = taskInfo.endSiteName
|
||||
@@ -91,7 +92,8 @@ class OrderListAdapter(val context: Context,
|
||||
override fun onBindViewHolder(holder: OrderItemViewHolder, position: Int) {
|
||||
dataList?.also {
|
||||
val orderInfo = it[holder.bindingAdapterPosition]
|
||||
holder.orderTimeTv.text = "下单时间 "+ DateTimeUtil.second2MMSS(orderInfo.createTime)
|
||||
holder.orderTimeTv.text = "下单时间 "+ DateTimeUtil.formatLongToString(orderInfo.createTime,
|
||||
DateTimeUtil.HH_mm)
|
||||
holder.orderNumTv.text = "订单编号: " + orderInfo.orderNo
|
||||
holder.orderPriceTv.text = orderInfo.payAmount
|
||||
holder.orderTypeBt.text = "运营单"
|
||||
|
||||
Reference in New Issue
Block a user