|
@@ -24,6 +24,7 @@ import com.ruoyi.system.utils.UserUtil;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.stereotype.Service;
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
|
|
|
+import java.math.BigDecimal;
|
|
import java.util.List;
|
|
import java.util.List;
|
|
|
|
|
|
|
|
|
|
@@ -77,6 +78,8 @@ public class WriteOffRecordsServiceImpl extends ServiceImpl<WriteOffRecordsMappe
|
|
Assert.notEmpty(accountPayment, "查询不到打款信息");
|
|
Assert.notEmpty(accountPayment, "查询不到打款信息");
|
|
//修改打款状态为未打款
|
|
//修改打款状态为未打款
|
|
accountPayment.setStatus("20");
|
|
accountPayment.setStatus("20");
|
|
|
|
+ //清空已打款金额
|
|
|
|
+ accountPayment.setAmount(BigDecimal.ZERO);
|
|
accountPaymentService.updateById(accountPayment);
|
|
accountPaymentService.updateById(accountPayment);
|
|
|
|
|
|
//赋值最后一次打款时间
|
|
//赋值最后一次打款时间
|