|
|
@ -6,6 +6,7 @@ import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
|
|
|
import com.daqing.financial.crms.dao.CustomerDao; |
|
|
|
import com.daqing.financial.crms.dao.CustomerDao; |
|
|
|
import com.daqing.financial.crms.service.CustomerService; |
|
|
|
import com.daqing.financial.crms.service.CustomerService; |
|
|
|
import com.daqing.framework.domain.crms.CustomerEntity; |
|
|
|
import com.daqing.framework.domain.crms.CustomerEntity; |
|
|
|
|
|
|
|
import com.daqing.framework.domain.crms.request.CustomerRequest; |
|
|
|
import com.daqing.framework.utils.PageUtils; |
|
|
|
import com.daqing.framework.utils.PageUtils; |
|
|
|
import com.daqing.framework.utils.Query; |
|
|
|
import com.daqing.framework.utils.Query; |
|
|
|
import org.springframework.stereotype.Service; |
|
|
|
import org.springframework.stereotype.Service; |
|
|
@ -16,7 +17,7 @@ import java.util.Map; |
|
|
|
@Service("customerService") |
|
|
|
@Service("customerService") |
|
|
|
public class CustomerServiceImpl extends ServiceImpl<CustomerDao, CustomerEntity> implements CustomerService { |
|
|
|
public class CustomerServiceImpl extends ServiceImpl<CustomerDao, CustomerEntity> implements CustomerService { |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
/*@Override |
|
|
|
public PageUtils queryPage(Map<String, Object> params) { |
|
|
|
public PageUtils queryPage(Map<String, Object> params) { |
|
|
|
IPage<CustomerEntity> page = this.page( |
|
|
|
IPage<CustomerEntity> page = this.page( |
|
|
|
new Query<CustomerEntity>().getPage(params), |
|
|
|
new Query<CustomerEntity>().getPage(params), |
|
|
@ -24,6 +25,19 @@ public class CustomerServiceImpl extends ServiceImpl<CustomerDao, CustomerEntity |
|
|
|
); |
|
|
|
); |
|
|
|
|
|
|
|
|
|
|
|
return new PageUtils(page); |
|
|
|
return new PageUtils(page); |
|
|
|
|
|
|
|
}*/ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
|
|
* 查询客户列表(所有)、根据创建时间筛选、根据客户类型筛选、根据客户编号或者名称搜索 |
|
|
|
|
|
|
|
* @param page |
|
|
|
|
|
|
|
* @param size |
|
|
|
|
|
|
|
* @param customerRequest |
|
|
|
|
|
|
|
* @return |
|
|
|
|
|
|
|
*/ |
|
|
|
|
|
|
|
@Override |
|
|
|
|
|
|
|
public PageUtils queryList(Integer page, Integer size, CustomerRequest customerRequest) { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return null; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |