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
3533a456
Commit
3533a456
authored
Jul 26, 2021
by
lystar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
将nmshce项目中的SYS_USER替换成SYS_USER_SHCE
parent
b87b0f9a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
22 deletions
+22
-22
src/main/java/com/xzxtshiro/mapper/SearchUserMapper.xml
+6
-6
src/main/java/com/xzxtshiro/mapper/SysUserMapper.xml
+16
-16
No files found.
src/main/java/com/xzxtshiro/mapper/SearchUserMapper.xml
View file @
3533a456
...
...
@@ -45,7 +45,7 @@
select t.*,rownum rn from (
select
<include
refid=
"Base_Column_List"
/>
,ROLENAME
from SYS_USER t
from SYS_USER
_SHCE
t
left join
(select u.user_id ,
listagg( roleName, ',' ) within group ( order by u.user_id ) as roleName
...
...
@@ -60,7 +60,7 @@
<select
id=
"selectDsxjglyListCountByCondition"
resultType=
"integer"
>
SELECT
count(1)
from SYS_USER t
from SYS_USER
_SHCE
t
left join
(select u.user_id ,
listagg( roleName, ',' ) within group ( order by u.user_id ) as roleName
...
...
@@ -76,7 +76,7 @@
select t.*,rownum rn from (
select
<include
refid=
"Base_Column_List"
/>
,ROLENAME
from SYS_USER t
from SYS_USER
_SHCE
t
left join
(select u.user_id ,
xmlagg(xmlparse(content roleName||',' wellformed) order by u.user_id).getclobval() as roleName
...
...
@@ -91,7 +91,7 @@
<select
id=
"selectSxDsxjglyListCountByCondition"
resultType=
"integer"
>
SELECT
count(1)
from SYS_USER t
from SYS_USER
_SHCE
t
left join
(select u.user_id ,
xmlagg(xmlparse(content roleName||',' wellformed) order by u.user_id).getclobval() as roleName
...
...
@@ -142,7 +142,7 @@
POLICEMANID as policemanid,
TELEPHONE as telephone,
UNITNAME as unitname
from SYS_USER_ZXAJSP
from SYS_USER_
SHCE_
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_ZXAJSP
from SYS_USER_
SHCE_
ZXAJSP
where 1=1
<if
test=
"type !=null"
>
and MODULECODE = #{type}
</if>
</select>
...
...
src/main/java/com/xzxtshiro/mapper/SysUserMapper.xml
View file @
3533a456
...
...
@@ -50,16 +50,16 @@
<select
id=
"selectByPrimaryKey"
resultMap=
"BaseResultMap"
parameterType=
"java.lang.String"
>
select
<include
refid=
"Base_Column_List"
/>
from SYS_USER
from SYS_USER
_SHCE
where ID = #{id,jdbcType=VARCHAR}
</select>
<delete
id=
"deleteByPrimaryKey"
parameterType=
"java.lang.String"
>
delete from SYS_USER
delete from SYS_USER
_SHCE
where ID = #{id,jdbcType=VARCHAR}
</delete>
<insert
id=
"insert"
parameterType=
"com.xzxtshiro.pojo.SysUser"
>
insert into SYS_USER (ID, UNITCODE, USERNAME,
insert into SYS_USER
_SHCE
(ID, UNITCODE, USERNAME,
PASSWORD, TRUE_NAME, OPEN_FLAG,
DEFAULT_MODEL, REMARK, LRR,
LRSJ, GXR, GXSJ, LRDWDM,
...
...
@@ -85,7 +85,7 @@
)
</insert>
<insert
id=
"insertSelective"
parameterType=
"com.xzxtshiro.pojo.SysUser"
>
insert into SYS_USER
insert into SYS_USER
_SHCE
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"id != null"
>
ID,
...
...
@@ -296,7 +296,7 @@
</trim>
</insert>
<update
id=
"updateSysUserById"
parameterType=
"com.xzxtshiro.pojo.SysUser"
>
update SYS_USER
update SYS_USER
_SHCE
<set
>
<if
test=
"unitcode != null"
>
UNITCODE = #{unitcode,jdbcType=VARCHAR},
...
...
@@ -401,7 +401,7 @@
where ID = #{id,jdbcType=VARCHAR}
</update>
<update
id=
"updateByPrimaryKey"
parameterType=
"com.xzxtshiro.pojo.SysUser"
>
update SYS_USER
update SYS_USER
_SHCE
set UNITCODE = #{unitcode,jdbcType=VARCHAR},
USERNAME = #{username,jdbcType=VARCHAR},
PASSWORD = #{password,jdbcType=VARCHAR},
...
...
@@ -438,7 +438,7 @@
where ID = #{id,jdbcType=VARCHAR}
</update>
<update
id=
"updateShceUser"
>
update SYS_USER set XTLX='SHCE' where 1=1
update SYS_USER
_SHCE
set XTLX='SHCE' where 1=1
<if
test=
"username !=null"
>
and USERNAME=#{username,jdbcType=VARCHAR}
</if>
<if
test=
"identitycard !=null"
>
and IDENTITYCARD=#{identitycard,jdbcType=VARCHAR}
</if>
</update>
...
...
@@ -511,7 +511,7 @@
<select
id=
"queryAllUserByCondition"
resultMap=
"BaseResultMap"
>
select
<include
refid=
"Base_Column_List"
/>
,ROLENAME
from SYS_USER t
from SYS_USER
_SHCE
t
left join
(select u.user_id ,
listagg( roleName, ',' ) within group ( order by u.user_id ) as roleName
...
...
@@ -535,7 +535,7 @@
select t.*,rownum rn from (
select
<include
refid=
"Base_Column_List"
/>
,ROLENAME
from SYS_USER t
from SYS_USER
_SHCE
t
left join
(select u.user_id ,
listagg( roleName, ',' ) within group ( order by u.user_id ) as roleName
...
...
@@ -560,7 +560,7 @@
<select
id=
"selectSysUserCountByCondition"
resultType=
"integer"
>
SELECT
count(1)
from SYS_USER t
from SYS_USER
_SHCE
t
left join
(select u.user_id ,
listagg( roleName, ',' ) within group ( order by u.user_id ) as roleName
...
...
@@ -587,7 +587,7 @@
select t.*,rownum rn from (
select
<include
refid=
"Base_Column_List"
/>
,ROLENAME
from SYS_USER t
from SYS_USER
_SHCE
t
left join
(select u.user_id ,
xmlagg(xmlparse(content roleName||',' wellformed) order by u.user_id).getclobval() as roleName
...
...
@@ -610,7 +610,7 @@
<select
id=
"selectSxSysUserCountByCondition"
resultType=
"integer"
>
SELECT
count(1)
from SYS_USER t
from SYS_USER
_SHCE
t
left join
(select u.user_id ,
xmlagg(xmlparse(content roleName||',' wellformed) order by u.user_id).getclobval() as roleName
...
...
@@ -647,7 +647,7 @@
</delete>
<!--插入用户照片-->
<insert
id=
"insertUserZp"
parameterType =
"com.xzxtshiro.pojo.SysUserZp"
>
insert into SYS_USERZP(
insert into SYS_USER
_SHCE
ZP(
xxbh,
user_id,
photo ,
...
...
@@ -664,11 +664,11 @@
<!--查询用户照片-->
<select
id=
"selectUserZpByUserId"
resultType=
"com.xzxtshiro.pojo.SysUserZp"
>
select * from SYS_USERZP where scbz=0 and USER_ID = #{userId,jdbcType=VARCHAR}
select * from SYS_USER
_SHCE
ZP where scbz=0 and USER_ID = #{userId,jdbcType=VARCHAR}
</select>
<!--删除用户的老照片-->
<delete
id=
"deleteUserZpByUserId"
>
delete from SYS_USERZP where user_id = #{userId,jdbcType=VARCHAR}
delete from SYS_USER
_SHCE
ZP where user_id = #{userId,jdbcType=VARCHAR}
</delete>
<!--根据用户id真实删除用户-->
<delete
id=
"deleteUserById"
>
...
...
@@ -679,7 +679,7 @@
<select
id=
"selectSysUserDetailById"
resultMap=
"BaseResultMap"
>
select
<include
refid=
"Base_Column_List"
/>
,ROLENAME
from SYS_USER t
from SYS_USER
_SHCE
t
left join
(select u.user_id ,
xmlagg(xmlparse(content roleName||',' wellformed) order by u.user_id).getclobval() as roleName
...
...
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