master
river 4 years ago
parent b3512f716a
commit 361bd8c306
  1. 18
      .gitignore
  2. 3
      README.md
  3. 5
      dq-financial-crms/src/main/java/com/daqing/financial/crms/service/CustomerService.java
  4. 16
      dq-financial-crms/src/main/java/com/daqing/financial/crms/service/impl/CustomerServiceImpl.java

18
.gitignore vendored

@ -1,18 +0,0 @@
target/
pom.xml.tag
pom.xml.releaseBackup
pom.xml.versionsBackup
pom.xml.next
release.properties
dependency-reduced-pom.xml
buildMumber.properties
.mvn/timing.properties
.mvn/wrapper/maven-wrapper.jar
**/mvnw
**/mvnw.cmd
**/.mvn
**/target/
.idea
**/.gitignore

@ -1,3 +0,0 @@
# dqFinancial
大庆智慧金融平台项目后端代码

@ -1,6 +1,7 @@
package com.daqing.financial.crms.service; package com.daqing.financial.crms.service;
import com.baomidou.mybatisplus.extension.service.IService; import com.baomidou.mybatisplus.extension.service.IService;
import com.daqing.framework.domain.crms.request.CustomerRequest;
import com.daqing.framework.utils.PageUtils; import com.daqing.framework.utils.PageUtils;
import com.daqing.framework.domain.crms.CustomerEntity; import com.daqing.framework.domain.crms.CustomerEntity;
@ -15,6 +16,8 @@ import java.util.Map;
*/ */
public interface CustomerService extends IService<CustomerEntity> { public interface CustomerService extends IService<CustomerEntity> {
PageUtils queryPage(Map<String, Object> params); /*PageUtils queryPage(Map<String, Object> params);*/
PageUtils queryList(Integer page, Integer size, CustomerRequest customerRequest);
} }

@ -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;
} }
} }
Loading…
Cancel
Save