@@ -369,10 +369,11 @@ public class GoodsServiceImpl implements GoodsService {
*/
@Override
publicStringgoodsDetail(Map<String,Object>map){
StringorgNo=(String)map.get("orgNo");
StringgoodsId=(String)map.get("goodsId");
StringcontractNo=(String)map.get("contractNo");
Stringsql="select acg.*, asa.sWarehouseNO, w.sWarehouseName, asa.nStockQty, asa.nOnlineStockQty, asa.nLockedQty from tAgentContractGoods acg LEFT JOIN tAgentContractWarehouse acw on acw.sAgentContractNO = acg.sAgentContractNO left join tWarehouse w on w.sWarehouseNO = acw.sWarehouseNO left join tAgentStockAccount asa on asa.nAgentID = acg.nAgentID and asa.nGoodsID = acg.nGoodsID and asa.sWarehouseNO = acw.sWarehouseNO where acg.sAgentContractNO = ? and acg.nGoodsID = ?";