demand: TMS系统 - 统计报表 - 销售回款统计 数据:帐单数、账单金额、账期内收款金额数值与原数据翻1倍 小程序无法地址解析问题定位解决

committer: heyu
This commit is contained in:
aike 2026-01-04 15:54:27 +08:00
parent 30d4c90d40
commit 909de9ba77
2 changed files with 8 additions and 2 deletions

View File

@ -254,7 +254,7 @@ public class WaybillHelper {
} }
public static JSONObject parseChinaAddress(String content) throws EmisBizError { public static JSONObject parseChinaAddress(String content) throws EmisBizError {
String url = "http://api2.xdadan.com/api/qcdata/query/express/parseChinaAddress"; String url = "http://api.ai.xdadan.com/api/qcdata/query/express/parseChinaAddress";
Map postData = new HashMap(); Map postData = new HashMap();
postData.put("content", content); postData.put("content", content);
postData.put("appID", "tanex"); postData.put("appID", "tanex");

View File

@ -1102,7 +1102,13 @@
</where> </where>
GROUP BY a.settle_bill_no GROUP BY a.settle_bill_no
) tbc ON tba.settle_bill_no = tbc.settle_bill_no ) tbc ON tba.settle_bill_no = tbc.settle_bill_no
) tbMA left join emis_commission_profit ecp on tbMA.salesmen=ecp.emp_name and tbMA.billMonth = ecp.bill_month ) tbMA left join (
SELECT emp_name, bill_month,
max(money) as money,
max(month_money) as month_money
FROM emis_commission_profit
GROUP BY emp_name, bill_month
) ecp on tbMA.salesmen=ecp.emp_name and tbMA.billMonth = ecp.bill_month
group by tbMA.salesmen,tbMA.billMonth group by tbMA.salesmen,tbMA.billMonth
</select> </select>