摘要:
<!-- include 引用字段 --> <sql id="Base_Column_List"> D_RECID, D_USER_NAME, D_NAME, D_TYPE, ... </sql> <select id="select" resultMap="BaseResultMap" param 阅读全文
摘要:
SELECT total.* FROM ( SELECT obj.uid, obj.score, CASE WHEN @rowtotal = obj.score THEN @rownum WHEN @rowtotal := obj.score THEN @rownum :=@rownum + 1 WHEN @rowtotal = 0 THEN ... 阅读全文