Przeglądaj źródła

新增出入库单详情查询

shenjingwei 2 tygodni temu
rodzic
commit
3d4e454b04

+ 5 - 0
src/custom/restcontroller/R.java

@@ -7652,6 +7652,11 @@ public class R {
         public static class v1 {
         }
     }
+
+    public static class ID2026041415162601 {
+        public static class v1 {
+        }
+    }
 }
 
 

+ 10 - 0
src/custom/restcontroller/crm/agent/stock/stockbill.java

@@ -28,6 +28,16 @@ public class stockbill extends Controller {
         return getSucReturnObject().setData(rows).toString();
     }
 
+    @API(title = "美大CRM_经销商_出入库单详情查询", type = API.Type.PageQuery, apiversion = R.ID2026041415162601.v1.class)
+    public String sys_enterprise_stockbill_queryMain() throws YosException {
+        long sys_enterprise_stockbillid = content.getLongValue("sys_enterprise_stockbillid");
+        QuerySQL querySQL = SQLFactory.createQuerySQL(this, "sys_enterprise_stockbill");
+        querySQL.setSiteid(siteid);
+        querySQL.setUniqueid(sys_enterprise_stockbillid);
+        Rows rows = querySQL.query();
+        return getSucReturnObject().setData(rows).toString();
+    }
+
     @API(title = "美大CRM_经销商_出入库单新增修改", apiversion = R.ID2026031715451701.v1.class, params = {
             @Param(paramname = "sys_enterprise_stockbillid", fieldtype = FieldType.BigInt, remarks = "企业出入库单ID", isrequired = true),
             @Param(paramname = "rb", fieldtype = FieldType.Smallint, remarks = "红蓝字", isrequired = true),