Explorar el Código

首页搜索历史记录

LiRong hace 3 meses
padre
commit
e0e9023f73

+ 0 - 12
leromro-core/src/main/java/com/leromro/core/service/impl/VolunteerInfoServiceImpl.java

@@ -258,18 +258,6 @@ public class VolunteerInfoServiceImpl extends ServiceImpl<VolunteerInfoMapper, V
         return volunteerInfoMapper.selectVolunteerPictureList(userId);
     }
 
-    /**
-     * @param volunteerInfo
-     * @return
-     */
-    @Override
-    public R updateVolunteerById(VolunteerInfo volunteerInfo) {
-        List<MainOrders> list = mainOrderServiceImpl.list(new LambdaQueryWrapper<MainOrders>().eq(MainOrders::getVolunteerInfoId, volunteerInfo.getVolunteerInfoId()));
-        if (!list.isEmpty()){
-            return R.fail("该志愿者不可修改,志愿者已有订单");
-        }
-        return null;
-    }
 
     /**
      * 用户成为志愿者积分处理