erp分页查询优化
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
package com.zt.plat.module.erp.api;
|
||||
|
||||
import com.zt.plat.module.erp.api.dto.ErpQueryReqDTO;
|
||||
import com.zt.plat.module.erp.api.dto.ErpSubmitReqDTO;
|
||||
import com.zt.plat.module.erp.utils.ErpConfig;
|
||||
import jakarta.annotation.Resource;
|
||||
@@ -28,7 +29,9 @@ public class ErpExternalApiImpl implements ErpExternalApi {
|
||||
}
|
||||
|
||||
@Override
|
||||
public HashMap<String, Object> queryDataToErp(String funcnr, Map<String, Object> req) {
|
||||
public HashMap<String, Object> queryDataToErp(ErpQueryReqDTO reqDTO) {
|
||||
String funcnr = reqDTO.getFuncnr();
|
||||
Map<String, Object> req = new HashMap<>();
|
||||
return erpConfig.fetchDataFromERP(funcnr, req);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user