1、Mybatis中数据库语句的选择 使用:
<choose>
= c.code
</when>
<otherwise >
=c.ex
</otherwise>
</choose>
</when>
<otherwise >
= c.delive
</otherwise>
</choose>
2、分区排序
Row_num() over ():
ROW_NUMBER() OVER (PARTITION BY V.CODE ORDER BY V.MODIFYTIME) ROW_NUM