Explorar el Código

定制费用方案

eganwu hace 1 año
padre
commit
9452028bbb
Se han modificado 1 ficheros con 8 adiciones y 6 borrados
  1. 8 6
      src/custom/function/OrderFeeCalculatePlan1.java

+ 8 - 6
src/custom/function/OrderFeeCalculatePlan1.java

@@ -18,7 +18,7 @@ public class OrderFeeCalculatePlan1 extends DataFunction {
     String siteid;
     @Param(paramname = "unitfee", remarks = "单位费用(具体一个方案生成的一个单位费用)")
     Double unitfee;
-    @Param(paramname = "ordertype", remarks = "订单类型(可多个,具体在哪些订单类型中适用)")
+    @Param(paramname = "ordertype", remarks = "订单类型(可多个(英文逗号隔开),具体在哪些订单类型中适用)")
     String ordertype;
     @Param(paramname = "iscombination", remarks = "是否订单内组合计算(若组合计算则在订单中自动汇总同方案商品一起计算)")
     boolean iscombination;
@@ -39,11 +39,13 @@ public class OrderFeeCalculatePlan1 extends DataFunction {
 
     @Override
     public int action() throws YosException {
-        System.err.println("666"+unitfee);
-        Rows rows = queryDataFunction(controller, sa_orderid, "OrderFeeCalculatePlan1");
-        if (rows.isEmpty()) {
-
-        }
+//        System.err.println("unitfee:"+unitfee);
+//        System.err.println("ordertype:"+ordertype);
+//        System.err.println("sa_orderid:"+sa_orderid);
+//        Rows rows = queryDataFunction(controller, sa_orderid, "OrderFeeCalculatePlan1");
+//        if (rows.isEmpty()) {
+//
+//        }
 
 
         return super.action();