|
|
|
@@ -9,6 +9,8 @@ import com.iformall.domain.po.WxSubBusiness; |
|
|
|
import com.iformall.service.WxBusinessService; |
|
|
|
import com.iformall.service.WxSubBusinessService; |
|
|
|
import io.swagger.annotations.Api; |
|
|
|
import io.swagger.annotations.ApiImplicitParam; |
|
|
|
import io.swagger.annotations.ApiImplicitParams; |
|
|
|
import io.swagger.annotations.ApiOperation; |
|
|
|
import org.slf4j.Logger; |
|
|
|
import org.slf4j.LoggerFactory; |
|
|
|
@@ -88,19 +90,22 @@ public class WxBusinessController extends BaseController { |
|
|
|
@ApiOperation("贡献率排行") |
|
|
|
@GetMapping("devoteList") |
|
|
|
@SystemControllerLog(description = "业态分析接口") |
|
|
|
@ApiImplicitParams({ |
|
|
|
@ApiImplicitParam(name = "pageNum", value = "页数", dataType = "int", paramType = "query", required = true), |
|
|
|
@ApiImplicitParam(name = "pageSize", value = "每页条数", dataType = "int", paramType = "query", required = true)}) |
|
|
|
public ResultData devoteList(@ModelAttribute WxBusiness wxBusiness,Integer pageNum, Integer pageSize) { |
|
|
|
logger.debug("[" + getIpAddr() + "] WxBusinessController::devoteList"); |
|
|
|
List<Map<String,String>> result = new ArrayList<>(); |
|
|
|
Map<String,String> map = new HashMap<>(); |
|
|
|
map.put("merchantName","西贝筱面"); |
|
|
|
map.put("sale","2323.23");//营业额 |
|
|
|
map.put("sale","32323.23");//商户销售坪效 |
|
|
|
map.put("saleRate","32323.23");//商户销售坪效 |
|
|
|
map.put("devoteRate","1.23");//贡献率 |
|
|
|
result.add(map); |
|
|
|
map = new HashMap<>(); |
|
|
|
map.put("merchantName","肯德基"); |
|
|
|
map.put("sale","2323.23");//营业额 |
|
|
|
map.put("sale","32323.23");//商户销售坪效 |
|
|
|
map.put("saleRate","32323.23");//商户销售坪效 |
|
|
|
map.put("devoteRate","1.23");//贡献率 |
|
|
|
result.add(map); |
|
|
|
PageInfo<Map<String,String>> page = new PageInfo<>(); |
|
|
|
|