修改后台订单日期类型错误
This commit is contained in:
1 parent
e73bffe5cb
commit
050d9d57dd
2 files changed
+8
-7
No files matched your search
@@ -125,10 +125,10 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
field : 'addTime',
|
field : 'addTime',
|
||||||
title : '下单时间',
|
title : '下单时间'
|
||||||
formatter: function (value) {
|
// formatter: function (value) {
|
||||||
return $.common.dateFormat('Y-m-d H:i:s',value);
|
// return $.common.dateFormat('Y-m-d H:i:s',value);
|
||||||
}
|
// }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '操作',
|
title: '操作',
|
||||||
|
|||||||
@@ -7,6 +7,7 @@ import org.apache.commons.lang3.builder.ToStringStyle;
|
|||||||
import com.ruoyi.common.annotation.Excel;
|
import com.ruoyi.common.annotation.Excel;
|
||||||
import com.ruoyi.common.core.domain.BaseEntity;
|
import com.ruoyi.common.core.domain.BaseEntity;
|
||||||
|
|
||||||
|
import java.util.Date;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -144,7 +145,7 @@ public class StoreOrder extends BaseEntity
|
|||||||
|
|
||||||
/** 下单时间 */
|
/** 下单时间 */
|
||||||
@Excel(name = "下单时间")
|
@Excel(name = "下单时间")
|
||||||
private Integer addTime;
|
private Date addTime;
|
||||||
|
|
||||||
/** 最后新发货时间 */
|
/** 最后新发货时间 */
|
||||||
@Excel(name = "最后新发货时间")
|
@Excel(name = "最后新发货时间")
|
||||||
@@ -542,12 +543,12 @@ public class StoreOrder extends BaseEntity
|
|||||||
{
|
{
|
||||||
return totalAmount;
|
return totalAmount;
|
||||||
}
|
}
|
||||||
public void setAddTime(Integer addTime)
|
public void setAddTime(Date addTime)
|
||||||
{
|
{
|
||||||
this.addTime = addTime;
|
this.addTime = addTime;
|
||||||
}
|
}
|
||||||
|
|
||||||
public Integer getAddTime()
|
public Date getAddTime()
|
||||||
{
|
{
|
||||||
return addTime;
|
return addTime;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user