计费模块重构,可以在线配置SQl,更灵活面对不同计费方式

master
erzhongxmu 2022-07-25 12:50:04 +08:00
parent d59a91ad68
commit 5cf4699fcc
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ public class CostTask {
e.printStackTrace(); e.printStackTrace();
} }
for (WmCusCostIEntity wmCusCostIEntity : wmCusCostIEntityList) { for (WmCusCostIEntity wmCusCostIEntity : wmCusCostIEntityList) {
//执行计算 //执行计算 SQL 返回order_id goods_id goods_count count_unit
String dataSql = wmCusCostIEntity.getDataSql(); String dataSql = wmCusCostIEntity.getDataSql();
dataSql = StringUtils.replace(dataSql, "{cusCode}", cusCode); dataSql = StringUtils.replace(dataSql, "{cusCode}", cusCode);
List<Map<String, Object>> resulthq = systemService List<Map<String, Object>> resulthq = systemService