Commit 7eba426d authored by huyuchen's avatar huyuchen

明细接口改造

parent f393a1a2
......@@ -3581,7 +3581,7 @@ public class TPaymentInfoServiceImpl extends ServiceImpl<TPaymentInfoMapper, TPa
tPaymentInfo.setIncomeCollectFlag(viewVo.getIncomeCollectFlag());
baseMapper.updateStatusById(tPaymentInfo);
} else {
tPaymentInfo.setPaySettleFlag(viewVo.getPaySettleFlag());
tPaymentInfo.setPaySettleFlag(CommonConstants.ZERO_STRING);
tPaymentInfo.setPayCollectFlag(viewVo.getPayCollectFlag());
baseMapper.updateStatusById(tPaymentInfo);
......@@ -3598,7 +3598,7 @@ public class TPaymentInfoServiceImpl extends ServiceImpl<TPaymentInfoMapper, TPa
paymentInfo.setIncomeSettleFlag(viewVo.getIncomeSettleFlag());
paymentInfo.setIncomeCollectFlag(viewVo.getIncomeCollectFlag());
} else {
paymentInfo.setPaySettleFlag(viewVo.getPaySettleFlag());
paymentInfo.setPaySettleFlag(CommonConstants.ZERO_STRING);
paymentInfo.setPayCollectFlag(viewVo.getPayCollectFlag());
}
baseMapper.updateStatusById(paymentInfo);
......@@ -3614,7 +3614,7 @@ public class TPaymentInfoServiceImpl extends ServiceImpl<TPaymentInfoMapper, TPa
library.setIncomeSettleFlag(viewVo.getIncomeSettleFlag());
library.setIncomeCollectFlag(viewVo.getIncomeCollectFlag());
} else {
library.setPaySettleFlag(viewVo.getPaySettleFlag());
library.setPaySettleFlag(CommonConstants.ZERO_STRING);
library.setPayCollectFlag(viewVo.getPayCollectFlag());
}
tForecastLibraryMapper.updateForecastStatusById(library);
......
......@@ -2235,7 +2235,7 @@
INCOME_COLLECT_FLAG = #{tPaymentInfo.incomeCollectFlag},
</if>
<if test="tPaymentInfo.paySettleFlag != null and tPaymentInfo.paySettleFlag.trim() != ''">
PAY_SETTLE_FLAG = '0',
PAY_SETTLE_FLAG = #{tPaymentInfo.paySettleFlag},
</if>
<if test="tPaymentInfo.payCollectFlag != null and tPaymentInfo.payCollectFlag.trim() != ''">
PAY_COLLECT_FLAG = #{tPaymentInfo.payCollectFlag},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment