| | |
| | | import com.vincent.rsf.openApi.feign.wms.WmsServerFeignClient; |
| | | import com.vincent.rsf.openApi.service.WmsErpService; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.apache.commons.lang3.StringUtils; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.http.HttpEntity; |
| | | import org.springframework.http.HttpHeaders; |
| | |
| | | data.put("items", errorRows); |
| | | CommonResponse r = new CommonResponse(); |
| | | r.setCode(500); |
| | | r.setMsg("共 " + errorRows.size() + " 条失败,本地事务已回滚,详见 data.items"); |
| | | r.setMsg("共 " + errorRows.size() + " 条失败,详见 data.items"); |
| | | r.setData(data); |
| | | return r; |
| | | } |
| | |
| | | if (params.getCreateTime() != null) { |
| | | m.put("createTime", params.getCreateTime()); |
| | | } |
| | | if (StringUtils.isNotBlank(params.getDocWarehouseNo())) { |
| | | m.put("docWarehouseNo", params.getDocWarehouseNo().trim()); |
| | | } |
| | | if (StringUtils.isNotBlank(params.getOrgNo())) { |
| | | m.put("orgNo", params.getOrgNo().trim()); |
| | | } |
| | | if (StringUtils.isNotBlank(params.getInWarehouseNo())) { |
| | | m.put("inWarehouseNo", params.getInWarehouseNo().trim()); |
| | | } |
| | | if (StringUtils.isNotBlank(params.getOutWarehouseNo())) { |
| | | m.put("outWarehouseNo", params.getOutWarehouseNo().trim()); |
| | | } |
| | | return m; |
| | | } |
| | | |