袁野 7 months ago
parent d5e7638c38
commit ed9ca260f1
  1. 2
      hai-bweb/src/main/java/com/bweb/controller/Etc/EtcCustomerController.java
  2. 2
      hai-bweb/src/main/java/com/bweb/controller/Goods/GoodsDetailController.java
  3. 2
      hai-cweb/src/main/java/com/cweb/controller/CmsContentController.java
  4. 3
      hai-cweb/src/main/java/com/cweb/controller/Goods/GoodsController.java

@ -112,7 +112,7 @@ public class EtcCustomerController {
etcCustMsg.setUserName(userInfoModel.getSecUser().getUserName()); etcCustMsg.setUserName(userInfoModel.getSecUser().getUserName());
etcCustMsg.setCreateTime(new Date()); etcCustMsg.setCreateTime(new Date());
etcCustMsg.setUpdateTime(new Date()); etcCustMsg.setUpdateTime(new Date());
etcCustMsg.setStatus(0); etcCustMsg.setStatus(1);
Map<String, Object> mapUser = new HashMap<>(); Map<String, Object> mapUser = new HashMap<>();

@ -124,7 +124,7 @@ public class GoodsDetailController {
goodsDetail.setOpId(userInfoModel.getSecUser().getId()); goodsDetail.setOpId(userInfoModel.getSecUser().getId());
goodsDetail.setStatus(2); goodsDetail.setStatus(2);
goodsDetail.setCompanyId(userInfoModel.getBsCompany().getId()); goodsDetail.setCompanyId(userInfoModel.getBsCompany().getId());
goodsDetail.setOpName(userInfoModel.getSecUser().getLoginName()); goodsDetail.setOpName(userInfoModel.getSecUser().getUserName());
goodsDetail.setCreateTime(new Date()); goodsDetail.setCreateTime(new Date());
goodsDetail.setGoodsTypeName(goodsType.getTitle()); goodsDetail.setGoodsTypeName(goodsType.getTitle());
goodsDetail.setUpdateTime(new Date()); goodsDetail.setUpdateTime(new Date());

@ -177,7 +177,7 @@ public class CmsContentController {
for (CmsContent content : cmsContent) { for (CmsContent content : cmsContent) {
if (content.getTitle().equals("电影票")) { if (content.getTitle().equals("电影票")) {
content.setJumpUrl(cmsCategoryService.queryCinemaUrl()); content.setJumpUrl(cmsCategoryService.queryCinemaUrl() + "&currentScene=1000");
} }
} }
object.put("childCategory" , cmsContent); object.put("childCategory" , cmsContent);

@ -132,6 +132,7 @@ public class GoodsController {
@ApiOperation(value = "查询商品列表") @ApiOperation(value = "查询商品列表")
public ResponseData getListGoodsDetail( public ResponseData getListGoodsDetail(
@RequestParam(value = "goodsTypeId", required = false) String goodsTypeId, @RequestParam(value = "goodsTypeId", required = false) String goodsTypeId,
@RequestParam(value = "title", required = false) String title,
@RequestParam(value = "companyId", required = false) Long companyId @RequestParam(value = "companyId", required = false) Long companyId
) { ) {
try { try {
@ -139,6 +140,7 @@ public class GoodsController {
Map<String, Object> map = new HashMap<>(); Map<String, Object> map = new HashMap<>();
map.put("companyId", companyId); map.put("companyId", companyId);
map.put("status", 1); map.put("status", 1);
map.put("title", title);
List<GoodsModel> goodsModels = new ArrayList<>(); List<GoodsModel> goodsModels = new ArrayList<>();
List<GoodsDetail> list = new ArrayList<>(); List<GoodsDetail> list = new ArrayList<>();
@ -150,6 +152,7 @@ public class GoodsController {
for (HighGoodsType highGoodsType : goodsTypes) { for (HighGoodsType highGoodsType : goodsTypes) {
map.put("goodsType", highGoodsType.getId()); map.put("goodsType", highGoodsType.getId());
list.addAll(goodsDetailService.getGoodsDetailList(map)); list.addAll(goodsDetailService.getGoodsDetailList(map));
} }

Loading…
Cancel
Save