|
@@ -15,16 +15,34 @@ import java.util.List;
|
|
|
public class CustomerRecServiceImpl extends ServiceImpl<CustomerRecMapper,CustomerRec> implements CustomerRecService{
|
|
|
@Autowired
|
|
|
CustomerRecMapper customerRecMapper;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 查找所有备案信息
|
|
|
+ * @param page
|
|
|
+ * @param customerRec
|
|
|
+ * @return
|
|
|
+ */
|
|
|
@Override
|
|
|
public IPage findAllCustomerRec(Page page, CustomerRec customerRec) {
|
|
|
return customerRecMapper.selectAllByPage(page,customerRec);
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 客户信息导出
|
|
|
+ * @param customerRec
|
|
|
+ * @return
|
|
|
+ */
|
|
|
@Override
|
|
|
public List<CustomerRec> findAllCustomerRecForExport(CustomerRec customerRec) {
|
|
|
return customerRecMapper.selectAllByPageExport(customerRec);
|
|
|
}
|
|
|
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 未在平台备案成功客户查询
|
|
|
+ * @param record
|
|
|
+ * @return
|
|
|
+ */
|
|
|
@Override
|
|
|
public synchronized CustomerRec selectByCustomerNameAndCompanyReference(CustomerRec record) {
|
|
|
CustomerRec customerRec = customerRecMapper.selectByCustomerNameAndCompanyReference(record);
|
|
@@ -46,6 +64,11 @@ public class CustomerRecServiceImpl extends ServiceImpl<CustomerRecMapper,Custom
|
|
|
return customerRec;
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 根据企业编码查询客户信息
|
|
|
+ * @param record
|
|
|
+ * @return
|
|
|
+ */
|
|
|
@Override
|
|
|
public synchronized CustomerRec selectByCustomerNameAndCompanyNum(CustomerRec record) {
|
|
|
CustomerRec customerRec = customerRecMapper.selectByCustomerNameAndCompanyNum(record);
|
|
@@ -67,6 +90,11 @@ public class CustomerRecServiceImpl extends ServiceImpl<CustomerRecMapper,Custom
|
|
|
return customerRec;
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 根据企业名称查询客户信息
|
|
|
+ * @param record
|
|
|
+ * @return
|
|
|
+ */
|
|
|
@Override
|
|
|
public CustomerRec selectByCustomerNameAndCompanyConcat(CustomerRec record) {
|
|
|
return customerRecMapper.selectByCustomerNameAndCompanyConcat(record);
|