Commit f97b4e94 by lystar

将nmshce项目中的SYS_USER替换成SYS_USER_SHCE

parent 3533a456
...@@ -142,7 +142,7 @@ ...@@ -142,7 +142,7 @@
POLICEMANID as policemanid, POLICEMANID as policemanid,
TELEPHONE as telephone, TELEPHONE as telephone,
UNITNAME as unitname UNITNAME as unitname
from SYS_USER_SHCE_ZXAJSP from SYS_USER_ZXAJSP
where 1=1 where 1=1
<if test="type !=null"> and MODULECODE = #{type}</if> <if test="type !=null"> and MODULECODE = #{type}</if>
) t where ROWNUM <![CDATA[<=]]> ) t where ROWNUM <![CDATA[<=]]>
...@@ -153,7 +153,7 @@ ...@@ -153,7 +153,7 @@
<!--专项案件省厅负责人审批总数--> <!--专项案件省厅负责人审批总数-->
<select id="selectZxajstfzrUserCountByCondition" resultType="java.lang.Integer"> <select id="selectZxajstfzrUserCountByCondition" resultType="java.lang.Integer">
select count(*) select count(*)
from SYS_USER_SHCE_ZXAJSP from SYS_USER_ZXAJSP
where 1=1 where 1=1
<if test="type !=null"> and MODULECODE = #{type}</if> <if test="type !=null"> and MODULECODE = #{type}</if>
</select> </select>
......
...@@ -472,7 +472,7 @@ ...@@ -472,7 +472,7 @@
SELECT SELECT
<include refid="Base_Column_List"/> <include refid="Base_Column_List"/>
FROM FROM
Sys_user sys_user_shce
WHERE scbz=0 WHERE scbz=0
<if test="username !=null"> and USERNAME=#{username,jdbcType=VARCHAR}</if> <if test="username !=null"> and USERNAME=#{username,jdbcType=VARCHAR}</if>
<if test="identitycard !=null"> and IDENTITYCARD=#{identitycard,jdbcType=VARCHAR}</if> <if test="identitycard !=null"> and IDENTITYCARD=#{identitycard,jdbcType=VARCHAR}</if>
...@@ -647,7 +647,7 @@ ...@@ -647,7 +647,7 @@
</delete> </delete>
<!--插入用户照片--> <!--插入用户照片-->
<insert id="insertUserZp" parameterType = "com.xzxtshiro.pojo.SysUserZp"> <insert id="insertUserZp" parameterType = "com.xzxtshiro.pojo.SysUserZp">
insert into SYS_USER_SHCEZP( insert into SYS_USERZP(
xxbh, xxbh,
user_id, user_id,
photo , photo ,
...@@ -664,15 +664,15 @@ ...@@ -664,15 +664,15 @@
<!--查询用户照片--> <!--查询用户照片-->
<select id="selectUserZpByUserId" resultType="com.xzxtshiro.pojo.SysUserZp"> <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> </select>
<!--删除用户的老照片--> <!--删除用户的老照片-->
<delete id="deleteUserZpByUserId"> <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> </delete>
<!--根据用户id真实删除用户--> <!--根据用户id真实删除用户-->
<delete id="deleteUserById"> <delete id="deleteUserById">
DELETE from sys_user where id = #{userId,jdbcType=VARCHAR} DELETE from sys_user_shce where id = #{userId,jdbcType=VARCHAR}
</delete> </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