Explorar o código

待开票额加升贴水

zou.yingbin %!s(int64=4) %!d(string=hai) anos
pai
achega
b2fafe5bd7
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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," +