From 5d7b65670282a4fad015e37d567cfa171b162052 Mon Sep 17 00:00:00 2001 From: huliguo <2023611923@qq.com> Date: 星期二, 20 五月 2025 12:25:19 +0800 Subject: [PATCH] 基础代码 --- pt-errand/src/main/resources/mapper/FeedbackMapper.xml | 23 +++++++++++++++++++++++ 1 files changed, 23 insertions(+), 0 deletions(-) diff --git a/pt-errand/src/main/resources/mapper/FeedbackMapper.xml b/pt-errand/src/main/resources/mapper/FeedbackMapper.xml new file mode 100644 index 0000000..95d4c7b --- /dev/null +++ b/pt-errand/src/main/resources/mapper/FeedbackMapper.xml @@ -0,0 +1,23 @@ +<?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.ruoyi.errand.mapper.FeedbackMapper"> + + + <select id="getFeedbackPageList" resultType="com.ruoyi.errand.object.vo.sys.FeedbackPageListVO"> + select + id,name,phone,content,create_time,status + from + t_feedback + where + del_flag=0 + <if test="dto.name != null and dto.name !='' "> + and name like concat('%',#{dto.name},'%') + </if> + <if test="dto.phone != null and dto.phone !='' "> + and phone like concat('%',#{dto.phone},'%') + </if> + <if test="dto.status != null "> + and status= #{dto.status} + </if> + </select> +</mapper> \ No newline at end of file -- Gitblit v1.7.1