记得上下班打卡 | git大法好,push需谨慎

Commit c1d9e144 authored by 胡佳晨's avatar 胡佳晨

sweet接口 撤回列表刷新

parent 8289cfc8
...@@ -544,6 +544,7 @@ public class KylinOrderTicketsServiceImpl implements IKylinOrderTicketsService { ...@@ -544,6 +544,7 @@ public class KylinOrderTicketsServiceImpl implements IKylinOrderTicketsService {
dataUtils.delOrderRefundVo(orderRefundsId); dataUtils.delOrderRefundVo(orderRefundsId);
dataUtils.delOrderRefundVoByOrderId(orderTicketsId); dataUtils.delOrderRefundVoByOrderId(orderTicketsId);
dataUtils.delOrderTicketRedis(orderTicketsId); dataUtils.delOrderTicketRedis(orderTicketsId);
orderUtils.resetOrderListVo(CurrentUtil.getCurrentUid(),2,orderTicketsId,null);
sqls.add(SqlMapping.get("kylin_order_ticket_status.withDraw")); sqls.add(SqlMapping.get("kylin_order_ticket_status.withDraw"));
......
...@@ -7,6 +7,7 @@ import java.io.Serializable; ...@@ -7,6 +7,7 @@ import java.io.Serializable;
@Data @Data
public class SweetManualDto implements Serializable ,Cloneable{ public class SweetManualDto implements Serializable ,Cloneable{
private String manualId;
private String performancesId; private String performancesId;
private String title; private String title;
private String timeStart; private String timeStart;
......
...@@ -47,7 +47,7 @@ public class SweetManualServiceImpl extends ServiceImpl<SweetManualMapper, Sweet ...@@ -47,7 +47,7 @@ public class SweetManualServiceImpl extends ServiceImpl<SweetManualMapper, Sweet
PageHelper.startPage(page, size); PageHelper.startPage(page, size);
HashMap<String, Object> map = CollectionUtil.mapStringObject(); HashMap<String, Object> map = CollectionUtil.mapStringObject();
map.put("title", name); map.put("title", name);
List<SweetManualDto> voList = sweetManualMapper.getManualList(BeanUtil.convertBeanToMap(map)); List<SweetManualDto> voList = sweetManualMapper.getManualList(map);
for (int i = 0; i < voList.size(); i++) { for (int i = 0; i < voList.size(); i++) {
SweetManualDto vo = voList.get(i); SweetManualDto vo = voList.get(i);
if (vo.getStatus() >= 6 && vo.getStatus() != 7) { if (vo.getStatus() >= 6 && vo.getStatus() != 7) {
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
<mapper namespace="com.liquidnet.service.sweet.mapper.SweetManualMapper"> <mapper namespace="com.liquidnet.service.sweet.mapper.SweetManualMapper">
<resultMap id="partnerPerformanceListResult" type="com.liquidnet.service.sweet.dto.SweetManualDto"> <resultMap id="partnerPerformanceListResult" type="com.liquidnet.service.sweet.dto.SweetManualDto">
<result column="manual_id" property="manualId"/>
<result column="performances_id" property="performancesId"/> <result column="performances_id" property="performancesId"/>
<result column="title" property="title"/> <result column="title" property="title"/>
<result column="time_start" property="timeStart"/> <result column="time_start" property="timeStart"/>
...@@ -27,6 +28,7 @@ ...@@ -27,6 +28,7 @@
<!-- 电子手册列表 --> <!-- 电子手册列表 -->
<select id="getManualList" parameterType="java.util.Map" resultMap="partnerPerformanceListResult"> <select id="getManualList" parameterType="java.util.Map" resultMap="partnerPerformanceListResult">
SELECT SELECT
IFNULL(sm.manual_id,0) as 'manual_id',
p.performances_id , p.performances_id ,
p.title , p.title ,
p.time_start , p.time_start ,
......
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