feat(uapbd): 添加实际收款金额字段
- 在 ErpSoToR6Plugin 类中的 SQL 查询中添加 nreceivedmny 字段 - 将查询结果中的 nreceivedmny 值添加到 JSON 输出中,字段名为 actRecvAmt
This commit is contained in:
parent
117812ed26
commit
b5826fbae9
|
@ -96,6 +96,7 @@ public class ErpSoToR6Plugin implements IBackgroundWorkPlugin {
|
|||
StringBuilder sql = new StringBuilder();
|
||||
sql.append("SELECT ");
|
||||
sql.append(" a.vdef9, ");
|
||||
sql.append(" a.nreceivedmny, ");
|
||||
sql.append(" b.vbdef11, ");
|
||||
sql.append(" c.ntotalinvoicenum billqty, ");
|
||||
sql.append(" c.ntotalarmny totalaccrued, ");
|
||||
|
@ -183,6 +184,7 @@ public class ErpSoToR6Plugin implements IBackgroundWorkPlugin {
|
|||
bodyList.add(bodyMap);
|
||||
oneJson.put("contractOrdersList", bodyList);
|
||||
oneJson.put("id", hid);
|
||||
oneJson.put("actRecvAmt", soMap.get("nreceivedmny"));// 实际收款
|
||||
array.add(oneJson);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue