调整收货erp接口
This commit is contained in:
@@ -4,12 +4,15 @@ import com.zt.plat.framework.common.util.object.BeanUtils;
|
||||
import com.zt.plat.module.erp.api.dto.ErpBillMainSaveReqDTO;
|
||||
import com.zt.plat.module.erp.controller.admin.erp.vo.ErpBillMainSaveReqVO;
|
||||
import com.zt.plat.module.erp.service.erp.ErpBillMainService;
|
||||
|
||||
import jakarta.annotation.Resource;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.validation.annotation.Validated;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
@RestController
|
||||
@Validated
|
||||
@Slf4j
|
||||
public class ErpBillMainApiImpl implements ErpBillMainApi{
|
||||
|
||||
@Resource
|
||||
|
||||
@@ -75,7 +75,7 @@ public class ErpBillMainServiceImpl implements ErpBillMainService {
|
||||
// 抽取重复代码:提交 ERP 并记录日志
|
||||
private String submitToErp(ErpSubmitReqDTO reqDTO) {
|
||||
HashMap<String, String> response = erpExternalApi.submitDataToErp(reqDTO);
|
||||
return response.get("data");
|
||||
return response.get("resStr");
|
||||
}
|
||||
|
||||
@NotNull
|
||||
|
||||
Reference in New Issue
Block a user