Commit 7eba426d authored by huyuchen's avatar huyuchen

明细接口改造

parent f393a1a2
...@@ -3581,7 +3581,7 @@ public class TPaymentInfoServiceImpl extends ServiceImpl<TPaymentInfoMapper, TPa ...@@ -3581,7 +3581,7 @@ public class TPaymentInfoServiceImpl extends ServiceImpl<TPaymentInfoMapper, TPa
tPaymentInfo.setIncomeCollectFlag(viewVo.getIncomeCollectFlag()); tPaymentInfo.setIncomeCollectFlag(viewVo.getIncomeCollectFlag());
baseMapper.updateStatusById(tPaymentInfo); baseMapper.updateStatusById(tPaymentInfo);
} else { } else {
tPaymentInfo.setPaySettleFlag(viewVo.getPaySettleFlag()); tPaymentInfo.setPaySettleFlag(CommonConstants.ZERO_STRING);
tPaymentInfo.setPayCollectFlag(viewVo.getPayCollectFlag()); tPaymentInfo.setPayCollectFlag(viewVo.getPayCollectFlag());
baseMapper.updateStatusById(tPaymentInfo); baseMapper.updateStatusById(tPaymentInfo);
...@@ -3598,7 +3598,7 @@ public class TPaymentInfoServiceImpl extends ServiceImpl<TPaymentInfoMapper, TPa ...@@ -3598,7 +3598,7 @@ public class TPaymentInfoServiceImpl extends ServiceImpl<TPaymentInfoMapper, TPa
paymentInfo.setIncomeSettleFlag(viewVo.getIncomeSettleFlag()); paymentInfo.setIncomeSettleFlag(viewVo.getIncomeSettleFlag());
paymentInfo.setIncomeCollectFlag(viewVo.getIncomeCollectFlag()); paymentInfo.setIncomeCollectFlag(viewVo.getIncomeCollectFlag());
} else { } else {
paymentInfo.setPaySettleFlag(viewVo.getPaySettleFlag()); paymentInfo.setPaySettleFlag(CommonConstants.ZERO_STRING);
paymentInfo.setPayCollectFlag(viewVo.getPayCollectFlag()); paymentInfo.setPayCollectFlag(viewVo.getPayCollectFlag());
} }
baseMapper.updateStatusById(paymentInfo); baseMapper.updateStatusById(paymentInfo);
...@@ -3614,7 +3614,7 @@ public class TPaymentInfoServiceImpl extends ServiceImpl<TPaymentInfoMapper, TPa ...@@ -3614,7 +3614,7 @@ public class TPaymentInfoServiceImpl extends ServiceImpl<TPaymentInfoMapper, TPa
library.setIncomeSettleFlag(viewVo.getIncomeSettleFlag()); library.setIncomeSettleFlag(viewVo.getIncomeSettleFlag());
library.setIncomeCollectFlag(viewVo.getIncomeCollectFlag()); library.setIncomeCollectFlag(viewVo.getIncomeCollectFlag());
} else { } else {
library.setPaySettleFlag(viewVo.getPaySettleFlag()); library.setPaySettleFlag(CommonConstants.ZERO_STRING);
library.setPayCollectFlag(viewVo.getPayCollectFlag()); library.setPayCollectFlag(viewVo.getPayCollectFlag());
} }
tForecastLibraryMapper.updateForecastStatusById(library); tForecastLibraryMapper.updateForecastStatusById(library);
......
...@@ -2235,7 +2235,7 @@ ...@@ -2235,7 +2235,7 @@
INCOME_COLLECT_FLAG = #{tPaymentInfo.incomeCollectFlag}, INCOME_COLLECT_FLAG = #{tPaymentInfo.incomeCollectFlag},
</if> </if>
<if test="tPaymentInfo.paySettleFlag != null and tPaymentInfo.paySettleFlag.trim() != ''"> <if test="tPaymentInfo.paySettleFlag != null and tPaymentInfo.paySettleFlag.trim() != ''">
PAY_SETTLE_FLAG = '0', PAY_SETTLE_FLAG = #{tPaymentInfo.paySettleFlag},
</if> </if>
<if test="tPaymentInfo.payCollectFlag != null and tPaymentInfo.payCollectFlag.trim() != ''"> <if test="tPaymentInfo.payCollectFlag != null and tPaymentInfo.payCollectFlag.trim() != ''">
PAY_COLLECT_FLAG = #{tPaymentInfo.payCollectFlag}, 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