Commit 82f34c0a by huangjy

fix:修复bug

parent d976788e
...@@ -13,5 +13,5 @@ import com.makeit.entity.saas.analysis.SaasModelManage; ...@@ -13,5 +13,5 @@ import com.makeit.entity.saas.analysis.SaasModelManage;
*/ */
public interface SaasModelManageService extends IService<SaasModelManage> { public interface SaasModelManageService extends IService<SaasModelManage> {
void updateEntity(String id, String sleep); void updateEntity(String id, String type);
} }
...@@ -51,6 +51,6 @@ public class SaasDiseaseModelServiceImpl extends ServiceImpl<SaasDiseaseModelMap ...@@ -51,6 +51,6 @@ public class SaasDiseaseModelServiceImpl extends ServiceImpl<SaasDiseaseModelMap
BeanUtils.copyProperties(dto,entity); BeanUtils.copyProperties(dto,entity);
saveOrUpdate(entity); saveOrUpdate(entity);
saasModelManageService.updateEntity(dto.getId(),"sleep"); saasModelManageService.updateEntity(dto.getId(),"disease");
} }
} }
...@@ -52,7 +52,7 @@ public class SaasSleepAnalysisModelServiceImpl extends ServiceImpl<SaasSleepAnal ...@@ -52,7 +52,7 @@ public class SaasSleepAnalysisModelServiceImpl extends ServiceImpl<SaasSleepAnal
BeanUtils.copyProperties(dto,entity); BeanUtils.copyProperties(dto,entity);
saveOrUpdate(entity); saveOrUpdate(entity);
saasModelManageService.updateEntity(dto.getId(),"disease"); saasModelManageService.updateEntity(dto.getId(),"sleep");
} }
} }
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 sign in to comment