Commit f8d7c4f3 by zhiwj

添加创建时间返回

parent fe8e8cf5
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;
}
}
......@@ -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;
......
......@@ -149,6 +149,6 @@
<if test="platformBrandCategoryCode != null ">
and platform_brand_category_code = #{platformBrandCategoryCode}
</if>
order by update_time desc
order by create_time desc
</select>
</mapper>
\ No newline at end of file
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment