|
@ -305,7 +305,21 @@ public class CrmCustomerService extends MybatisBaseService<CrmCustomerMapper, Cr |
|
|
} |
|
|
} |
|
|
return subList; |
|
|
return subList; |
|
|
} |
|
|
} |
|
|
|
|
|
public void disableState(String[] sid) { |
|
|
|
|
|
for (String s : sid) { |
|
|
|
|
|
CrmCustomer customerTemp = fetchBySid(s); |
|
|
|
|
|
customerTemp.setIsEnable(0); |
|
|
|
|
|
baseMapper.updateById(customerTemp); |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public void enable(String[] sid) { |
|
|
|
|
|
for (String s : sid) { |
|
|
|
|
|
CrmCustomer customerTemp = fetchBySid(s); |
|
|
|
|
|
customerTemp.setIsEnable(1); |
|
|
|
|
|
baseMapper.updateById(customerTemp); |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
public PagerVo<AsCustomerListVo> asListPage(PagerQuery<AsCustomerListQuery> pq) { |
|
|
public PagerVo<AsCustomerListVo> asListPage(PagerQuery<AsCustomerListQuery> pq) { |
|
|
AsCustomerListQuery query = pq.getParams(); |
|
|
AsCustomerListQuery query = pq.getParams(); |
|
|
QueryWrapper<CrmCustomer> qw = new QueryWrapper<>(); |
|
|
QueryWrapper<CrmCustomer> qw = new QueryWrapper<>(); |
|
|