导出修改
This commit is contained in:
parent
7c70e102c4
commit
c068d1e5dc
|
@ -92,8 +92,12 @@ public class BusStoreDayHistoryInfoController extends BaseController
|
||||||
}else{
|
}else{
|
||||||
excelInfo.setCommentsNumber(0);
|
excelInfo.setCommentsNumber(0);
|
||||||
}
|
}
|
||||||
excelInfo.setPrice(storeInfo.getPrice().toString());
|
BigDecimal d = new BigDecimal("0");
|
||||||
BigDecimal money = new BigDecimal(storeInfo.getPrice().toString()).multiply(new BigDecimal(visitCount));
|
if (storeInfo.getPrice() != null){
|
||||||
|
d = storeInfo.getPrice();
|
||||||
|
}
|
||||||
|
excelInfo.setPrice(d.toString());
|
||||||
|
BigDecimal money = d.multiply(new BigDecimal(visitCount));
|
||||||
excelInfo.setMoney(money.toString());
|
excelInfo.setMoney(money.toString());
|
||||||
totamMoney = totamMoney.add(money);
|
totamMoney = totamMoney.add(money);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue