Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gic-store
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
base_platform_enterprise
gic-store
Commits
e4671d98
Commit
e4671d98
authored
Apr 28, 2020
by
zhiwj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug
parent
191421a6
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
7 deletions
+9
-7
DictApiService.java
...i/src/main/java/com/gic/store/service/DictApiService.java
+1
-1
DictMapper.java
...ce/src/main/java/com/gic/store/dao/mapper/DictMapper.java
+2
-1
DictServiceImpl.java
...main/java/com/gic/store/service/impl/DictServiceImpl.java
+2
-2
DictApiServiceImpl.java
.../com/gic/store/service/outer/impl/DictApiServiceImpl.java
+2
-2
DictMapper.xml
gic-store-service/src/main/resources/mapper/DictMapper.xml
+2
-1
No files found.
gic-store-api/src/main/java/com/gic/store/service/DictApiService.java
View file @
e4671d98
...
...
@@ -17,5 +17,5 @@ public interface DictApiService {
* @return com.gic.store.entity.TabGicDict
* @throws
*/
ServiceResponse
<
GicDictDTO
>
getDictByCode
(
String
dictType
,
String
dict
Valu
e
);
ServiceResponse
<
GicDictDTO
>
getDictByCode
(
String
dictType
,
String
dict
Cod
e
);
}
gic-store-service/src/main/java/com/gic/store/dao/mapper/DictMapper.java
View file @
e4671d98
...
...
@@ -52,5 +52,5 @@ public interface DictMapper {
*/
int
updateByPrimaryKey
(
TabGicDict
record
);
TabGicDict
getDictByCode
(
@Param
(
"dictType"
)
String
dictType
,
@Param
(
"dict
Value"
)
String
dictValu
e
);
TabGicDict
getDictByCode
(
@Param
(
"dictType"
)
String
dictType
,
@Param
(
"dict
Code"
)
String
dictCod
e
);
}
\ No newline at end of file
gic-store-service/src/main/java/com/gic/store/service/impl/DictServiceImpl.java
View file @
e4671d98
...
...
@@ -19,7 +19,7 @@ public class DictServiceImpl implements DictService {
@Override
public
TabGicDict
getDictByCode
(
String
dictType
,
String
dict
Valu
e
)
{
return
dictMapper
.
getDictByCode
(
dictType
,
dict
Valu
e
);
public
TabGicDict
getDictByCode
(
String
dictType
,
String
dict
Cod
e
)
{
return
dictMapper
.
getDictByCode
(
dictType
,
dict
Cod
e
);
}
}
gic-store-service/src/main/java/com/gic/store/service/outer/impl/DictApiServiceImpl.java
View file @
e4671d98
...
...
@@ -22,8 +22,8 @@ public class DictApiServiceImpl implements DictApiService {
private
DictService
dictService
;
@Override
public
ServiceResponse
<
GicDictDTO
>
getDictByCode
(
String
dictType
,
String
dict
Valu
e
)
{
TabGicDict
dict
=
dictService
.
getDictByCode
(
dictType
,
dict
Valu
e
);
public
ServiceResponse
<
GicDictDTO
>
getDictByCode
(
String
dictType
,
String
dict
Cod
e
)
{
TabGicDict
dict
=
dictService
.
getDictByCode
(
dictType
,
dict
Cod
e
);
GicDictDTO
gicDictDTO
=
EntityUtil
.
changeEntityByJSON
(
GicDictDTO
.
class
,
dict
);
return
EnterpriseServiceResponse
.
success
(
gicDictDTO
);
}
...
...
gic-store-service/src/main/resources/mapper/DictMapper.xml
View file @
e4671d98
...
...
@@ -130,6 +130,6 @@
<include
refid=
"Base_Column_List"
/>
from tab_gic_dict
where
dict_type = #{dictType} and dict_
value = #{dictValu
e}
dict_type = #{dictType} and dict_
code = #{dictCod
e}
</select>
</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