@@ -169,10 +169,16 @@ public class GoodsServiceImpl implements GoodsService {
...
@@ -169,10 +169,16 @@ public class GoodsServiceImpl implements GoodsService {
StringorgNo=(String)map.get("orgNo");
StringorgNo=(String)map.get("orgNo");
StringgoodsId=(String)map.get("goodsId");
StringgoodsId=(String)map.get("goodsId");
StringcontractNo=(String)map.get("contractNo");
StringcontractNo=(String)map.get("contractNo");
Stringsql="select * from V_OrgGoods where sOrgNO = ? and sAgentContractNO = ? and nGoodsID = ?";
StringcustTypeId=(String)map.get("custTypeId");
StringgSql="select t.*, ap.nRealSalePrice nApSalePrice from V_OrgGoods t left join tAgentCustTypePrice ap on ap.sCustTypeID = ? and ap.sAgentContractNO = t.sAgentContractNO and ap.nGoodsID = t.nGoodsID where t.sOrgNO = ? and t.sAgentContractNO = ? and t.nGoodsID = ?";