zhangjinli 3 years ago
parent 2af2924f3f
commit 1fc7405091

@ -1,7 +1,7 @@
<?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.zh.project0512.mapper.UserMapper">
<resultMap id="UserDpListMap" type="java.util.Map" autoMapping="false">
<resultMap id="pageListMap" type="java.util.Map" autoMapping="false">
<id property="id" column="id"/>
<result column="url" property="url"/>
<result column="type" property="type"/>
@ -32,7 +32,7 @@
<result column="department" property="departmentName"/>
</collection>
</resultMap>
<select id="userDpList" resultMap="UserDpListMap">
<select id="pageList" resultMap="pageListMap">
SELECT t1.*,t2.name as providerName,t3.departmentId as departmentId,t3.name as departmentName,t4.title as taskTitle,
t5.account,t5.name as accountName,t5.tel as accountTel,t5.validImg as accountImg,t6.departmentId as dpId,t6.department
from video as t1

Loading…
Cancel
Save