Ver código fonte

待开票额加升贴水

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

+ 1 - 1
models/ermcp.go

@@ -236,7 +236,7 @@ func (r *ErmcpModel) buildSql(nContractType, nQueryType int32) string {
 		"       end) unsureqty," +
 		"       t.reckonedamount PayAmount," +
 		"       t.invoiceamount," +
-		"       (t.pricedamount + t.RECKONADJUSTAMOUNT + t.RECKONOTHERAMOUNT -" +
+		"       (t.pricedamount + t.pricedqty * t.pricemove + t.RECKONADJUSTAMOUNT + t.RECKONOTHERAMOUNT -" +
 		"       t.invoiceamount) as daikaiAmount," +
 		"       to_char(t.startdate, 'yyyy-mm-dd hh24:mi:ss') startdate," +
 		"       to_char(t.enddate, 'yyyy-mm-dd hh24:mi:ss') enddate," +