Browse Source

发货计划明细订单信息刷新接口优化测试

hu 1 month ago
parent
commit
b2b9e754c5

+ 1 - 1
src/custom/restcontroller/webmanage/sale/sendplan/SQL/发货计划订单未发货量.sql

@@ -16,4 +16,4 @@ select t1.sa_orderitemsid,t2.itemid,t2.sa_orderid,t6.sa_agentsid,t5.enterprisena
         inner join plm_item t4 on t2.itemid=t4.itemid
         left join sys_enterprise_finance t5 on t3.sys_enterprise_financeid=t5.sys_enterprise_financeid and t3.siteid=t5.siteid
         left join sa_agents t6 on t3.sys_enterpriseid=t6.sys_enterpriseid and t3.siteid=t6.siteid
-        left join sys_enterprise t7 on t3.sys_enterpriseid=t7.sys_enterpriseid and t3.siteid=t7.siteid where $where$ order by t2.itemid;
+        left join sys_enterprise t7 on t3.sys_enterpriseid=t7.sys_enterpriseid and t3.siteid=t7.siteid where $where$ order by t2.itemid,t2.sa_orderid desc;

+ 2 - 2
src/custom/restcontroller/webmanage/sale/sendplan/sendplandetail.java

@@ -19,7 +19,7 @@ public class sendplandetail extends Controller {
         super(content);
     }
     //ID2025120110193103
-    @API(title = "订单信息刷新(新)", apiversion = R.ID2025032709331803.v1.class)
+    @API(title = "订单信息刷新(新)", apiversion = R.ID2025120110193103.v1.class)
     public String orderRefresh_new() throws YosException {
         long sa_sendplanid = content.getLongValue("sa_sendplanid");
         Rows sendplanRows = dbConnect.runSqlQuery("select * from sa_sendplan where sa_sendplanid='" + sa_sendplanid + "' and siteid='" + siteid + "'");
@@ -118,7 +118,7 @@ public class sendplandetail extends Controller {
         return getSucReturnObject().toString();
     }
     //ID2025032709331803
-    @API(title = "订单信息刷新", apiversion = R.ID2025120110193103.v1.class)
+    @API(title = "订单信息刷新", apiversion = R.ID2025032709331803.v1.class)
     @CACHEING_CLEAN(apiClass = {sendplandetail.class})
     public String orderRefresh() throws YosException {
         long sa_sendplanid = content.getLongValue("sa_sendplanid");