Commit f50ebe47 by guojuxing

查询商户的own自定义字段

parent cffb72c0
......@@ -406,4 +406,15 @@ public class StoreFieldApiServiceImpl implements StoreFieldApiService {
storeFieldRelService.saveFetch(storeFieldRelList);
return ServiceResponse.success();
}
@Override
public ServiceResponse<List<StoreFieldDTO>> listOwnStoreField(Integer enterpriseId) {
//查询有效的域ID list
List<Integer> regionIdList = storeRegionService.listStoreRegion(enterpriseId);
//根据域查询字段ID list
List<Integer> storeFieldIdList = storeFieldRegionRelService.listStoreFieldId(regionIdList);
//查询商户下所有的owner 自定义字段值
List<StoreFieldDTO> storeFieldList = storeFieldService.listOwnStoreField(enterpriseId, storeFieldIdList);
return ServiceResponse.success(storeFieldList);
}
}
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