daxueshengzaixianzufangpingtai/target/classes/mapper/LiuyanDao.xml
(开头部分) 5KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<?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.dao.LiuyanDao">
<!-- 通用查询结果列 -->
<sql id="Base_Column_List">
a.id as id
,a.yonghu_id as yonghuId
,a.liuyan_name as liuyanName
,a.liuyan_text as liuyanText
,a.insert_time as insertTime
,a.reply_text as replyText
,a.update_time as updateTime
,a.create_time as createTime
</sql>
<select id="selectListView" parameterType="map" resultType="com.entity.view.LiuyanView" >
SELECT
<include refid="Base_Column_List" />
<!-- 级联表的字段 -->
,yonghu.yonghu_uuid_number as yonghuUuidNumber
,yonghu.yonghu_name as yonghuName
,yonghu.yonghu_phone as yonghuPhone
,yonghu.yonghu_id_number as yonghuIdNumber
,yonghu.yonghu_photo as yonghuPhoto
,yonghu.yonghu_email as yonghuEmail
,yonghu.new_money as newMoney
FROM liuyan a
left JOIN yonghu yonghu ON a.yonghu_id = yonghu.id
<where>
<if test="params.ids != null">
and a.id in
<foreach item="item" index="index" collection="params.ids" open="(" separator="," close=")">
#{item}
</foreach>
</if>
<if test="params.yonghuId != null and params.yonghuId != ''">
and (
a.yonghu_id = #{params.yonghuId}
)
</if>
<if test=" params.liuyanName != '' and params.liuyanName != null and params.liuyanName != 'null' ">
and a.liuyan_name like CONCAT('%',#{params.liuyanName},'%')
</if>
<if test=" params.liuyanText != '' and params.liuyanText != null and params.liuyanText != 'null' ">
and a.liuyan_text like CONCAT('%',#{params.liuyanText},'%')
</if>
<if test=" params.insertTimeStart != '' and params.insertTimeStart != null ">
<![CDATA[ and UNIX_TIMESTAMP(a.insert_time) >= UNIX_TIMESTAMP(#{params.insertTimeStart}) ]]>
</if>
<if test=" params.insertTimeEnd != '' and params.insertTimeEnd != null ">
<![CDATA[ and UNIX_TIMESTAMP(a.insert_time) <= UNIX_TIMESTAMP(#{params.insertTimeEnd}) ]]>
</if>
<if test="params.insertTime != null and params.insertTime != ''">
and a.insert_time = #{params.insertTime}
</if>
<if test=" params.replyText != '' and params.replyText != null and params.replyText != 'null' ">
and a.reply_text like CONCAT('%',#{params.replyText},'%')
</if>
后面还有 43 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。