|
@@ -3,6 +3,8 @@ package com.ruoyi.business.service.impl;
|
|
import com.ruoyi.business.domain.ZwywLrSlhgz;
|
|
import com.ruoyi.business.domain.ZwywLrSlhgz;
|
|
import com.ruoyi.business.mapper.ZwywLrSlhgzMapper;
|
|
import com.ruoyi.business.mapper.ZwywLrSlhgzMapper;
|
|
import com.ruoyi.business.service.IZwywLrSlhgzService;
|
|
import com.ruoyi.business.service.IZwywLrSlhgzService;
|
|
|
|
+import com.ruoyi.common.core.exception.ServiceException;
|
|
|
|
+import com.ruoyi.common.core.utils.StringUtils;
|
|
import com.ruoyi.common.security.utils.SecurityUtils;
|
|
import com.ruoyi.common.security.utils.SecurityUtils;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.stereotype.Service;
|
|
import org.springframework.stereotype.Service;
|
|
@@ -55,6 +57,9 @@ public class ZwywLrSlhgzServiceImpl implements IZwywLrSlhgzService
|
|
@Override
|
|
@Override
|
|
public List<ZwywLrSlhgz> selectPortalZwywLrSlhgzList(ZwywLrSlhgz zwywLrSlhgz)
|
|
public List<ZwywLrSlhgz> selectPortalZwywLrSlhgzList(ZwywLrSlhgz zwywLrSlhgz)
|
|
{
|
|
{
|
|
|
|
+ if (StringUtils.isEmpty(zwywLrSlhgz.getXm()) || StringUtils.isEmpty(zwywLrSlhgz.getLxdh())) {
|
|
|
|
+ throw new ServiceException("请输入姓名和联系电话");
|
|
|
|
+ }
|
|
return zwywLrSlhgzMapper.selectPortalZwywLrSlhgzList(zwywLrSlhgz);
|
|
return zwywLrSlhgzMapper.selectPortalZwywLrSlhgzList(zwywLrSlhgz);
|
|
}
|
|
}
|
|
|
|
|