|
@@ -63,7 +63,8 @@ public class WODispatchPlanTmDoBizFun {
|
|
|
Map<String, Object> mapSel = getThisDBService().totalWillProduceCounts(null
|
|
|
, null
|
|
|
, ""
|
|
|
- , String.format("and status = %d and next_take_time > 0 and next_take_time <= %d"
|
|
|
+ , String.format("and %s = %d and next_take_time > 0 and next_take_time <= %d"
|
|
|
+ , WODispatchPlanInfoTable.R_INFO.STATUS
|
|
|
, CommFieldStatus.ENABLE
|
|
|
, lCurTime));
|
|
|
|
|
@@ -80,7 +81,8 @@ public class WODispatchPlanTmDoBizFun {
|
|
|
,null
|
|
|
,null
|
|
|
, WODispatchPlanInfoTable.R_INFO.TOTAL_PRODUCE_ORDER
|
|
|
- , String.format("and status = %d and (id between %d and %d)"
|
|
|
+ , String.format("and %s = %d and (id between %d and %d)"
|
|
|
+ ,WODispatchPlanInfoTable.R_INFO.STATUS
|
|
|
,CommFieldStatus.ENABLE
|
|
|
,oTotal.getMinIndex()
|
|
|
,oTotal.getMaxIndex()));
|