Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
Project
Project
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
项目统一框架
amos-boot-biz
Commits
7e567160
Commit
7e567160
authored
Sep 08, 2021
by
chenzhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "因code不唯一 修改 根据code查询 增添条件 type 判断条件 code相等 type值相等"
This reverts commit
f65d6dee
.
parent
f8ba80a6
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
9 deletions
+3
-9
DataDictionaryDto.java
...m/yeejoin/amos/boot/biz/common/dto/DataDictionaryDto.java
+0
-3
DataDictionary.java
...m/yeejoin/amos/boot/biz/common/entity/DataDictionary.java
+0
-3
DataDictionaryServiceImpl.java
...ot/biz/common/service/impl/DataDictionaryServiceImpl.java
+2
-2
DataDictionaryMapper.xml
...common/src/main/resources/mapper/DataDictionaryMapper.xml
+1
-1
No files found.
amos-boot-biz-common/src/main/java/com/yeejoin/amos/boot/biz/common/dto/DataDictionaryDto.java
View file @
7e567160
...
...
@@ -30,9 +30,6 @@ public class DataDictionaryDto extends BaseDto {
@ApiModelProperty
(
value
=
"父级"
)
private
Long
parent
;
@ApiModelProperty
(
value
=
"类型说明"
)
private
String
typeDesc
;
@ApiModelProperty
(
value
=
"操作人名称"
)
private
String
recUserName
;
...
...
amos-boot-biz-common/src/main/java/com/yeejoin/amos/boot/biz/common/entity/DataDictionary.java
View file @
7e567160
...
...
@@ -37,9 +37,6 @@ public class DataDictionary extends BaseEntity {
@ApiModelProperty
(
value
=
"父级"
)
private
Long
parent
;
@ApiModelProperty
(
value
=
"类型说明"
)
private
String
typeDesc
;
//新加排序字段
@ApiModelProperty
(
value
=
"排序字段"
)
private
int
sortNum
;
...
...
amos-boot-biz-common/src/main/java/com/yeejoin/amos/boot/biz/common/service/impl/DataDictionaryServiceImpl.java
View file @
7e567160
...
...
@@ -88,9 +88,9 @@ public class DataDictionaryServiceImpl extends BaseService<DataDictionaryDto, Da
}
public
DataDictionary
getByCode
(
String
code
,
String
type
)
{
public
DataDictionary
getByCode
(
String
code
)
{
DataDictionary
byCode
=
dataDictionaryMapper
.
getByCode
(
code
,
type
);
DataDictionary
byCode
=
dataDictionaryMapper
.
getByCode
(
code
);
return
byCode
;
}
...
...
amos-boot-biz-common/src/main/resources/mapper/DataDictionaryMapper.xml
View file @
7e567160
...
...
@@ -55,6 +55,6 @@ AND elink.count IS NOT NULL
cb_data_dictionary cbb
WHERE
cbb.code = #{code} and cbb.is_delete = 0
and cbb.type = #{type}
cbb.code = #{code} and cbb.is_delete = 0
</select>
</mapper>
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