| | |
| | | @TableField("sorting_anfme") |
| | | private Double sortingAnfme; |
| | | |
| | | /** |
| | | * 税率 |
| | | */ |
| | | @ApiModelProperty(value= "税率") |
| | | @TableField("taxrate") |
| | | private Double taxrate; |
| | | |
| | | /** |
| | | * 含税单价 |
| | | */ |
| | | @ApiModelProperty(value= "含税单价") |
| | | @TableField("priceandtax") |
| | | private Double priceandtax; |
| | | |
| | | public OrderDetl() {} |
| | | |
| | | public OrderDetl(Long orderId, String orderNo, Double anfme, Double qty, String matnr, String maktx, String batch, String specs, String model, String color, String brand, String unit, Double price, String sku, Double units, String barcode, String origin, String manu, String manuDate, String itemNum, Double safeQty, Double weight, Double manLength, Double volume, String threeCode, String supp, String suppCode, Integer beBatch, String deadTime, Integer deadWarn, Integer source, Integer inspect, Integer danger, Integer status, Long createBy, Date createTime, Long updateBy, Date updateTime, String memo,Double width,Double height) { |
| | | public OrderDetl(Long orderId, String orderNo, Double anfme, Double qty, String matnr, String maktx, String batch, String specs, String model, String color, String brand, String unit, Double price, String sku, Double units, String barcode, String origin, String manu, String manuDate, String itemNum, Double safeQty, Double weight, Double manLength, Double volume, String threeCode, String supp, String suppCode, Integer beBatch, String deadTime, Integer deadWarn, Integer source, Integer inspect, Integer danger, Integer status, Long createBy, Date createTime, Long updateBy, Date updateTime, String memo,Double width,Double height,Double taxrate,Double priceandtax) { |
| | | this.orderId = orderId; |
| | | this.orderNo = orderNo; |
| | | this.anfme = anfme; |
| | |
| | | this.memo = memo; |
| | | this.width = width; |
| | | this.height = height; |
| | | this.taxrate = taxrate; |
| | | this.priceandtax = priceandtax; |
| | | } |
| | | |
| | | public OrderDetl(OrderDetl orderDetl) { |
| | |
| | | this.standby3 = orderDetl.getStandby3(); |
| | | this.width = orderDetl.getWidth(); |
| | | this.height = orderDetl.getHeight(); |
| | | this.taxrate = orderDetl.getTaxrate(); |
| | | this.priceandtax = orderDetl.getPriceandtax(); |
| | | } |
| | | |
| | | public OrderDetl(OrderDetlPakin orderDetl) { |
| | |
| | | this.erpAnfme = orderDetl.getErpAnfme(); |
| | | this.width = orderDetl.getWidth(); |
| | | this.height = orderDetl.getHeight(); |
| | | this.taxrate = orderDetl.getTaxrate(); |
| | | this.priceandtax = orderDetl.getPriceandtax(); |
| | | } |
| | | |
| | | |
| | |
| | | @TableField("erp_anfme") |
| | | private Double erpAnfme; |
| | | |
| | | /** |
| | | * 税率 |
| | | */ |
| | | @ApiModelProperty(value= "税率") |
| | | @TableField("taxrate") |
| | | private Double taxrate; |
| | | |
| | | /** |
| | | * 含税单价 |
| | | */ |
| | | @ApiModelProperty(value= "含税单价") |
| | | @TableField("priceandtax") |
| | | private Double priceandtax; |
| | | |
| | | public OrderDetlPakin() {} |
| | | |
| | | public OrderDetlPakin(Long id, Long orderId, String orderNo, Double anfme, Double workQty, Double qty, String matnr, String maktx, String batch, String specs, String model, String color, String brand, String unit, Double price, String sku, Double units, String barcode, String origin, String manu, String manuDate, String itemNum, Double safeQty, Double weight, Double manLength, Double volume, String threeCode, String supp, String suppCode, Integer beBatch, String deadTime, Integer deadWarn, Integer source, Integer inspect, Integer danger, Integer status, Long createBy, Date createTime, Long updateBy, Date updateTime, String memo, Integer pakinPakoutStatus, Long lineNumber, String standby1, String standby2, String standby3, String boxType1, String boxType2, String boxType3, Double width, Double height, Double erpAnfme) { |
| | | public OrderDetlPakin(Long id, Long orderId, String orderNo, Double anfme, Double workQty, Double qty, String matnr, String maktx, String batch, String specs, String model, String color, String brand, String unit, Double price, String sku, Double units, String barcode, String origin, String manu, String manuDate, String itemNum, Double safeQty, Double weight, Double manLength, Double volume, String threeCode, String supp, String suppCode, Integer beBatch, String deadTime, Integer deadWarn, Integer source, Integer inspect, Integer danger, Integer status, Long createBy, Date createTime, Long updateBy, Date updateTime, String memo, Integer pakinPakoutStatus, Long lineNumber, String standby1, String standby2, String standby3, String boxType1, String boxType2, String boxType3, Double width, Double height, Double erpAnfme,Double taxrate,Double priceandtax) { |
| | | this.id = id; |
| | | this.orderId = orderId; |
| | | this.orderNo = orderNo; |
| | |
| | | this.width = width; |
| | | this.height = height; |
| | | this.erpAnfme = erpAnfme; |
| | | this.taxrate = taxrate; |
| | | this.priceandtax = priceandtax; |
| | | } |
| | | |
| | | public String getOrderId$(){ |
| | |
| | | @TableField("sorting_anfme") |
| | | private Double sortingAnfme; |
| | | |
| | | /** |
| | | * 税率 |
| | | */ |
| | | @ApiModelProperty(value= "税率") |
| | | @TableField("taxrate") |
| | | private Double taxrate; |
| | | |
| | | /** |
| | | * 含税单价 |
| | | */ |
| | | @ApiModelProperty(value= "含税单价") |
| | | @TableField("priceandtax") |
| | | private Double priceandtax; |
| | | |
| | | public OrderDetlPakout() {} |
| | | |
| | | public OrderDetlPakout(Long orderId, String orderNo, Double anfme, Double qty, String matnr, String maktx, String batch, String specs, String model, String color, String brand, String unit, Double price, String sku, Double units, String barcode, String origin, String manu, String manuDate, String itemNum, Double safeQty, Double weight, Double manLength, Double volume, String threeCode, String supp, String suppCode, Integer beBatch, String deadTime, Integer deadWarn, Integer source, Integer inspect, Integer danger, Integer status, Long createBy, Date createTime, Long updateBy, Date updateTime, String memo) { |
| | |
| | | orderDetl.setUpdateBy(9527L); |
| | | orderDetl.setUpdateTime(new Date()); |
| | | orderDetl.setStatus(1); |
| | | orderDetl.setTaxrate(taxrate); |
| | | orderDetl.setPriceandtax(priceandtax); |
| | | orderDetl.setQty(0.0D); |
| | | orderDetlService.insert(orderDetl); |
| | | } |
| | |
| | | String s1 = entry.getString("eap7_textfield7"); //客户PO |
| | | String detlId = entry.getString("id"); //明细id |
| | | Long seq = entry.getLong("seq"); //分录行号 |
| | | Double taxrate = entry.getDouble("taxrate"); |
| | | Double priceandtax = entry.getDouble("priceandtax"); |
| | | String manubill = entry.getString("manufacturenun"); |
| | | String manubillid = entry.getString("orderfid_id"); |
| | | String manuentryid = null; |
| | |
| | | orderDetl.setUpdateBy(9527L); |
| | | orderDetl.setUpdateTime(new Date()); |
| | | orderDetl.setStatus(1); |
| | | orderDetl.setTaxrate(taxrate); |
| | | orderDetl.setPriceandtax(priceandtax); |
| | | orderDetl.setQty(0.0D); |
| | | |
| | | orderDetlService.insert(orderDetl); |
| | |
| | | .fluentPut("outinvstatus_number", "110") |
| | | .fluentPut("linetype_number", "010") // 行号类型 |
| | | .fluentPut("qty", qty) // 数量 |
| | | .fluentPut("taxrate", orderDetl.getTaxrate()) // 税率 |
| | | .fluentPut("priceandtax", orderDetl.getPriceandtax()) //含税单价 |
| | | .fluentPut("material_number", orderDetl.getMatnr()) // 物料编号 |
| | | .fluentPut("billentry_lk", billentryLkArray); |
| | | |
| | |
| | | .fluentPut("material_number", orderDetl.getMatnr()) |
| | | .fluentPut("invtype_number", "110") |
| | | .fluentPut("qualitystatus", "A") |
| | | |
| | | .fluentPut("taxrate", orderDetl.getTaxrate()) // 税率 |
| | | .fluentPut("priceandtax", orderDetl.getPriceandtax()) //含税单价 |
| | | .fluentPut("billentry_lk", billentryLkArray1); |
| | | |
| | | billentryArray1.add(billentry); |
| | |
| | | |
| | | .fluentPut("billentry", billentryArray1) // 将 billentry 数组添加到请求参数 |
| | | ))); |
| | | case "OUI_RECEIVEBIll": |
| | | case "OUI_RECEIVEBIll"://委外入库单 |
| | | JSONArray billentryLkArray2 = new JSONArray(); |
| | | JSONArray billentryArray2 = new JSONArray(); // 用于存储 billentry 对象 |
| | | String suppCode2 = null; // 供应商 |
| | |
| | | .fluentPut("shipper_number", "BU-00001") |
| | | .fluentPut("entrysettleorg_number", "BU-00001") |
| | | .fluentPut("material_masterid_number", orderDetl.getMatnr()) |
| | | |
| | | .fluentPut("taxrate", orderDetl.getTaxrate()) // 税率 |
| | | .fluentPut("priceandtax", orderDetl.getPriceandtax()) //含税单价 |
| | | .fluentPut("billentry_lk", billentryLkArray2); |
| | | |
| | | billentryArray2.add(billentry); |
| | |
| | | <result column="height" property="height" /> |
| | | <result column="erp_anfme" property="erpAnfme" /> |
| | | <result column="sorting_anfme" property="sortingAnfme" /> |
| | | <result column="taxrate" property="taxrate" /> |
| | | <result column="priceandtax" property="priceandtax" /> |
| | | |
| | | </resultMap> |
| | | |
| | |
| | | <result column="height" property="height" /> |
| | | <result column="erp_anfme" property="erpAnfme" /> |
| | | <result column="sorting_anfme" property="sortingAnfme" /> |
| | | <result column="taxrate" property="taxrate" /> |
| | | <result column="priceandtax" property="priceandtax" /> |
| | | |
| | | </resultMap> |
| | | |
| | |
| | | <result column="height" property="height" /> |
| | | <result column="erp_anfme" property="erpAnfme" /> |
| | | <result column="sorting_anfme" property="sortingAnfme" /> |
| | | <result column="taxrate" property="taxrate" /> |
| | | <result column="priceandtax" property="priceandtax" /> |
| | | |
| | | </resultMap> |
| | | |
| | | <sql id="standbyAll"> |