正在显示
1 个修改的文件
包含
8 行增加
和
0 行删除
@@ -97,6 +97,10 @@ public class PayOrderController { | @@ -97,6 +97,10 @@ public class PayOrderController { | ||
97 | */ | 97 | */ |
98 | Location location = locationMapper.waterId_eleId(payRecords.getPaylocationname()); | 98 | Location location = locationMapper.waterId_eleId(payRecords.getPaylocationname()); |
99 | /** | 99 | /** |
100 | + * 支付状态 充值状态满足条件进入否则不操作 | ||
101 | + */ | ||
102 | + if (payRecords.getPaystatus() == true && "0".equals(payRecords.getReamke3())){ | ||
103 | + /** | ||
100 | * true 为电 false 为水 | 104 | * true 为电 false 为水 |
101 | */ | 105 | */ |
102 | if (payRecords.getPaytype()){ | 106 | if (payRecords.getPaytype()){ |
@@ -121,6 +125,10 @@ public class PayOrderController { | @@ -121,6 +125,10 @@ public class PayOrderController { | ||
121 | return resultJson; | 125 | return resultJson; |
122 | } | 126 | } |
123 | } | 127 | } |
128 | + }else { | ||
129 | + | ||
130 | + return new ResultJson("201", "充值失败"); | ||
131 | + } | ||
124 | } | 132 | } |
125 | 133 | ||
126 | } | 134 | } |
-
请 注册 或 登录 后发表评论