From 578e49d67183d8d12a6af7e8244a9d152cb366d4 Mon Sep 17 00:00:00 2001 From: ZhuDongming <773644075@qq.com> Date: Wed, 09 Oct 2019 14:02:21 +0800 Subject: [PATCH] 大屏后台管理代码update --- src/main/resources/mapper/AccountMapper.xml | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/src/main/resources/mapper/AccountMapper.xml b/src/main/resources/mapper/AccountMapper.xml index 8a19033..c7c2903 100644 --- a/src/main/resources/mapper/AccountMapper.xml +++ b/src/main/resources/mapper/AccountMapper.xml @@ -45,4 +45,14 @@ FROM account WHERE id=#{id} </select> + + <select id="getAccountList" resultMap="BaseResultMap"> + select + <include refid="Base_Column_List"/> + from account + where is_delete=0 and expire_time > now() + <if test="accountName != 'null'"> + and account_name like concat('%',#{accountName},'%') + </if> + </select> </mapper> \ No newline at end of file -- Gitblit v1.8.0