Commit 6f403d18 by 王军业

1121125522154

1 parent 741685d5
......@@ -873,9 +873,6 @@ public class ContractServiceImpl implements ContractService {
}
if(contractMapper.queryOne(contractVo.getContract_unid())==null) {
contractMapper.addOne(contractVo);
}else {
contractMapper.updateOne(contractVo);
}
if(returnInfo.getReback_date()!=null ||returnInfo.getActual_reback_amount()!=null ||returnInfo.getReback_note()!=null) {
returnInfoMapper.addReturnInfo(returnInfo);
}
......@@ -903,6 +900,9 @@ public class ContractServiceImpl implements ContractService {
if(deliverGoods.getDeliver_goods_date()!=null || deliverGoods.getGoods_acceptanc_date()!=null) {
deliverGoodsMapper.addDeliverGoods(deliverGoods);
}
}else {
contractMapper.updateOne(contractVo);
}
}
return successCode;
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!