class OrderController {

	@PostMapping("/querytotalprofit")
	public ResBodyData queryTotalProfit(String[] codes,Integer billStartDate,Integer billEndDate) {
		
		List<ShareProfitVO> shareProfitVOs=new ArrayList<>();
		if(codes!=null && codes.length>0){
			shareProfitVOs = orderService.queryTotalProfit(Arrays.asList(codes), billStartDate, billEndDate);
		}
		return SettlementUtil.success(shareProfitVOs);
	}

}