作者 shenhailong

添加满足订单充值条件

... ... @@ -97,6 +97,10 @@ public class PayOrderController {
*/
Location location = locationMapper.waterId_eleId(payRecords.getPaylocationname());
/**
* 支付状态 充值状态满足条件进入否则不操作
*/
if (payRecords.getPaystatus() == true && "0".equals(payRecords.getReamke3())){
/**
* true 为电 false 为水
*/
if (payRecords.getPaytype()){
... ... @@ -121,6 +125,10 @@ public class PayOrderController {
return resultJson;
}
}
}else {
return new ResultJson("201", "充值失败");
}
}
}
... ...