Commit 36dca836 authored by Quxl's avatar Quxl

x

parent 2370cba9
select
t.*
from
V_SolrGoods t
where
t.nTag&3 = 2
\ No newline at end of file
select
t.*
from
V_SolrGoods t
where
t.nTag&1 = 1
and t.dLastUpdateTime > ?
\ No newline at end of file
select
t.*
from
V_SolrGoods t
where
t.nTag&3 = 2
and t.dLastUpdateTime > ?
\ No newline at end of file
...@@ -73,8 +73,8 @@ public class BrandController { ...@@ -73,8 +73,8 @@ public class BrandController {
@ApiOperation("品牌列表接口按首字母") @ApiOperation("品牌列表接口按首字母")
@ApiImplicitParams({ @ApiImplicitParams({
@ApiImplicitParam(paramType = "query", name = "OrgNO", dataType = "String", required = true, value = "区域编号", defaultValue = ""), @ApiImplicitParam(paramType = "query", name = "orgNo", dataType = "String", required = true, value = "区域编号", defaultValue = ""),
@ApiImplicitParam(paramType = "query", name = "ShopNO", dataType = "String", required = false, value = "店铺编号", defaultValue = ""), @ApiImplicitParam(paramType = "query", name = "shopNo", dataType = "String", required = false, value = "店铺编号", defaultValue = ""),
@ApiImplicitParam(paramType = "query", name = "terminal", dataType = "String", required = true, value = "终端标识", defaultValue = "wechat"), @ApiImplicitParam(paramType = "query", name = "terminal", dataType = "String", required = true, value = "终端标识", defaultValue = "wechat"),
@ApiImplicitParam(paramType = "query", name = "langID", dataType = "String", required = true, value = "语言", defaultValue = "936"), @ApiImplicitParam(paramType = "query", name = "langID", dataType = "String", required = true, value = "语言", defaultValue = "936"),
...@@ -85,8 +85,8 @@ public class BrandController { ...@@ -85,8 +85,8 @@ public class BrandController {
public String getBrandList(HttpServletRequest request, HttpServletResponse response) { public String getBrandList(HttpServletRequest request, HttpServletResponse response) {
List<Map<String,Object>> listMap; List<Map<String,Object>> listMap;
Map<String,Object> params=new HashMap<>(); Map<String,Object> params=new HashMap<>();
params.put("OrgNO", request.getParameter("OrgNO")); params.put("OrgNO", request.getParameter("orgNo"));
params.put("ShopNO", request.getParameter("ShopNO")); params.put("ShopNO", request.getParameter("shopNo"));
listMap=brandService.getBrandList(params); listMap=brandService.getBrandList(params);
String reg = "[A-Z]"; String reg = "[A-Z]";
//用map把相同首字母放到同一个list中 //用map把相同首字母放到同一个list中
......
...@@ -49,7 +49,7 @@ public class CategoryController { ...@@ -49,7 +49,7 @@ public class CategoryController {
@ApiOperation("分类列表") @ApiOperation("分类列表")
@ApiImplicitParams({ @ApiImplicitParams({
@ApiImplicitParam(paramType = "query", name = "level", dataType = "int", required = true, value = "级别", defaultValue = "3"), @ApiImplicitParam(paramType = "query", name = "level", dataType = "int", required = true, value = "级别", defaultValue = "3"),
@ApiImplicitParam(paramType = "query", name = "orgNO", dataType = "String", required = true, value = "组织机构", defaultValue = ""), @ApiImplicitParam(paramType = "query", name = "orgNo", dataType = "String", required = true, value = "组织机构", defaultValue = ""),
@ApiImplicitParam(paramType = "query", name = "scopeTypeID", dataType = "String", required = true, value = "店铺类型", defaultValue = ""), @ApiImplicitParam(paramType = "query", name = "scopeTypeID", dataType = "String", required = true, value = "店铺类型", defaultValue = ""),
@ApiImplicitParam(paramType = "query", name = "terminal", dataType = "String", required = false, value = "终端标识", defaultValue = "wechat"), @ApiImplicitParam(paramType = "query", name = "terminal", dataType = "String", required = false, value = "终端标识", defaultValue = "wechat"),
@ApiImplicitParam(paramType = "query", name = "langID", dataType = "String", required = false, value = "语言", defaultValue = "936"), @ApiImplicitParam(paramType = "query", name = "langID", dataType = "String", required = false, value = "语言", defaultValue = "936"),
...@@ -57,8 +57,8 @@ public class CategoryController { ...@@ -57,8 +57,8 @@ public class CategoryController {
@ApiImplicitParam(paramType = "query", name = "timestamp", dataType = "String", required = true, value = "时间戳", defaultValue = "") @ApiImplicitParam(paramType = "query", name = "timestamp", dataType = "String", required = true, value = "时间戳", defaultValue = "")
}) })
@RequestMapping(value = "/queryCategoryByLevel",method=RequestMethod.GET) @RequestMapping(value = "/queryCategoryByLevel",method=RequestMethod.GET)
public String queryCategoryByLevel(String orgNO, String scopeTypeID, Integer level, HttpServletRequest request, HttpServletResponse response) { public String queryCategoryByLevel(String orgNo, String scopeTypeID, Integer level, HttpServletRequest request, HttpServletResponse response) {
List<Map<String, Object>> list = categoryService.queryCategoryByLevel(orgNO, scopeTypeID, level); List<Map<String, Object>> list = categoryService.queryCategoryByLevel(orgNo, scopeTypeID, level);
return Rjx.jsonOk().set("list", list).toJson(); return Rjx.jsonOk().set("list", list).toJson();
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment