ICompanyCreditService.java
1.54 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
package com.trash.business.service;
import com.trash.business.domain.CompanyCredit;
import com.trash.business.domain.ConstructionCredit;
import java.util.List;
public interface ICompanyCreditService {
/**
* 查询企业失信
*
* @param id 企业失信ID
* @return 企业失信
*/
public CompanyCredit selectCompanyCreditById(Long id);
/**
* 查询企业失信列表
*
* @param companyCredit 企业失信
* @return 企业失信集合
*/
public List<CompanyCredit> selectCompanyCreditList(CompanyCredit companyCredit);
/**
* 新增企业失信
*
* @param companyCredit 企业失信
* @return 结果
* @throws Exception
*/
public int insertCompanyCredit(CompanyCredit companyCredit);
/**
* 修改企业失信
*
* @param companyCredit 企业失信
* @return 结果
*/
public int updateCompanyCredit(CompanyCredit companyCredit);
/**
* 删除企业失信
*
* @param id 企业失信ID
* @return 结果
*/
public int deleteCompanyCreditById(Long id);
/**
* 批量删除企业失信
*
* @param ids 需要删除的数据ID
* @return 结果
*/
public int deleteCompanyCreditByIds(Long[] ids);
public List<String> getNames(CompanyCredit companyCredit);
public List<CompanyCredit> selectCompanyCreditHistory(CompanyCredit companyCredit);
public List<String> getPlaces(CompanyCredit credit);
public void updateRemoteCompanyAndTruck(CompanyCredit companyCredit);
}