Commit 8cae920a authored by chang20170705's avatar chang20170705

goods

parent a1d8c4ba
...@@ -70,7 +70,7 @@ public class GoodsServiceImpl implements GoodsService { ...@@ -70,7 +70,7 @@ public class GoodsServiceImpl implements GoodsService {
+"WHERE acg.sOrgNO = ? " +"WHERE acg.sOrgNO = ? "
+"GROUP BY a.nGoodsID, g.sGoodsNO, g.sGoodsDesc, " +"GROUP BY a.nGoodsID, g.sGoodsNO, g.sGoodsDesc, "
+"acg.nSalePrice, acg.nMinSaleQty, acg.nSaleUnits,acg.sUnit, acg.nMarketPrice, acg.sMarketUnit " +"acg.nSalePrice, acg.nMinSaleQty, acg.nSaleUnits,acg.sUnit, acg.nMarketPrice, acg.sMarketUnit "
+"ORDER BY sum(a.nSaleQty) DESC "; +"ORDER BY sum(a.nSaleQty) DESC ";
String OrgNO=(String) map.get("OrgNO"); String OrgNO=(String) map.get("OrgNO");
listMap=jdbcTemplate.queryForList(sql, OrgNO); listMap=jdbcTemplate.queryForList(sql, OrgNO);
return listMap; return listMap;
......
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