服务指令-请领流程修改方法调整

This commit is contained in:
曹磊 2025-12-16 10:46:55 +08:00
parent 1568d6a697
commit 5565871abf
2 changed files with 17 additions and 4 deletions

View File

@ -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}

View File

@ -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推送
}