|
|
@@ -810,4 +810,13 @@ public class promotion extends Controller {
|
|
|
return getSucReturnObject().toString();
|
|
|
|
|
|
}
|
|
|
+
|
|
|
+ @API(title = "查询促销方案里的套餐明细", apiversion = R.ID2024080614131103.v1.class)
|
|
|
+ @CACHEING
|
|
|
+ public String queryPackagetypemx() throws YosException {
|
|
|
+ long sa_promotionid =content.getLong("sa_promotionid");
|
|
|
+ Rows rows = dbConnect.runSqlQuery("select distinct packagetypemx from sa_promotion_items where siteid='"+siteid+"' and ifnull(packagetypemx,'')!='' and sa_promotionid="+sa_promotionid);
|
|
|
+ return getSucReturnObject().setData(rows).toString();
|
|
|
+ }
|
|
|
+
|
|
|
}
|