Browse Source

Merge branch 'develop' into develop2

hu 10 months ago
parent
commit
25ab51e167
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/custom/restcontroller/webmanage/sale/promotion/promotion.java

+ 1 - 1
src/custom/restcontroller/webmanage/sale/promotion/promotion.java

@@ -657,7 +657,7 @@ public class promotion extends Controller {
                             .toString();
                 }
                 if(row.getString("type").equals("套餐活动")){
-                    Rows orderRows = dbConnect.runSqlQuery("select * from sa_order  where sa_promotionid="+sa_promotionid+" and siteid='"+siteid+"'");
+                    Rows orderRows = dbConnect.runSqlQuery("select * from sa_order  where sa_promotionid="+sa_promotionid+" and siteid='"+siteid+"' and deleted=0");
                     if(orderRows.isNotEmpty()){
                         return getErrReturnObject().setErrMsg("该方案已存在订单,无法取消发布")
                                 .toString();