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
12701fe6
Commit
12701fe6
authored
Oct 24, 2019
by
Suvalue
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加板块数值接口
parent
dc3c791e
Hide whitespace changes
Inline
Side-by-side
Showing
28 changed files
with
326 additions
and
152 deletions
+326
-152
bsoft-api/bsoft-api.iml
+1
-1
bsoft-api/src/main/java/com/bsoft/api/controller/BlockValuesController.java
+20
-11
bsoft-api/src/main/java/com/bsoft/api/mapper/BlockValuesMapper.java
+8
-0
bsoft-api/src/main/java/com/bsoft/api/mapper/DicDimMapper.java
+1
-1
bsoft-api/src/main/java/com/bsoft/api/mapper/SerPageBlockRsMapper.java
+2
-1
bsoft-api/src/main/java/com/bsoft/api/model/requmodel/BlockValues.java
+56
-0
bsoft-api/src/main/java/com/bsoft/api/service/BlockValuesService.java
+5
-1
bsoft-api/src/main/java/com/bsoft/api/service/Impl/BlockValuesServiceImpl.java
+43
-30
bsoft-api/src/main/resources/mapper/BlockValuesMapper.xml
+9
-0
bsoft-api/src/main/resources/mapper/DicDimMapper.xml
+5
-5
bsoft-api/src/main/resources/mapper/DicIndMapper.xml
+10
-10
bsoft-api/src/main/resources/mapper/DicOrgMapper.xml
+17
-17
bsoft-api/src/main/resources/mapper/SerBlockMapper.xml
+5
-5
bsoft-api/src/main/resources/mapper/SerPageBlockRsMapper.xml
+2
-6
bsoft-api/src/main/resources/mapper/SerPageMapper.xml
+5
-5
bsoft-api/src/main/resources/mapper/SysMenuMapper.xml
+7
-7
bsoft-api/src/main/resources/mapper/SysOrgMapper.xml
+20
-20
bsoft-api/src/main/resources/mapper/SysProjectMapper.xml
+5
-5
bsoft-api/src/main/resources/mapper/SysRoleMapper.xml
+3
-3
bsoft-api/src/main/resources/mapper/SysUserMapper.xml
+17
-17
bsoft-common/bsoft-common.iml
+78
-0
bsoft-plugins/bsoft-plugins.iml
+1
-1
bsoft-plugins/src/main/java/com/bsoft/generator/JavaTypeResolverImpl.java
+1
-1
suvalue-boot-demo/suvalue-boot-demo-atomicinteger/suvalue-boot-demo-atomicinteger.iml
+1
-1
suvalue-boot-demo/suvalue-boot-demo.iml
+1
-1
suvalue-boot-dynamic-datasource/suvalue-boot-dynamic-datasource.iml
+1
-1
suvalue-boot-ucenter/suvalue-boot-ucenter.iml
+1
-1
suvalue-boot-upms/suvalue-boot-upms.iml
+1
-1
No files found.
bsoft-api/bsoft-api.iml
View file @
12701fe6
<?xml version="1.0" encoding="UTF-8"?>
<module
org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule=
"true"
type=
"JAVA_MODULE"
version=
"4"
>
<module
org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule=
"true"
version=
"4"
>
<component
name=
"FacetManager"
>
<facet
type=
"Spring"
name=
"Spring"
>
<configuration
/>
...
...
bsoft-api/src/main/java/com/bsoft/api/controller/BlockValuesController.java
View file @
12701fe6
...
...
@@ -2,29 +2,37 @@ package com.bsoft.api.controller;
import
com.bsoft.api.common.Result
;
import
com.bsoft.api.common.annotations.Token
;
import
com.bsoft.api.common.base.RequestResult
;
import
com.bsoft.api.mapper.BlockValuesMapper
;
import
com.bsoft.api.model.requmodel.BlockValues
;
import
com.bsoft.api.service.BlockValuesService
;
import
com.bsoft.api.service.Impl.BlockValuesServiceImpl
;
import
io.swagger.annotations.Api
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.GetMapping
;
import
org.springframework.web.bind.annotation.RequestBody
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
import
springfox.documentation.annotations.ApiIgnore
;
@Api
(
tags
=
"板块数值Api"
)
@Re
questMapping
(
"/blockValues"
)
@Re
stController
public
class
BlockValuesController
{
@Autowired
private
BlockValuesService
blockValuesService
;
/**
* 根据pageId查询板块数值
* @param pageId 页面id
* @param disease 病组
* @param doctor 医生
* @param department 科室
* @param time 时间
* @return
* @throws Exception
*/
@GetMapping
(
"getBlockValuesByPageID"
)
@Token
public
Object
getBlockValuesByPageID
(
String
pageId
,
String
disease
,
String
doctor
,
String
department
,
String
time
)
throws
Exception
{
return
null
;
@GetMapping
(
"blockValues"
)
// @Token
public
Object
getBlockValuesByPageID
(
@RequestBody
BlockValues
blockValues
){
return
Result
.
success
(
blockValuesService
.
getBlockValuesByPageID
(
blockValues
.
getPageId
(),
blockValues
.
getDisease
(),
blockValues
.
getDoctor
(),
blockValues
.
getDepartment
(),
blockValues
.
getTime
()));
}
}
}
\ No newline at end of file
bsoft-api/src/main/java/com/bsoft/api/mapper/BlockValuesMapper.java
0 → 100644
View file @
12701fe6
package
com
.
bsoft
.
api
.
mapper
;
import
java.util.List
;
import
java.util.Map
;
public
interface
BlockValuesMapper
{
List
<
Map
<
String
,
Object
>>
selectByWhere
(
String
tableName
,
String
whereSql
);
}
bsoft-api/src/main/java/com/bsoft/api/mapper/DicDimMapper.java
View file @
12701fe6
...
...
@@ -38,7 +38,7 @@ public interface DicDimMapper {
*/
List
<
DicDim
>
selectAll
();
List
<
DicDim
>
selectByPageid
(
@Param
(
"pageID"
)
String
pageID
);
List
<
DicDim
>
selectByPageid
(
@Param
(
"pageID"
)
Integer
pageID
);
/**
* This method was generated by MyBatis Generator.
...
...
bsoft-api/src/main/java/com/bsoft/api/mapper/SerPageBlockRsMapper.java
View file @
12701fe6
...
...
@@ -46,5 +46,5 @@ public interface SerPageBlockRsMapper {
*/
int
updateByPrimaryKey
(
SerPageBlockRs
record
);
List
<
SerPageBlockRs
>
selectByPageId
(
@Param
(
"pageID"
)
String
pageID
);
List
<
SerPageBlockRs
>
selectByPageId
(
Integer
pageID
);
}
\ No newline at end of file
bsoft-api/src/main/java/com/bsoft/api/model/requmodel/BlockValues.java
0 → 100644
View file @
12701fe6
package
com
.
bsoft
.
api
.
model
.
requmodel
;
import
io.swagger.annotations.ApiModel
;
import
java.util.Date
;
@ApiModel
(
"调用blockValues请求的数据"
)
public
class
BlockValues
{
public
Integer
getPageId
()
{
return
pageId
;
}
public
void
setPageId
(
Integer
pageId
)
{
this
.
pageId
=
pageId
;
}
public
Integer
getDisease
()
{
return
disease
;
}
public
void
setDisease
(
Integer
disease
)
{
this
.
disease
=
disease
;
}
public
Integer
getDepartment
()
{
return
department
;
}
public
void
setDepartment
(
Integer
department
)
{
this
.
department
=
department
;
}
public
Integer
getDoctor
()
{
return
doctor
;
}
public
void
setDoctor
(
Integer
doctor
)
{
this
.
doctor
=
doctor
;
}
public
Integer
getTime
()
{
return
time
;
}
public
void
setTime
(
Integer
time
)
{
this
.
time
=
time
;
}
private
Integer
pageId
;
private
Integer
disease
;
private
Integer
department
;
private
Integer
doctor
;
private
Integer
time
;
}
bsoft-api/src/main/java/com/bsoft/api/service/BlockValuesService.java
View file @
12701fe6
package
com
.
bsoft
.
api
.
service
;
public
class
BlockValuesService
{
import
java.util.List
;
import
java.util.Map
;
public
interface
BlockValuesService
{
List
<
Map
<
String
,
Object
>>
getBlockValuesByPageID
(
Integer
pageId
,
Integer
disease
,
Integer
doctor
,
Integer
department
,
Integer
time
);
}
bsoft-api/src/main/java/com/bsoft/api/service/Impl/BlockValuesServiceImpl.java
View file @
12701fe6
package
com
.
bsoft
.
api
.
service
.
Impl
;
import
com.bsoft.api.mapper.BlockValuesMapper
;
import
com.bsoft.api.mapper.DicDimMapper
;
import
com.bsoft.api.mapper.SerPageBlockRsMapper
;
import
com.bsoft.api.model.DicDim
;
...
...
@@ -7,66 +8,78 @@ import com.bsoft.api.model.SerPageBlockRs;
import
com.bsoft.api.service.BlockValuesService
;
import
org.apache.ibatis.binding.MapperMethod
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
javax.annotation.Resource
;
import
java.util.ArrayList
;
import
java.util.HashMap
;
import
java.util.List
;
import
java.util.Map
;
@Service
public
class
BlockValuesServiceImpl
implements
BlockValuesService
{
public
class
BlockValuesServiceImpl
extends
BlockValuesService
{
@Autowired
@Resource
private
SerPageBlockRsMapper
serPageBlockRsMapper
;
@
Autowired
@
Resource
private
DicDimMapper
dicDimMapper
;
@Resource
private
BlockValuesMapper
blockValuesMapper
;
private
String
disease
=
null
;
private
String
doctor
=
null
;
private
String
department
=
null
;
private
String
time
=
null
;
public
List
<
Map
<
String
,
Object
>>
getBlockValuesByPageID
(
String
pageId
,
String
disease
,
String
doctor
,
String
department
,
String
time
){
@Override
public
List
<
Map
<
String
,
Object
>>
getBlockValuesByPageID
(
Integer
pageId
,
Integer
disease
,
Integer
doctor
,
Integer
department
,
Integer
time
){
Boolean
isDisease
=
false
;
Boolean
isDoctor
=
false
;
Boolean
isDepartment
=
false
;
Boolean
isTime
=
false
;
List
<
Map
<
String
,
Object
>>
list
=
new
ArrayList
<>();
//根据pageId查询所有板块
List
<
SerPageBlockRs
>
list
=
serPageBlockRsMapper
.
selectByPageId
(
pageId
);
List
<
SerPageBlockRs
>
pageBlock
list
=
serPageBlockRsMapper
.
selectByPageId
(
pageId
);
//根据pageId查询所有维度
List
<
DicDim
>
dimList
=
dicDimMapper
.
selectByPageid
(
pageId
);
//循环获取需要添加的维度查询条件
for
(
DicDim
data
:
dimList
)
{
if
(
data
.
getDimField
().
equals
(
"disease"
)){
this
.
disease
=
data
.
getDimField
()
;
if
(
data
.
getDimField
().
equals
IgnoreCase
(
"disease"
)){
isDisease
=
true
;
}
if
(
data
.
getDimField
().
equals
(
"doctor"
)){
this
.
doctor
=
data
.
getDimField
()
;
if
(
data
.
getDimField
().
equals
IgnoreCase
(
"doctor"
)){
isDoctor
=
true
;
}
if
(
data
.
getDimField
().
equals
(
"department"
)){
this
.
department
=
data
.
getDimField
()
;
if
(
data
.
getDimField
().
equals
IgnoreCase
(
"department"
)){
isDepartment
=
true
;
}
if
(
data
.
getDimField
().
equals
(
"time"
)){
this
.
time
=
data
.
getDimField
()
;
if
(
data
.
getDimField
().
equals
IgnoreCase
(
"time"
)){
isTime
=
true
;
}
}
//循环获取数据
for
(
SerPageBlockRs
data
:
list
)
{
for
(
SerPageBlockRs
data
:
pageBlock
list
)
{
//获取表名
String
tableName
=
"VAL_BLOCK_VALUES_"
+
data
.
getBlockId
();
String
selectSql
=
"select * from"
+
tableName
;
String
whereSql
=
"where 1=1"
;
//添加查询条件
if
(
disease
!=
null
&&
this
.
disease
!=
null
){
whereSql
+=
String
.
format
(
" and disease='
{0}
'"
,
disease
);
if
(
disease
!=
null
&&
isDisease
){
whereSql
+=
String
.
format
(
" and disease='
%s
'"
,
disease
);
}
if
(
doctor
!=
null
&&
this
.
doctor
!=
null
){
whereSql
+=
String
.
format
(
" and doctor='
{0}
'"
,
doctor
);
if
(
doctor
!=
null
&&
isDoctor
){
whereSql
+=
String
.
format
(
" and doctor='
%s
'"
,
doctor
);
}
if
(
department
!=
null
&&
this
.
department
!=
null
){
whereSql
+=
String
.
format
(
" and department='
{0}
'"
,
department
);
if
(
department
!=
null
&&
isDepartment
){
whereSql
+=
String
.
format
(
" and department='
%s
'"
,
department
);
}
if
(
time
!=
null
&&
this
.
time
!=
null
){
whereSql
+=
String
.
format
(
" and time='
{0}
'"
,
time
);
if
(
time
!=
null
&&
isTime
){
whereSql
+=
String
.
format
(
" and time='
%s
'"
,
time
);
}
List
<
Map
<
String
,
Object
>>
dataList
=
blockValuesMapper
.
selectByWhere
(
tableName
,
whereSql
);
list
.
add
(
new
HashMap
<
String
,
Object
>(){
{
put
(
data
.
getBlockId
().
toString
(),
dataList
);
}
});
}
return
null
;
return
list
;
}
...
...
bsoft-api/src/main/resources/mapper/BlockValuesMapper.xml
0 → 100644
View file @
12701fe6
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.bsoft.api.mapper.BlockValuesMapper"
>
<select
id=
"selectByWhere"
resultType=
"java.util.Map"
>
select * from ${tableName}
${whereSql}
</select>
</mapper>
\ No newline at end of file
bsoft-api/src/main/resources/mapper/DicDimMapper.xml
View file @
12701fe6
...
...
@@ -11,8 +11,8 @@
<result
column=
"CREATE_DATE"
jdbcType=
"TIMESTAMP"
property=
"createDate"
/>
<result
column=
"CREATE_USERID"
jdbcType=
"DECIMAL"
property=
"createUserid"
/>
<result
column=
"STATE"
jdbcType=
"DECIMAL"
property=
"state"
/>
<result
column=
"DIM_NAME"
jdbcType=
"
NVARCHAR2
"
property=
"dimName"
/>
<result
column=
"DIM_FIELD"
jdbcType=
"
NVARCHAR2
"
property=
"dimField"
/>
<result
column=
"DIM_NAME"
jdbcType=
"
VARCHAR
"
property=
"dimName"
/>
<result
column=
"DIM_FIELD"
jdbcType=
"
VARCHAR
"
property=
"dimField"
/>
</resultMap>
<delete
id=
"deleteByPrimaryKey"
parameterType=
"java.lang.Long"
>
<!--
...
...
@@ -35,7 +35,7 @@
insert into LL.DIC_DIM (CREATE_DATE, CREATE_USERID, STATE,
DIM_NAME, DIM_FIELD)
values (#{createDate,jdbcType=TIMESTAMP}, #{createUserid,jdbcType=DECIMAL}, #{state,jdbcType=DECIMAL},
#{dimName,jdbcType=
NVARCHAR2}, #{dimField,jdbcType=NVARCHAR2
})
#{dimName,jdbcType=
VARCHAR}, #{dimField,jdbcType=VARCHAR
})
</insert>
<update
id=
"updateByPrimaryKey"
parameterType=
"com.bsoft.api.model.DicDim"
>
<!--
...
...
@@ -47,8 +47,8 @@
set CREATE_DATE = #{createDate,jdbcType=TIMESTAMP},
CREATE_USERID = #{createUserid,jdbcType=DECIMAL},
STATE = #{state,jdbcType=DECIMAL},
DIM_NAME = #{dimName,jdbcType=
NVARCHAR2
},
DIM_FIELD = #{dimField,jdbcType=
NVARCHAR2
}
DIM_NAME = #{dimName,jdbcType=
VARCHAR
},
DIM_FIELD = #{dimField,jdbcType=
VARCHAR
}
where ID = #{id,jdbcType=DECIMAL}
</update>
<select
id=
"selectByPrimaryKey"
parameterType=
"java.lang.Long"
resultMap=
"BaseResultMap"
>
...
...
bsoft-api/src/main/resources/mapper/DicIndMapper.xml
View file @
12701fe6
...
...
@@ -11,11 +11,11 @@
<result
column=
"CREATE_DATE"
jdbcType=
"TIMESTAMP"
property=
"createDate"
/>
<result
column=
"CREATE_USERID"
jdbcType=
"DECIMAL"
property=
"createUserid"
/>
<result
column=
"STATE"
jdbcType=
"DECIMAL"
property=
"state"
/>
<result
column=
"IND_CODE"
jdbcType=
"
NVARCHAR2
"
property=
"indCode"
/>
<result
column=
"IND_NAME"
jdbcType=
"
NVARCHAR2
"
property=
"indName"
/>
<result
column=
"IND_CODE"
jdbcType=
"
VARCHAR
"
property=
"indCode"
/>
<result
column=
"IND_NAME"
jdbcType=
"
VARCHAR
"
property=
"indName"
/>
<result
column=
"COMPUTE_MODE"
jdbcType=
"DECIMAL"
property=
"computeMode"
/>
<result
column=
"EXEC_SQL"
jdbcType=
"
NVARCHAR2
"
property=
"execSql"
/>
<result
column=
"DESCRIBE"
jdbcType=
"
NVARCHAR2
"
property=
"describe"
/>
<result
column=
"EXEC_SQL"
jdbcType=
"
VARCHAR
"
property=
"execSql"
/>
<result
column=
"DESCRIBE"
jdbcType=
"
VARCHAR
"
property=
"describe"
/>
</resultMap>
<delete
id=
"deleteByPrimaryKey"
parameterType=
"java.lang.Long"
>
<!--
...
...
@@ -39,8 +39,8 @@
IND_CODE, IND_NAME, COMPUTE_MODE,
EXEC_SQL, DESCRIBE)
values (#{createDate,jdbcType=TIMESTAMP}, #{createUserid,jdbcType=DECIMAL}, #{state,jdbcType=DECIMAL},
#{indCode,jdbcType=
NVARCHAR2}, #{indName,jdbcType=NVARCHAR2
}, #{computeMode,jdbcType=DECIMAL},
#{execSql,jdbcType=
NVARCHAR2}, #{describe,jdbcType=NVARCHAR2
})
#{indCode,jdbcType=
VARCHAR}, #{indName,jdbcType=VARCHAR
}, #{computeMode,jdbcType=DECIMAL},
#{execSql,jdbcType=
VARCHAR}, #{describe,jdbcType=VARCHAR
})
</insert>
<update
id=
"updateByPrimaryKey"
parameterType=
"com.bsoft.api.model.DicInd"
>
<!--
...
...
@@ -52,11 +52,11 @@
set CREATE_DATE = #{createDate,jdbcType=TIMESTAMP},
CREATE_USERID = #{createUserid,jdbcType=DECIMAL},
STATE = #{state,jdbcType=DECIMAL},
IND_CODE = #{indCode,jdbcType=
NVARCHAR2
},
IND_NAME = #{indName,jdbcType=
NVARCHAR2
},
IND_CODE = #{indCode,jdbcType=
VARCHAR
},
IND_NAME = #{indName,jdbcType=
VARCHAR
},
COMPUTE_MODE = #{computeMode,jdbcType=DECIMAL},
EXEC_SQL = #{execSql,jdbcType=
NVARCHAR2
},
DESCRIBE = #{describe,jdbcType=
NVARCHAR2
}
EXEC_SQL = #{execSql,jdbcType=
VARCHAR
},
DESCRIBE = #{describe,jdbcType=
VARCHAR
}
where ID = #{id,jdbcType=DECIMAL}
</update>
<select
id=
"selectByPrimaryKey"
parameterType=
"java.lang.Long"
resultMap=
"BaseResultMap"
>
...
...
bsoft-api/src/main/resources/mapper/DicOrgMapper.xml
View file @
12701fe6
...
...
@@ -11,13 +11,13 @@
<result
column=
"CREATE_DATE"
jdbcType=
"TIMESTAMP"
property=
"createDate"
/>
<result
column=
"CREATE_USERID"
jdbcType=
"DECIMAL"
property=
"createUserid"
/>
<result
column=
"STATE"
jdbcType=
"DECIMAL"
property=
"state"
/>
<result
column=
"ORG_CODE"
jdbcType=
"
NVARCHAR2
"
property=
"orgCode"
/>
<result
column=
"ORG_NAME"
jdbcType=
"
NVARCHAR2
"
property=
"orgName"
/>
<result
column=
"ORG_NO"
jdbcType=
"
NVARCHAR2
"
property=
"orgNo"
/>
<result
column=
"ORG_SHORT_NAME"
jdbcType=
"
NVARCHAR2
"
property=
"orgShortName"
/>
<result
column=
"ORG_GROUP"
jdbcType=
"
NVARCHAR2
"
property=
"orgGroup"
/>
<result
column=
"ORG_TYPE"
jdbcType=
"
NVARCHAR2
"
property=
"orgType"
/>
<result
column=
"ORG_ADDRESS"
jdbcType=
"
NVARCHAR2
"
property=
"orgAddress"
/>
<result
column=
"ORG_CODE"
jdbcType=
"
VARCHAR
"
property=
"orgCode"
/>
<result
column=
"ORG_NAME"
jdbcType=
"
VARCHAR
"
property=
"orgName"
/>
<result
column=
"ORG_NO"
jdbcType=
"
VARCHAR
"
property=
"orgNo"
/>
<result
column=
"ORG_SHORT_NAME"
jdbcType=
"
VARCHAR
"
property=
"orgShortName"
/>
<result
column=
"ORG_GROUP"
jdbcType=
"
VARCHAR
"
property=
"orgGroup"
/>
<result
column=
"ORG_TYPE"
jdbcType=
"
VARCHAR
"
property=
"orgType"
/>
<result
column=
"ORG_ADDRESS"
jdbcType=
"
VARCHAR
"
property=
"orgAddress"
/>
<result
column=
"PARENT_ID"
jdbcType=
"DECIMAL"
property=
"parentId"
/>
</resultMap>
<delete
id=
"deleteByPrimaryKey"
parameterType=
"java.lang.Long"
>
...
...
@@ -43,9 +43,9 @@
ORG_SHORT_NAME, ORG_GROUP, ORG_TYPE,
ORG_ADDRESS, PARENT_ID)
values (#{createDate,jdbcType=TIMESTAMP}, #{createUserid,jdbcType=DECIMAL}, #{state,jdbcType=DECIMAL},
#{orgCode,jdbcType=
NVARCHAR2}, #{orgName,jdbcType=NVARCHAR2}, #{orgNo,jdbcType=NVARCHAR2
},
#{orgShortName,jdbcType=
NVARCHAR2}, #{orgGroup,jdbcType=NVARCHAR2}, #{orgType,jdbcType=NVARCHAR2
},
#{orgAddress,jdbcType=
NVARCHAR2
}, #{parentId,jdbcType=DECIMAL})
#{orgCode,jdbcType=
VARCHAR}, #{orgName,jdbcType=VARCHAR}, #{orgNo,jdbcType=VARCHAR
},
#{orgShortName,jdbcType=
VARCHAR}, #{orgGroup,jdbcType=VARCHAR}, #{orgType,jdbcType=VARCHAR
},
#{orgAddress,jdbcType=
VARCHAR
}, #{parentId,jdbcType=DECIMAL})
</insert>
<update
id=
"updateByPrimaryKey"
parameterType=
"com.bsoft.api.model.DicOrg"
>
<!--
...
...
@@ -57,13 +57,13 @@
set CREATE_DATE = #{createDate,jdbcType=TIMESTAMP},
CREATE_USERID = #{createUserid,jdbcType=DECIMAL},
STATE = #{state,jdbcType=DECIMAL},
ORG_CODE = #{orgCode,jdbcType=
NVARCHAR2
},
ORG_NAME = #{orgName,jdbcType=
NVARCHAR2
},
ORG_NO = #{orgNo,jdbcType=
NVARCHAR2
},
ORG_SHORT_NAME = #{orgShortName,jdbcType=
NVARCHAR2
},
ORG_GROUP = #{orgGroup,jdbcType=
NVARCHAR2
},
ORG_TYPE = #{orgType,jdbcType=
NVARCHAR2
},
ORG_ADDRESS = #{orgAddress,jdbcType=
NVARCHAR2
},
ORG_CODE = #{orgCode,jdbcType=
VARCHAR
},
ORG_NAME = #{orgName,jdbcType=
VARCHAR
},
ORG_NO = #{orgNo,jdbcType=
VARCHAR
},
ORG_SHORT_NAME = #{orgShortName,jdbcType=
VARCHAR
},
ORG_GROUP = #{orgGroup,jdbcType=
VARCHAR
},
ORG_TYPE = #{orgType,jdbcType=
VARCHAR
},
ORG_ADDRESS = #{orgAddress,jdbcType=
VARCHAR
},
PARENT_ID = #{parentId,jdbcType=DECIMAL}
where ID = #{id,jdbcType=DECIMAL}
</update>
...
...
bsoft-api/src/main/resources/mapper/SerBlockMapper.xml
View file @
12701fe6
...
...
@@ -11,8 +11,8 @@
<result
column=
"CREATE_DATE"
jdbcType=
"TIMESTAMP"
property=
"createDate"
/>
<result
column=
"CREATE_USERID"
jdbcType=
"DECIMAL"
property=
"createUserid"
/>
<result
column=
"STATE"
jdbcType=
"DECIMAL"
property=
"state"
/>
<result
column=
"BLOCK_CODE"
jdbcType=
"
NVARCHAR2
"
property=
"blockCode"
/>
<result
column=
"BLOCK_NAME"
jdbcType=
"
NVARCHAR2
"
property=
"blockName"
/>
<result
column=
"BLOCK_CODE"
jdbcType=
"
VARCHAR
"
property=
"blockCode"
/>
<result
column=
"BLOCK_NAME"
jdbcType=
"
VARCHAR
"
property=
"blockName"
/>
<result
column=
"RETURN_TYPE"
jdbcType=
"DECIMAL"
property=
"returnType"
/>
</resultMap>
<delete
id=
"deleteByPrimaryKey"
parameterType=
"java.lang.Long"
>
...
...
@@ -37,7 +37,7 @@
BLOCK_CODE, BLOCK_NAME, RETURN_TYPE
)
values (#{createDate,jdbcType=TIMESTAMP}, #{createUserid,jdbcType=DECIMAL}, #{state,jdbcType=DECIMAL},
#{blockCode,jdbcType=
NVARCHAR2}, #{blockName,jdbcType=NVARCHAR2
}, #{returnType,jdbcType=DECIMAL}
#{blockCode,jdbcType=
VARCHAR}, #{blockName,jdbcType=VARCHAR
}, #{returnType,jdbcType=DECIMAL}
)
</insert>
<update
id=
"updateByPrimaryKey"
parameterType=
"com.bsoft.api.model.SerBlock"
>
...
...
@@ -50,8 +50,8 @@
set CREATE_DATE = #{createDate,jdbcType=TIMESTAMP},
CREATE_USERID = #{createUserid,jdbcType=DECIMAL},
STATE = #{state,jdbcType=DECIMAL},
BLOCK_CODE = #{blockCode,jdbcType=
NVARCHAR2
},
BLOCK_NAME = #{blockName,jdbcType=
NVARCHAR2
},
BLOCK_CODE = #{blockCode,jdbcType=
VARCHAR
},
BLOCK_NAME = #{blockName,jdbcType=
VARCHAR
},
RETURN_TYPE = #{returnType,jdbcType=DECIMAL}
where ID = #{id,jdbcType=DECIMAL}
</update>
...
...
bsoft-api/src/main/resources/mapper/SerPageBlockRsMapper.xml
View file @
12701fe6
...
...
@@ -2,11 +2,6 @@
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.bsoft.api.mapper.SerPageBlockRsMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.bsoft.api.model.SerPageBlockRs"
>
<!--
WARNING - @mbggenerated
This element is automatically generated by MyBatis Generator, do not modify.
This element was generated on Tue Oct 22 14:44:12 CST 2019.
-->
<id
column=
"ID"
jdbcType=
"DECIMAL"
property=
"id"
/>
<result
column=
"CREATE_DATE"
jdbcType=
"TIMESTAMP"
property=
"createDate"
/>
<result
column=
"CREATE_USERID"
jdbcType=
"DECIMAL"
property=
"createUserid"
/>
...
...
@@ -73,6 +68,6 @@
<select
id=
"selectByPageId"
resultMap=
"BaseResultMap"
>
select ID, CREATE_DATE, CREATE_USERID, STATE, BLOCK_ID, PAGE_ID
from LL.SER_PAGE_BLOCK_RS
where PAGE_ID=#{pageI
d
,jdbcType=DECIMAL}
where PAGE_ID=#{pageI
D
,jdbcType=DECIMAL}
</select>
</mapper>
\ No newline at end of file
bsoft-api/src/main/resources/mapper/SerPageMapper.xml
View file @
12701fe6
...
...
@@ -11,8 +11,8 @@
<result
column=
"CREATE_DATE"
jdbcType=
"TIMESTAMP"
property=
"createDate"
/>
<result
column=
"CREATE_USERID"
jdbcType=
"DECIMAL"
property=
"createUserid"
/>
<result
column=
"STATE"
jdbcType=
"DECIMAL"
property=
"state"
/>
<result
column=
"PAGE_CODE"
jdbcType=
"
NVARCHAR2
"
property=
"pageCode"
/>
<result
column=
"PAGE_NAME"
jdbcType=
"
NVARCHAR2
"
property=
"pageName"
/>
<result
column=
"PAGE_CODE"
jdbcType=
"
VARCHAR
"
property=
"pageCode"
/>
<result
column=
"PAGE_NAME"
jdbcType=
"
VARCHAR
"
property=
"pageName"
/>
</resultMap>
<delete
id=
"deleteByPrimaryKey"
parameterType=
"java.lang.Long"
>
<!--
...
...
@@ -35,7 +35,7 @@
insert into LL.SER_PAGE (CREATE_DATE, CREATE_USERID, STATE,
PAGE_CODE, PAGE_NAME)
values (#{createDate,jdbcType=TIMESTAMP}, #{createUserid,jdbcType=DECIMAL}, #{state,jdbcType=DECIMAL},
#{pageCode,jdbcType=
NVARCHAR2}, #{pageName,jdbcType=NVARCHAR2
})
#{pageCode,jdbcType=
VARCHAR}, #{pageName,jdbcType=VARCHAR
})
</insert>
<update
id=
"updateByPrimaryKey"
parameterType=
"com.bsoft.api.model.SerPage"
>
<!--
...
...
@@ -47,8 +47,8 @@
set CREATE_DATE = #{createDate,jdbcType=TIMESTAMP},
CREATE_USERID = #{createUserid,jdbcType=DECIMAL},
STATE = #{state,jdbcType=DECIMAL},
PAGE_CODE = #{pageCode,jdbcType=
NVARCHAR2
},
PAGE_NAME = #{pageName,jdbcType=
NVARCHAR2
}
PAGE_CODE = #{pageCode,jdbcType=
VARCHAR
},
PAGE_NAME = #{pageName,jdbcType=
VARCHAR
}
where ID = #{id,jdbcType=DECIMAL}
</update>
<select
id=
"selectByPrimaryKey"
parameterType=
"java.lang.Long"
resultMap=
"BaseResultMap"
>
...
...
bsoft-api/src/main/resources/mapper/SysMenuMapper.xml
View file @
12701fe6
...
...
@@ -11,9 +11,9 @@
<result
column=
"CREATE_DATA"
jdbcType=
"TIMESTAMP"
property=
"createData"
/>
<result
column=
"CREATE_USERID"
jdbcType=
"DECIMAL"
property=
"createUserid"
/>
<result
column=
"STATE"
jdbcType=
"DECIMAL"
property=
"state"
/>
<result
column=
"MENU_NAME"
jdbcType=
"
NVARCHAR2
"
property=
"menuName"
/>
<result
column=
"MENU_URL"
jdbcType=
"
NVARCHAR2
"
property=
"menuUrl"
/>
<result
column=
"MENU_IMAGE"
jdbcType=
"
NVARCHAR2
"
property=
"menuImage"
/>
<result
column=
"MENU_NAME"
jdbcType=
"
VARCHAR
"
property=
"menuName"
/>
<result
column=
"MENU_URL"
jdbcType=
"
VARCHAR
"
property=
"menuUrl"
/>
<result
column=
"MENU_IMAGE"
jdbcType=
"
VARCHAR
"
property=
"menuImage"
/>
<result
column=
"PARENT_ID"
jdbcType=
"DECIMAL"
property=
"parentId"
/>
</resultMap>
<delete
id=
"deleteByPrimaryKey"
parameterType=
"java.lang.Long"
>
...
...
@@ -38,7 +38,7 @@
MENU_NAME, MENU_URL, MENU_IMAGE,
PARENT_ID)
values (#{createData,jdbcType=TIMESTAMP}, #{createUserid,jdbcType=DECIMAL}, #{state,jdbcType=DECIMAL},
#{menuName,jdbcType=
NVARCHAR2}, #{menuUrl,jdbcType=NVARCHAR2}, #{menuImage,jdbcType=NVARCHAR2},
#{menuName,jdbcType=
VARCHAR}, #{menuUrl,jdbcType=VARCHAR}, #{menuImage,jdbcType=VARCHAR},
#{parentId,jdbcType=DECIMAL})
</insert>
<update
id=
"updateByPrimaryKey"
parameterType=
"com.bsoft.api.model.SysMenu"
>
...
...
@@ -51,9 +51,9 @@
set CREATE_DATA = #{createData,jdbcType=TIMESTAMP},
CREATE_USERID = #{createUserid,jdbcType=DECIMAL},
STATE = #{state,jdbcType=DECIMAL},
MENU_NAME = #{menuName,jdbcType=
NVARCHAR2
},
MENU_URL = #{menuUrl,jdbcType=
NVARCHAR2
},
MENU_IMAGE = #{menuImage,jdbcType=
NVARCHAR2
},
MENU_NAME = #{menuName,jdbcType=
VARCHAR
},
MENU_URL = #{menuUrl,jdbcType=
VARCHAR
},
MENU_IMAGE = #{menuImage,jdbcType=
VARCHAR
},
PARENT_ID = #{parentId,jdbcType=DECIMAL}
where ID = #{id,jdbcType=DECIMAL}
</update>
...
...
bsoft-api/src/main/resources/mapper/SysOrgMapper.xml
View file @
12701fe6
...
...
@@ -9,15 +9,15 @@
-->
<id
column=
"ID"
jdbcType=
"DECIMAL"
property=
"id"
/>
<result
column=
"CREATE_DATA"
jdbcType=
"TIMESTAMP"
property=
"createData"
/>
<result
column=
"CREATE_USERID"
jdbcType=
"
NVARCHAR2
"
property=
"createUserid"
/>
<result
column=
"CREATE_USERID"
jdbcType=
"
VARCHAR
"
property=
"createUserid"
/>
<result
column=
"STATE"
jdbcType=
"DECIMAL"
property=
"state"
/>
<result
column=
"ORG_CODE"
jdbcType=
"
NVARCHAR2
"
property=
"orgCode"
/>
<result
column=
"ORG_NAME"
jdbcType=
"
NVARCHAR2
"
property=
"orgName"
/>
<result
column=
"ORG_NO"
jdbcType=
"
NVARCHAR2
"
property=
"orgNo"
/>
<result
column=
"ORG_SHORT_NAME"
jdbcType=
"
NVARCHAR2
"
property=
"orgShortName"
/>
<result
column=
"ORG_GROUP"
jdbcType=
"
NVARCHAR2
"
property=
"orgGroup"
/>
<result
column=
"ORG_TYPE"
jdbcType=
"
NVARCHAR2
"
property=
"orgType"
/>
<result
column=
"ORG_ADDRESS"
jdbcType=
"
NVARCHAR2
"
property=
"orgAddress"
/>
<result
column=
"ORG_CODE"
jdbcType=
"
VARCHAR
"
property=
"orgCode"
/>
<result
column=
"ORG_NAME"
jdbcType=
"
VARCHAR
"
property=
"orgName"
/>
<result
column=
"ORG_NO"
jdbcType=
"
VARCHAR
"
property=
"orgNo"
/>
<result
column=
"ORG_SHORT_NAME"
jdbcType=
"
VARCHAR
"
property=
"orgShortName"
/>
<result
column=
"ORG_GROUP"
jdbcType=
"
VARCHAR
"
property=
"orgGroup"
/>
<result
column=
"ORG_TYPE"
jdbcType=
"
VARCHAR
"
property=
"orgType"
/>
<result
column=
"ORG_ADDRESS"
jdbcType=
"
VARCHAR
"
property=
"orgAddress"
/>
<result
column=
"PARENT_ID"
jdbcType=
"DECIMAL"
property=
"parentId"
/>
</resultMap>
<delete
id=
"deleteByPrimaryKey"
parameterType=
"java.lang.Long"
>
...
...
@@ -42,10 +42,10 @@
ORG_CODE, ORG_NAME, ORG_NO,
ORG_SHORT_NAME, ORG_GROUP, ORG_TYPE,
ORG_ADDRESS, PARENT_ID)
values (#{createData,jdbcType=TIMESTAMP}, #{createUserid,jdbcType=
NVARCHAR2}, #{state,jdbcType=DECIMAL},
#{orgCode,jdbcType=
NVARCHAR2}, #{orgName,jdbcType=NVARCHAR2}, #{orgNo,jdbcType=NVARCHAR2},
#{orgShortName,jdbcType=
NVARCHAR2}, #{orgGroup,jdbcType=NVARCHAR2}, #{orgType,jdbcType=NVARCHAR2},
#{orgAddress,jdbcType=
NVARCHAR2
}, #{parentId,jdbcType=DECIMAL})
values (#{createData,jdbcType=TIMESTAMP}, #{createUserid,jdbcType=
VARCHAR}, #{state,jdbcType=DECIMAL},
#{orgCode,jdbcType=
VARCHAR}, #{orgName,jdbcType=VARCHAR}, #{orgNo,jdbcType=VARCHAR},
#{orgShortName,jdbcType=
VARCHAR}, #{orgGroup,jdbcType=VARCHAR}, #{orgType,jdbcType=VARCHAR},
#{orgAddress,jdbcType=
VARCHAR
}, #{parentId,jdbcType=DECIMAL})
</insert>
<update
id=
"updateByPrimaryKey"
parameterType=
"com.bsoft.api.model.SysOrg"
>
<!--
...
...
@@ -55,15 +55,15 @@
-->
update LL.SYS_ORG
set CREATE_DATA = #{createData,jdbcType=TIMESTAMP},
CREATE_USERID = #{createUserid,jdbcType=
NVARCHAR2
},
CREATE_USERID = #{createUserid,jdbcType=
VARCHAR
},
STATE = #{state,jdbcType=DECIMAL},
ORG_CODE = #{orgCode,jdbcType=
NVARCHAR2
},
ORG_NAME = #{orgName,jdbcType=
NVARCHAR2
},
ORG_NO = #{orgNo,jdbcType=
NVARCHAR2
},
ORG_SHORT_NAME = #{orgShortName,jdbcType=
NVARCHAR2
},
ORG_GROUP = #{orgGroup,jdbcType=
NVARCHAR2
},
ORG_TYPE = #{orgType,jdbcType=
NVARCHAR2
},
ORG_ADDRESS = #{orgAddress,jdbcType=
NVARCHAR2
},
ORG_CODE = #{orgCode,jdbcType=
VARCHAR
},
ORG_NAME = #{orgName,jdbcType=
VARCHAR
},
ORG_NO = #{orgNo,jdbcType=
VARCHAR
},
ORG_SHORT_NAME = #{orgShortName,jdbcType=
VARCHAR
},
ORG_GROUP = #{orgGroup,jdbcType=
VARCHAR
},
ORG_TYPE = #{orgType,jdbcType=
VARCHAR
},
ORG_ADDRESS = #{orgAddress,jdbcType=
VARCHAR
},
PARENT_ID = #{parentId,jdbcType=DECIMAL}
where ID = #{id,jdbcType=DECIMAL}
</update>
...
...
bsoft-api/src/main/resources/mapper/SysProjectMapper.xml
View file @
12701fe6
...
...
@@ -11,8 +11,8 @@
<result
column=
"CREATE_DATE"
jdbcType=
"TIMESTAMP"
property=
"createDate"
/>
<result
column=
"CREATE_USERID"
jdbcType=
"DECIMAL"
property=
"createUserid"
/>
<result
column=
"STATE"
jdbcType=
"DECIMAL"
property=
"state"
/>
<result
column=
"PROJECT_CODE"
jdbcType=
"
NVARCHAR2
"
property=
"projectCode"
/>
<result
column=
"PROJECT_NAME"
jdbcType=
"
NVARCHAR2
"
property=
"projectName"
/>
<result
column=
"PROJECT_CODE"
jdbcType=
"
VARCHAR
"
property=
"projectCode"
/>
<result
column=
"PROJECT_NAME"
jdbcType=
"
VARCHAR
"
property=
"projectName"
/>
</resultMap>
<delete
id=
"deleteByPrimaryKey"
parameterType=
"java.lang.Long"
>
<!--
...
...
@@ -35,7 +35,7 @@
insert into LL.SYS_PROJECT (CREATE_DATE, CREATE_USERID, STATE,
PROJECT_CODE, PROJECT_NAME)
values (#{createDate,jdbcType=TIMESTAMP}, #{createUserid,jdbcType=DECIMAL}, #{state,jdbcType=DECIMAL},
#{projectCode,jdbcType=
NVARCHAR2}, #{projectName,jdbcType=NVARCHAR2
})
#{projectCode,jdbcType=
VARCHAR}, #{projectName,jdbcType=VARCHAR
})
</insert>
<update
id=
"updateByPrimaryKey"
parameterType=
"com.bsoft.api.model.SysProject"
>
<!--
...
...
@@ -47,8 +47,8 @@
set CREATE_DATE = #{createDate,jdbcType=TIMESTAMP},
CREATE_USERID = #{createUserid,jdbcType=DECIMAL},
STATE = #{state,jdbcType=DECIMAL},
PROJECT_CODE = #{projectCode,jdbcType=
NVARCHAR2
},
PROJECT_NAME = #{projectName,jdbcType=
NVARCHAR2
}
PROJECT_CODE = #{projectCode,jdbcType=
VARCHAR
},
PROJECT_NAME = #{projectName,jdbcType=
VARCHAR
}
where ID = #{id,jdbcType=DECIMAL}
</update>
<select
id=
"selectByPrimaryKey"
parameterType=
"java.lang.Long"
resultMap=
"BaseResultMap"
>
...
...
bsoft-api/src/main/resources/mapper/SysRoleMapper.xml
View file @
12701fe6
...
...
@@ -11,7 +11,7 @@
<result
column=
"CREATE_DATE"
jdbcType=
"TIMESTAMP"
property=
"createDate"
/>
<result
column=
"CREATE_USERID"
jdbcType=
"DECIMAL"
property=
"createUserid"
/>
<result
column=
"STATE"
jdbcType=
"DECIMAL"
property=
"state"
/>
<result
column=
"ROLE_NAME"
jdbcType=
"
NVARCHAR2
"
property=
"roleName"
/>
<result
column=
"ROLE_NAME"
jdbcType=
"
VARCHAR
"
property=
"roleName"
/>
<result
column=
"ROLE_CODE"
jdbcType=
"DECIMAL"
property=
"roleCode"
/>
</resultMap>
<delete
id=
"deleteByPrimaryKey"
parameterType=
"java.lang.Long"
>
...
...
@@ -35,7 +35,7 @@
insert into LL.SYS_ROLE (CREATE_DATE, CREATE_USERID, STATE,
ROLE_NAME, ROLE_CODE)
values (#{createDate,jdbcType=TIMESTAMP}, #{createUserid,jdbcType=DECIMAL}, #{state,jdbcType=DECIMAL},
#{roleName,jdbcType=
NVARCHAR2
}, #{roleCode,jdbcType=DECIMAL})
#{roleName,jdbcType=
VARCHAR
}, #{roleCode,jdbcType=DECIMAL})
</insert>
<update
id=
"updateByPrimaryKey"
parameterType=
"com.bsoft.api.model.SysRole"
>
<!--
...
...
@@ -47,7 +47,7 @@
set CREATE_DATE = #{createDate,jdbcType=TIMESTAMP},
CREATE_USERID = #{createUserid,jdbcType=DECIMAL},
STATE = #{state,jdbcType=DECIMAL},
ROLE_NAME = #{roleName,jdbcType=
NVARCHAR2
},
ROLE_NAME = #{roleName,jdbcType=
VARCHAR
},
ROLE_CODE = #{roleCode,jdbcType=DECIMAL}
where ID = #{id,jdbcType=DECIMAL}
</update>
...
...
bsoft-api/src/main/resources/mapper/SysUserMapper.xml
View file @
12701fe6
...
...
@@ -11,17 +11,17 @@
<result
column=
"CREATE_DATE"
jdbcType=
"TIMESTAMP"
property=
"createDate"
/>
<result
column=
"CREATE_USERID"
jdbcType=
"DECIMAL"
property=
"createUserid"
/>
<result
column=
"STATE"
jdbcType=
"DECIMAL"
property=
"state"
/>
<result
column=
"USER_CODE"
jdbcType=
"
NVARCHAR2
"
property=
"userCode"
/>
<result
column=
"USER_NAME"
jdbcType=
"
NVARCHAR2
"
property=
"userName"
/>
<result
column=
"PASSWORD"
jdbcType=
"
NVARCHAR2
"
property=
"password"
/>
<result
column=
"IDCARD"
jdbcType=
"
NVARCHAR2
"
property=
"idcard"
/>
<result
column=
"SEX"
jdbcType=
"
NVARCHAR2
"
property=
"sex"
/>
<result
column=
"MOBILE"
jdbcType=
"
NVARCHAR2
"
property=
"mobile"
/>
<result
column=
"USER_CODE"
jdbcType=
"
VARCHAR
"
property=
"userCode"
/>
<result
column=
"USER_NAME"
jdbcType=
"
VARCHAR
"
property=
"userName"
/>
<result
column=
"PASSWORD"
jdbcType=
"
VARCHAR
"
property=
"password"
/>
<result
column=
"IDCARD"
jdbcType=
"
VARCHAR
"
property=
"idcard"
/>
<result
column=
"SEX"
jdbcType=
"
VARCHAR
"
property=
"sex"
/>
<result
column=
"MOBILE"
jdbcType=
"
VARCHAR
"
property=
"mobile"
/>
<result
column=
"PAGE_COUNT"
jdbcType=
"DECIMAL"
property=
"pageCount"
/>
<result
column=
"ERROR_COUNT"
jdbcType=
"DECIMAL"
property=
"errorCount"
/>
<result
column=
"ERROR_TIME"
jdbcType=
"TIMESTAMP"
property=
"errorTime"
/>
<result
column=
"LAST_TIME"
jdbcType=
"TIMESTAMP"
property=
"lastTime"
/>
<result
column=
"LAST_IP"
jdbcType=
"
NVARCHAR2
"
property=
"lastIp"
/>
<result
column=
"LAST_IP"
jdbcType=
"
VARCHAR
"
property=
"lastIp"
/>
</resultMap>
<delete
id=
"deleteByPrimaryKey"
parameterType=
"java.lang.Long"
>
<!--
...
...
@@ -47,10 +47,10 @@
PAGE_COUNT, ERROR_COUNT, ERROR_TIME,
LAST_TIME, LAST_IP)
values (#{createDate,jdbcType=TIMESTAMP}, #{createUserid,jdbcType=DECIMAL}, #{state,jdbcType=DECIMAL},
#{userCode,jdbcType=
NVARCHAR2}, #{userName,jdbcType=NVARCHAR2}, #{password,jdbcType=NVARCHAR2},
#{idcard,jdbcType=
NVARCHAR2}, #{sex,jdbcType=NVARCHAR2}, #{mobile,jdbcType=NVARCHAR2},
#{userCode,jdbcType=
VARCHAR}, #{userName,jdbcType=VARCHAR}, #{password,jdbcType=VARCHAR},
#{idcard,jdbcType=
VARCHAR}, #{sex,jdbcType=VARCHAR}, #{mobile,jdbcType=VARCHAR},
#{pageCount,jdbcType=DECIMAL}, #{errorCount,jdbcType=DECIMAL}, #{errorTime,jdbcType=TIMESTAMP},
#{lastTime,jdbcType=TIMESTAMP}, #{lastIp,jdbcType=
NVARCHAR2
})
#{lastTime,jdbcType=TIMESTAMP}, #{lastIp,jdbcType=
VARCHAR
})
</insert>
<update
id=
"updateByPrimaryKey"
parameterType=
"com.bsoft.api.model.SysUser"
>
<!--
...
...
@@ -62,17 +62,17 @@
set CREATE_DATE = #{createDate,jdbcType=TIMESTAMP},
CREATE_USERID = #{createUserid,jdbcType=DECIMAL},
STATE = #{state,jdbcType=DECIMAL},
USER_CODE = #{userCode,jdbcType=
NVARCHAR2
},
USER_NAME = #{userName,jdbcType=
NVARCHAR2
},
PASSWORD = #{password,jdbcType=
NVARCHAR2
},
IDCARD = #{idcard,jdbcType=
NVARCHAR2
},
SEX = #{sex,jdbcType=
NVARCHAR2
},
MOBILE = #{mobile,jdbcType=
NVARCHAR2
},
USER_CODE = #{userCode,jdbcType=
VARCHAR
},
USER_NAME = #{userName,jdbcType=
VARCHAR
},
PASSWORD = #{password,jdbcType=
VARCHAR
},
IDCARD = #{idcard,jdbcType=
VARCHAR
},
SEX = #{sex,jdbcType=
VARCHAR
},
MOBILE = #{mobile,jdbcType=
VARCHAR
},
PAGE_COUNT = #{pageCount,jdbcType=DECIMAL},
ERROR_COUNT = #{errorCount,jdbcType=DECIMAL},
ERROR_TIME = #{errorTime,jdbcType=TIMESTAMP},
LAST_TIME = #{lastTime,jdbcType=TIMESTAMP},
LAST_IP = #{lastIp,jdbcType=
NVARCHAR2
}
LAST_IP = #{lastIp,jdbcType=
VARCHAR
}
where ID = #{id,jdbcType=DECIMAL}
</update>
<select
id=
"selectByPrimaryKey"
parameterType=
"java.lang.Long"
resultMap=
"BaseResultMap"
>
...
...
bsoft-common/bsoft-common.iml
0 → 100644
View file @
12701fe6
<?xml version="1.0" encoding="UTF-8"?>
<module
org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule=
"true"
type=
"JAVA_MODULE"
version=
"4"
>
<component
name=
"FacetManager"
>
<facet
type=
"Spring"
name=
"Spring"
>
<configuration
/>
</facet>
</component>
<component
name=
"NewModuleRootManager"
LANGUAGE_LEVEL=
"JDK_1_8"
>
<output
url=
"file://$MODULE_DIR$/target/classes"
/>
<output-test
url=
"file://$MODULE_DIR$/target/test-classes"
/>
<content
url=
"file://$MODULE_DIR$"
>
<sourceFolder
url=
"file://$MODULE_DIR$/src/main/java"
isTestSource=
"false"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/target"
/>
</content>
<orderEntry
type=
"inheritedJdk"
/>
<orderEntry
type=
"sourceFolder"
forTests=
"false"
/>
<orderEntry
type=
"library"
name=
"Maven: org.springframework.boot:spring-boot-starter-data-redis:2.1.6.RELEASE"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.springframework.boot:spring-boot-starter:2.1.6.RELEASE"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.springframework.boot:spring-boot:2.1.6.RELEASE"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.springframework.boot:spring-boot-autoconfigure:2.1.6.RELEASE"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.springframework.boot:spring-boot-starter-logging:2.1.6.RELEASE"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: ch.qos.logback:logback-classic:1.2.3"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: ch.qos.logback:logback-core:1.2.3"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.apache.logging.log4j:log4j-to-slf4j:2.11.2"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.apache.logging.log4j:log4j-api:2.11.2"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.slf4j:jul-to-slf4j:1.7.26"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: javax.annotation:javax.annotation-api:1.3.2"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.springframework:spring-core:5.1.8.RELEASE"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.springframework:spring-jcl:5.1.8.RELEASE"
level=
"project"
/>
<orderEntry
type=
"library"
scope=
"RUNTIME"
name=
"Maven: org.yaml:snakeyaml:1.23"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.springframework.data:spring-data-redis:2.1.9.RELEASE"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.springframework.data:spring-data-keyvalue:2.1.9.RELEASE"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.springframework.data:spring-data-commons:2.1.9.RELEASE"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.springframework:spring-tx:5.1.8.RELEASE"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.springframework:spring-oxm:5.1.8.RELEASE"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.springframework:spring-aop:5.1.8.RELEASE"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.springframework:spring-context-support:5.1.8.RELEASE"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: io.lettuce:lettuce-core:5.1.7.RELEASE"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: io.netty:netty-common:4.1.36.Final"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: io.netty:netty-handler:4.1.36.Final"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: io.netty:netty-buffer:4.1.36.Final"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: io.netty:netty-codec:4.1.36.Final"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: io.netty:netty-transport:4.1.36.Final"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: io.netty:netty-resolver:4.1.36.Final"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: io.projectreactor:reactor-core:3.2.8.RELEASE"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.reactivestreams:reactive-streams:1.0.2"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: com.fasterxml.jackson.core:jackson-databind:2.9.9.3"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: com.fasterxml.jackson.core:jackson-annotations:2.9.0"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: com.fasterxml.jackson.core:jackson-core:2.9.9"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: io.springfox:springfox-swagger2:2.8.0"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: io.swagger:swagger-annotations:1.5.14"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: io.swagger:swagger-models:1.5.14"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: io.springfox:springfox-spi:2.8.0"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: io.springfox:springfox-core:2.8.0"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: net.bytebuddy:byte-buddy:1.7.9"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: io.springfox:springfox-schema:2.8.0"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: io.springfox:springfox-swagger-common:2.8.0"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: io.springfox:springfox-spring-web:2.8.0"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.reflections:reflections:0.9.11"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.javassist:javassist:3.21.0-GA"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: com.google.guava:guava:20.0"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: com.fasterxml:classmate:1.3.4"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.slf4j:slf4j-api:1.7.24"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.springframework.plugin:spring-plugin-core:1.2.0.RELEASE"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.springframework:spring-beans:4.0.9.RELEASE"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.springframework:spring-context:4.0.9.RELEASE"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.springframework:spring-expression:4.0.9.RELEASE"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.springframework.plugin:spring-plugin-metadata:1.2.0.RELEASE"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.mapstruct:mapstruct:1.2.0.Final"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: io.springfox:springfox-swagger-ui:2.8.0"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: com.auth0:java-jwt:3.4.0"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: commons-codec:commons-codec:1.11"
level=
"project"
/>
<orderEntry
type=
"library"
scope=
"TEST"
name=
"Maven: junit:junit:4.12"
level=
"project"
/>
<orderEntry
type=
"library"
scope=
"TEST"
name=
"Maven: org.hamcrest:hamcrest-core:1.3"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: javax.servlet:javax.servlet-api:4.0.0-b07"
level=
"project"
/>
</component>
</module>
\ No newline at end of file
bsoft-plugins/bsoft-plugins.iml
View file @
12701fe6
<?xml version="1.0" encoding="UTF-8"?>
<module
org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule=
"true"
type=
"JAVA_MODULE"
version=
"4"
>
<module
org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule=
"true"
version=
"4"
>
<component
name=
"NewModuleRootManager"
LANGUAGE_LEVEL=
"JDK_1_5"
>
<output
url=
"file://$MODULE_DIR$/target/classes"
/>
<output-test
url=
"file://$MODULE_DIR$/target/test-classes"
/>
...
...
bsoft-plugins/src/main/java/com/bsoft/generator/JavaTypeResolverImpl.java
View file @
12701fe6
...
...
@@ -8,7 +8,7 @@ import java.sql.Types;
public
class
JavaTypeResolverImpl
extends
JavaTypeResolverDefaultImpl
{
public
JavaTypeResolverImpl
(){
super
();
this
.
typeMap
.
put
(
Types
.
OTHER
,
new
JdbcTypeInformation
(
"
NVARCHAR2
"
,
//$NON-NLS-1$
this
.
typeMap
.
put
(
Types
.
OTHER
,
new
JdbcTypeInformation
(
"
VARCHAR
"
,
//$NON-NLS-1$
new
FullyQualifiedJavaType
(
String
.
class
.
getName
())));
}
}
suvalue-boot-demo/suvalue-boot-demo-atomicinteger/suvalue-boot-demo-atomicinteger.iml
View file @
12701fe6
<?xml version="1.0" encoding="UTF-8"?>
<module
org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule=
"true"
type=
"JAVA_MODULE"
version=
"4"
>
<module
org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule=
"true"
version=
"4"
>
<component
name=
"NewModuleRootManager"
LANGUAGE_LEVEL=
"JDK_1_5"
>
<output
url=
"file://$MODULE_DIR$/target/classes"
/>
<output-test
url=
"file://$MODULE_DIR$/target/test-classes"
/>
...
...
suvalue-boot-demo/suvalue-boot-demo.iml
View file @
12701fe6
<?xml version="1.0" encoding="UTF-8"?>
<module
org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule=
"true"
type=
"JAVA_MODULE"
version=
"4"
>
<module
org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule=
"true"
version=
"4"
>
<component
name=
"NewModuleRootManager"
LANGUAGE_LEVEL=
"JDK_1_5"
>
<output
url=
"file://$MODULE_DIR$/target/classes"
/>
<output-test
url=
"file://$MODULE_DIR$/target/test-classes"
/>
...
...
suvalue-boot-dynamic-datasource/suvalue-boot-dynamic-datasource.iml
View file @
12701fe6
<?xml version="1.0" encoding="UTF-8"?>
<module
org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule=
"true"
type=
"JAVA_MODULE"
version=
"4"
>
<module
org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule=
"true"
version=
"4"
>
<component
name=
"FacetManager"
>
<facet
type=
"Spring"
name=
"Spring"
>
<configuration
/>
...
...
suvalue-boot-ucenter/suvalue-boot-ucenter.iml
View file @
12701fe6
<?xml version="1.0" encoding="UTF-8"?>
<module
org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule=
"true"
type=
"JAVA_MODULE"
version=
"4"
>
<module
org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule=
"true"
version=
"4"
>
<component
name=
"NewModuleRootManager"
LANGUAGE_LEVEL=
"JDK_1_5"
>
<output
url=
"file://$MODULE_DIR$/target/classes"
/>
<output-test
url=
"file://$MODULE_DIR$/target/test-classes"
/>
...
...
suvalue-boot-upms/suvalue-boot-upms.iml
View file @
12701fe6
<?xml version="1.0" encoding="UTF-8"?>
<module
org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule=
"true"
type=
"JAVA_MODULE"
version=
"4"
>
<module
org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule=
"true"
version=
"4"
>
<component
name=
"NewModuleRootManager"
LANGUAGE_LEVEL=
"JDK_1_5"
>
<output
url=
"file://$MODULE_DIR$/target/classes"
/>
<output-test
url=
"file://$MODULE_DIR$/target/test-classes"
/>
...
...
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