Commit 6024ebac authored by lcl's avatar lcl

u

parent 6651c7bf
...@@ -7,7 +7,6 @@ import com.dsk.common.annotation.Log; ...@@ -7,7 +7,6 @@ import com.dsk.common.annotation.Log;
import com.dsk.common.annotation.RepeatSubmit; import com.dsk.common.annotation.RepeatSubmit;
import com.dsk.common.core.controller.BaseController; import com.dsk.common.core.controller.BaseController;
import com.dsk.common.core.domain.AjaxResult; import com.dsk.common.core.domain.AjaxResult;
import com.dsk.common.core.domain.entity.SysRole;
import com.dsk.common.core.page.TableDataInfo; import com.dsk.common.core.page.TableDataInfo;
import com.dsk.common.enums.BusinessType; import com.dsk.common.enums.BusinessType;
import com.dsk.common.utils.poi.ExcelUtil; import com.dsk.common.utils.poi.ExcelUtil;
...@@ -18,13 +17,11 @@ import com.dsk.system.service.ICustomerService; ...@@ -18,13 +17,11 @@ import com.dsk.system.service.ICustomerService;
import com.dsk.web.controller.search.service.BusinessOpportunityRadarService; import com.dsk.web.controller.search.service.BusinessOpportunityRadarService;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.access.prepost.PreAuthorize; import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.util.CollectionUtils;
import org.springframework.util.ObjectUtils; import org.springframework.util.ObjectUtils;
import org.springframework.web.bind.annotation.*; import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile; import org.springframework.web.multipart.MultipartFile;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.HashMap;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
......
...@@ -18,7 +18,7 @@ import java.util.List; ...@@ -18,7 +18,7 @@ import java.util.List;
@Mapper @Mapper
public interface CustomerFollowRecordMapper extends BaseMapper<CustomerFollowRecord> { public interface CustomerFollowRecordMapper extends BaseMapper<CustomerFollowRecord> {
List<CustomerFollowRecord> selectList(@Param("dto") CustomerFollowRecordSearchDto dto); List<CustomerFollowRecord> selectAuthList(@Param("dto") CustomerFollowRecordSearchDto dto);
} }
...@@ -31,7 +31,7 @@ public class CustomerFollowRecordServiceImpl implements ICustomerFollowRecordSer ...@@ -31,7 +31,7 @@ public class CustomerFollowRecordServiceImpl implements ICustomerFollowRecordSer
@Override @Override
// @DataScope(deptAlias = "d",userAlias = "u") // @DataScope(deptAlias = "d",userAlias = "u")
public List<CustomerFollowRecord> selectList(CustomerFollowRecordSearchDto dto) { public List<CustomerFollowRecord> selectList(CustomerFollowRecordSearchDto dto){
LambdaQueryWrapper<CustomerFollowRecord> wrapper = Wrappers.lambdaQuery(); LambdaQueryWrapper<CustomerFollowRecord> wrapper = Wrappers.lambdaQuery();
if (!ObjectUtils.isEmpty(dto.getCustomerId())) { if (!ObjectUtils.isEmpty(dto.getCustomerId())) {
wrapper.eq(CustomerFollowRecord::getCustomerId, dto.getCustomerId()); wrapper.eq(CustomerFollowRecord::getCustomerId, dto.getCustomerId());
...@@ -41,7 +41,7 @@ public class CustomerFollowRecordServiceImpl implements ICustomerFollowRecordSer ...@@ -41,7 +41,7 @@ public class CustomerFollowRecordServiceImpl implements ICustomerFollowRecordSer
return baseMapper.selectList(wrapper); return baseMapper.selectList(wrapper);
// dto.setUserId(SecurityUtils.getUserId()); // dto.setUserId(SecurityUtils.getUserId());
// return baseMapper.selectList(dto); // return baseMapper.selectAuthList(dto);
} }
@Override @Override
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
cfr.content, cfr.create_time cfr.content, cfr.create_time
</sql> </sql>
<select id="selectList" resultType="com.dsk.system.domain.customer.CustomerFollowRecord"> <select id="selectAuthList" resultType="com.dsk.system.domain.customer.CustomerFollowRecord">
select select
<include refid="Base_Bean"></include> <include refid="Base_Bean"></include>
from customer_follow_record cfr from customer_follow_record cfr
......
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 to comment