Authored by mali

性能优化

... ... @@ -23,7 +23,7 @@
<select id="selectByTypeAndOrderCode" resultMap="BaseResultMap">
select <include refid="Base_Column_List"></include>
from order_operate_record
where type=#{type} and order_code=#{orderCode}
where type=#{type} and order_code=CAST(#{orderCode} AS CHAR)
limit 1
</select>
... ...