|
@@ -57,7 +57,7 @@ public class AppSiteServiceImpl extends ServiceImpl<AppSiteMapper, AppSite> impl
|
|
|
throw new JeecgBootException("商户部门id不能为空", SC_INTERNAL_SERVER_ERROR_500);
|
|
|
|
|
|
site.setOrgCode(departById.getOrgCode());
|
|
|
- site.setTenantId(departById.getTenantId()+"");
|
|
|
+ site.setTenantId(departById.getId());
|
|
|
int saveSiteResult = baseMapper.insert(site);
|
|
|
// 如果插入失败,抛出自定义异常提示“场地信息保存失败”
|
|
|
if (saveSiteResult < 1) {
|