From 27b746b08fb66c682cc3e08d99ce5772b413a216 Mon Sep 17 00:00:00 2001 From: hansha Date: Mon, 8 Apr 2024 17:13:26 +0800 Subject: [PATCH] =?UTF-8?q?=E9=97=AE=E9=A2=98=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mapper/szxc/SzxcDiscussCentreMapper.xml | 1 + .../mapper/szxc/SzxcGyApplyMapper.xml | 1 + .../mapper/szxc/SzxcPublicActivilyMapper.xml | 1 + .../mapper/szxc/SzxcVoteResultMapper.xml | 85 +++++++++++++------ 4 files changed, 64 insertions(+), 24 deletions(-) diff --git a/ruoyi-szxc/src/main/resources/mapper/szxc/SzxcDiscussCentreMapper.xml b/ruoyi-szxc/src/main/resources/mapper/szxc/SzxcDiscussCentreMapper.xml index e4dfaf4..7c20485 100644 --- a/ruoyi-szxc/src/main/resources/mapper/szxc/SzxcDiscussCentreMapper.xml +++ b/ruoyi-szxc/src/main/resources/mapper/szxc/SzxcDiscussCentreMapper.xml @@ -40,6 +40,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" and dept_id = #{deptId} and dept_name like concat('%', #{deptName}, '%') + order by create_time DESC - - select id, ys_id, jm_id, card_id, vote_name, phone, vote, opinion, create_by, create_time, update_by, update_time, user_id from szxc_vote_result - - - + + insert into szxc_vote_result + + ys_id, + jm_id, + card_id, + vote_name, + phone, + vote, + opinion, + create_by, + create_time, + update_by, + update_time, + user_id, + + + #{ysId}, + #{jmId}, + #{cardId}, + #{voteName}, + #{phone}, + #{vote}, + #{opinion}, + #{createBy}, + #{createTime}, + #{updateBy}, + #{updateTime}, + #{userId}, + + - + + + + + delete from szxc_vote_result where id = #{id} + + + + delete from szxc_vote_result where id in + + #{id} + + \ No newline at end of file