|
|
@@ -32,7 +32,7 @@ public class CustomerServiceImpl extends BaseMybatisDao<CustomerMapper> implemen
|
|
|
|
|
|
@SuppressWarnings("unchecked")
|
|
|
@Override
|
|
|
- public Pagination<Customer> findCustomerByPage(String companyName ,String customerTyp ,String province ,String customerName ,String telNum ,
|
|
|
+ public Pagination<Customer> findCustomerByPage(String companyName ,Integer customerTyp ,String province ,String customerName ,String telNum ,
|
|
|
String customerStatue ,String CompanyIntention ,String fllowSituation ,Integer pageNo, Integer pageSize) {
|
|
|
return (Pagination<Customer>) findPage("findSearchCustomerListByPage", "findSearchCustomerCount",
|
|
|
buildListParams(companyName, customerTyp, province, customerName, telNum, customerStatue, CompanyIntention,
|
|
|
@@ -41,7 +41,7 @@ public class CustomerServiceImpl extends BaseMybatisDao<CustomerMapper> implemen
|
|
|
}
|
|
|
|
|
|
|
|
|
- private Map<String, Object> buildListParams(String companyName, String customerTyp,String province,String customerName,String telNum,
|
|
|
+ private Map<String, Object> buildListParams(String companyName, Integer customerTyp,String province,String customerName,String telNum,
|
|
|
String customerStatue,String CompanyIntention,String fllowSituation,String aid) {
|
|
|
Map<String, Object> params = new HashMap<>();
|
|
|
|
|
|
@@ -78,7 +78,7 @@ public class CustomerServiceImpl extends BaseMybatisDao<CustomerMapper> implemen
|
|
|
public int updCustomer(String id,String aid,String createTime, String companyName, String companyIndustry, String companyIntention,
|
|
|
String adress, String customerName, String mobile, String email, String qq, String wechat,
|
|
|
String customerPosition, String remark, String province, String fllowSituation, int sex,
|
|
|
- String customerStatue, String department, String customerTyp, String telNum) {
|
|
|
+ String customerStatue, String department, Integer customerTyp, String telNum) {
|
|
|
|
|
|
int res = customerMapper.updateByPrimaryKey(id,aid,createTime, companyName, companyIndustry, companyIntention, adress, customerName, mobile,
|
|
|
email, qq, wechat, customerPosition,remark, province, fllowSituation, sex,customerStatue, department, customerTyp, telNum);
|