|
|
|
|
@ -4,6 +4,7 @@ import com.alibaba.fastjson.JSONArray;
|
|
|
|
|
import com.alibaba.fastjson.JSONObject;
|
|
|
|
|
import com.ruoyi.system.domain.*;
|
|
|
|
|
import com.ruoyi.system.service.IBroadDataService;
|
|
|
|
|
import io.swagger.annotations.Api;
|
|
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
|
import org.springframework.stereotype.Controller;
|
|
|
|
|
@ -44,6 +45,11 @@ public class BoxBroadController {
|
|
|
|
|
|
|
|
|
|
return JSONObject.toJSONString(new EchartsDTO(xAxisInfo, seriesInfo));
|
|
|
|
|
}
|
|
|
|
|
@PostMapping("/selectStockOccupancy")
|
|
|
|
|
@ApiOperation("库存占有率")
|
|
|
|
|
public String selectStockOccupancy(){
|
|
|
|
|
return JSONArray.toJSONString(service.xk_selectStockOccupancy());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@PostMapping("/selectOutputByType")
|
|
|
|
|
|