| | |
| | | @RequestMapping(value = "getClass", method = RequestMethod.POST)
|
| | | public void getClass(AcceptData acceptData, PrintWriter out) {
|
| | | try {
|
| | | List<BrandClass> list = brandClassService.listBrandClassEffectiveCache();
|
| | | List<BrandClass> list = brandClassService.listBrandClassEffectiveCache(acceptData.getSystem());
|
| | | if (list == null) {
|
| | | list = new ArrayList<BrandClass>();
|
| | | }
|
| | |
| | | if (page == null || page < 1) {
|
| | | page = 1;
|
| | | }
|
| | | JSONObject data = brandClassShopService.listEffectiveCache(page, cid);
|
| | | JSONObject data = brandClassShopService.listEffectiveCache(page, cid,acceptData.getSystem());
|
| | | out.print(JsonUtil.loadTrueResult(data));
|
| | | } catch (Exception e) {
|
| | | e.printStackTrace();
|
| | |
| | |
|
| | | Gson gson = JsonUtil.getConvertBigDecimalToStringSubZeroBuilder(new GsonBuilder())
|
| | | .excludeFieldsWithoutExposeAnnotation().setDateFormat("yyyy-MM-dd").create();
|
| | | BigDecimal proportion = manageService.getFanLiRate(UserLevelEnum.daRen);
|
| | | BigDecimal proportion = manageService.getFanLiRate(UserLevelEnum.daRen,acceptData.getSystem());
|
| | |
|
| | | for (TaoBaoGoodsBrief taoBaoGoodsBrief : listGoodsBrief) {
|
| | | if (listTaoKeGoods != null && listTaoKeGoods.size() > 0) {
|