Commit 1573931a by 王军业

[修改删除发货接口]

1 parent c780c069
......@@ -145,12 +145,14 @@ public class DeliverGoodsServiceImpl implements DeliverGoodsService {
logger.info("=========================删除合同发货信息=======================");
Appendix appendix=null;
if(!contractService.isDelete(s)) {
if(deliverGoodsVo.getDeliver_unids()!=null) {
for(int deliverUnid :deliverGoodsVo.getDeliver_unids()) {
deliverGoodsMapper.deleteDeliverGoods(deliverUnid);
appendix=new Appendix();
appendix.setBusiness_unid(String.valueOf(deliverUnid));
appendixService.deleteAppendix(appendix);
}
}
return successCode;
}
else {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!