修改调用erp方法参数错误问题
This commit is contained in:
@@ -76,11 +76,8 @@ public class ErpBillMainServiceImpl implements ErpBillMainService {
|
||||
|
||||
// 抽取重复代码:提交 ERP 并记录日志
|
||||
private String submitToErp(ErpSubmitReqDTO reqDTO) {
|
||||
ResponseEntity<String> response = erpExternalApi.submitDataToErp(reqDTO);
|
||||
if (response.getStatusCode() == HttpStatus.OK) {
|
||||
log.info("ERP数据提交成功");
|
||||
}
|
||||
return response.toString();
|
||||
HashMap<String, String> response = erpExternalApi.submitDataToErp(reqDTO);
|
||||
return response.get("data");
|
||||
}
|
||||
|
||||
@NotNull
|
||||
|
||||
Reference in New Issue
Block a user