| | |
| | | import com.ruoyi.sales.service.ReceiptPaymentService; |
| | | import jakarta.servlet.http.HttpServletResponse; |
| | | import lombok.RequiredArgsConstructor; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.transaction.annotation.Transactional; |
| | | import org.springframework.util.CollectionUtils; |
| | |
| | | accountIncome.setIncomeType("3"); |
| | | accountIncome.setCustomerName(salesLedger.getCustomerName()); |
| | | accountIncome.setIncomeMoney(receiptPayment.getReceiptPaymentAmount()); |
| | | accountIncome.setIncomeMethod("0"); |
| | | accountIncome.setIncomeMethod(receiptPayment.getReceiptPaymentType()); |
| | | accountIncome.setInputTime(new Date()); |
| | | accountIncome.setInputUser(salesLedger.getEntryPerson()); |
| | | accountIncome.setInputUser(SecurityUtils.getLoginUser().getNickName()); |
| | | accountIncome.setIncomeDescribed("回款收入"); |
| | | accountIncome.setBusinessId(Long.parseLong(receiptPayment.getId().toString())); |
| | | accountIncome.setBusinessType(1); |