From 455b62a1b922e54cd513251ca340d36f83dec564 Mon Sep 17 00:00:00 2001 From: "zhangxinah@yonyou.com" Date: Sat, 12 Apr 2025 09:31:19 +0800 Subject: [PATCH] =?UTF-8?q?2312=E9=94=80=E5=94=AE=E8=AE=A2=E5=8D=95?= =?UTF-8?q?=E7=B4=AF=E8=AE=A1=E5=8F=91=E8=B4=A7=E7=B4=AF=E8=AE=A1=E6=8E=92?= =?UTF-8?q?=E6=9F=A5=E6=8E=A5=E5=8F=A3-=E5=BC=A0=E9=91=AB0411?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../api/so/so/saleorder/saleUpdateSQty.java | 31 +------------------ 1 file changed, 1 insertion(+), 30 deletions(-) diff --git a/so/src/public/nccloud/api/so/so/saleorder/saleUpdateSQty.java b/so/src/public/nccloud/api/so/so/saleorder/saleUpdateSQty.java index 3d176d9..33fa0cc 100644 --- a/so/src/public/nccloud/api/so/so/saleorder/saleUpdateSQty.java +++ b/so/src/public/nccloud/api/so/so/saleorder/saleUpdateSQty.java @@ -75,8 +75,7 @@ public class saleUpdateSQty extends AbstractNCCRestResource { List sqlStr = new ArrayList(); for (int i = 0; i < arrayList.size(); i++) { Map dataMap = (Map) arrayList.get(i); - String csaleorderid = getSaleorderBPK(pk_org, (String) dataMap.get("vbillcode"), - (String) dataMap.get("crowno")); + String csaleorderid = (String) dataMap.get("crowno"); if (csaleorderid != null) { sqlStr.add( "UPDATE so_saleorder_b SET vbdef2 = '" + dataMap.get("sendQty") + "' WHERE csaleorderbid='" @@ -225,34 +224,6 @@ public class saleUpdateSQty extends AbstractNCCRestResource { } - /* - *创建时间:2024-11-28 - *作用:查询 - *传值:无 - *返回值:必填项map对象 - */ - private String getSaleorderBPK(String pk_org, String vbillcode, String crowno) throws BusinessException { - String sql = " select b.csaleorderbid from so_saleorder h \n" - + " left join so_saleorder_b b on h.csaleorderid=b.csaleorderid\n" - + " left join org_salesorg o on h.pk_org=o.pk_salesorg\n" - + " where h.dr=0 and b.dr=0 and\n" - + " h.vbillcode='" + vbillcode + "' and o.code='" + pk_org + "' and b.csaleorderbid='" + crowno + "' "; - String saleorderBPK = (String) getQueryService().executeQuery(sql, new ColumnProcessor()); - return saleorderBPK; - } - - /* - *创建时间:2024-11-28 - *作用:查询 - *传值:无 - *返回值:必填项map对象 - */ - private int updateSaleBSQty(String sql) throws BusinessException { - BaseDAO baseDAO = new BaseDAO(); - int succInt = baseDAO.executeUpdate(sql); - return succInt; - } - public IUAPQueryBS getQueryService() { return NCLocator.getInstance().lookup(IUAPQueryBS.class); }