fix(linkzo): SQL修复
This commit is contained in:
parent
02242b0232
commit
c53dacc54d
@ -199,8 +199,8 @@
|
||||
record.router_params as routerParam,
|
||||
record.relation_id as relationId,
|
||||
record.old_type_id as oldTypeId
|
||||
from message_record
|
||||
where to_id={req.toId}
|
||||
from message_record AS record
|
||||
where to_id=#{req.toId}
|
||||
<if test="req.msgType != null and req.msgType > 0">
|
||||
type = #{req.msgType}
|
||||
</if>
|
||||
@ -231,8 +231,8 @@
|
||||
record.router_params as routerParam,
|
||||
record.relation_id as relationId,
|
||||
record.old_type_id as oldTypeId
|
||||
from message_record
|
||||
where to_id={req.toId}
|
||||
from message_record AS record
|
||||
where to_id=#{req.toId}
|
||||
<if test="req.msgType != null and req.msgType > 0">
|
||||
type = #{req.msgType}
|
||||
</if>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user