@@ -72,7 +72,7 @@ public class ActivityServiceImpl implements ActivityService {
...
@@ -72,7 +72,7 @@ public class ActivityServiceImpl implements ActivityService {
+" FROM tZHCPlan a join tAgentContractGoods acg on a.sAgentContractNO = acg.sAgentContractNO and a.nGoodsID = acg.nGoodsID "
+" FROM tZHCPlan a join tAgentContractGoods acg on a.sAgentContractNO = acg.sAgentContractNO and a.nGoodsID = acg.nGoodsID "
+" WHERE a.nProjectID = ? ";
+" WHERE a.nProjectID = ? ";
Stringsql0="select so.nPlanID, sum(so.nSaleQty) nSaleQty from tSalesOrder so, tZHCPlan p where so.sB2BOrderTypeID = '3' and so.nPlanID = p.nPlanID and p.nProjectID = "+projectId+" group by nPlanID";
Stringsql0="select so.nPlanID, sum(so.nTotalSaleQty) nSaleQty from tSalesOrder so, tZHCPlan p where so.sB2BOrderTypeID = '3' and so.nPlanID = p.nPlanID and p.nProjectID = "+projectId+" group by so.nPlanID";