增加报表中单据点击后展示的功能(续增)
This commit is contained in:
@@ -722,6 +722,7 @@ public class DepotHeadAction extends BaseAction<DepotHeadModel>
|
||||
item.put("supplierName", arr[6]); //供应商
|
||||
item.put("depotName", arr[7]); //仓库
|
||||
item.put("operTime", arr[8]); //入库出库日期
|
||||
item.put("type", arr[9]); //入库出库日期
|
||||
dataArray.add(item);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -54,7 +54,8 @@ public class DepotHeadDAO extends BaseDAO<DepotHead> implements DepotHeadIDAO {
|
||||
@SuppressWarnings("unchecked")
|
||||
public void findInDetail(PageUtil pageUtil,String beginTime,String endTime,String type,Long pid,String dids,Long oId) throws JshException {
|
||||
StringBuffer queryString = new StringBuffer();
|
||||
queryString.append("select dh.Number,m.`name`,m.Model,di.UnitPrice,di.OperNumber,di.AllPrice,s.supplier,d.dName,date_format(dh.OperTime, '%Y-%m-%d') " +
|
||||
queryString.append("select dh.Number,m.`name`,m.Model,di.UnitPrice,di.OperNumber,di.AllPrice,s.supplier,d.dName," +
|
||||
"date_format(dh.OperTime, '%Y-%m-%d'), concat(dh.SubType,dh.Type) as newType " +
|
||||
"from jsh_depothead dh inner join jsh_depotitem di on di.HeaderId=dh.id " +
|
||||
"inner join jsh_material m on m.id=di.MaterialId " +
|
||||
"inner join jsh_supplier s on s.id=dh.OrganId " +
|
||||
|
||||
Reference in New Issue
Block a user