|
|
|
@ -1181,6 +1181,8 @@ public class RoutingApi { |
|
|
|
public static List<RoutingIfsGuideLine> getRoutingGuideLinesForSync(Server srv, String contract, String partNo, String routingRevision, String routingType, String alternativeNo, String operationNo) throws APException { |
|
|
|
StringBuilder searchSql = new StringBuilder(); |
|
|
|
searchSql.append("SELECT rog.CONTRACT, rog.PART_NO, rog.ROUTING_REVISION, rog.BOM_TYPE, rog.ALTERNATIVE_NO, rot.OPERATION_NO, rog.GUIDELINE_NO,"); |
|
|
|
//添加字段 2025-07-03 新增字段 |
|
|
|
searchSql.append(" rog.GUIDELINE_DESC, rog.GUIDELINE_TEXT, rog.OPER_WORK_GUIDE_TYPE, rog.SIGN_OFF_REQ, rog.INSPECT_SIGN_OFF_REQ,"); |
|
|
|
searchSql.append(" rog.GUIDELINE_SEQ, rog.OBJID ifsRowId, rog.OBJVERSION ifsRowVersion"); |
|
|
|
searchSql.append(" FROM IFSAPP.ROUTING_OPER_WORK_GUIDE rog"); |
|
|
|
searchSql.append(" LEFT JOIN IFSAPP.ROUTING_OPERATION rot"); |
|
|
|
@ -1230,6 +1232,12 @@ public class RoutingApi { |
|
|
|
tempItem.setOperationNo(tempMap.get("OPERATION_NO")); // |
|
|
|
tempItem.setGuidelineSeq(tempMap.get("GUIDELINE_SEQ")); |
|
|
|
tempItem.setNoteText(tempMap.get("NOTE_TEXT")); |
|
|
|
//后加字段 |
|
|
|
tempItem.setGuidelineDesc(tempMap.get("GUIDELINE_DESC")); // |
|
|
|
tempItem.setGuidelineText(tempMap.get("GUIDELINE_TEXT")); |
|
|
|
tempItem.setOperWorkGuideType(tempMap.get("OPER_WORK_GUIDE_TYPE")); |
|
|
|
tempItem.setSignOffReq(tempMap.get("SIGN_OFF_REQ")); |
|
|
|
tempItem.setInspectSignOffReq(tempMap.get("INSPECT_SIGN_OFF_REQ")); |
|
|
|
//添加对象 |
|
|
|
resultItems.add(tempItem); |
|
|
|
} |
|
|
|
|