Commit 8cfceba7 authored by Quxl's avatar Quxl

x

parent 1dd7c6ef
......@@ -514,7 +514,7 @@ public class GoodsServiceImpl implements GoodsService {
args.add("(sAgentContractNO = '" + kv[0] + "' and nGoodsID = " + kv[1] + ")");
}
String sql = "select sAgentContractNO, nGoodsID, nStockQty, nRealSalePrice from V_OrgGoods where sOrgNO = ? " + StringUtil.join(" OR ", " and (", ")", " and (1 = 0) ", args);
String sql = "select sAgentContractNO, nGoodsID, nStockQty, nRealSalePrice from V_OrgGoods where sOrgNO = '" + orgNo + "' " + StringUtil.join(" OR ", " and (", ")", " and (1 = 0) ", args);
List<Map<String, Object>> datas = jdbcTemplate.queryForList(sql);
Map<String, Map<String, Object>> mm = Util.listToMM(datas, ":", "sAgentContractNO", "nGoodsID");
return mm;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment