Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xzxt-shiro
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
常超
xzxt-shiro
Commits
f97b4e94
Commit
f97b4e94
authored
Jul 26, 2021
by
lystar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
将nmshce项目中的SYS_USER替换成SYS_USER_SHCE
parent
3533a456
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
src/main/java/com/xzxtshiro/mapper/SearchUserMapper.xml
+2
-2
src/main/java/com/xzxtshiro/mapper/SysUserMapper.xml
+5
-5
No files found.
src/main/java/com/xzxtshiro/mapper/SearchUserMapper.xml
View file @
f97b4e94
...
...
@@ -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>
...
...
src/main/java/com/xzxtshiro/mapper/SysUserMapper.xml
View file @
f97b4e94
...
...
@@ -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
_SHCE
ZP(
insert into SYS_USERZP(
xxbh,
user_id,
photo ,
...
...
@@ -664,15 +664,15 @@
<!--查询用户照片-->
<select
id=
"selectUserZpByUserId"
resultType=
"com.xzxtshiro.pojo.SysUserZp"
>
select * from SYS_USER
_SHCE
ZP 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
_SHCE
ZP 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>
<!--查询当前用户信息-->
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment