From a7000af6a1b3a6eb25ee0d31ca00595de79a7ec4 Mon Sep 17 00:00:00 2001 From: Burce Date: Tue, 29 Oct 2019 15:16:27 +0800 Subject: [PATCH] =?UTF-8?q?[=E6=8B=9B=E5=95=86][=E4=BB=BB=E5=8A=A1]?= =?UTF-8?q?=E4=B8=9A=E6=80=81=E7=AD=9B=E9=80=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../iformall/service/invest/impl/InvestBizServiceImpl.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mallinkService/src/main/java/com/iformall/service/invest/impl/InvestBizServiceImpl.java b/mallinkService/src/main/java/com/iformall/service/invest/impl/InvestBizServiceImpl.java index a0c33044e..fb36dc3bc 100644 --- a/mallinkService/src/main/java/com/iformall/service/invest/impl/InvestBizServiceImpl.java +++ b/mallinkService/src/main/java/com/iformall/service/invest/impl/InvestBizServiceImpl.java @@ -516,6 +516,8 @@ public class InvestBizServiceImpl implements InvestBizService { LambdaQueryWrapper taskQueryWrapper = new LambdaQueryWrapper<>(); InvestPageResult investPage = new InvestPageResult<>(); taskQueryWrapper.apply(StringUtils.isNotBlank(taskParams.getOwner()), "`owner` REGEXP {0}", taskParams.getOwner()); + taskQueryWrapper.apply(Objects.nonNull(params.getBusinessId()), "`content` REGEXP {0}", + String.format("\"businessId\": %d", params.getBusinessId())); taskParams.setOwner(null); taskQueryWrapper.setEntity(taskParams); @@ -590,7 +592,7 @@ public class InvestBizServiceImpl implements InvestBizService { shop = new WxShop(); shop.setShopNumber(params.getShopNumber()); shop.setStatus(params.getShopStatus()); - shop.setBusinessId(params.getBusinessId()); + //shop.setBusinessId(params.getBusinessId()); } InvestTaskDto taskDto = new InvestTaskDto();