完成标签维护功能
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.adc.da.report.dao.mysql.TreeLabelDao">
|
||||
|
||||
<resultMap id="BaseResultMap" type="com.adc.da.report.eo.TreeLabelEntity">
|
||||
<id property="id" column="id" jdbcType="VARCHAR"/>
|
||||
<result property="name" column="name" jdbcType="VARCHAR"/>
|
||||
<result property="parentid" column="parentId" jdbcType="VARCHAR"/>
|
||||
<result property="createdate" column="createDate" jdbcType="TIMESTAMP"/>
|
||||
<result property="ordernum" column="orderNum" jdbcType="INTEGER"/>
|
||||
<result property="delFlag" column="del_flag" jdbcType="TINYINT"/>
|
||||
</resultMap>
|
||||
|
||||
<select id="getMaxNum" parameterType="string" resultType="int">
|
||||
select max(t.orderNum)
|
||||
from TS_TREE_LABEL t
|
||||
where parentid = #{parentId}
|
||||
</select>
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user