完成标签维护功能

This commit is contained in:
2023-04-18 17:36:27 +08:00
parent 5a85e0c29f
commit 27b71b1cc2
9 changed files with 450 additions and 0 deletions
@@ -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>