服务指令-请领流程修改方法调整
This commit is contained in:
parent
1568d6a697
commit
5565871abf
|
|
@ -214,6 +214,15 @@
|
|||
<if test="bizId != null and bizId != ''">
|
||||
,biz_id = #{bizId}
|
||||
</if>
|
||||
<if test="izRollback != null and izRollback != ''">
|
||||
,iz_rollback = #{izRollback}
|
||||
</if>
|
||||
<if test="remarks != null and remarks != ''">
|
||||
,remarks = #{remarks}
|
||||
</if>
|
||||
<if test="delFlag != null and delFlag != ''">
|
||||
,del_flag = #{delFlag}
|
||||
</if>
|
||||
<where>
|
||||
<if test="id != null and id != ''">
|
||||
and id = #{id}
|
||||
|
|
|
|||
|
|
@ -67,7 +67,9 @@ public class QlOrdersServiceImpl extends ServiceImpl<InvoicingOrdersMapper, Invo
|
|||
InvoicingOrders entity = new InvoicingOrders();
|
||||
entity.setId(order.getId());
|
||||
entity.setBizId(invoicingOrdersEntity.getBizId());
|
||||
this.updateById(entity);
|
||||
entity.setUpdateBy(invoicingOrdersEntity.getInitiatorId());
|
||||
entity.setUpdateTime(new Date());
|
||||
baseMapper.updateOrder(entity);
|
||||
}
|
||||
String subId = flow.getSubId();
|
||||
if(subId!=null&&!subId.equals("")){
|
||||
|
|
@ -182,7 +184,9 @@ public class QlOrdersServiceImpl extends ServiceImpl<InvoicingOrdersMapper, Invo
|
|||
entity.setId(order.getId());
|
||||
entity.setIzRollback("Y");
|
||||
entity.setRemarks("请领回退");
|
||||
this.updateById(entity);
|
||||
entity.setUpdateBy(invoicingOrdersEntity.getInitiatorId());
|
||||
entity.setUpdateTime(new Date());
|
||||
baseMapper.updateOrder(entity);
|
||||
//回退指令
|
||||
List<InvoicingOrders> htFlowList = baseMapper.getFlowList(invoicingOrdersEntity);
|
||||
for(int i=0;i<htFlowList.size();i++){
|
||||
|
|
@ -224,7 +228,7 @@ public class QlOrdersServiceImpl extends ServiceImpl<InvoicingOrdersMapper, Invo
|
|||
entity.setUpdateBy(invoicingOrdersEntity.getInitiatorId());
|
||||
entity.setUpdateTime(c.getTime());
|
||||
entity.setRemarks("请领申请作废");
|
||||
this.updateById(entity);
|
||||
baseMapper.updateOrder(entity);
|
||||
|
||||
//ws推送
|
||||
}
|
||||
|
|
@ -263,7 +267,7 @@ public class QlOrdersServiceImpl extends ServiceImpl<InvoicingOrdersMapper, Invo
|
|||
entity.setUpdateBy(invoicingOrdersEntity.getInitiatorId());
|
||||
entity.setUpdateTime(c.getTime());
|
||||
entity.setRemarks("请领回退作废");
|
||||
this.updateById(entity);
|
||||
baseMapper.updateOrder(entity);
|
||||
|
||||
//ws推送
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue