Commit 187da073 by weijiguang

init

parent 1292f41c
...@@ -90,6 +90,9 @@ public class PlanningServiceImpl extends ServiceImpl<FeePlanningMapper, FeePlann ...@@ -90,6 +90,9 @@ public class PlanningServiceImpl extends ServiceImpl<FeePlanningMapper, FeePlann
for (CfgFeePo fee : fees) { for (CfgFeePo fee : fees) {
Date planningDate = contract.getStartDate(); Date planningDate = contract.getStartDate();
Integer paidAmount = fee.getFirstPaidAmount(); Integer paidAmount = fee.getFirstPaidAmount();
if (paidAmount == null) {
paidAmount = 0;
}
while (true) { while (true) {
FeePlanning planning = new FeePlanning(); FeePlanning planning = new FeePlanning();
planning.setType(2); // 费用项 planning.setType(2); // 费用项
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
<if test="searcher.status != null"> <if test="searcher.status != null">
AND c.status = #{searcher.status} AND c.status = #{searcher.status}
</if> </if>
<if test="searcher.depositStatus != null"> <if test="searcher.depositStatus != null and !searcher.depositStatus.isEmpty()">
AND c.deposit_status in AND c.deposit_status in
<foreach collection="searcher.depositStatus" item="depositStatus" open="(" separator="," close=")"> <foreach collection="searcher.depositStatus" item="depositStatus" open="(" separator="," close=")">
#{depositStatus} #{depositStatus}
......
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