| | |
| | | import org.springframework.http.ResponseEntity; |
| | | import org.springframework.web.client.RestTemplate; |
| | | import com.alibaba.fastjson2.JSON; |
| | | import com.ruoyi.tms.domain.PayableAuditLog; |
| | | import com.ruoyi.tms.service.IPayableAuditLogService; |
| | | |
| | | /** |
| | | * 应付账单Service业务层处理 |
| | |
| | | |
| | | @Autowired |
| | | private RestTemplate restTemplate; |
| | | |
| | | @Autowired |
| | | private IPayableAuditLogService payableAuditLogService; |
| | | |
| | | @Value("${custom.cwxtApi.url}") |
| | | private String url; |
| | |
| | | } |
| | | |
| | | /** |
| | | * 添加应付账单审核日志 |
| | | * |
| | | * @param auditLog 审核日志 |
| | | * @return 结果 |
| | | */ |
| | | public int addApBillAuditLog(PayableAuditLog auditLog) { |
| | | return payableAuditLogService.insertPayableAuditLog(auditLog); |
| | | } |
| | | |
| | | /** |
| | | * 向外部系统推送应付数据 |
| | | * @param tmsApBill 应付账单 |
| | | * @param tmsPayableFeeList 应付费用列表 |