|
@@ -817,7 +817,7 @@ public class TFeeServiceImpl implements ITFeeService {
|
|
|
// 删除从表
|
|
|
//tFeeDoMapper.deleteByFPid(tFee.getfId());
|
|
|
messageMap.put("tFee", tFee);
|
|
|
- fSrcBillnos.add(tFee.getfSrcBillno());
|
|
|
+ // fSrcBillnos.add(tFee.getfSrcBillno());
|
|
|
// 财务从表
|
|
|
if (StringUtils.isNotNull(tfeeDo) && !"[]".equals(tfeeDo)) {
|
|
|
JSONArray jsonDrArray = JSONArray.parseArray(tfeeDo);
|
|
@@ -833,7 +833,10 @@ public class TFeeServiceImpl implements ITFeeService {
|
|
|
tFeeDo.setCreateBy(loginUser.getUser().getUserName());
|
|
|
tFeeDo.setCreateTime(new Date());
|
|
|
tFeeDo.setfStatus(billstatus);
|
|
|
- tFeeDo.setfSrcBillno(tFee.getfSrcBillno());
|
|
|
+ if (StringUtils.isNotNull(tFeeDo.getfSrcBillno())) {
|
|
|
+ // 装载业务编号
|
|
|
+ fSrcBillnos.add(tFeeDo.getfSrcBillno());
|
|
|
+ }
|
|
|
tFeeDoMapper.insertTFeeDo(tFeeDo);
|
|
|
} else {
|
|
|
// 走了修改
|