|
|
|
|
@ -692,6 +692,7 @@ public class InspectionTaskServiceImpl extends BaseServiceImpl<InspectionTaskMap |
|
|
|
|
JSONObject yoJson = new JSONObject(); |
|
|
|
|
JSONObject partJson = new JSONObject(); |
|
|
|
|
JSONObject modelJson = new JSONObject(); |
|
|
|
|
if(dsPart != null){ |
|
|
|
|
partJson.put("partCode", dsPart.getPartCode()); |
|
|
|
|
partJson.put("partName", dsPart.getPartName()); |
|
|
|
|
partJson.put("hardness", dsPart.getHardness()); |
|
|
|
|
@ -699,12 +700,17 @@ public class InspectionTaskServiceImpl extends BaseServiceImpl<InspectionTaskMap |
|
|
|
|
partJson.put("material", dsPart.getMaterial()); |
|
|
|
|
partJson.put("cruxMemo", dsPart.getKeyInfo()); |
|
|
|
|
partJson.put("memo", dsPart.getRemarks()); |
|
|
|
|
} |
|
|
|
|
if(yo != null){ |
|
|
|
|
yoJson.put("productType", yo.getProductType()); |
|
|
|
|
yoJson.put("prodIdent", yo.getProductIdent()); |
|
|
|
|
yoJson.put("poQty", yo.getYpQty()); |
|
|
|
|
yoJson.put("poArea", yo.getYpArea()); |
|
|
|
|
yoJson.put("primaryCraft", yo.getPrimaryCraft()); |
|
|
|
|
} |
|
|
|
|
if(wo != null){ |
|
|
|
|
woJson.put("batchNo", wo.getBatchNo()); |
|
|
|
|
} |
|
|
|
|
woJson.put("pjYieldOrder", yoJson); |
|
|
|
|
modelJson.put("wo", woJson); |
|
|
|
|
modelJson.put("dsPart", partJson); |
|
|
|
|
|