Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
sv-springboot
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
bsoft
sv-springboot
Commits
f9e7d8c8
Commit
f9e7d8c8
authored
Nov 14, 2019
by
Suvalue
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mapper用户名前缀修改
parent
2ca44b68
Hide whitespace changes
Inline
Side-by-side
Showing
19 changed files
with
115 additions
and
104 deletions
+115
-104
bsoft-api/src/main/resources/mapper/DicDimMapper.xml
+5
-5
bsoft-api/src/main/resources/mapper/DicIndMapper.xml
+7
-6
bsoft-api/src/main/resources/mapper/DicOrgMapper.xml
+5
-5
bsoft-api/src/main/resources/mapper/SerBlockMapper.xml
+6
-5
bsoft-api/src/main/resources/mapper/SerDimValueMapper.xml
+5
-5
bsoft-api/src/main/resources/mapper/SerDiseaseDocRsMapper.xml
+6
-6
bsoft-api/src/main/resources/mapper/SerDiseaseMapper.xml
+9
-9
bsoft-api/src/main/resources/mapper/SerPageBlockRsMapper.xml
+7
-6
bsoft-api/src/main/resources/mapper/SerPageDimRsMapper.xml
+6
-5
bsoft-api/src/main/resources/mapper/SerPageMapper.xml
+5
-5
bsoft-api/src/main/resources/mapper/SysMenuMapper.xml
+5
-5
bsoft-api/src/main/resources/mapper/SysOrgMapper.xml
+6
-5
bsoft-api/src/main/resources/mapper/SysProjectMapper.xml
+6
-5
bsoft-api/src/main/resources/mapper/SysRoleMapper.xml
+6
-5
bsoft-api/src/main/resources/mapper/SysRoleMenuRsMapper.xml
+6
-5
bsoft-api/src/main/resources/mapper/SysUserMapper.xml
+6
-6
bsoft-api/src/main/resources/mapper/SysUserMenuRsMapper.xml
+6
-5
bsoft-api/src/main/resources/mapper/SysUserOrgRsMapper.xml
+6
-5
bsoft-api/src/main/resources/mapper/SysUserRoleRsMapper.xml
+7
-6
No files found.
bsoft-api/src/main/resources/mapper/DicDimMapper.xml
View file @
f9e7d8c8
...
@@ -9,20 +9,20 @@
...
@@ -9,20 +9,20 @@
</resultMap>
</resultMap>
<delete
id=
"deleteByPrimaryKey"
parameterType=
"java.lang.Long"
>
<delete
id=
"deleteByPrimaryKey"
parameterType=
"java.lang.Long"
>
delete from
LL.
DIC_DIM
delete from DIC_DIM
where ID = #{id,jdbcType=DECIMAL}
where ID = #{id,jdbcType=DECIMAL}
</delete>
</delete>
<insert
id=
"insert"
parameterType=
"com.bsoft.api.model.DicDim"
>
<insert
id=
"insert"
parameterType=
"com.bsoft.api.model.DicDim"
>
<selectKey
keyProperty=
"id"
order=
"AFTER"
resultType=
"java.lang.Long"
>
<selectKey
keyProperty=
"id"
order=
"AFTER"
resultType=
"java.lang.Long"
>
select SEQ_DIC_DIM_ID.nextval from dual
select SEQ_DIC_DIM_ID.nextval from dual
</selectKey>
</selectKey>
insert into
LL.
DIC_DIM (
insert into DIC_DIM (
DIM_NAME, DIM_FIELD,DIM_TYPE)
DIM_NAME, DIM_FIELD,DIM_TYPE)
values (
values (
#{dimName,jdbcType=VARCHAR}, #{dimField,jdbcType=VARCHAR},#{dimType,jdbcType=DECIMAL})
#{dimName,jdbcType=VARCHAR}, #{dimField,jdbcType=VARCHAR},#{dimType,jdbcType=DECIMAL})
</insert>
</insert>
<update
id=
"updateByPrimaryKey"
parameterType=
"com.bsoft.api.model.DicDim"
>
<update
id=
"updateByPrimaryKey"
parameterType=
"com.bsoft.api.model.DicDim"
>
update
LL.
DIC_DIM
update DIC_DIM
set
set
DIM_NAME = #{dimName,jdbcType=VARCHAR},
DIM_NAME = #{dimName,jdbcType=VARCHAR},
DIM_FIELD = #{dimField,jdbcType=VARCHAR},
DIM_FIELD = #{dimField,jdbcType=VARCHAR},
...
@@ -31,12 +31,12 @@
...
@@ -31,12 +31,12 @@
</update>
</update>
<select
id=
"selectByPrimaryKey"
parameterType=
"java.lang.Long"
resultMap=
"BaseResultMap"
>
<select
id=
"selectByPrimaryKey"
parameterType=
"java.lang.Long"
resultMap=
"BaseResultMap"
>
select ID, CREATE_DATE, CREATE_USERID, STATE, DIM_NAME, DIM_FIELD,DIM_TYPE
select ID, CREATE_DATE, CREATE_USERID, STATE, DIM_NAME, DIM_FIELD,DIM_TYPE
from
LL.
DIC_DIM
from DIC_DIM
where ID = #{id,jdbcType=DECIMAL}
where ID = #{id,jdbcType=DECIMAL}
</select>
</select>
<select
id=
"selectAll"
resultMap=
"BaseResultMap"
>
<select
id=
"selectAll"
resultMap=
"BaseResultMap"
>
select ID, CREATE_DATE, CREATE_USERID, STATE, DIM_NAME, DIM_FIELD,DIM_TYPE
select ID, CREATE_DATE, CREATE_USERID, STATE, DIM_NAME, DIM_FIELD,DIM_TYPE
from
LL.
DIC_DIM
from DIC_DIM
</select>
</select>
<select
id=
"selectByPageid"
resultMap=
"BaseResultMap"
>
<select
id=
"selectByPageid"
resultMap=
"BaseResultMap"
>
select dd.* from SER_PAGE_DIM_RS spdr,DIC_DIM dd
select dd.* from SER_PAGE_DIM_RS spdr,DIC_DIM dd
...
...
bsoft-api/src/main/resources/mapper/DicIndMapper.xml
View file @
f9e7d8c8
...
@@ -15,14 +15,14 @@
...
@@ -15,14 +15,14 @@
</resultMap>
</resultMap>
<delete
id=
"deleteByPrimaryKey"
parameterType=
"java.lang.Long"
>
<delete
id=
"deleteByPrimaryKey"
parameterType=
"java.lang.Long"
>
delete from
LL.
DIC_IND
delete from DIC_IND
where ID = #{id,jdbcType=DECIMAL}
where ID = #{id,jdbcType=DECIMAL}
</delete>
</delete>
<insert
id=
"insert"
parameterType=
"com.bsoft.api.model.DicInd"
>
<insert
id=
"insert"
parameterType=
"com.bsoft.api.model.DicInd"
>
<selectKey
keyProperty=
"id"
order=
"AFTER"
resultType=
"java.lang.Long"
>
<selectKey
keyProperty=
"id"
order=
"AFTER"
resultType=
"java.lang.Long"
>
select SEQ_DIC_IND_ID.nextval from dual
select SEQ_DIC_IND_ID.nextval from dual
</selectKey>
</selectKey>
insert into
LL.
DIC_IND (CREATE_DATE, CREATE_USERID, STATE,
insert into DIC_IND (CREATE_DATE, CREATE_USERID, STATE,
IND_CODE, IND_NAME, COMPUTE_MODE,
IND_CODE, IND_NAME, COMPUTE_MODE,
EXEC_SQL, DESCRIBE)
EXEC_SQL, DESCRIBE)
values (#{createDate,jdbcType=TIMESTAMP}, #{createUserid,jdbcType=DECIMAL}, #{state,jdbcType=DECIMAL},
values (#{createDate,jdbcType=TIMESTAMP}, #{createUserid,jdbcType=DECIMAL}, #{state,jdbcType=DECIMAL},
...
@@ -30,7 +30,7 @@
...
@@ -30,7 +30,7 @@
#{execSql,jdbcType=VARCHAR}, #{describe,jdbcType=VARCHAR})
#{execSql,jdbcType=VARCHAR}, #{describe,jdbcType=VARCHAR})
</insert>
</insert>
<update
id=
"updateByPrimaryKey"
parameterType=
"com.bsoft.api.model.DicInd"
>
<update
id=
"updateByPrimaryKey"
parameterType=
"com.bsoft.api.model.DicInd"
>
update
LL.
DIC_IND
update DIC_IND
set CREATE_DATE = #{createDate,jdbcType=TIMESTAMP},
set CREATE_DATE = #{createDate,jdbcType=TIMESTAMP},
CREATE_USERID = #{createUserid,jdbcType=DECIMAL},
CREATE_USERID = #{createUserid,jdbcType=DECIMAL},
STATE = #{state,jdbcType=DECIMAL},
STATE = #{state,jdbcType=DECIMAL},
...
@@ -44,18 +44,18 @@
...
@@ -44,18 +44,18 @@
<select
id=
"selectByPrimaryKey"
parameterType=
"java.lang.Long"
resultMap=
"BaseResultMap"
>
<select
id=
"selectByPrimaryKey"
parameterType=
"java.lang.Long"
resultMap=
"BaseResultMap"
>
select ID, CREATE_DATE, CREATE_USERID, STATE, IND_CODE, IND_NAME, COMPUTE_MODE, EXEC_SQL,
select ID, CREATE_DATE, CREATE_USERID, STATE, IND_CODE, IND_NAME, COMPUTE_MODE, EXEC_SQL,
DESCRIBE
DESCRIBE
from
LL.
DIC_IND
from DIC_IND
where ID = #{id,jdbcType=DECIMAL}
where ID = #{id,jdbcType=DECIMAL}
</select>
</select>
<select
id=
"selectAll"
resultMap=
"BaseResultMap"
>
<select
id=
"selectAll"
resultMap=
"BaseResultMap"
>
select ID, CREATE_DATE, CREATE_USERID, STATE, IND_CODE, IND_NAME, COMPUTE_MODE, EXEC_SQL,
select ID, CREATE_DATE, CREATE_USERID, STATE, IND_CODE, IND_NAME, COMPUTE_MODE, EXEC_SQL,
DESCRIBE
DESCRIBE
from
LL.
DIC_IND
from DIC_IND
</select>
</select>
<select
id=
"selectAllByFilter"
resultMap=
"BaseResultMap"
>
<select
id=
"selectAllByFilter"
resultMap=
"BaseResultMap"
>
select ID, CREATE_DATE, CREATE_USERID, STATE, IND_CODE, IND_NAME,IND_FIELD, COMPUTE_MODE, EXEC_SQL,
select ID, CREATE_DATE, CREATE_USERID, STATE, IND_CODE, IND_NAME,IND_FIELD, COMPUTE_MODE, EXEC_SQL,
DESCRIBE
DESCRIBE
from
LL.
DIC_IND
from DIC_IND
where IND_NAME LIKE '%'||#{filter,jdbcType=VARCHAR}||'%'
where IND_NAME LIKE '%'||#{filter,jdbcType=VARCHAR}||'%'
</select>
</select>
</mapper>
</mapper>
\ No newline at end of file
bsoft-api/src/main/resources/mapper/DicOrgMapper.xml
View file @
f9e7d8c8
...
@@ -14,14 +14,14 @@
...
@@ -14,14 +14,14 @@
</resultMap>
</resultMap>
<delete
id=
"deleteByPrimaryKey"
parameterType=
"java.lang.Long"
>
<delete
id=
"deleteByPrimaryKey"
parameterType=
"java.lang.Long"
>
delete from
LL.
DIC_ORG
delete from DIC_ORG
where ID = #{id,jdbcType=DECIMAL}
where ID = #{id,jdbcType=DECIMAL}
</delete>
</delete>
<insert
id=
"insert"
parameterType=
"com.bsoft.api.model.DicOrg"
>
<insert
id=
"insert"
parameterType=
"com.bsoft.api.model.DicOrg"
>
<selectKey
keyProperty=
"id"
order=
"AFTER"
resultType=
"java.lang.Long"
>
<selectKey
keyProperty=
"id"
order=
"AFTER"
resultType=
"java.lang.Long"
>
select SEQ_DIC_ORG_ID.nextval from dual
select SEQ_DIC_ORG_ID.nextval from dual
</selectKey>
</selectKey>
insert into
LL.
DIC_ORG (CREATE_DATE, CREATE_USERID, STATE,
insert into DIC_ORG (CREATE_DATE, CREATE_USERID, STATE,
ORG_CODE, ORG_NAME, ORG_NO,
ORG_CODE, ORG_NAME, ORG_NO,
ORG_SHORT_NAME, ORG_GROUP, ORG_TYPE,
ORG_SHORT_NAME, ORG_GROUP, ORG_TYPE,
ORG_ADDRESS, PARENT_ID)
ORG_ADDRESS, PARENT_ID)
...
@@ -34,7 +34,7 @@
...
@@ -34,7 +34,7 @@
#{orgAddress,jdbcType=VARCHAR}, #{parentId,jdbcType=DECIMAL})
#{orgAddress,jdbcType=VARCHAR}, #{parentId,jdbcType=DECIMAL})
</insert>
</insert>
<update
id=
"updateByPrimaryKey"
parameterType=
"com.bsoft.api.model.DicOrg"
>
<update
id=
"updateByPrimaryKey"
parameterType=
"com.bsoft.api.model.DicOrg"
>
update
LL.
DIC_ORG
update DIC_ORG
set CREATE_DATE = #{createDate,jdbcType=TIMESTAMP},
set CREATE_DATE = #{createDate,jdbcType=TIMESTAMP},
CREATE_USERID = #{createUserid,jdbcType=DECIMAL},
CREATE_USERID = #{createUserid,jdbcType=DECIMAL},
STATE = #{state,jdbcType=DECIMAL},
STATE = #{state,jdbcType=DECIMAL},
...
@@ -51,13 +51,13 @@
...
@@ -51,13 +51,13 @@
<select
id=
"selectByPrimaryKey"
parameterType=
"java.lang.Long"
resultMap=
"BaseResultMap"
>
<select
id=
"selectByPrimaryKey"
parameterType=
"java.lang.Long"
resultMap=
"BaseResultMap"
>
select ID, CREATE_DATE, CREATE_USERID, STATE, ORG_CODE, ORG_NAME, ORG_NO, ORG_SHORT_NAME,
select ID, CREATE_DATE, CREATE_USERID, STATE, ORG_CODE, ORG_NAME, ORG_NO, ORG_SHORT_NAME,
ORG_GROUP, ORG_TYPE, ORG_ADDRESS, PARENT_ID
ORG_GROUP, ORG_TYPE, ORG_ADDRESS, PARENT_ID
from
LL.
DIC_ORG
from DIC_ORG
where ID = #{id,jdbcType=DECIMAL}
where ID = #{id,jdbcType=DECIMAL}
</select>
</select>
<select
id=
"selectAll"
resultMap=
"BaseResultMap"
>
<select
id=
"selectAll"
resultMap=
"BaseResultMap"
>
select ID, CREATE_DATE, CREATE_USERID, STATE, ORG_CODE, ORG_NAME, ORG_NO, ORG_SHORT_NAME,
select ID, CREATE_DATE, CREATE_USERID, STATE, ORG_CODE, ORG_NAME, ORG_NO, ORG_SHORT_NAME,
ORG_GROUP, ORG_TYPE, ORG_ADDRESS, PARENT_ID
ORG_GROUP, ORG_TYPE, ORG_ADDRESS, PARENT_ID
from
LL.
DIC_ORG
from DIC_ORG
</select>
</select>
<select
id=
"selectByUser"
resultMap=
"BaseResultMap"
>
<select
id=
"selectByUser"
resultMap=
"BaseResultMap"
>
SELECT o.*
SELECT o.*
...
...
bsoft-api/src/main/resources/mapper/SerBlockMapper.xml
View file @
f9e7d8c8
...
@@ -11,14 +11,14 @@
...
@@ -11,14 +11,14 @@
<result
column=
"RETURN_TYPE"
jdbcType=
"DECIMAL"
property=
"returnType"
/>
<result
column=
"RETURN_TYPE"
jdbcType=
"DECIMAL"
property=
"returnType"
/>
</resultMap>
</resultMap>
<delete
id=
"deleteByPrimaryKey"
parameterType=
"java.lang.Long"
>
<delete
id=
"deleteByPrimaryKey"
parameterType=
"java.lang.Long"
>
delete from
LL.
SER_BLOCK
delete from SER_BLOCK
where ID = #{id,jdbcType=DECIMAL}
where ID = #{id,jdbcType=DECIMAL}
</delete>
</delete>
<insert
id=
"insert"
parameterType=
"com.bsoft.api.model.SerBlock"
>
<insert
id=
"insert"
parameterType=
"com.bsoft.api.model.SerBlock"
>
<selectKey
keyProperty=
"id"
order=
"AFTER"
resultType=
"java.lang.Long"
>
<selectKey
keyProperty=
"id"
order=
"AFTER"
resultType=
"java.lang.Long"
>
select SEQ_SER_BLOCK_ID.nextval from dual
select SEQ_SER_BLOCK_ID.nextval from dual
</selectKey>
</selectKey>
insert into
LL.
SER_BLOCK (CREATE_DATE, CREATE_USERID, STATE,
insert into SER_BLOCK (CREATE_DATE, CREATE_USERID, STATE,
BLOCK_CODE, BLOCK_NAME, RETURN_TYPE
BLOCK_CODE, BLOCK_NAME, RETURN_TYPE
)
)
values (#{createDate,jdbcType=TIMESTAMP}, #{createUserid,jdbcType=DECIMAL}, #{state,jdbcType=DECIMAL},
values (#{createDate,jdbcType=TIMESTAMP}, #{createUserid,jdbcType=DECIMAL}, #{state,jdbcType=DECIMAL},
...
@@ -26,7 +26,7 @@
...
@@ -26,7 +26,7 @@
)
)
</insert>
</insert>
<update
id=
"updateByPrimaryKey"
parameterType=
"com.bsoft.api.model.SerBlock"
>
<update
id=
"updateByPrimaryKey"
parameterType=
"com.bsoft.api.model.SerBlock"
>
update
LL.
SER_BLOCK
update SER_BLOCK
set CREATE_DATE = #{createDate,jdbcType=TIMESTAMP},
set CREATE_DATE = #{createDate,jdbcType=TIMESTAMP},
CREATE_USERID = #{createUserid,jdbcType=DECIMAL},
CREATE_USERID = #{createUserid,jdbcType=DECIMAL},
STATE = #{state,jdbcType=DECIMAL},
STATE = #{state,jdbcType=DECIMAL},
...
@@ -37,11 +37,11 @@
...
@@ -37,11 +37,11 @@
</update>
</update>
<select
id=
"selectByPrimaryKey"
parameterType=
"java.lang.Long"
resultMap=
"BaseResultMap"
>
<select
id=
"selectByPrimaryKey"
parameterType=
"java.lang.Long"
resultMap=
"BaseResultMap"
>
select ID, CREATE_DATE, CREATE_USERID, STATE, BLOCK_CODE, BLOCK_NAME, RETURN_TYPE
select ID, CREATE_DATE, CREATE_USERID, STATE, BLOCK_CODE, BLOCK_NAME, RETURN_TYPE
from
LL.
SER_BLOCK
from SER_BLOCK
where ID = #{id,jdbcType=DECIMAL}
where ID = #{id,jdbcType=DECIMAL}
</select>
</select>
<select
id=
"selectAll"
resultMap=
"BaseResultMap"
>
<select
id=
"selectAll"
resultMap=
"BaseResultMap"
>
select ID, CREATE_DATE, CREATE_USERID, STATE, BLOCK_CODE, BLOCK_NAME, RETURN_TYPE
select ID, CREATE_DATE, CREATE_USERID, STATE, BLOCK_CODE, BLOCK_NAME, RETURN_TYPE
from
LL.
SER_BLOCK
from SER_BLOCK
</select>
</select>
</mapper>
</mapper>
\ No newline at end of file
bsoft-api/src/main/resources/mapper/SerDimValueMapper.xml
View file @
f9e7d8c8
...
@@ -10,20 +10,20 @@
...
@@ -10,20 +10,20 @@
<result
column=
"DIM_ID"
jdbcType=
"DECIMAL"
property=
"dimId"
/>
<result
column=
"DIM_ID"
jdbcType=
"DECIMAL"
property=
"dimId"
/>
</resultMap>
</resultMap>
<delete
id=
"deleteByPrimaryKey"
parameterType=
"java.math.BigDecimal"
>
<delete
id=
"deleteByPrimaryKey"
parameterType=
"java.math.BigDecimal"
>
delete from
LL.
SER_DIM_VALUE
delete from SER_DIM_VALUE
where ID = #{id,jdbcType=DECIMAL}
where ID = #{id,jdbcType=DECIMAL}
</delete>
</delete>
<insert
id=
"insert"
parameterType=
"com.bsoft.api.model.SerDimValue"
>
<insert
id=
"insert"
parameterType=
"com.bsoft.api.model.SerDimValue"
>
<selectKey
keyProperty=
"id"
order=
"AFTER"
resultType=
"java.math.BigDecimal"
>
<selectKey
keyProperty=
"id"
order=
"AFTER"
resultType=
"java.math.BigDecimal"
>
select SEQ_SER_DIM_VALUE_ID.nextval from dual
select SEQ_SER_DIM_VALUE_ID.nextval from dual
</selectKey>
</selectKey>
insert into
LL.
SER_DIM_VALUE (ORG_ID, ITEM_NAME, ITEM_VALUE,
insert into SER_DIM_VALUE (ORG_ID, ITEM_NAME, ITEM_VALUE,
"DATE", DIM_ID)
"DATE", DIM_ID)
values (#{orgId,jdbcType=DECIMAL}, #{itemName,jdbcType=VARCHAR}, #{itemValue,jdbcType=VARCHAR},
values (#{orgId,jdbcType=DECIMAL}, #{itemName,jdbcType=VARCHAR}, #{itemValue,jdbcType=VARCHAR},
#{date,jdbcType=DECIMAL}, #{dimId,jdbcType=DECIMAL})
#{date,jdbcType=DECIMAL}, #{dimId,jdbcType=DECIMAL})
</insert>
</insert>
<update
id=
"updateByPrimaryKey"
parameterType=
"com.bsoft.api.model.SerDimValue"
>
<update
id=
"updateByPrimaryKey"
parameterType=
"com.bsoft.api.model.SerDimValue"
>
update
LL.
SER_DIM_VALUE
update SER_DIM_VALUE
set ORG_ID = #{orgId,jdbcType=DECIMAL},
set ORG_ID = #{orgId,jdbcType=DECIMAL},
ITEM_NAME = #{itemName,jdbcType=VARCHAR},
ITEM_NAME = #{itemName,jdbcType=VARCHAR},
ITEM_VALUE = #{itemValue,jdbcType=VARCHAR},
ITEM_VALUE = #{itemValue,jdbcType=VARCHAR},
...
@@ -33,12 +33,12 @@
...
@@ -33,12 +33,12 @@
</update>
</update>
<select
id=
"selectByPrimaryKey"
parameterType=
"java.math.BigDecimal"
resultMap=
"BaseResultMap"
>
<select
id=
"selectByPrimaryKey"
parameterType=
"java.math.BigDecimal"
resultMap=
"BaseResultMap"
>
select ID, ORG_ID, ITEM_NAME, ITEM_VALUE, "DATE", DIM_ID
select ID, ORG_ID, ITEM_NAME, ITEM_VALUE, "DATE", DIM_ID
from
LL.
SER_DIM_VALUE
from SER_DIM_VALUE
where ID = #{id,jdbcType=DECIMAL}
where ID = #{id,jdbcType=DECIMAL}
</select>
</select>
<select
id=
"selectAll"
resultMap=
"BaseResultMap"
>
<select
id=
"selectAll"
resultMap=
"BaseResultMap"
>
select ID, ORG_ID, ITEM_NAME, ITEM_VALUE, "DATE", DIM_ID
select ID, ORG_ID, ITEM_NAME, ITEM_VALUE, "DATE", DIM_ID
from
LL.
SER_DIM_VALUE
from SER_DIM_VALUE
</select>
</select>
<select
id=
"selectByDimId"
resultMap=
"BaseResultMap"
>
<select
id=
"selectByDimId"
resultMap=
"BaseResultMap"
>
SELECT dv.*
SELECT dv.*
...
...
bsoft-api/src/main/resources/mapper/SerDiseaseDocRsMapper.xml
View file @
f9e7d8c8
...
@@ -13,14 +13,14 @@
...
@@ -13,14 +13,14 @@
</resultMap>
</resultMap>
<delete
id=
"deleteByPrimaryKey"
parameterType=
"java.math.BigDecimal"
>
<delete
id=
"deleteByPrimaryKey"
parameterType=
"java.math.BigDecimal"
>
delete from
LL.
SER_DISEASE_DOC_RS
delete from SER_DISEASE_DOC_RS
where ID = #{id,jdbcType=DECIMAL}
where ID = #{id,jdbcType=DECIMAL}
</delete>
</delete>
<insert
id=
"insert"
parameterType=
"com.bsoft.api.model.SerDiseaseDocRs"
>
<insert
id=
"insert"
parameterType=
"com.bsoft.api.model.SerDiseaseDocRs"
>
<selectKey
keyProperty=
"id"
order=
"AFTER"
resultType=
"java.math.BigDecimal"
>
<selectKey
keyProperty=
"id"
order=
"AFTER"
resultType=
"java.math.BigDecimal"
>
select SEQ_SER_DISEASE_DOC_RS_ID.nextval from dual
select SEQ_SER_DISEASE_DOC_RS_ID.nextval from dual
</selectKey>
</selectKey>
insert into
LL.
SER_DISEASE_DOC_RS (ORG_ID, DOC_CODE, DOC_NAME,
insert into SER_DISEASE_DOC_RS (ORG_ID, DOC_CODE, DOC_NAME,
MDC_CODE, "DATE", DEPT_CODE,
MDC_CODE, "DATE", DEPT_CODE,
DEPT_NAME)
DEPT_NAME)
values (#{orgId,jdbcType=DECIMAL}, #{docCode,jdbcType=VARCHAR}, #{docName,jdbcType=VARCHAR},
values (#{orgId,jdbcType=DECIMAL}, #{docCode,jdbcType=VARCHAR}, #{docName,jdbcType=VARCHAR},
...
@@ -28,7 +28,7 @@
...
@@ -28,7 +28,7 @@
#{deptName,jdbcType=VARCHAR})
#{deptName,jdbcType=VARCHAR})
</insert>
</insert>
<update
id=
"updateByPrimaryKey"
parameterType=
"com.bsoft.api.model.SerDiseaseDocRs"
>
<update
id=
"updateByPrimaryKey"
parameterType=
"com.bsoft.api.model.SerDiseaseDocRs"
>
update
LL.
SER_DISEASE_DOC_RS
update SER_DISEASE_DOC_RS
set ORG_ID = #{orgId,jdbcType=DECIMAL},
set ORG_ID = #{orgId,jdbcType=DECIMAL},
DOC_CODE = #{docCode,jdbcType=VARCHAR},
DOC_CODE = #{docCode,jdbcType=VARCHAR},
DOC_NAME = #{docName,jdbcType=VARCHAR},
DOC_NAME = #{docName,jdbcType=VARCHAR},
...
@@ -40,16 +40,16 @@
...
@@ -40,16 +40,16 @@
</update>
</update>
<select
id=
"selectByPrimaryKey"
parameterType=
"java.math.BigDecimal"
resultMap=
"BaseResultMap"
>
<select
id=
"selectByPrimaryKey"
parameterType=
"java.math.BigDecimal"
resultMap=
"BaseResultMap"
>
select ID, ORG_ID, DOC_CODE, DOC_NAME, MDC_CODE, "DATE", DEPT_CODE, DEPT_NAME
select ID, ORG_ID, DOC_CODE, DOC_NAME, MDC_CODE, "DATE", DEPT_CODE, DEPT_NAME
from
LL.
SER_DISEASE_DOC_RS
from SER_DISEASE_DOC_RS
where ID = #{id,jdbcType=DECIMAL}
where ID = #{id,jdbcType=DECIMAL}
</select>
</select>
<select
id=
"selectAll"
resultMap=
"BaseResultMap"
>
<select
id=
"selectAll"
resultMap=
"BaseResultMap"
>
select ID, ORG_ID, DOC_CODE, DOC_NAME, MDC_CODE, "DATE", DEPT_CODE, DEPT_NAME
select ID, ORG_ID, DOC_CODE, DOC_NAME, MDC_CODE, "DATE", DEPT_CODE, DEPT_NAME
from
LL.
SER_DISEASE_DOC_RS
from SER_DISEASE_DOC_RS
</select>
</select>
<select
id=
"selectByCode"
resultMap=
"BaseResultMap"
>
<select
id=
"selectByCode"
resultMap=
"BaseResultMap"
>
select ID, ORG_ID, DOC_CODE, DOC_NAME, MDC_CODE, "DATE", DEPT_CODE, DEPT_NAME
select ID, ORG_ID, DOC_CODE, DOC_NAME, MDC_CODE, "DATE", DEPT_CODE, DEPT_NAME
from
LL.
SER_DISEASE_DOC_RS
from SER_DISEASE_DOC_RS
where 1=1
where 1=1
<if
test=
"docCode!=null"
>
<if
test=
"docCode!=null"
>
and DOC_CODE = #{docCode,jdbcType=VARCHAR}
and DOC_CODE = #{docCode,jdbcType=VARCHAR}
...
...
bsoft-api/src/main/resources/mapper/SerDiseaseMapper.xml
View file @
f9e7d8c8
...
@@ -25,14 +25,14 @@
...
@@ -25,14 +25,14 @@
</resultMap>
</resultMap>
<delete
id=
"deleteByPrimaryKey"
parameterType=
"java.math.BigDecimal"
>
<delete
id=
"deleteByPrimaryKey"
parameterType=
"java.math.BigDecimal"
>
delete from
LL.
SER_DISEASE
delete from SER_DISEASE
where ID = #{id,jdbcType=DECIMAL}
where ID = #{id,jdbcType=DECIMAL}
</delete>
</delete>
<insert
id=
"insert"
parameterType=
"com.bsoft.api.model.SerDisease"
>
<insert
id=
"insert"
parameterType=
"com.bsoft.api.model.SerDisease"
>
<selectKey
keyProperty=
"id"
order=
"AFTER"
resultType=
"java.math.BigDecimal"
>
<selectKey
keyProperty=
"id"
order=
"AFTER"
resultType=
"java.math.BigDecimal"
>
select SEQ_SER_DISEASE_ID.nextval from dual
select SEQ_SER_DISEASE_ID.nextval from dual
</selectKey>
</selectKey>
insert into
LL.
SER_DISEASE (
insert into SER_DISEASE (
MDC_CODE, MDC_NAME, DATE,
MDC_CODE, MDC_NAME, DATE,
MDC_NUM, PARENT_ID, LEVEL,
MDC_NUM, PARENT_ID, LEVEL,
ORG_ID, ORG_NAME)
ORG_ID, ORG_NAME)
...
@@ -42,7 +42,7 @@
...
@@ -42,7 +42,7 @@
#{orgId,jdbcType=DECIMAL}, #{orgName,jdbcType=VARCHAR})
#{orgId,jdbcType=DECIMAL}, #{orgName,jdbcType=VARCHAR})
</insert>
</insert>
<update
id=
"updateByPrimaryKey"
parameterType=
"com.bsoft.api.model.SerDisease"
>
<update
id=
"updateByPrimaryKey"
parameterType=
"com.bsoft.api.model.SerDisease"
>
update
LL.
SER_DISEASE
update SER_DISEASE
set
set
MDC_CODE = #{mdcCode,jdbcType=VARCHAR},
MDC_CODE = #{mdcCode,jdbcType=VARCHAR},
MDC_NAME = #{mdcName,jdbcType=VARCHAR},
MDC_NAME = #{mdcName,jdbcType=VARCHAR},
...
@@ -57,24 +57,24 @@
...
@@ -57,24 +57,24 @@
<select
id=
"selectByPrimaryKey"
resultMap=
"BaseResultMap"
>
<select
id=
"selectByPrimaryKey"
resultMap=
"BaseResultMap"
>
select ID, CREATE_DATE, CREATE_USERID, STATE, MDC_CODE, MDC_NAME, "DATE", MDC_NUM,
select ID, CREATE_DATE, CREATE_USERID, STATE, MDC_CODE, MDC_NAME, "DATE", MDC_NUM,
PARENT_ID, "LEVEL", ORG_ID, ORG_NAME
PARENT_ID, "LEVEL", ORG_ID, ORG_NAME
from
LL.
SER_DISEASE
from SER_DISEASE
where ID = #{id,jdbcType=DECIMAL}
where ID = #{id,jdbcType=DECIMAL}
</select>
</select>
<select
id=
"selectByCode"
resultMap=
"BaseResultMap"
>
<select
id=
"selectByCode"
resultMap=
"BaseResultMap"
>
select ID, CREATE_DATE, CREATE_USERID, STATE, MDC_CODE, MDC_NAME, "DATE", MDC_NUM,
select ID, CREATE_DATE, CREATE_USERID, STATE, MDC_CODE, MDC_NAME, "DATE", MDC_NUM,
PARENT_ID, "LEVEL", ORG_ID, ORG_NAME
PARENT_ID, "LEVEL", ORG_ID, ORG_NAME
from
LL.
SER_DISEASE
from SER_DISEASE
where MDC_CODE = #{code,jdbcType=VARCHAR} and "DATE" = #{date,jdbcType=VARCHAR}
where MDC_CODE = #{code,jdbcType=VARCHAR} and "DATE" = #{date,jdbcType=VARCHAR}
</select>
</select>
<select
id=
"selectAll"
resultMap=
"BaseResultMap"
>
<select
id=
"selectAll"
resultMap=
"BaseResultMap"
>
select ID, CREATE_DATE, CREATE_USERID, STATE, MDC_CODE, MDC_NAME, DATE, MDC_NUM,
select ID, CREATE_DATE, CREATE_USERID, STATE, MDC_CODE, MDC_NAME, DATE, MDC_NUM,
PARENT_ID, LEVEL, ORG_ID, ORG_NAME
PARENT_ID, LEVEL, ORG_ID, ORG_NAME
from
LL.
SER_DISEASE
from SER_DISEASE
</select>
</select>
<select
id=
"selectByMdcName"
resultMap=
"BaseResultMap"
>
<select
id=
"selectByMdcName"
resultMap=
"BaseResultMap"
>
select ID, CREATE_DATE, CREATE_USERID, STATE, MDC_CODE, MDC_NAME, "DATE", MDC_NUM,
select ID, CREATE_DATE, CREATE_USERID, STATE, MDC_CODE, MDC_NAME, "DATE", MDC_NUM,
PARENT_ID,"LEVEL", ORG_ID, ORG_NAME
PARENT_ID,"LEVEL", ORG_ID, ORG_NAME
from
LL.
SER_DISEASE
from SER_DISEASE
where 1 = 1 and STATE=1
where 1 = 1 and STATE=1
<if
test=
"date!=null"
>
<if
test=
"date!=null"
>
and "DATE" = #{date,jdbcType=VARCHAR}
and "DATE" = #{date,jdbcType=VARCHAR}
...
@@ -86,7 +86,7 @@
...
@@ -86,7 +86,7 @@
<select
id=
"selectByLevel"
resultMap=
"DiseaseLevel"
>
<select
id=
"selectByLevel"
resultMap=
"DiseaseLevel"
>
select ID, CREATE_DATE, CREATE_USERID, STATE, MDC_CODE, MDC_NAME, "DATE", MDC_NUM,
select ID, CREATE_DATE, CREATE_USERID, STATE, MDC_CODE, MDC_NAME, "DATE", MDC_NUM,
PARENT_ID,"LEVEL", ORG_ID, ORG_NAME
PARENT_ID,"LEVEL", ORG_ID, ORG_NAME
from
LL.
SER_DISEASE
from SER_DISEASE
where 1 = 1 and STATE=1
where 1 = 1 and STATE=1
<if
test=
"date!=null"
>
<if
test=
"date!=null"
>
and "DATE" = #{date,jdbcType=VARCHAR}
and "DATE" = #{date,jdbcType=VARCHAR}
...
@@ -98,7 +98,7 @@
...
@@ -98,7 +98,7 @@
<select
id=
"selectByParentId"
resultMap=
"DiseaseLevel"
>
<select
id=
"selectByParentId"
resultMap=
"DiseaseLevel"
>
select ID, CREATE_DATE, CREATE_USERID, STATE, MDC_CODE, MDC_NAME, "DATE", MDC_NUM,
select ID, CREATE_DATE, CREATE_USERID, STATE, MDC_CODE, MDC_NAME, "DATE", MDC_NUM,
PARENT_ID,"LEVEL", ORG_ID, ORG_NAME
PARENT_ID,"LEVEL", ORG_ID, ORG_NAME
from
LL.
SER_DISEASE
from SER_DISEASE
where 1 = 1 and STATE=1
where 1 = 1 and STATE=1
<if
test=
"date!=null"
>
<if
test=
"date!=null"
>
and "DATE" = #{date,jdbcType=VARCHAR}
and "DATE" = #{date,jdbcType=VARCHAR}
...
...
bsoft-api/src/main/resources/mapper/SerPageBlockRsMapper.xml
View file @
f9e7d8c8
...
@@ -10,20 +10,20 @@
...
@@ -10,20 +10,20 @@
<result
column=
"PAGE_ID"
jdbcType=
"DECIMAL"
property=
"pageId"
/>
<result
column=
"PAGE_ID"
jdbcType=
"DECIMAL"
property=
"pageId"
/>
</resultMap>
</resultMap>
<delete
id=
"deleteByPrimaryKey"
parameterType=
"java.lang.Long"
>
<delete
id=
"deleteByPrimaryKey"
parameterType=
"java.lang.Long"
>
delete from
LL.
SER_PAGE_BLOCK_RS
delete from SER_PAGE_BLOCK_RS
where ID = #{id,jdbcType=DECIMAL}
where ID = #{id,jdbcType=DECIMAL}
</delete>
</delete>
<insert
id=
"insert"
parameterType=
"com.bsoft.api.model.SerPageBlockRs"
>
<insert
id=
"insert"
parameterType=
"com.bsoft.api.model.SerPageBlockRs"
>
<selectKey
keyProperty=
"id"
order=
"AFTER"
resultType=
"java.lang.Long"
>
<selectKey
keyProperty=
"id"
order=
"AFTER"
resultType=
"java.lang.Long"
>
select SEQ_SER_PAGE_BLOCK_RS_ID.nextval from dual
select SEQ_SER_PAGE_BLOCK_RS_ID.nextval from dual
</selectKey>
</selectKey>
insert into
LL.
SER_PAGE_BLOCK_RS (CREATE_DATE, CREATE_USERID, STATE,
insert into SER_PAGE_BLOCK_RS (CREATE_DATE, CREATE_USERID, STATE,
BLOCK_ID, PAGE_ID)
BLOCK_ID, PAGE_ID)
values (#{createDate,jdbcType=TIMESTAMP}, #{createUserid,jdbcType=DECIMAL}, #{state,jdbcType=DECIMAL},
values (#{createDate,jdbcType=TIMESTAMP}, #{createUserid,jdbcType=DECIMAL}, #{state,jdbcType=DECIMAL},
#{blockId,jdbcType=DECIMAL}, #{pageId,jdbcType=DECIMAL})
#{blockId,jdbcType=DECIMAL}, #{pageId,jdbcType=DECIMAL})
</insert>
</insert>
<update
id=
"updateByPrimaryKey"
parameterType=
"com.bsoft.api.model.SerPageBlockRs"
>
<update
id=
"updateByPrimaryKey"
parameterType=
"com.bsoft.api.model.SerPageBlockRs"
>
update
LL.
SER_PAGE_BLOCK_RS
update SER_PAGE_BLOCK_RS
set CREATE_DATE = #{createDate,jdbcType=TIMESTAMP},
set CREATE_DATE = #{createDate,jdbcType=TIMESTAMP},
CREATE_USERID = #{createUserid,jdbcType=DECIMAL},
CREATE_USERID = #{createUserid,jdbcType=DECIMAL},
STATE = #{state,jdbcType=DECIMAL},
STATE = #{state,jdbcType=DECIMAL},
...
@@ -33,16 +33,16 @@
...
@@ -33,16 +33,16 @@
</update>
</update>
<select
id=
"selectByPrimaryKey"
parameterType=
"java.lang.Long"
resultMap=
"BaseResultMap"
>
<select
id=
"selectByPrimaryKey"
parameterType=
"java.lang.Long"
resultMap=
"BaseResultMap"
>
select ID, CREATE_DATE, CREATE_USERID, STATE, BLOCK_ID, PAGE_ID
select ID, CREATE_DATE, CREATE_USERID, STATE, BLOCK_ID, PAGE_ID
from
LL.
SER_PAGE_BLOCK_RS
from SER_PAGE_BLOCK_RS
where ID = #{id,jdbcType=DECIMAL}
where ID = #{id,jdbcType=DECIMAL}
</select>
</select>
<select
id=
"selectAll"
resultMap=
"BaseResultMap"
>
<select
id=
"selectAll"
resultMap=
"BaseResultMap"
>
select ID, CREATE_DATE, CREATE_USERID, STATE, BLOCK_ID, PAGE_ID
select ID, CREATE_DATE, CREATE_USERID, STATE, BLOCK_ID, PAGE_ID
from
LL.
SER_PAGE_BLOCK_RS
from SER_PAGE_BLOCK_RS
</select>
</select>
<select
id=
"selectByPageId"
resultMap=
"BaseResultMap"
>
<select
id=
"selectByPageId"
resultMap=
"BaseResultMap"
>
select ID, CREATE_DATE, CREATE_USERID, STATE, BLOCK_ID, PAGE_ID
select ID, CREATE_DATE, CREATE_USERID, STATE, BLOCK_ID, PAGE_ID
from
LL.
SER_PAGE_BLOCK_RS
from SER_PAGE_BLOCK_RS
where PAGE_ID=#{pageID,jdbcType=DECIMAL}
where PAGE_ID=#{pageID,jdbcType=DECIMAL}
</select>
</select>
</mapper>
</mapper>
\ No newline at end of file
bsoft-api/src/main/resources/mapper/SerPageDimRsMapper.xml
View file @
f9e7d8c8
...
@@ -10,20 +10,20 @@
...
@@ -10,20 +10,20 @@
<result
column=
"PAGE_ID"
jdbcType=
"DECIMAL"
property=
"pageId"
/>
<result
column=
"PAGE_ID"
jdbcType=
"DECIMAL"
property=
"pageId"
/>
</resultMap>
</resultMap>
<delete
id=
"deleteByPrimaryKey"
parameterType=
"java.lang.Long"
>
<delete
id=
"deleteByPrimaryKey"
parameterType=
"java.lang.Long"
>
delete from
LL.
SER_PAGE_DIM_RS
delete from SER_PAGE_DIM_RS
where ID = #{id,jdbcType=DECIMAL}
where ID = #{id,jdbcType=DECIMAL}
</delete>
</delete>
<insert
id=
"insert"
parameterType=
"com.bsoft.api.model.SerPageDimRs"
>
<insert
id=
"insert"
parameterType=
"com.bsoft.api.model.SerPageDimRs"
>
<selectKey
keyProperty=
"id"
order=
"AFTER"
resultType=
"java.lang.Long"
>
<selectKey
keyProperty=
"id"
order=
"AFTER"
resultType=
"java.lang.Long"
>
select SEQ_SER_PAGE_DIM_RS_ID.nextval from dual
select SEQ_SER_PAGE_DIM_RS_ID.nextval from dual
</selectKey>
</selectKey>
insert into
LL.
SER_PAGE_DIM_RS (CREATE_DATE, CREATE_USERID, STATE,
insert into SER_PAGE_DIM_RS (CREATE_DATE, CREATE_USERID, STATE,
DIM_ID, PAGE_ID)
DIM_ID, PAGE_ID)
values (#{createDate,jdbcType=TIMESTAMP}, #{createUserid,jdbcType=DECIMAL}, #{state,jdbcType=DECIMAL},
values (#{createDate,jdbcType=TIMESTAMP}, #{createUserid,jdbcType=DECIMAL}, #{state,jdbcType=DECIMAL},
#{dimId,jdbcType=DECIMAL}, #{pageId,jdbcType=DECIMAL})
#{dimId,jdbcType=DECIMAL}, #{pageId,jdbcType=DECIMAL})
</insert>
</insert>
<update
id=
"updateByPrimaryKey"
parameterType=
"com.bsoft.api.model.SerPageDimRs"
>
<update
id=
"updateByPrimaryKey"
parameterType=
"com.bsoft.api.model.SerPageDimRs"
>
update
LL.
SER_PAGE_DIM_RS
update SER_PAGE_DIM_RS
set CREATE_DATE = #{createDate,jdbcType=TIMESTAMP},
set CREATE_DATE = #{createDate,jdbcType=TIMESTAMP},
CREATE_USERID = #{createUserid,jdbcType=DECIMAL},
CREATE_USERID = #{createUserid,jdbcType=DECIMAL},
STATE = #{state,jdbcType=DECIMAL},
STATE = #{state,jdbcType=DECIMAL},
...
@@ -33,11 +33,11 @@
...
@@ -33,11 +33,11 @@
</update>
</update>
<select
id=
"selectByPrimaryKey"
parameterType=
"java.lang.Long"
resultMap=
"BaseResultMap"
>
<select
id=
"selectByPrimaryKey"
parameterType=
"java.lang.Long"
resultMap=
"BaseResultMap"
>
select ID, CREATE_DATE, CREATE_USERID, STATE, DIM_ID, PAGE_ID
select ID, CREATE_DATE, CREATE_USERID, STATE, DIM_ID, PAGE_ID
from
LL.
SER_PAGE_DIM_RS
from SER_PAGE_DIM_RS
where ID = #{id,jdbcType=DECIMAL}
where ID = #{id,jdbcType=DECIMAL}
</select>
</select>
<select
id=
"selectAll"
resultMap=
"BaseResultMap"
>
<select
id=
"selectAll"
resultMap=
"BaseResultMap"
>
select ID, CREATE_DATE, CREATE_USERID, STATE, DIM_ID, PAGE_ID
select ID, CREATE_DATE, CREATE_USERID, STATE, DIM_ID, PAGE_ID
from
LL.
SER_PAGE_DIM_RS
from SER_PAGE_DIM_RS
</select>
</select>
</mapper>
</mapper>
\ No newline at end of file
bsoft-api/src/main/resources/mapper/SerPageMapper.xml
View file @
f9e7d8c8
...
@@ -10,20 +10,20 @@
...
@@ -10,20 +10,20 @@
<result
column=
"PAGE_NAME"
jdbcType=
"VARCHAR"
property=
"pageName"
/>
<result
column=
"PAGE_NAME"
jdbcType=
"VARCHAR"
property=
"pageName"
/>
</resultMap>
</resultMap>
<delete
id=
"deleteByPrimaryKey"
parameterType=
"java.lang.Long"
>
<delete
id=
"deleteByPrimaryKey"
parameterType=
"java.lang.Long"
>
delete from
LL.
SER_PAGE
delete from SER_PAGE
where ID = #{id,jdbcType=DECIMAL}
where ID = #{id,jdbcType=DECIMAL}
</delete>
</delete>
<insert
id=
"insert"
parameterType=
"com.bsoft.api.model.SerPage"
>
<insert
id=
"insert"
parameterType=
"com.bsoft.api.model.SerPage"
>
<selectKey
keyProperty=
"id"
order=
"AFTER"
resultType=
"java.lang.Long"
>
<selectKey
keyProperty=
"id"
order=
"AFTER"
resultType=
"java.lang.Long"
>
select SEQ_SER_PAGE_ID.nextval from dual
select SEQ_SER_PAGE_ID.nextval from dual
</selectKey>
</selectKey>
insert into
LL.
SER_PAGE (CREATE_DATE, CREATE_USERID, STATE,
insert into SER_PAGE (CREATE_DATE, CREATE_USERID, STATE,
PAGE_CODE, PAGE_NAME)
PAGE_CODE, PAGE_NAME)
values (#{createDate,jdbcType=TIMESTAMP}, #{createUserid,jdbcType=DECIMAL}, #{state,jdbcType=DECIMAL},
values (#{createDate,jdbcType=TIMESTAMP}, #{createUserid,jdbcType=DECIMAL}, #{state,jdbcType=DECIMAL},
#{pageCode,jdbcType=VARCHAR}, #{pageName,jdbcType=VARCHAR})
#{pageCode,jdbcType=VARCHAR}, #{pageName,jdbcType=VARCHAR})
</insert>
</insert>
<update
id=
"updateByPrimaryKey"
parameterType=
"com.bsoft.api.model.SerPage"
>
<update
id=
"updateByPrimaryKey"
parameterType=
"com.bsoft.api.model.SerPage"
>
update
LL.
SER_PAGE
update SER_PAGE
set CREATE_DATE = #{createDate,jdbcType=TIMESTAMP},
set CREATE_DATE = #{createDate,jdbcType=TIMESTAMP},
CREATE_USERID = #{createUserid,jdbcType=DECIMAL},
CREATE_USERID = #{createUserid,jdbcType=DECIMAL},
STATE = #{state,jdbcType=DECIMAL},
STATE = #{state,jdbcType=DECIMAL},
...
@@ -33,12 +33,12 @@
...
@@ -33,12 +33,12 @@
</update>
</update>
<select
id=
"selectByPrimaryKey"
parameterType=
"java.lang.Long"
resultMap=
"BaseResultMap"
>
<select
id=
"selectByPrimaryKey"
parameterType=
"java.lang.Long"
resultMap=
"BaseResultMap"
>
select ID, CREATE_DATE, CREATE_USERID, STATE, PAGE_CODE, PAGE_NAME
select ID, CREATE_DATE, CREATE_USERID, STATE, PAGE_CODE, PAGE_NAME
from
LL.
SER_PAGE
from SER_PAGE
where ID = #{id,jdbcType=DECIMAL}
where ID = #{id,jdbcType=DECIMAL}
</select>
</select>
<select
id=
"selectAll"
resultMap=
"BaseResultMap"
>
<select
id=
"selectAll"
resultMap=
"BaseResultMap"
>
select ID, CREATE_DATE, CREATE_USERID, STATE, PAGE_CODE, PAGE_NAME
select ID, CREATE_DATE, CREATE_USERID, STATE, PAGE_CODE, PAGE_NAME
from
LL.
SER_PAGE
from SER_PAGE
</select>
</select>
<select
id=
"selectByCodeAndDim"
resultMap=
"BaseResultMap"
>
<select
id=
"selectByCodeAndDim"
resultMap=
"BaseResultMap"
>
select d.* from SER_PAGE d,
select d.* from SER_PAGE d,
...
...
bsoft-api/src/main/resources/mapper/SysMenuMapper.xml
View file @
f9e7d8c8
...
@@ -10,14 +10,14 @@
...
@@ -10,14 +10,14 @@
</resultMap>
</resultMap>
<resultMap
id=
"sysMenuResultMap"
type=
"com.bsoft.api.model.respmodel.SysMenuList"
extends=
"BaseResultMap"
/>
<resultMap
id=
"sysMenuResultMap"
type=
"com.bsoft.api.model.respmodel.SysMenuList"
extends=
"BaseResultMap"
/>
<delete
id=
"deleteByPrimaryKey"
parameterType=
"java.lang.Long"
>
<delete
id=
"deleteByPrimaryKey"
parameterType=
"java.lang.Long"
>
delete from
LL.
SYS_MENU
delete from SYS_MENU
where ID = #{id,jdbcType=DECIMAL}
where ID = #{id,jdbcType=DECIMAL}
</delete>
</delete>
<insert
id=
"insert"
parameterType=
"com.bsoft.api.model.SysMenu"
>
<insert
id=
"insert"
parameterType=
"com.bsoft.api.model.SysMenu"
>
<selectKey
keyProperty=
"id"
order=
"AFTER"
resultType=
"java.lang.Long"
>
<selectKey
keyProperty=
"id"
order=
"AFTER"
resultType=
"java.lang.Long"
>
select SEQ_SYS_MENU_ID.nextval from dual
select SEQ_SYS_MENU_ID.nextval from dual
</selectKey>
</selectKey>
insert into
LL.
SYS_MENU (
insert into SYS_MENU (
MENU_NAME, MENU_URL, MENU_IMAGE,
MENU_NAME, MENU_URL, MENU_IMAGE,
PARENT_ID)
PARENT_ID)
values (
values (
...
@@ -27,7 +27,7 @@
...
@@ -27,7 +27,7 @@
#{parentId,jdbcType=DECIMAL})
#{parentId,jdbcType=DECIMAL})
</insert>
</insert>
<update
id=
"updateByPrimaryKey"
parameterType=
"com.bsoft.api.model.SysMenu"
>
<update
id=
"updateByPrimaryKey"
parameterType=
"com.bsoft.api.model.SysMenu"
>
update
LL.
SYS_MENU
update SYS_MENU
set
set
MENU_NAME = #{menuName,jdbcType=VARCHAR},
MENU_NAME = #{menuName,jdbcType=VARCHAR},
MENU_URL = #{menuUrl,jdbcType=VARCHAR},
MENU_URL = #{menuUrl,jdbcType=VARCHAR},
...
@@ -37,12 +37,12 @@
...
@@ -37,12 +37,12 @@
</update>
</update>
<select
id=
"selectByPrimaryKey"
parameterType=
"java.lang.Long"
resultMap=
"BaseResultMap"
>
<select
id=
"selectByPrimaryKey"
parameterType=
"java.lang.Long"
resultMap=
"BaseResultMap"
>
select ID,MENU_NAME, MENU_URL, MENU_IMAGE, PARENT_ID
select ID,MENU_NAME, MENU_URL, MENU_IMAGE, PARENT_ID
from
LL.
SYS_MENU
from SYS_MENU
where ID = #{id,jdbcType=DECIMAL}
where ID = #{id,jdbcType=DECIMAL}
</select>
</select>
<select
id=
"selectAll"
resultMap=
"BaseResultMap"
>
<select
id=
"selectAll"
resultMap=
"BaseResultMap"
>
select ID,MENU_NAME, MENU_URL, MENU_IMAGE, PARENT_ID
select ID,MENU_NAME, MENU_URL, MENU_IMAGE, PARENT_ID
from
LL.
SYS_MENU
from SYS_MENU
</select>
</select>
<select
id=
"selectMenuByUser"
resultMap=
"sysMenuResultMap"
>
<select
id=
"selectMenuByUser"
resultMap=
"sysMenuResultMap"
>
select DISTINCT m.ID,m.MENU_NAME,m.MENU_URL,m.MENU_IMAGE,m.PARENT_ID
select DISTINCT m.ID,m.MENU_NAME,m.MENU_URL,m.MENU_IMAGE,m.PARENT_ID
...
...
bsoft-api/src/main/resources/mapper/SysOrgMapper.xml
View file @
f9e7d8c8
...
@@ -16,14 +16,14 @@
...
@@ -16,14 +16,14 @@
<result
column=
"PARENT_ID"
jdbcType=
"DECIMAL"
property=
"parentId"
/>
<result
column=
"PARENT_ID"
jdbcType=
"DECIMAL"
property=
"parentId"
/>
</resultMap>
</resultMap>
<delete
id=
"deleteByPrimaryKey"
parameterType=
"java.lang.Long"
>
<delete
id=
"deleteByPrimaryKey"
parameterType=
"java.lang.Long"
>
delete from
LL.
SYS_ORG
delete from SYS_ORG
where ID = #{id,jdbcType=DECIMAL}
where ID = #{id,jdbcType=DECIMAL}
</delete>
</delete>
<insert
id=
"insert"
parameterType=
"com.bsoft.api.model.SysOrg"
>
<insert
id=
"insert"
parameterType=
"com.bsoft.api.model.SysOrg"
>
<selectKey
keyProperty=
"id"
order=
"AFTER"
resultType=
"java.lang.Long"
>
<selectKey
keyProperty=
"id"
order=
"AFTER"
resultType=
"java.lang.Long"
>
select SEQ_SYS_ORG_ID.nextval from dual
select SEQ_SYS_ORG_ID.nextval from dual
</selectKey>
</selectKey>
insert into
LL.
SYS_ORG (CREATE_DATA, CREATE_USERID, STATE,
insert into SYS_ORG (CREATE_DATA, CREATE_USERID, STATE,
ORG_CODE, ORG_NAME, ORG_NO,
ORG_CODE, ORG_NAME, ORG_NO,
ORG_SHORT_NAME, ORG_GROUP, ORG_TYPE,
ORG_SHORT_NAME, ORG_GROUP, ORG_TYPE,
ORG_ADDRESS, PARENT_ID)
ORG_ADDRESS, PARENT_ID)
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
#{orgAddress,jdbcType=VARCHAR}, #{parentId,jdbcType=DECIMAL})
#{orgAddress,jdbcType=VARCHAR}, #{parentId,jdbcType=DECIMAL})
</insert>
</insert>
<update
id=
"updateByPrimaryKey"
parameterType=
"com.bsoft.api.model.SysOrg"
>
<update
id=
"updateByPrimaryKey"
parameterType=
"com.bsoft.api.model.SysOrg"
>
update
LL.
SYS_ORG
update SYS_ORG
set CREATE_DATA = #{createData,jdbcType=TIMESTAMP},
set CREATE_DATA = #{createData,jdbcType=TIMESTAMP},
CREATE_USERID = #{createUserid,jdbcType=VARCHAR},
CREATE_USERID = #{createUserid,jdbcType=VARCHAR},
STATE = #{state,jdbcType=DECIMAL},
STATE = #{state,jdbcType=DECIMAL},
...
@@ -50,12 +50,12 @@
...
@@ -50,12 +50,12 @@
<select
id=
"selectByPrimaryKey"
parameterType=
"java.lang.Long"
resultMap=
"BaseResultMap"
>
<select
id=
"selectByPrimaryKey"
parameterType=
"java.lang.Long"
resultMap=
"BaseResultMap"
>
select ID, CREATE_DATA, CREATE_USERID, STATE, ORG_CODE, ORG_NAME, ORG_NO, ORG_SHORT_NAME,
select ID, CREATE_DATA, CREATE_USERID, STATE, ORG_CODE, ORG_NAME, ORG_NO, ORG_SHORT_NAME,
ORG_GROUP, ORG_TYPE, ORG_ADDRESS, PARENT_ID
ORG_GROUP, ORG_TYPE, ORG_ADDRESS, PARENT_ID
from
LL.
SYS_ORG
from SYS_ORG
where ID = #{id,jdbcType=DECIMAL}
where ID = #{id,jdbcType=DECIMAL}
</select>
</select>
<select
id=
"selectAll"
resultMap=
"BaseResultMap"
>
<select
id=
"selectAll"
resultMap=
"BaseResultMap"
>
select ID, CREATE_DATA, CREATE_USERID, STATE, ORG_CODE, ORG_NAME, ORG_NO, ORG_SHORT_NAME,
select ID, CREATE_DATA, CREATE_USERID, STATE, ORG_CODE, ORG_NAME, ORG_NO, ORG_SHORT_NAME,
ORG_GROUP, ORG_TYPE, ORG_ADDRESS, PARENT_ID
ORG_GROUP, ORG_TYPE, ORG_ADDRESS, PARENT_ID
from
LL.
SYS_ORG
from SYS_ORG
</select>
</select>
</mapper>
</mapper>
\ No newline at end of file
bsoft-api/src/main/resources/mapper/SysProjectMapper.xml
View file @
f9e7d8c8
...
@@ -10,20 +10,20 @@
...
@@ -10,20 +10,20 @@
<result
column=
"PROJECT_NAME"
jdbcType=
"VARCHAR"
property=
"projectName"
/>
<result
column=
"PROJECT_NAME"
jdbcType=
"VARCHAR"
property=
"projectName"
/>
</resultMap>
</resultMap>
<delete
id=
"deleteByPrimaryKey"
parameterType=
"java.lang.Long"
>
<delete
id=
"deleteByPrimaryKey"
parameterType=
"java.lang.Long"
>
delete from
LL.
SYS_PROJECT
delete from SYS_PROJECT
where ID = #{id,jdbcType=DECIMAL}
where ID = #{id,jdbcType=DECIMAL}
</delete>
</delete>
<insert
id=
"insert"
parameterType=
"com.bsoft.api.model.SysProject"
>
<insert
id=
"insert"
parameterType=
"com.bsoft.api.model.SysProject"
>
<selectKey
keyProperty=
"id"
order=
"AFTER"
resultType=
"java.lang.Long"
>
<selectKey
keyProperty=
"id"
order=
"AFTER"
resultType=
"java.lang.Long"
>
select SEQ_SYS_PROJECT_ID.nextval from dual
select SEQ_SYS_PROJECT_ID.nextval from dual
</selectKey>
</selectKey>
insert into
LL.
SYS_PROJECT (CREATE_DATE, CREATE_USERID, STATE,
insert into SYS_PROJECT (CREATE_DATE, CREATE_USERID, STATE,
PROJECT_CODE, PROJECT_NAME)
PROJECT_CODE, PROJECT_NAME)
values (#{createDate,jdbcType=TIMESTAMP}, #{createUserid,jdbcType=DECIMAL}, #{state,jdbcType=DECIMAL},
values (#{createDate,jdbcType=TIMESTAMP}, #{createUserid,jdbcType=DECIMAL}, #{state,jdbcType=DECIMAL},
#{projectCode,jdbcType=VARCHAR}, #{projectName,jdbcType=VARCHAR})
#{projectCode,jdbcType=VARCHAR}, #{projectName,jdbcType=VARCHAR})
</insert>
</insert>
<update
id=
"updateByPrimaryKey"
parameterType=
"com.bsoft.api.model.SysProject"
>
<update
id=
"updateByPrimaryKey"
parameterType=
"com.bsoft.api.model.SysProject"
>
update
LL.
SYS_PROJECT
update SYS_PROJECT
set CREATE_DATE = #{createDate,jdbcType=TIMESTAMP},
set CREATE_DATE = #{createDate,jdbcType=TIMESTAMP},
CREATE_USERID = #{createUserid,jdbcType=DECIMAL},
CREATE_USERID = #{createUserid,jdbcType=DECIMAL},
STATE = #{state,jdbcType=DECIMAL},
STATE = #{state,jdbcType=DECIMAL},
...
@@ -33,11 +33,11 @@
...
@@ -33,11 +33,11 @@
</update>
</update>
<select
id=
"selectByPrimaryKey"
parameterType=
"java.lang.Long"
resultMap=
"BaseResultMap"
>
<select
id=
"selectByPrimaryKey"
parameterType=
"java.lang.Long"
resultMap=
"BaseResultMap"
>
select ID, CREATE_DATE, CREATE_USERID, STATE, PROJECT_CODE, PROJECT_NAME
select ID, CREATE_DATE, CREATE_USERID, STATE, PROJECT_CODE, PROJECT_NAME
from
LL.
SYS_PROJECT
from SYS_PROJECT
where ID = #{id,jdbcType=DECIMAL}
where ID = #{id,jdbcType=DECIMAL}
</select>
</select>
<select
id=
"selectAll"
resultMap=
"BaseResultMap"
>
<select
id=
"selectAll"
resultMap=
"BaseResultMap"
>
select ID, CREATE_DATE, CREATE_USERID, STATE, PROJECT_CODE, PROJECT_NAME
select ID, CREATE_DATE, CREATE_USERID, STATE, PROJECT_CODE, PROJECT_NAME
from
LL.
SYS_PROJECT
from SYS_PROJECT
</select>
</select>
</mapper>
</mapper>
\ No newline at end of file
bsoft-api/src/main/resources/mapper/SysRoleMapper.xml
View file @
f9e7d8c8
...
@@ -10,20 +10,20 @@
...
@@ -10,20 +10,20 @@
<result
column=
"ROLE_CODE"
jdbcType=
"DECIMAL"
property=
"roleCode"
/>
<result
column=
"ROLE_CODE"
jdbcType=
"DECIMAL"
property=
"roleCode"
/>
</resultMap>
</resultMap>
<delete
id=
"deleteByPrimaryKey"
parameterType=
"java.lang.Long"
>
<delete
id=
"deleteByPrimaryKey"
parameterType=
"java.lang.Long"
>
delete from
LL.
SYS_ROLE
delete from SYS_ROLE
where ID = #{id,jdbcType=DECIMAL}
where ID = #{id,jdbcType=DECIMAL}
</delete>
</delete>
<insert
id=
"insert"
parameterType=
"com.bsoft.api.model.SysRole"
>
<insert
id=
"insert"
parameterType=
"com.bsoft.api.model.SysRole"
>
<selectKey
keyProperty=
"id"
order=
"AFTER"
resultType=
"java.lang.Long"
>
<selectKey
keyProperty=
"id"
order=
"AFTER"
resultType=
"java.lang.Long"
>
select SEQ_SYS_ROLE_ID.nextval from dual
select SEQ_SYS_ROLE_ID.nextval from dual
</selectKey>
</selectKey>
insert into
LL.
SYS_ROLE (CREATE_DATE, CREATE_USERID, STATE,
insert into SYS_ROLE (CREATE_DATE, CREATE_USERID, STATE,
ROLE_NAME, ROLE_CODE)
ROLE_NAME, ROLE_CODE)
values (#{createDate,jdbcType=TIMESTAMP}, #{createUserid,jdbcType=DECIMAL}, #{state,jdbcType=DECIMAL},
values (#{createDate,jdbcType=TIMESTAMP}, #{createUserid,jdbcType=DECIMAL}, #{state,jdbcType=DECIMAL},
#{roleName,jdbcType=VARCHAR}, #{roleCode,jdbcType=DECIMAL})
#{roleName,jdbcType=VARCHAR}, #{roleCode,jdbcType=DECIMAL})
</insert>
</insert>
<update
id=
"updateByPrimaryKey"
parameterType=
"com.bsoft.api.model.SysRole"
>
<update
id=
"updateByPrimaryKey"
parameterType=
"com.bsoft.api.model.SysRole"
>
update
LL.
SYS_ROLE
update SYS_ROLE
set CREATE_DATE = #{createDate,jdbcType=TIMESTAMP},
set CREATE_DATE = #{createDate,jdbcType=TIMESTAMP},
CREATE_USERID = #{createUserid,jdbcType=DECIMAL},
CREATE_USERID = #{createUserid,jdbcType=DECIMAL},
STATE = #{state,jdbcType=DECIMAL},
STATE = #{state,jdbcType=DECIMAL},
...
@@ -33,11 +33,11 @@
...
@@ -33,11 +33,11 @@
</update>
</update>
<select
id=
"selectByPrimaryKey"
parameterType=
"java.lang.Long"
resultMap=
"BaseResultMap"
>
<select
id=
"selectByPrimaryKey"
parameterType=
"java.lang.Long"
resultMap=
"BaseResultMap"
>
select ID, CREATE_DATE, CREATE_USERID, STATE, ROLE_NAME, ROLE_CODE
select ID, CREATE_DATE, CREATE_USERID, STATE, ROLE_NAME, ROLE_CODE
from
LL.
SYS_ROLE
from SYS_ROLE
where ID = #{id,jdbcType=DECIMAL}
where ID = #{id,jdbcType=DECIMAL}
</select>
</select>
<select
id=
"selectAll"
resultMap=
"BaseResultMap"
>
<select
id=
"selectAll"
resultMap=
"BaseResultMap"
>
select ID, CREATE_DATE, CREATE_USERID, STATE, ROLE_NAME, ROLE_CODE
select ID, CREATE_DATE, CREATE_USERID, STATE, ROLE_NAME, ROLE_CODE
from
LL.
SYS_ROLE
from SYS_ROLE
</select>
</select>
</mapper>
</mapper>
\ No newline at end of file
bsoft-api/src/main/resources/mapper/SysRoleMenuRsMapper.xml
View file @
f9e7d8c8
...
@@ -10,20 +10,20 @@
...
@@ -10,20 +10,20 @@
<result
column=
"ROLE_ID"
jdbcType=
"DECIMAL"
property=
"roleId"
/>
<result
column=
"ROLE_ID"
jdbcType=
"DECIMAL"
property=
"roleId"
/>
</resultMap>
</resultMap>
<delete
id=
"deleteByPrimaryKey"
parameterType=
"java.lang.Long"
>
<delete
id=
"deleteByPrimaryKey"
parameterType=
"java.lang.Long"
>
delete from
LL.
SYS_ROLE_MENU_RS
delete from SYS_ROLE_MENU_RS
where ID = #{id,jdbcType=DECIMAL}
where ID = #{id,jdbcType=DECIMAL}
</delete>
</delete>
<insert
id=
"insert"
parameterType=
"com.bsoft.api.model.SysRoleMenuRs"
>
<insert
id=
"insert"
parameterType=
"com.bsoft.api.model.SysRoleMenuRs"
>
<selectKey
keyProperty=
"id"
order=
"AFTER"
resultType=
"java.lang.Long"
>
<selectKey
keyProperty=
"id"
order=
"AFTER"
resultType=
"java.lang.Long"
>
select SEQ_SYS_ROLE_MENU_RS_ID.nextval from dual
select SEQ_SYS_ROLE_MENU_RS_ID.nextval from dual
</selectKey>
</selectKey>
insert into
LL.
SYS_ROLE_MENU_RS (CREATE_DATE, CREATE_USERID, STATE,
insert into SYS_ROLE_MENU_RS (CREATE_DATE, CREATE_USERID, STATE,
MENU_ID, ROLE_ID)
MENU_ID, ROLE_ID)
values (#{createDate,jdbcType=TIMESTAMP}, #{createUserid,jdbcType=DECIMAL}, #{state,jdbcType=DECIMAL},
values (#{createDate,jdbcType=TIMESTAMP}, #{createUserid,jdbcType=DECIMAL}, #{state,jdbcType=DECIMAL},
#{menuId,jdbcType=DECIMAL}, #{roleId,jdbcType=DECIMAL})
#{menuId,jdbcType=DECIMAL}, #{roleId,jdbcType=DECIMAL})
</insert>
</insert>
<update
id=
"updateByPrimaryKey"
parameterType=
"com.bsoft.api.model.SysRoleMenuRs"
>
<update
id=
"updateByPrimaryKey"
parameterType=
"com.bsoft.api.model.SysRoleMenuRs"
>
update
LL.
SYS_ROLE_MENU_RS
update SYS_ROLE_MENU_RS
set CREATE_DATE = #{createDate,jdbcType=TIMESTAMP},
set CREATE_DATE = #{createDate,jdbcType=TIMESTAMP},
CREATE_USERID = #{createUserid,jdbcType=DECIMAL},
CREATE_USERID = #{createUserid,jdbcType=DECIMAL},
STATE = #{state,jdbcType=DECIMAL},
STATE = #{state,jdbcType=DECIMAL},
...
@@ -33,11 +33,11 @@
...
@@ -33,11 +33,11 @@
</update>
</update>
<select
id=
"selectByPrimaryKey"
parameterType=
"java.lang.Long"
resultMap=
"BaseResultMap"
>
<select
id=
"selectByPrimaryKey"
parameterType=
"java.lang.Long"
resultMap=
"BaseResultMap"
>
select ID, CREATE_DATE, CREATE_USERID, STATE, MENU_ID, ROLE_ID
select ID, CREATE_DATE, CREATE_USERID, STATE, MENU_ID, ROLE_ID
from
LL.
SYS_ROLE_MENU_RS
from SYS_ROLE_MENU_RS
where ID = #{id,jdbcType=DECIMAL}
where ID = #{id,jdbcType=DECIMAL}
</select>
</select>
<select
id=
"selectAll"
resultMap=
"BaseResultMap"
>
<select
id=
"selectAll"
resultMap=
"BaseResultMap"
>
select ID, CREATE_DATE, CREATE_USERID, STATE, MENU_ID, ROLE_ID
select ID, CREATE_DATE, CREATE_USERID, STATE, MENU_ID, ROLE_ID
from
LL.
SYS_ROLE_MENU_RS
from SYS_ROLE_MENU_RS
</select>
</select>
</mapper>
</mapper>
\ No newline at end of file
bsoft-api/src/main/resources/mapper/SysUserMapper.xml
View file @
f9e7d8c8
...
@@ -19,14 +19,14 @@
...
@@ -19,14 +19,14 @@
<result
column=
"LAST_IP"
jdbcType=
"VARCHAR"
property=
"lastIp"
/>
<result
column=
"LAST_IP"
jdbcType=
"VARCHAR"
property=
"lastIp"
/>
</resultMap>
</resultMap>
<delete
id=
"deleteByPrimaryKey"
parameterType=
"java.lang.Long"
>
<delete
id=
"deleteByPrimaryKey"
parameterType=
"java.lang.Long"
>
delete from
LL.
SYS_USER
delete from SYS_USER
where ID = #{id,jdbcType=DECIMAL}
where ID = #{id,jdbcType=DECIMAL}
</delete>
</delete>
<insert
id=
"insert"
parameterType=
"com.bsoft.api.model.SysUser"
>
<insert
id=
"insert"
parameterType=
"com.bsoft.api.model.SysUser"
>
<selectKey
keyProperty=
"id"
order=
"AFTER"
resultType=
"java.lang.Long"
>
<selectKey
keyProperty=
"id"
order=
"AFTER"
resultType=
"java.lang.Long"
>
select SEQ_SYS_USER_ID.nextval from dual
select SEQ_SYS_USER_ID.nextval from dual
</selectKey>
</selectKey>
insert into
LL.
SYS_USER (
insert into SYS_USER (
USER_CODE, USER_NAME, PASSWORD,
USER_CODE, USER_NAME, PASSWORD,
IDCARD, SEX, MOBILE,
IDCARD, SEX, MOBILE,
PAGE_COUNT, ERROR_COUNT, ERROR_TIME,
PAGE_COUNT, ERROR_COUNT, ERROR_TIME,
...
@@ -38,7 +38,7 @@
...
@@ -38,7 +38,7 @@
#{lastTime,jdbcType=TIMESTAMP}, #{lastIp,jdbcType=VARCHAR})
#{lastTime,jdbcType=TIMESTAMP}, #{lastIp,jdbcType=VARCHAR})
</insert>
</insert>
<update
id=
"updateByPrimaryKey"
parameterType=
"com.bsoft.api.model.SysUser"
>
<update
id=
"updateByPrimaryKey"
parameterType=
"com.bsoft.api.model.SysUser"
>
update
LL.
SYS_USER
update SYS_USER
set
set
USER_CODE = #{userCode,jdbcType=VARCHAR},
USER_CODE = #{userCode,jdbcType=VARCHAR},
USER_NAME = #{userName,jdbcType=VARCHAR},
USER_NAME = #{userName,jdbcType=VARCHAR},
...
@@ -56,18 +56,18 @@
...
@@ -56,18 +56,18 @@
<select
id=
"selectByPrimaryKey"
parameterType=
"java.lang.Long"
resultMap=
"BaseResultMap"
>
<select
id=
"selectByPrimaryKey"
parameterType=
"java.lang.Long"
resultMap=
"BaseResultMap"
>
select ID, CREATE_DATE, CREATE_USERID, STATE, USER_CODE, USER_NAME, PASSWORD, IDCARD,
select ID, CREATE_DATE, CREATE_USERID, STATE, USER_CODE, USER_NAME, PASSWORD, IDCARD,
SEX, MOBILE, PAGE_COUNT, ERROR_COUNT, ERROR_TIME, LAST_TIME, LAST_IP
SEX, MOBILE, PAGE_COUNT, ERROR_COUNT, ERROR_TIME, LAST_TIME, LAST_IP
from
LL.
SYS_USER
from SYS_USER
where ID = #{id,jdbcType=DECIMAL}
where ID = #{id,jdbcType=DECIMAL}
</select>
</select>
<select
id=
"selectAll"
resultMap=
"BaseResultMap"
>
<select
id=
"selectAll"
resultMap=
"BaseResultMap"
>
select ID, CREATE_DATE, CREATE_USERID, STATE, USER_CODE, USER_NAME, PASSWORD, IDCARD,
select ID, CREATE_DATE, CREATE_USERID, STATE, USER_CODE, USER_NAME, PASSWORD, IDCARD,
SEX, MOBILE, PAGE_COUNT, ERROR_COUNT, ERROR_TIME, LAST_TIME, LAST_IP
SEX, MOBILE, PAGE_COUNT, ERROR_COUNT, ERROR_TIME, LAST_TIME, LAST_IP
from
LL.
SYS_USER
from SYS_USER
</select>
</select>
<select
id=
"selectByCode"
resultMap=
"BaseResultMap"
>
<select
id=
"selectByCode"
resultMap=
"BaseResultMap"
>
select ID, CREATE_DATE, CREATE_USERID, STATE, USER_CODE, USER_NAME, PASSWORD, IDCARD,
select ID, CREATE_DATE, CREATE_USERID, STATE, USER_CODE, USER_NAME, PASSWORD, IDCARD,
SEX, MOBILE, PAGE_COUNT, ERROR_COUNT, ERROR_TIME, LAST_TIME, LAST_IP
SEX, MOBILE, PAGE_COUNT, ERROR_COUNT, ERROR_TIME, LAST_TIME, LAST_IP
from
LL.
SYS_USER
from SYS_USER
where USER_CODE=#{userCode,jdbcType=VARCHAR}
where USER_CODE=#{userCode,jdbcType=VARCHAR}
and STATE != 0
and STATE != 0
</select>
</select>
...
...
bsoft-api/src/main/resources/mapper/SysUserMenuRsMapper.xml
View file @
f9e7d8c8
...
@@ -10,20 +10,20 @@
...
@@ -10,20 +10,20 @@
<result
column=
"MENU_ID"
jdbcType=
"DECIMAL"
property=
"menuId"
/>
<result
column=
"MENU_ID"
jdbcType=
"DECIMAL"
property=
"menuId"
/>
</resultMap>
</resultMap>
<delete
id=
"deleteByPrimaryKey"
parameterType=
"java.lang.Long"
>
<delete
id=
"deleteByPrimaryKey"
parameterType=
"java.lang.Long"
>
delete from
LL.
SYS_USER_MENU_RS
delete from SYS_USER_MENU_RS
where ID = #{id,jdbcType=DECIMAL}
where ID = #{id,jdbcType=DECIMAL}
</delete>
</delete>
<insert
id=
"insert"
parameterType=
"com.bsoft.api.model.SysUserMenuRs"
>
<insert
id=
"insert"
parameterType=
"com.bsoft.api.model.SysUserMenuRs"
>
<selectKey
keyProperty=
"id"
order=
"AFTER"
resultType=
"java.lang.Long"
>
<selectKey
keyProperty=
"id"
order=
"AFTER"
resultType=
"java.lang.Long"
>
select SEQ_SYS_USER_MENU_RS_ID.nextval from dual
select SEQ_SYS_USER_MENU_RS_ID.nextval from dual
</selectKey>
</selectKey>
insert into
LL.
SYS_USER_MENU_RS (CREATE_DATE, CREATE_USERID, STATE,
insert into SYS_USER_MENU_RS (CREATE_DATE, CREATE_USERID, STATE,
USER_ID, MENU_ID)
USER_ID, MENU_ID)
values (#{createDate,jdbcType=TIMESTAMP}, #{createUserid,jdbcType=DECIMAL}, #{state,jdbcType=DECIMAL},
values (#{createDate,jdbcType=TIMESTAMP}, #{createUserid,jdbcType=DECIMAL}, #{state,jdbcType=DECIMAL},
#{userId,jdbcType=DECIMAL}, #{menuId,jdbcType=DECIMAL})
#{userId,jdbcType=DECIMAL}, #{menuId,jdbcType=DECIMAL})
</insert>
</insert>
<update
id=
"updateByPrimaryKey"
parameterType=
"com.bsoft.api.model.SysUserMenuRs"
>
<update
id=
"updateByPrimaryKey"
parameterType=
"com.bsoft.api.model.SysUserMenuRs"
>
update
LL.
SYS_USER_MENU_RS
update SYS_USER_MENU_RS
set CREATE_DATE = #{createDate,jdbcType=TIMESTAMP},
set CREATE_DATE = #{createDate,jdbcType=TIMESTAMP},
CREATE_USERID = #{createUserid,jdbcType=DECIMAL},
CREATE_USERID = #{createUserid,jdbcType=DECIMAL},
STATE = #{state,jdbcType=DECIMAL},
STATE = #{state,jdbcType=DECIMAL},
...
@@ -33,11 +33,11 @@
...
@@ -33,11 +33,11 @@
</update>
</update>
<select
id=
"selectByPrimaryKey"
parameterType=
"java.lang.Long"
resultMap=
"BaseResultMap"
>
<select
id=
"selectByPrimaryKey"
parameterType=
"java.lang.Long"
resultMap=
"BaseResultMap"
>
select ID, CREATE_DATE, CREATE_USERID, STATE, USER_ID, MENU_ID
select ID, CREATE_DATE, CREATE_USERID, STATE, USER_ID, MENU_ID
from
LL.
SYS_USER_MENU_RS
from SYS_USER_MENU_RS
where ID = #{id,jdbcType=DECIMAL}
where ID = #{id,jdbcType=DECIMAL}
</select>
</select>
<select
id=
"selectAll"
resultMap=
"BaseResultMap"
>
<select
id=
"selectAll"
resultMap=
"BaseResultMap"
>
select ID, CREATE_DATE, CREATE_USERID, STATE, USER_ID, MENU_ID
select ID, CREATE_DATE, CREATE_USERID, STATE, USER_ID, MENU_ID
from
LL.
SYS_USER_MENU_RS
from SYS_USER_MENU_RS
</select>
</select>
</mapper>
</mapper>
\ No newline at end of file
bsoft-api/src/main/resources/mapper/SysUserOrgRsMapper.xml
View file @
f9e7d8c8
...
@@ -10,20 +10,20 @@
...
@@ -10,20 +10,20 @@
<result
column=
"ORG_ID"
jdbcType=
"DECIMAL"
property=
"orgId"
/>
<result
column=
"ORG_ID"
jdbcType=
"DECIMAL"
property=
"orgId"
/>
</resultMap>
</resultMap>
<delete
id=
"deleteByPrimaryKey"
parameterType=
"java.lang.Long"
>
<delete
id=
"deleteByPrimaryKey"
parameterType=
"java.lang.Long"
>
delete from
LL.
SYS_USER_ORG_RS
delete from SYS_USER_ORG_RS
where ID = #{id,jdbcType=DECIMAL}
where ID = #{id,jdbcType=DECIMAL}
</delete>
</delete>
<insert
id=
"insert"
parameterType=
"com.bsoft.api.model.SysUserOrgRs"
>
<insert
id=
"insert"
parameterType=
"com.bsoft.api.model.SysUserOrgRs"
>
<selectKey
keyProperty=
"id"
order=
"AFTER"
resultType=
"java.lang.Long"
>
<selectKey
keyProperty=
"id"
order=
"AFTER"
resultType=
"java.lang.Long"
>
select SEQ_SYS_USER_ORG_RS_ID.nextval from dual
select SEQ_SYS_USER_ORG_RS_ID.nextval from dual
</selectKey>
</selectKey>
insert into
LL.
SYS_USER_ORG_RS (CREATE_DATE, CREATE_USERID, STATE,
insert into SYS_USER_ORG_RS (CREATE_DATE, CREATE_USERID, STATE,
USER_ID, ORG_ID)
USER_ID, ORG_ID)
values (#{createDate,jdbcType=TIMESTAMP}, #{createUserid,jdbcType=DECIMAL}, #{state,jdbcType=DECIMAL},
values (#{createDate,jdbcType=TIMESTAMP}, #{createUserid,jdbcType=DECIMAL}, #{state,jdbcType=DECIMAL},
#{userId,jdbcType=DECIMAL}, #{orgId,jdbcType=DECIMAL})
#{userId,jdbcType=DECIMAL}, #{orgId,jdbcType=DECIMAL})
</insert>
</insert>
<update
id=
"updateByPrimaryKey"
parameterType=
"com.bsoft.api.model.SysUserOrgRs"
>
<update
id=
"updateByPrimaryKey"
parameterType=
"com.bsoft.api.model.SysUserOrgRs"
>
update
LL.
SYS_USER_ORG_RS
update SYS_USER_ORG_RS
set CREATE_DATE = #{createDate,jdbcType=TIMESTAMP},
set CREATE_DATE = #{createDate,jdbcType=TIMESTAMP},
CREATE_USERID = #{createUserid,jdbcType=DECIMAL},
CREATE_USERID = #{createUserid,jdbcType=DECIMAL},
STATE = #{state,jdbcType=DECIMAL},
STATE = #{state,jdbcType=DECIMAL},
...
@@ -33,11 +33,11 @@
...
@@ -33,11 +33,11 @@
</update>
</update>
<select
id=
"selectByPrimaryKey"
parameterType=
"java.lang.Long"
resultMap=
"BaseResultMap"
>
<select
id=
"selectByPrimaryKey"
parameterType=
"java.lang.Long"
resultMap=
"BaseResultMap"
>
select ID, CREATE_DATE, CREATE_USERID, STATE, USER_ID, ORG_ID
select ID, CREATE_DATE, CREATE_USERID, STATE, USER_ID, ORG_ID
from
LL.
SYS_USER_ORG_RS
from SYS_USER_ORG_RS
where ID = #{id,jdbcType=DECIMAL}
where ID = #{id,jdbcType=DECIMAL}
</select>
</select>
<select
id=
"selectAll"
resultMap=
"BaseResultMap"
>
<select
id=
"selectAll"
resultMap=
"BaseResultMap"
>
select ID, CREATE_DATE, CREATE_USERID, STATE, USER_ID, ORG_ID
select ID, CREATE_DATE, CREATE_USERID, STATE, USER_ID, ORG_ID
from
LL.
SYS_USER_ORG_RS
from SYS_USER_ORG_RS
</select>
</select>
</mapper>
</mapper>
\ No newline at end of file
bsoft-api/src/main/resources/mapper/SysUserRoleRsMapper.xml
View file @
f9e7d8c8
...
@@ -7,20 +7,20 @@
...
@@ -7,20 +7,20 @@
<result
column=
"ROLE_ID"
jdbcType=
"DECIMAL"
property=
"roleId"
/>
<result
column=
"ROLE_ID"
jdbcType=
"DECIMAL"
property=
"roleId"
/>
</resultMap>
</resultMap>
<delete
id=
"deleteByPrimaryKey"
parameterType=
"java.lang.Long"
>
<delete
id=
"deleteByPrimaryKey"
parameterType=
"java.lang.Long"
>
delete from
LL.
SYS_USER_ROLE_RS
delete from SYS_USER_ROLE_RS
where ID = #{id,jdbcType=DECIMAL}
where ID = #{id,jdbcType=DECIMAL}
</delete>
</delete>
<insert
id=
"insert"
parameterType=
"com.bsoft.api.model.SysUserRoleRs"
>
<insert
id=
"insert"
parameterType=
"com.bsoft.api.model.SysUserRoleRs"
>
<selectKey
keyProperty=
"id"
order=
"AFTER"
resultType=
"java.lang.Long"
>
<selectKey
keyProperty=
"id"
order=
"AFTER"
resultType=
"java.lang.Long"
>
select SEQ_SYS_USER_ROLE_RS_ID.nextval from dual
select SEQ_SYS_USER_ROLE_RS_ID.nextval from dual
</selectKey>
</selectKey>
insert into
LL.
SYS_USER_ROLE_RS (
insert into SYS_USER_ROLE_RS (
USER_ID, ROLE_ID)
USER_ID, ROLE_ID)
values (
values (
#{userId,jdbcType=DECIMAL}, #{roleId,jdbcType=DECIMAL})
#{userId,jdbcType=DECIMAL}, #{roleId,jdbcType=DECIMAL})
</insert>
</insert>
<update
id=
"updateByPrimaryKey"
parameterType=
"com.bsoft.api.model.SysUserRoleRs"
>
<update
id=
"updateByPrimaryKey"
parameterType=
"com.bsoft.api.model.SysUserRoleRs"
>
update
LL.
SYS_USER_ROLE_RS
update SYS_USER_ROLE_RS
set
set
USER_ID = #{userId,jdbcType=DECIMAL},
USER_ID = #{userId,jdbcType=DECIMAL},
ROLE_ID = #{roleId,jdbcType=DECIMAL}
ROLE_ID = #{roleId,jdbcType=DECIMAL}
...
@@ -28,16 +28,16 @@
...
@@ -28,16 +28,16 @@
</update>
</update>
<select
id=
"selectByPrimaryKey"
parameterType=
"java.lang.Long"
resultMap=
"BaseResultMap"
>
<select
id=
"selectByPrimaryKey"
parameterType=
"java.lang.Long"
resultMap=
"BaseResultMap"
>
select ID,USER_ID, ROLE_ID
select ID,USER_ID, ROLE_ID
from
LL.
SYS_USER_ROLE_RS
from SYS_USER_ROLE_RS
where ID = #{id,jdbcType=DECIMAL}
where ID = #{id,jdbcType=DECIMAL}
</select>
</select>
<select
id=
"selectAll"
resultMap=
"BaseResultMap"
>
<select
id=
"selectAll"
resultMap=
"BaseResultMap"
>
select ID,USER_ID, ROLE_ID
select ID,USER_ID, ROLE_ID
from
LL.
SYS_USER_ROLE_RS
from SYS_USER_ROLE_RS
</select>
</select>
<select
id=
"selectRoleByUser"
resultMap=
"BaseResultMap"
>
<select
id=
"selectRoleByUser"
resultMap=
"BaseResultMap"
>
select ID,USER_ID, ROLE_ID
select ID,USER_ID, ROLE_ID
from
LL.
SYS_USER_ROLE_RS
from SYS_USER_ROLE_RS
where USER_ID=#{userId,jdbcType=DECIMAL}
where USER_ID=#{userId,jdbcType=DECIMAL}
</select>
</select>
</mapper>
</mapper>
\ No newline at end of file
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