Commit f97b4e94 by lystar

将nmshce项目中的SYS_USER替换成SYS_USER_SHCE

parent 3533a456
......@@ -142,7 +142,7 @@
POLICEMANID as policemanid,
TELEPHONE as telephone,
UNITNAME as unitname
from SYS_USER_SHCE_ZXAJSP
from SYS_USER_ZXAJSP
where 1=1
<if test="type !=null"> and MODULECODE = #{type}</if>
) t where ROWNUM <![CDATA[<=]]>
......@@ -153,7 +153,7 @@
<!--专项案件省厅负责人审批总数-->
<select id="selectZxajstfzrUserCountByCondition" resultType="java.lang.Integer">
select count(*)
from SYS_USER_SHCE_ZXAJSP
from SYS_USER_ZXAJSP
where 1=1
<if test="type !=null"> and MODULECODE = #{type}</if>
</select>
......
......@@ -472,7 +472,7 @@
SELECT
<include refid="Base_Column_List"/>
FROM
Sys_user
sys_user_shce
WHERE scbz=0
<if test="username !=null"> and USERNAME=#{username,jdbcType=VARCHAR}</if>
<if test="identitycard !=null"> and IDENTITYCARD=#{identitycard,jdbcType=VARCHAR}</if>
......@@ -647,7 +647,7 @@
</delete>
<!--插入用户照片-->
<insert id="insertUserZp" parameterType = "com.xzxtshiro.pojo.SysUserZp">
insert into SYS_USER_SHCEZP(
insert into SYS_USERZP(
xxbh,
user_id,
photo ,
......@@ -664,15 +664,15 @@
<!--查询用户照片-->
<select id="selectUserZpByUserId" resultType="com.xzxtshiro.pojo.SysUserZp">
select * from SYS_USER_SHCEZP where scbz=0 and USER_ID = #{userId,jdbcType=VARCHAR}
select * from SYS_USERZP where scbz=0 and USER_ID = #{userId,jdbcType=VARCHAR}
</select>
<!--删除用户的老照片-->
<delete id="deleteUserZpByUserId">
delete from SYS_USER_SHCEZP where user_id = #{userId,jdbcType=VARCHAR}
delete from SYS_USERZP where user_id = #{userId,jdbcType=VARCHAR}
</delete>
<!--根据用户id真实删除用户-->
<delete id="deleteUserById">
DELETE from sys_user where id = #{userId,jdbcType=VARCHAR}
DELETE from sys_user_shce where id = #{userId,jdbcType=VARCHAR}
</delete>
<!--查询当前用户信息-->
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment