|
@@ -141,7 +141,7 @@ public class BaseAgencyController extends BaseController {
|
|
|
if (!ObjectUtils.isEmpty(vo.getStatus())) {
|
|
|
lw.eq(BaseAgency::getStatus, vo.getStatus());
|
|
|
}
|
|
|
- List<Integer> companyType = vo.getCompanyTypes();
|
|
|
+ List<Integer> companyType = vo.getCompanyType();
|
|
|
StringBuilder builder = new StringBuilder();
|
|
|
if (!ObjectUtils.isEmpty(companyType)) {
|
|
|
builder.append(" (");
|
|
@@ -153,8 +153,8 @@ public class BaseAgencyController extends BaseController {
|
|
|
builder.append("company_type like '%").append(type).append("%' )");
|
|
|
}
|
|
|
}
|
|
|
+ lw.apply(builder.toString());
|
|
|
}
|
|
|
- lw.apply(builder.toString());
|
|
|
lw.orderBy(true, false, BaseAgency::getCreateTime);
|
|
|
IPage<BaseAgency> page = baseAgencyService.page(new Page<BaseAgency>(vo.getPageNum(), vo.getPageSize()), lw);
|
|
|
if (!ObjectUtils.isEmpty(page) && !ObjectUtils.isEmpty(page.getRecords())) {
|