|
|
|
@ -14,6 +14,7 @@ import org.springframework.beans.factory.annotation.Value; |
|
|
|
import org.springframework.stereotype.Service; |
|
|
|
|
|
|
|
import java.util.List; |
|
|
|
import java.util.Map; |
|
|
|
|
|
|
|
|
|
|
|
@Service |
|
|
|
@ -88,11 +89,11 @@ public class ProductionWarehousingServiceImpl implements ProductionWarehousingSe |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
public JSONArray getProductionInspection(ProductionWarehousingEntity inData) { |
|
|
|
public JSONArray getProductionInspection(Map<String, String> data) { |
|
|
|
JSONObject jsonObject = new JSONObject(); |
|
|
|
jsonObject.put("contract", "S01"); |
|
|
|
jsonObject.put("wdr", "3H24-5092"); |
|
|
|
jsonObject.put("lotNo", "*"); |
|
|
|
jsonObject.put("contract", data.get("site")); |
|
|
|
jsonObject.put("wdr", data.get("waivDevRejNo")); |
|
|
|
jsonObject.put("lotNo", data.get("serialNo")); |
|
|
|
ResponseData responseData = HttpClientUtil.doPostByRawWithSRQ(apiUrl+"/order/getPrintProductionSheet", jsonObject); |
|
|
|
if (!"200".equals(responseData.getCode())) { |
|
|
|
throw new RuntimeException("获取IFS数据失败"); |
|
|
|
|