Ver código fonte

fix bug:#93007 待确定量不正确

zou.yingbin 4 anos atrás
pai
commit
e190878066
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      models/ermcp.go

+ 1 - 1
models/ermcp.go

@@ -199,7 +199,7 @@ func (r *ErmcpModel) buildSql(nContractType, nQueryType int32) string {
 		"         when t.pricetype = 3 then" +
 		"          t.qty - t.RECKONREALQTY" +
 		"         else" +
-		"          t.qty - t.pricedqty" +
+		"          t.pricedqty - t.ReckonRealQty" +
 		"       end) unsureqty," +
 		"       t.reckonedamount PayAmount," +
 		"       t.pricedamount + t.reckonadjustamount - t.RECKONEDAMOUNT unpayAmount," +