浏览代码

Merge branch 'master' of 192.168.30.132:MTP2.0/MTP20_IF

zhou.xiaoning 3 年之前
父节点
当前提交
f55aebac38
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      models/ermcp8.go

+ 2 - 1
models/ermcp8.go

@@ -521,7 +521,8 @@ func (r *Ermcpjrlinkpos) buildSql() string {
 			t.NETQTY,
 			((t.TotalBuyHoldAmount - t.TotalSellHoldAmount) / NetQty) AVERAGEPRICE,
 			mg.middlegoodsname,
-			mg.middlegoodscode
+			mg.middlegoodscode,
+			(t.NETQTY * gc.convertratio * g.agreeunit) FUTUREHEDGEQTY
 		FROM ERMCP_JR_LinkPos t
 		LEFT JOIN Goods g ON g.goodsid = t.goodsid
 		LEFT JOIN ERMCP_GGConvertConfig gc on gc.srcgoodsgroupid = g.goodsgroupid