Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
indicators
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhangkb
indicators
Commits
0d6df2dc
Commit
0d6df2dc
authored
Jul 31, 2020
by
zhangkb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
判断目录同名代码提交
parent
58565a04
Hide whitespace changes
Inline
Side-by-side
Showing
19 changed files
with
139 additions
and
0 deletions
+139
-0
BaseIndDef.java
...mobile/indicators/model/entity/indicators/BaseIndDef.java
+1
-0
DriveIndCatalogMapper.java
...icators/model/mapper/indmapper/DriveIndCatalogMapper.java
+3
-0
IndCatalogMapper.java
...e/indicators/model/mapper/indmapper/IndCatalogMapper.java
+3
-0
ScoreRuleCatalogMapper.java
...cators/model/mapper/indmapper/ScoreRuleCatalogMapper.java
+3
-0
ScorecardCatalogMapper.java
...cators/model/mapper/indmapper/ScorecardCatalogMapper.java
+3
-0
ShortboardCatalogMapper.java
...ators/model/mapper/indmapper/ShortboardCatalogMapper.java
+3
-0
ShortboardUnitCatalogMapper.java
...s/model/mapper/indmapper/ShortboardUnitCatalogMapper.java
+3
-0
DriveIndCatalogService.java
.../indicators/service/hytobacco/DriveIndCatalogService.java
+10
-0
IndCatalogService.java
...obile/indicators/service/hytobacco/IndCatalogService.java
+10
-0
ScoreRuleCatalogService.java
...indicators/service/hytobacco/ScoreRuleCatalogService.java
+10
-0
ScorecardCatalogService.java
...indicators/service/hytobacco/ScorecardCatalogService.java
+10
-0
ShortboardCatalogService.java
...ndicators/service/hytobacco/ShortboardCatalogService.java
+10
-0
ShortboardUnitCatalogService.java
...ators/service/hytobacco/ShortboardUnitCatalogService.java
+10
-0
DriveIndCatalogMapper.xml
src/main/resources/mybatis/mapping/DriveIndCatalogMapper.xml
+10
-0
IndCatalogMapper.xml
src/main/resources/mybatis/mapping/IndCatalogMapper.xml
+10
-0
ScoreRuleCatalogMapper.xml
...main/resources/mybatis/mapping/ScoreRuleCatalogMapper.xml
+10
-0
ScorecardCatalogMapper.xml
...main/resources/mybatis/mapping/ScorecardCatalogMapper.xml
+10
-0
ShortboardCatalogMapper.xml
...ain/resources/mybatis/mapping/ShortboardCatalogMapper.xml
+10
-0
ShortboardUnitCatalogMapper.xml
...resources/mybatis/mapping/ShortboardUnitCatalogMapper.xml
+10
-0
No files found.
src/main/java/com/keymobile/indicators/model/entity/indicators/BaseIndDef.java
View file @
0d6df2dc
...
@@ -41,4 +41,5 @@ public class BaseIndDef {
...
@@ -41,4 +41,5 @@ public class BaseIndDef {
private
List
<
BaseIndDef
>
childrens
=
new
ArrayList
<>();
//子基础项
private
List
<
BaseIndDef
>
childrens
=
new
ArrayList
<>();
//子基础项
private
String
formulaInfo
;
private
String
formulaInfo
;
private
String
indClasses
;
//数据项类型 0:一级数据项 1:二级数据项
}
}
src/main/java/com/keymobile/indicators/model/mapper/indmapper/DriveIndCatalogMapper.java
View file @
0d6df2dc
...
@@ -24,4 +24,7 @@ public interface DriveIndCatalogMapper extends BaseMapper<DriveIndCatalog>{
...
@@ -24,4 +24,7 @@ public interface DriveIndCatalogMapper extends BaseMapper<DriveIndCatalog>{
public
List
<
DriveIndCatalog
>
findByCatalogIdIn
(
@Param
(
"ids"
)
List
<
Integer
>
ids
);
public
List
<
DriveIndCatalog
>
findByCatalogIdIn
(
@Param
(
"ids"
)
List
<
Integer
>
ids
);
public
List
<
DriveIndCatalog
>
findByCatalogTypeAndCode
(
Map
<
String
,
Object
>
params
);
public
List
<
DriveIndCatalog
>
findByCatalogTypeAndCode
(
Map
<
String
,
Object
>
params
);
public
List
<
DriveIndCatalog
>
findIsExist
(
@Param
(
"catalogName"
)
String
catalogName
,
@Param
(
"parentId"
)
Integer
parentId
,
@Param
(
"code"
)
String
code
);
}
}
src/main/java/com/keymobile/indicators/model/mapper/indmapper/IndCatalogMapper.java
View file @
0d6df2dc
...
@@ -23,4 +23,7 @@ public interface IndCatalogMapper extends BaseMapper<IndCatalog>{
...
@@ -23,4 +23,7 @@ public interface IndCatalogMapper extends BaseMapper<IndCatalog>{
public
List
<
IndCatalog
>
findFirstVaildCatalog
(
Map
<
String
,
Object
>
params
);
public
List
<
IndCatalog
>
findFirstVaildCatalog
(
Map
<
String
,
Object
>
params
);
public
List
<
IndCatalog
>
findByCatalogIdIn
(
@Param
(
"ids"
)
List
<
Integer
>
ids
);
public
List
<
IndCatalog
>
findByCatalogIdIn
(
@Param
(
"ids"
)
List
<
Integer
>
ids
);
public
List
<
IndCatalog
>
findIsExist
(
@Param
(
"catalogName"
)
String
catalogName
,
@Param
(
"parentId"
)
Integer
parentId
,
@Param
(
"code"
)
String
code
);
}
}
src/main/java/com/keymobile/indicators/model/mapper/indmapper/ScoreRuleCatalogMapper.java
View file @
0d6df2dc
...
@@ -20,4 +20,7 @@ public interface ScoreRuleCatalogMapper extends BaseMapper<ScoreRuleCatalog>{
...
@@ -20,4 +20,7 @@ public interface ScoreRuleCatalogMapper extends BaseMapper<ScoreRuleCatalog>{
public
List
<
ScoreRuleCatalog
>
findByKeyword
(
Map
<
String
,
Object
>
params
);
public
List
<
ScoreRuleCatalog
>
findByKeyword
(
Map
<
String
,
Object
>
params
);
public
List
<
ScoreRuleCatalog
>
findByCatalogIdIn
(
@Param
(
"ids"
)
List
<
Integer
>
ids
);
public
List
<
ScoreRuleCatalog
>
findByCatalogIdIn
(
@Param
(
"ids"
)
List
<
Integer
>
ids
);
public
List
<
ScoreRuleCatalog
>
findIsExist
(
@Param
(
"catalogName"
)
String
catalogName
,
@Param
(
"parentId"
)
Integer
parentId
,
@Param
(
"code"
)
String
code
);
}
}
src/main/java/com/keymobile/indicators/model/mapper/indmapper/ScorecardCatalogMapper.java
View file @
0d6df2dc
...
@@ -20,4 +20,7 @@ public interface ScorecardCatalogMapper extends BaseMapper<ScorecardCatalog>{
...
@@ -20,4 +20,7 @@ public interface ScorecardCatalogMapper extends BaseMapper<ScorecardCatalog>{
public
List
<
ScorecardCatalog
>
findByKeyword
(
Map
<
String
,
Object
>
params
);
public
List
<
ScorecardCatalog
>
findByKeyword
(
Map
<
String
,
Object
>
params
);
public
List
<
ScorecardCatalog
>
findByCatalogIdIn
(
@Param
(
"ids"
)
List
<
Integer
>
ids
);
public
List
<
ScorecardCatalog
>
findByCatalogIdIn
(
@Param
(
"ids"
)
List
<
Integer
>
ids
);
public
List
<
ScorecardCatalog
>
findIsExist
(
@Param
(
"catalogName"
)
String
catalogName
,
@Param
(
"parentId"
)
Integer
parentId
,
@Param
(
"code"
)
String
code
);
}
}
src/main/java/com/keymobile/indicators/model/mapper/indmapper/ShortboardCatalogMapper.java
View file @
0d6df2dc
...
@@ -20,4 +20,7 @@ public interface ShortboardCatalogMapper extends BaseMapper<ShortboardCatalog>{
...
@@ -20,4 +20,7 @@ public interface ShortboardCatalogMapper extends BaseMapper<ShortboardCatalog>{
public
List
<
ShortboardCatalog
>
findByKeyword
(
Map
<
String
,
Object
>
params
);
public
List
<
ShortboardCatalog
>
findByKeyword
(
Map
<
String
,
Object
>
params
);
public
List
<
ShortboardCatalog
>
findByCatalogIdIn
(
@Param
(
"ids"
)
List
<
Integer
>
ids
);
public
List
<
ShortboardCatalog
>
findByCatalogIdIn
(
@Param
(
"ids"
)
List
<
Integer
>
ids
);
public
List
<
ShortboardCatalog
>
findIsExist
(
@Param
(
"catalogName"
)
String
catalogName
,
@Param
(
"parentId"
)
Integer
parentId
,
@Param
(
"code"
)
String
code
);
}
}
src/main/java/com/keymobile/indicators/model/mapper/indmapper/ShortboardUnitCatalogMapper.java
View file @
0d6df2dc
...
@@ -20,4 +20,7 @@ public interface ShortboardUnitCatalogMapper extends BaseMapper<ShortboardUnitCa
...
@@ -20,4 +20,7 @@ public interface ShortboardUnitCatalogMapper extends BaseMapper<ShortboardUnitCa
public
List
<
ShortboardUnitCatalog
>
findByKeyword
(
Map
<
String
,
Object
>
params
);
public
List
<
ShortboardUnitCatalog
>
findByKeyword
(
Map
<
String
,
Object
>
params
);
public
List
<
ShortboardUnitCatalog
>
findByCatalogIdIn
(
@Param
(
"ids"
)
List
<
Integer
>
ids
);
public
List
<
ShortboardUnitCatalog
>
findByCatalogIdIn
(
@Param
(
"ids"
)
List
<
Integer
>
ids
);
public
List
<
ShortboardUnitCatalog
>
findIsExist
(
@Param
(
"catalogName"
)
String
catalogName
,
@Param
(
"parentId"
)
Integer
parentId
,
@Param
(
"code"
)
String
code
);
}
}
src/main/java/com/keymobile/indicators/service/hytobacco/DriveIndCatalogService.java
View file @
0d6df2dc
...
@@ -26,8 +26,18 @@ public class DriveIndCatalogService {
...
@@ -26,8 +26,18 @@ public class DriveIndCatalogService {
public
DriveIndCatalog
saveOrUpdate
(
DriveIndCatalog
driveIndCatalog
)
throws
Exception
{
public
DriveIndCatalog
saveOrUpdate
(
DriveIndCatalog
driveIndCatalog
)
throws
Exception
{
if
(
driveIndCatalog
.
getId
()==
null
)
{
//新增
if
(
driveIndCatalog
.
getId
()==
null
)
{
//新增
if
(!
driveIndCatalogMapper
.
findIsExist
(
driveIndCatalog
.
getCatalogName
(),
driveIndCatalog
.
getParentId
(),
driveIndCatalog
.
getCode
()).
isEmpty
())
{
throw
new
Exception
(
"存在同名目录"
);
}
//保存
//保存
driveIndCatalogMapper
.
insert
(
driveIndCatalog
);
driveIndCatalogMapper
.
insert
(
driveIndCatalog
);
}
else
{
List
<
DriveIndCatalog
>
dbList
=
driveIndCatalogMapper
.
findIsExist
(
driveIndCatalog
.
getCatalogName
(),
driveIndCatalog
.
getParentId
(),
driveIndCatalog
.
getCode
());
if
(!
dbList
.
isEmpty
()
&&
!
dbList
.
get
(
0
).
getId
().
equals
(
driveIndCatalog
.
getId
()))
{
throw
new
Exception
(
"存在同名目录"
);
}
}
}
//获取parentId拼接idPath
//获取parentId拼接idPath
Integer
parentId
=
driveIndCatalog
.
getParentId
();
Integer
parentId
=
driveIndCatalog
.
getParentId
();
...
...
src/main/java/com/keymobile/indicators/service/hytobacco/IndCatalogService.java
View file @
0d6df2dc
...
@@ -26,8 +26,18 @@ public class IndCatalogService {
...
@@ -26,8 +26,18 @@ public class IndCatalogService {
public
IndCatalog
saveOrUpdate
(
IndCatalog
indCatalog
)
throws
Exception
{
public
IndCatalog
saveOrUpdate
(
IndCatalog
indCatalog
)
throws
Exception
{
if
(
indCatalog
.
getId
()==
null
)
{
//新增
if
(
indCatalog
.
getId
()==
null
)
{
//新增
if
(!
indCatalogMapper
.
findIsExist
(
indCatalog
.
getCatalogName
(),
indCatalog
.
getParentId
(),
indCatalog
.
getCode
()).
isEmpty
())
{
throw
new
Exception
(
"存在同名目录"
);
}
//保存
//保存
indCatalogMapper
.
insert
(
indCatalog
);
indCatalogMapper
.
insert
(
indCatalog
);
}
else
{
List
<
IndCatalog
>
dbList
=
indCatalogMapper
.
findIsExist
(
indCatalog
.
getCatalogName
(),
indCatalog
.
getParentId
(),
indCatalog
.
getCode
());
if
(!
dbList
.
isEmpty
()
&&
!
dbList
.
get
(
0
).
getId
().
equals
(
indCatalog
.
getId
()))
{
throw
new
Exception
(
"存在同名目录"
);
}
}
}
//获取parentId拼接idPath
//获取parentId拼接idPath
int
parentId
=
indCatalog
.
getParentId
();
int
parentId
=
indCatalog
.
getParentId
();
...
...
src/main/java/com/keymobile/indicators/service/hytobacco/ScoreRuleCatalogService.java
View file @
0d6df2dc
...
@@ -25,8 +25,18 @@ public class ScoreRuleCatalogService {
...
@@ -25,8 +25,18 @@ public class ScoreRuleCatalogService {
public
ScoreRuleCatalog
saveOrUpdate
(
ScoreRuleCatalog
scoreRuleCatalog
)
throws
Exception
{
public
ScoreRuleCatalog
saveOrUpdate
(
ScoreRuleCatalog
scoreRuleCatalog
)
throws
Exception
{
if
(
scoreRuleCatalog
.
getId
()==
null
)
{
//新增
if
(
scoreRuleCatalog
.
getId
()==
null
)
{
//新增
if
(!
scoreRuleCatalogMapper
.
findIsExist
(
scoreRuleCatalog
.
getCatalogName
(),
scoreRuleCatalog
.
getParentId
(),
scoreRuleCatalog
.
getCode
()).
isEmpty
())
{
throw
new
Exception
(
"存在同名目录"
);
}
//保存
//保存
scoreRuleCatalogMapper
.
insert
(
scoreRuleCatalog
);
scoreRuleCatalogMapper
.
insert
(
scoreRuleCatalog
);
}
else
{
List
<
ScoreRuleCatalog
>
dbList
=
scoreRuleCatalogMapper
.
findIsExist
(
scoreRuleCatalog
.
getCatalogName
(),
scoreRuleCatalog
.
getParentId
(),
scoreRuleCatalog
.
getCode
());
if
(!
dbList
.
isEmpty
()
&&
!
dbList
.
get
(
0
).
getId
().
equals
(
scoreRuleCatalog
.
getId
()))
{
throw
new
Exception
(
"存在同名目录"
);
}
}
}
//获取parentId拼接idPath
//获取parentId拼接idPath
Integer
parentId
=
scoreRuleCatalog
.
getParentId
();
Integer
parentId
=
scoreRuleCatalog
.
getParentId
();
...
...
src/main/java/com/keymobile/indicators/service/hytobacco/ScorecardCatalogService.java
View file @
0d6df2dc
...
@@ -25,8 +25,18 @@ public class ScorecardCatalogService {
...
@@ -25,8 +25,18 @@ public class ScorecardCatalogService {
public
ScorecardCatalog
saveOrUpdate
(
ScorecardCatalog
scorecardCatalog
)
throws
Exception
{
public
ScorecardCatalog
saveOrUpdate
(
ScorecardCatalog
scorecardCatalog
)
throws
Exception
{
if
(
scorecardCatalog
.
getId
()==
null
)
{
//新增
if
(
scorecardCatalog
.
getId
()==
null
)
{
//新增
if
(!
scorecardCatalogMapper
.
findIsExist
(
scorecardCatalog
.
getCatalogName
(),
scorecardCatalog
.
getParentId
(),
scorecardCatalog
.
getCode
()).
isEmpty
())
{
throw
new
Exception
(
"存在同名目录"
);
}
//保存
//保存
scorecardCatalogMapper
.
insert
(
scorecardCatalog
);
scorecardCatalogMapper
.
insert
(
scorecardCatalog
);
}
else
{
List
<
ScorecardCatalog
>
dbList
=
scorecardCatalogMapper
.
findIsExist
(
scorecardCatalog
.
getCatalogName
(),
scorecardCatalog
.
getParentId
(),
scorecardCatalog
.
getCode
());
if
(!
dbList
.
isEmpty
()
&&
!
dbList
.
get
(
0
).
getId
().
equals
(
scorecardCatalog
.
getId
()))
{
throw
new
Exception
(
"存在同名目录"
);
}
}
}
//获取parentId拼接idPath
//获取parentId拼接idPath
Integer
parentId
=
scorecardCatalog
.
getParentId
();
Integer
parentId
=
scorecardCatalog
.
getParentId
();
...
...
src/main/java/com/keymobile/indicators/service/hytobacco/ShortboardCatalogService.java
View file @
0d6df2dc
...
@@ -24,8 +24,18 @@ public class ShortboardCatalogService {
...
@@ -24,8 +24,18 @@ public class ShortboardCatalogService {
public
ShortboardCatalog
saveOrUpdate
(
ShortboardCatalog
shortboardCatalog
)
throws
Exception
{
public
ShortboardCatalog
saveOrUpdate
(
ShortboardCatalog
shortboardCatalog
)
throws
Exception
{
if
(
shortboardCatalog
.
getId
()==
null
)
{
//新增
if
(
shortboardCatalog
.
getId
()==
null
)
{
//新增
if
(!
shortboardCatalogMapper
.
findIsExist
(
shortboardCatalog
.
getCatalogName
(),
shortboardCatalog
.
getParentId
(),
shortboardCatalog
.
getCode
()).
isEmpty
())
{
throw
new
Exception
(
"存在同名目录"
);
}
//保存
//保存
shortboardCatalogMapper
.
insert
(
shortboardCatalog
);
shortboardCatalogMapper
.
insert
(
shortboardCatalog
);
}
else
{
List
<
ShortboardCatalog
>
dbList
=
shortboardCatalogMapper
.
findIsExist
(
shortboardCatalog
.
getCatalogName
(),
shortboardCatalog
.
getParentId
(),
shortboardCatalog
.
getCode
());
if
(!
dbList
.
isEmpty
()
&&
!
dbList
.
get
(
0
).
getId
().
equals
(
shortboardCatalog
.
getId
()))
{
throw
new
Exception
(
"存在同名目录"
);
}
}
}
//获取parentId拼接idPath
//获取parentId拼接idPath
Integer
parentId
=
shortboardCatalog
.
getParentId
();
Integer
parentId
=
shortboardCatalog
.
getParentId
();
...
...
src/main/java/com/keymobile/indicators/service/hytobacco/ShortboardUnitCatalogService.java
View file @
0d6df2dc
...
@@ -25,8 +25,18 @@ public class ShortboardUnitCatalogService {
...
@@ -25,8 +25,18 @@ public class ShortboardUnitCatalogService {
public
ShortboardUnitCatalog
saveOrUpdate
(
ShortboardUnitCatalog
shortboardUnitCatalog
)
throws
Exception
{
public
ShortboardUnitCatalog
saveOrUpdate
(
ShortboardUnitCatalog
shortboardUnitCatalog
)
throws
Exception
{
if
(
shortboardUnitCatalog
.
getId
()==
null
)
{
//新增
if
(
shortboardUnitCatalog
.
getId
()==
null
)
{
//新增
if
(!
shortboardUnitCatalogMapper
.
findIsExist
(
shortboardUnitCatalog
.
getCatalogName
(),
shortboardUnitCatalog
.
getParentId
(),
shortboardUnitCatalog
.
getCode
()).
isEmpty
())
{
throw
new
Exception
(
"存在同名目录"
);
}
//保存
//保存
shortboardUnitCatalogMapper
.
insert
(
shortboardUnitCatalog
);
shortboardUnitCatalogMapper
.
insert
(
shortboardUnitCatalog
);
}
else
{
List
<
ShortboardUnitCatalog
>
dbList
=
shortboardUnitCatalogMapper
.
findIsExist
(
shortboardUnitCatalog
.
getCatalogName
(),
shortboardUnitCatalog
.
getParentId
(),
shortboardUnitCatalog
.
getCode
());
if
(!
dbList
.
isEmpty
()
&&
!
dbList
.
get
(
0
).
getId
().
equals
(
shortboardUnitCatalog
.
getId
()))
{
throw
new
Exception
(
"存在同名目录"
);
}
}
}
//获取parentId拼接idPath
//获取parentId拼接idPath
Integer
parentId
=
shortboardUnitCatalog
.
getParentId
();
Integer
parentId
=
shortboardUnitCatalog
.
getParentId
();
...
...
src/main/resources/mybatis/mapping/DriveIndCatalogMapper.xml
View file @
0d6df2dc
...
@@ -69,4 +69,13 @@
...
@@ -69,4 +69,13 @@
#{id}
#{id}
</foreach>
</foreach>
</select>
</select>
<select
id=
"findIsExist"
resultType=
"com.keymobile.indicators.model.entity.indicators.DriveIndCatalog"
>
select *
from drive_ind_catalog
where
catalog_name=#{catalogName} and
parent_id=#{parentId} and
code=#{code}
</select>
</mapper>
</mapper>
\ No newline at end of file
src/main/resources/mybatis/mapping/IndCatalogMapper.xml
View file @
0d6df2dc
...
@@ -58,4 +58,13 @@
...
@@ -58,4 +58,13 @@
#{id}
#{id}
</foreach>
</foreach>
</select>
</select>
<select
id=
"findIsExist"
resultType=
"com.keymobile.indicators.model.entity.indicators.IndCatalog"
>
select *
from base_ind_catalog
where
catalog_name=#{catalogName} and
parent_id=#{parentId} and
code=#{code}
</select>
</mapper>
</mapper>
\ No newline at end of file
src/main/resources/mybatis/mapping/ScoreRuleCatalogMapper.xml
View file @
0d6df2dc
...
@@ -46,4 +46,13 @@
...
@@ -46,4 +46,13 @@
#{id}
#{id}
</foreach>
</foreach>
</select>
</select>
<select
id=
"findIsExist"
resultType=
"com.keymobile.indicators.model.entity.objscorerule.ScoreRuleCatalog"
>
select *
from obj_score_rule_catalog
where
catalog_name=#{catalogName} and
parent_id=#{parentId} and
code=#{code}
</select>
</mapper>
</mapper>
\ No newline at end of file
src/main/resources/mybatis/mapping/ScorecardCatalogMapper.xml
View file @
0d6df2dc
...
@@ -46,4 +46,13 @@
...
@@ -46,4 +46,13 @@
#{id}
#{id}
</foreach>
</foreach>
</select>
</select>
<select
id=
"findIsExist"
resultType=
"com.keymobile.indicators.model.entity.scorecard.ScorecardCatalog"
>
select *
from score_card_catalog
where
catalog_name=#{catalogName} and
parent_id=#{parentId} and
code=#{code}
</select>
</mapper>
</mapper>
\ No newline at end of file
src/main/resources/mybatis/mapping/ShortboardCatalogMapper.xml
View file @
0d6df2dc
...
@@ -46,4 +46,13 @@
...
@@ -46,4 +46,13 @@
#{id}
#{id}
</foreach>
</foreach>
</select>
</select>
<select
id=
"findIsExist"
resultType=
"com.keymobile.indicators.model.entity.shortboard.ShortboardCatalog"
>
select *
from ind_short_board_catalog
where
catalog_name=#{catalogName} and
parent_id=#{parentId} and
code=#{code}
</select>
</mapper>
</mapper>
\ No newline at end of file
src/main/resources/mybatis/mapping/ShortboardUnitCatalogMapper.xml
View file @
0d6df2dc
...
@@ -46,4 +46,13 @@
...
@@ -46,4 +46,13 @@
#{id}
#{id}
</foreach>
</foreach>
</select>
</select>
<select
id=
"findIsExist"
resultType=
"com.keymobile.indicators.model.entity.shortboard.ShortboardUnitCatalog"
>
select *
from short_board_unit_catalog
where
catalog_name=#{catalogName} and
parent_id=#{parentId} and
code=#{code}
</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