소스 검색

待开票额加升贴水

zou.yingbin 4 년 전
부모
커밋
b2fafe5bd7
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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," +