From 29644391bc366d134af64ec6207e4692245789ee Mon Sep 17 00:00:00 2001 From: pco4bax5y <2276598359@qq.com> Date: Sat, 29 Apr 2023 23:08:47 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0AdminDao.xml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/cn/edu/hactcm/dao/AdminDao.xml | 95 ++++++++++++++++++++++++++++++ 1 file changed, 95 insertions(+) create mode 100644 src/cn/edu/hactcm/dao/AdminDao.xml diff --git a/src/cn/edu/hactcm/dao/AdminDao.xml b/src/cn/edu/hactcm/dao/AdminDao.xml new file mode 100644 index 0000000..1768369 --- /dev/null +++ b/src/cn/edu/hactcm/dao/AdminDao.xml @@ -0,0 +1,95 @@ + + + + + + + + + + + + + + + insert into d_admin (a_username,a_password,a_name,a_phone,a_power,a_describe) + values(#{a_username},#{a_password},#{a_name},#{a_phone},#{a_power},#{a_describe}) + + + + + delete from d_admin where a_id=#{a_id} + + + + + + + + + update d_admin + + + a_username=#{a_username}, + + + a_password=#{a_password}, + + + a_name=#{a_name}, + + + a_phone=#{a_phone}, + + + a_power=#{a_power}, + + + a_describe=#{a_describe}, + + + where a_id = #{a_id} + +