feat: There is no way the, bug #52771 去掉重复效验验证

This commit is contained in:
super_liu
2022-05-19 09:38:39 +08:00
parent 4dd4d296d0
commit 6d64ae63aa
@@ -66,13 +66,8 @@ public class EsRevisePlanServiceImpl extends ServiceImpl<EsRevisePlanDao, EsRevi
@Override
public String modPlan(EsRevisePlan esRevisePlan) {
List<EsRevisePlan> esRevisePlans=esRevisePlanDao.selectPageByName(esRevisePlan);
if (esRevisePlans.size()>0){
return "企标名称不能重复,请更换新的企标名称。";
}else {
esRevisePlanDao.updateOne(esRevisePlan);
return "操作成功";
}
esRevisePlanDao.updateOne(esRevisePlan);
return "操作成功";
}
@Override