给首页增加统计折线图的功能

This commit is contained in:
季圣华
2019-10-24 22:16:22 +08:00
parent 028b87a701
commit 7ea85d4f6e
10 changed files with 729 additions and 377 deletions

View File

@@ -260,6 +260,24 @@ public class DepotItemService {
}
/**
* 统计采购或销售的总金额
* @param type
* @param subType
* @param MonthTime
* @return
* @throws Exception
*/
public BigDecimal inOrOutPrice(String type, String subType, String MonthTime) throws Exception{
BigDecimal result= BigDecimal.ZERO;
try{
result = depotItemMapperEx.inOrOutPrice(type, subType, MonthTime);
}catch(Exception e){
JshException.readFail(logger, e);
}
return result;
}
/**
* 2019-02-02修改
* 我之前对操作数量的理解有偏差