| | |
| | | * |
| | | * @return |
| | | */ |
| | | @PostMapping("/StockCount") |
| | | public R StockCount() { |
| | | List<Map<String, Object>> maps = stockService.StockCount(); |
| | | @GetMapping("/StockCount") |
| | | public R StockCount(String detpId) { |
| | | List<Map<String, Object>> maps = stockService.StockCount(detpId); |
| | | //化肥0 |
| | | double hf = 0; |
| | | //有机肥1 |
| | |
| | | cknu += cknum; |
| | | } |
| | | Map map= new HashMap(); |
| | | DecimalFormat df = new DecimalFormat("#0.00"); |
| | | DecimalFormat df = new DecimalFormat("#0.000"); |
| | | String format = df.format(rknu); |
| | | Double a = Double.parseDouble(format); |
| | | String format1 = df.format(cknu); |