市局数据资源按照上线部门出数据资源列表

This commit is contained in:
wangliwen 2022-12-02 14:18:54 +08:00
parent f8088fb2f9
commit f39a9e473e
2 changed files with 9 additions and 5 deletions

View File

@ -5,6 +5,7 @@ import com.alibaba.fastjson.JSONObject;
import io.renren.common.utils.SpringContextUtils; import io.renren.common.utils.SpringContextUtils;
import io.renren.modules.resource.dataResource.AbstractDataResourceService; import io.renren.modules.resource.dataResource.AbstractDataResourceService;
import io.renren.modules.resource.dto.GetDataResourceListDto; import io.renren.modules.resource.dto.GetDataResourceListDto;
import org.apache.commons.lang3.StringUtils;
import org.slf4j.Logger; import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
import org.springframework.http.HttpEntity; import org.springframework.http.HttpEntity;
@ -38,6 +39,7 @@ public class TsingtaoDataResourceService extends AbstractDataResourceService {
String pxcol = dto.getOrderField(); String pxcol = dto.getOrderField();
String order = dto.getOrderType(); String order = dto.getOrderType();
String zyname = dto.getServiceName(); String zyname = dto.getServiceName();
String bmname = dto.getDeptId();
if (page == null) page = 1; if (page == null) page = 1;
if (size == null) size = 10; if (size == null) size = 10;
@ -50,10 +52,10 @@ public class TsingtaoDataResourceService extends AbstractDataResourceService {
" <soap:Body><ZWCJ_mainPort xmlns=\"http://tempuri.org/\">\n" + " <soap:Body><ZWCJ_mainPort xmlns=\"http://tempuri.org/\">\n" +
String.format("<pagenum>%d</pagenum>\n <pagesize>%d</pagesize>\n", page, size) + String.format("<pagenum>%d</pagenum>\n <pagesize>%d</pagesize>\n", page, size) +
String.format("<pxcol>%s</pxcol>\n <order>%s</order>\n", pxcol, order); String.format("<pxcol>%s</pxcol>\n <order>%s</order>\n", pxcol, order);
// if (bmname != null){ if (StringUtils.isNotEmpty(bmname)) {
// parame = parame + String.format("<bmname>%s</bmname>",bmname); parame = parame + String.format("<bmname>%s</bmname>", bmname);
// } }
if (zyname != null) { if (StringUtils.isNotEmpty(zyname)) {
parame = parame + String.format("<zyname>%s</zyname>", zyname); parame = parame + String.format("<zyname>%s</zyname>", zyname);
} }
parame = parame + "</ZWCJ_mainPort></soap:Body></soap:Envelope>"; parame = parame + "</ZWCJ_mainPort></soap:Body></soap:Envelope>";
@ -86,7 +88,7 @@ public class TsingtaoDataResourceService extends AbstractDataResourceService {
} }
/** /**
* 获取各部门上架数据资源的数目情况 * 获取各部门上架数据资源的数目情况数据资源左侧树
* *
* @return * @return
*/ */

View File

@ -20,4 +20,6 @@ public class GetDataResourceListDto {
private Integer pageNum; private Integer pageNum;
//分页大小 //分页大小
private Integer pageSize; private Integer pageSize;
// 数据资源发布部门id
private String deptId;
} }