|
|
@@ -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," +
|