|
|
@@ -18,6 +18,7 @@ import javax.servlet.http.HttpServletRequest;
|
|
|
import javax.servlet.http.HttpServletResponse;
|
|
|
|
|
|
import com.goafanti.common.utils.*;
|
|
|
+import com.goafanti.core.mybatis.page.Pagination;
|
|
|
import com.goafanti.customer.bo.*;
|
|
|
import org.apache.poi.xssf.usermodel.XSSFWorkbook;
|
|
|
import org.springframework.beans.factory.annotation.Value;
|
|
|
@@ -229,6 +230,10 @@ public class AdminCustomerApiController extends BaseApiController{
|
|
|
@RequestMapping(value = "/listAllOrganizationCustomer" , method = RequestMethod.POST)
|
|
|
public Result listAllOrganizationCustomer(CustomerListIn cli,Integer pageNo, Integer pageSize){
|
|
|
Result res = new Result();
|
|
|
+ if (StringUtils.isBlank(cli.getName())){
|
|
|
+ res.setData( new Pagination<>());
|
|
|
+ return res;
|
|
|
+ }
|
|
|
res.setData(customerService.listAllOrganizationCustomer(cli, pageNo, pageSize));
|
|
|
return res;
|
|
|
}
|