交换机数据采集唯一标识改为clientId。

优化收益计算
This commit is contained in:
gaoyutao
2026-01-05 18:32:49 +08:00
parent 2593c58741
commit a2659d0c6b
4 changed files with 106 additions and 172 deletions
@@ -177,7 +177,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
from ${tableName}
<where>
<if test="clientId != null and clientId != ''"> and client_id = #{clientId}</if>
<if test="name != null and name != ''"> and name = #{name}</if>
<if test="name != null and name != ''"> and name like concat(#{name},'%')</if>
</where>
order by create_time desc
limit 1