Browse Source

添加同步的查询sql修改 BUG修改

master
Rui_Li 6 months ago
parent
commit
0bcabbc57d
  1. 4
      src/main/java/com/spring/ifs/api/BomApi.java

4
src/main/java/com/spring/ifs/api/BomApi.java

@ -778,8 +778,8 @@ public class BomApi {
*/
public static List<BomIfsManufStructCostDistrib> getBomDistributionsForSync(Server srv, String contract, String partNo, String engChgLevel, String bomType, String alternativeNo) throws APException {
StringBuilder searchSql = new StringBuilder();
searchSql.append("SELECT OBJID ifsRowId, OBJVERSION ifsRowVersion, CONTRACT contract, PART_NO partNo, ENG_CHG_LEVEL,");
searchSql.append(" BOM_TYPE bomType, ALTERNATIVE_NO alternativeNo, BYPROD_LINE_ITEM_NO byProdLineItemNo,");
searchSql.append("SELECT OBJID ifsRowId, OBJVERSION ifsRowVersion, CONTRACT contract, PART_NO, ENG_CHG_LEVEL,");
searchSql.append(" BOM_TYPE, ALTERNATIVE_NO, BYPROD_LINE_ITEM_NO byProdLineItemNo,");
searchSql.append(" IFSAPP.MANUF_STRUCTURE_API.Get_Component_Part(contract,part_no,eng_chg_level,bom_type,alternative_no,BYPROD_LINE_ITEM_NO) byProductPartNo,");
searchSql.append(" COMPONENT_LINE_ITEM_NO componentLineItemNo,");
searchSql.append(" IFSAPP.MANUF_STRUCTURE_API.Get_Component_Part(contract,part_no,eng_chg_level,bom_type,alternative_no,COMPONENT_LINE_ITEM_NO) componentPartNo,");

Loading…
Cancel
Save