Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gic-platform-enterprise
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-platform-enterprise
Commits
f8d7c4f3
Commit
f8d7c4f3
authored
Aug 12, 2019
by
zhiwj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加创建时间返回
parent
fe8e8cf5
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
25 additions
and
2 deletions
+25
-2
PlatformBrandDTO.java
...rc/main/java/com/gic/enterprise/dto/PlatformBrandDTO.java
+21
-0
PlatformBrandApiServiceImpl.java
...enterprise/service/outer/PlatformBrandApiServiceImpl.java
+1
-1
TabPlatformBrandMapper.xml
...vice/src/main/resources/mapper/TabPlatformBrandMapper.xml
+2
-1
TabPlatformBrandRefMapper.xml
...e/src/main/resources/mapper/TabPlatformBrandRefMapper.xml
+1
-0
No files found.
gic-platform-enterprise-api/src/main/java/com/gic/enterprise/dto/PlatformBrandDTO.java
View file @
f8d7c4f3
package
com
.
gic
.
enterprise
.
dto
;
import
java.io.Serializable
;
import
java.util.Date
;
public
class
PlatformBrandDTO
implements
Serializable
{
private
static
final
long
serialVersionUID
=
-
6619834227070771185L
;
...
...
@@ -29,6 +30,10 @@ public class PlatformBrandDTO implements Serializable {
private
Integer
enterpriseBrandCount
;
private
Date
createTime
;
private
Date
updateTime
;
public
Integer
getPlatformBrandId
()
{
return
platformBrandId
;
}
...
...
@@ -76,4 +81,20 @@ public class PlatformBrandDTO implements Serializable {
public
void
setEnterpriseBrandCount
(
Integer
enterpriseBrandCount
)
{
this
.
enterpriseBrandCount
=
enterpriseBrandCount
;
}
public
Date
getCreateTime
()
{
return
createTime
;
}
public
void
setCreateTime
(
Date
createTime
)
{
this
.
createTime
=
createTime
;
}
public
Date
getUpdateTime
()
{
return
updateTime
;
}
public
void
setUpdateTime
(
Date
updateTime
)
{
this
.
updateTime
=
updateTime
;
}
}
gic-platform-enterprise-service/src/main/java/com/gic/enterprise/service/outer/PlatformBrandApiServiceImpl.java
View file @
f8d7c4f3
...
...
@@ -32,7 +32,7 @@ import java.util.stream.Collectors;
@Service
(
"platformBrandApiService"
)
public
class
PlatformBrandApiServiceImpl
implements
PlatformBrandApiService
{
Logger
logger
=
LogManager
.
getLogger
(
PlatformBrandApiServiceImpl
.
class
);
private
Logger
logger
=
LogManager
.
getLogger
(
PlatformBrandApiServiceImpl
.
class
);
@Autowired
private
PlatformBrandService
platformBrandService
;
...
...
gic-platform-enterprise-service/src/main/resources/mapper/TabPlatformBrandMapper.xml
View file @
f8d7c4f3
...
...
@@ -149,6 +149,6 @@
<if
test=
"platformBrandCategoryCode != null "
>
and platform_brand_category_code = #{platformBrandCategoryCode}
</if>
order by
upd
ate_time desc
order by
cre
ate_time desc
</select>
</mapper>
\ No newline at end of file
gic-platform-enterprise-service/src/main/resources/mapper/TabPlatformBrandRefMapper.xml
View file @
f8d7c4f3
...
...
@@ -166,6 +166,7 @@
<if
test=
"platformBrandId != null "
>
and platform_brand_id = #{platformBrandId}
</if>
order by create_time desc
</select>
<update
id=
"delRefs"
>
update tab_platform_brand_ref set status = 0 where enterprise_id = #{enterpriseId} and status = 1
...
...
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