Commit b7b2f2a8 authored by 赵啸非's avatar 赵啸非

修改大厅查询

parent dd6abf42
...@@ -278,6 +278,10 @@ ...@@ -278,6 +278,10 @@
<artifactId>junit</artifactId> <artifactId>junit</artifactId>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency>
<groupId>com.mortals.framework</groupId>
<artifactId>mortals-framework-annotation</artifactId>
</dependency>
</dependencies> </dependencies>
......
...@@ -81,7 +81,7 @@ public class SiteHallServiceImpl extends AbstractCRUDServiceImpl<SiteHallDao, Si ...@@ -81,7 +81,7 @@ public class SiteHallServiceImpl extends AbstractCRUDServiceImpl<SiteHallDao, Si
return Rest.fail("站点业务list不能为空!"); return Rest.fail("站点业务list不能为空!");
} }
SiteBusinessQuery siteBusinessQuery = new SiteBusinessQuery(); SiteBusinessQuery siteBusinessQuery = new SiteBusinessQuery();
siteBusinessQuery.setIdList(siteBusinessIdList); siteBusinessQuery.setBusinessIdList(siteBusinessIdList);
List<Long> businessIdList = siteBusinessService.find(siteBusinessQuery).parallelStream().map(i -> i.getBusinessId()).distinct().collect(Collectors.toList()); List<Long> businessIdList = siteBusinessService.find(siteBusinessQuery).parallelStream().map(i -> i.getBusinessId()).distinct().collect(Collectors.toList());
if (ObjectUtils.isEmpty(businessIdList)) { if (ObjectUtils.isEmpty(businessIdList)) {
return Rest.fail("业务list不能为空!"); return Rest.fail("业务list不能为空!");
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
}, },
"base-test1": { "base-test1": {
"baseUrl": "http://8.136.255.30:21026/base" "baseUrl": "http://8.136.255.30:11071/base"
}, },
"base-yibin-web": { "base-yibin-web": {
......
...@@ -29,7 +29,7 @@ POST {{baseUrl}}/site/hall/getBusinessByHall ...@@ -29,7 +29,7 @@ POST {{baseUrl}}/site/hall/getBusinessByHall
Content-Type: application/json Content-Type: application/json
{ {
"id":1 "id":13
} }
......
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