diff --git a/ruoyi-admin/src/main/java/com/ruoyi/stock/domain/StockInfo.java b/ruoyi-admin/src/main/java/com/ruoyi/stock/domain/StockInfo.java index 95dbce5b..e293d326 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/stock/domain/StockInfo.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/stock/domain/StockInfo.java @@ -37,15 +37,11 @@ public class StockInfo extends BaseEntity @Excel(name = "仓库管理人") private String stockManager; - @Excel(name = "仓库管理人电话") - private String stockManagerPhone; /** 仓库备注 */ @Excel(name = "仓库备注") private String stockMemo; - /** */ - private String defaltItemclass; /** 录入时间 */ @Excel(name = "录入时间",dateFormat = "yyyy-MM-dd HH:mm:ss") @@ -105,16 +101,6 @@ public class StockInfo extends BaseEntity this.stockMemo = stockMemo; } - public void setDefaltItemclass(String defaltItemclass) - { - this.defaltItemclass = defaltItemclass; - } - - public String getDefaltItemclass() - { - return defaltItemclass; - } - public Date getFirstAddTime() { return firstAddTime; } @@ -131,13 +117,6 @@ public class StockInfo extends BaseEntity this.updateInfoTime = updateInfoTime; } - public String getStockManagerPhone() { - return stockManagerPhone; - } - - public void setStockManagerPhone(String stockManagerPhone) { - this.stockManagerPhone = stockManagerPhone; - } @Override public String toString() { @@ -146,10 +125,8 @@ public class StockInfo extends BaseEntity .append("stockNO", getStockNO()) .append("stockName", getStockName()) .append("stockAddr", getStockAddr()) - .append("stockmanager", getStockManager()) - .append("stockManagerPhone", getStockManagerPhone()) + .append("stockManager", getStockManager()) .append("stockmemo", getStockMemo()) - .append("defaltItemclass", getDefaltItemclass()) .append("firstAddTime", getFirstAddTime()) .append("updateInfoTime", getUpdateInfoTime()) .toString(); diff --git a/ruoyi-admin/src/main/resources/mapper/stock/StockInfoMapper.xml b/ruoyi-admin/src/main/resources/mapper/stock/StockInfoMapper.xml index bae74704..f622ee66 100644 --- a/ruoyi-admin/src/main/resources/mapper/stock/StockInfoMapper.xml +++ b/ruoyi-admin/src/main/resources/mapper/stock/StockInfoMapper.xml @@ -11,15 +11,20 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" - - - select stock_id,StockNo, Stockname, stockAddr, stockmanager,stock_manager_phone, stockmemo, - defalt_itemclass, first_add_time, update_info_time from stock_info + select stock_id, + StockNo, + Stockname, + stockAddr, + stockmanager, + stockmemo, + first_add_time, + update_info_time + from stock_info