提交 24d5a8e1 作者: 张小凤

Work(update)

上级 2da79808
...@@ -56,4 +56,7 @@ public class WorkServiceDTO implements Serializable { ...@@ -56,4 +56,7 @@ public class WorkServiceDTO implements Serializable {
@ApiModelProperty(value = "评论数量") @ApiModelProperty(value = "评论数量")
private Integer inspComtAmount; private Integer inspComtAmount;
@ApiModelProperty(value = "排序")
private Integer sort;
} }
...@@ -242,6 +242,7 @@ public class BackstageTaskServiceImpl implements BackstageTaskService { ...@@ -242,6 +242,7 @@ public class BackstageTaskServiceImpl implements BackstageTaskService {
.serviceName(item.getServiceName()) .serviceName(item.getServiceName())
.companyId(item.getCompanyId()) .companyId(item.getCompanyId())
.companyName(companyName) .companyName(companyName)
.sort(item.getSort())
.coverPlan(item.getCoverPlan()) .coverPlan(item.getCoverPlan())
.serviceIntroduction(item.getServiceIntroduction()) .serviceIntroduction(item.getServiceIntroduction())
.video(item.getVideo()) .video(item.getVideo())
......
...@@ -212,7 +212,7 @@ ...@@ -212,7 +212,7 @@
<select id="queryPageByLimit" resultType="com.mmc.pms.entity.ServiceDO"> <select id="queryPageByLimit" resultType="com.mmc.pms.entity.ServiceDO">
select select
id, service_name, application_id, industry_id, display_state, cover_plan, share_card, video, id, service_name, application_id, industry_id, display_state, cover_plan, share_card, video,
service_introduction, create_time, update_time, account_id,company_id service_introduction, create_time, update_time, account_id,company_id,sort
from service from service
<where> <where>
is_deleted = 0 and display_state = 0 is_deleted = 0 and display_state = 0
...@@ -244,7 +244,7 @@ ...@@ -244,7 +244,7 @@
and display_state = #{param.displayState} and display_state = #{param.displayState}
</if> </if>
</where> </where>
order by create_time desc order by sort desc
limit #{param.pageNo}, #{param.pageSize} limit #{param.pageNo}, #{param.pageSize}
</select> </select>
<select id="QueryWorkServiceListById" resultType="com.mmc.pms.model.work.dto.ServiceDTO"> <select id="QueryWorkServiceListById" resultType="com.mmc.pms.model.work.dto.ServiceDTO">
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论