| | |
| | | import com.java110.core.context.IPageData; |
| | | import com.java110.core.context.PageData; |
| | | import com.java110.core.factory.CallApiServiceFactory; |
| | | import com.java110.core.factory.GenerateCodeFactory; |
| | | import com.java110.core.smo.ISaveTransactionLogSMO; |
| | | import com.java110.dto.app.AppDto; |
| | | import com.java110.dto.log.AssetImportLogDto; |
| | | import com.java110.dto.log.TransactionOutLogDto; |
| | | import com.java110.intf.common.ITransactionLogInnerServiceSMO; |
| | | import com.java110.intf.common.ITransactionOutLogV1ServiceSMO; |
| | | import com.java110.po.log.TransactionLogPo; |
| | | import com.java110.po.log.TransactionOutLogPo; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.http.HttpMethod; |
| | | import org.springframework.http.HttpStatus; |
| | | import org.springframework.scheduling.annotation.Async; |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.web.client.RestTemplate; |
| | |
| | | @Autowired(required = false) |
| | | private RestTemplate outRestTemplate; |
| | | |
| | | @Autowired(required = false) |
| | | private ITransactionOutLogV1ServiceSMO transactionOutLogV1InnerServiceSMOImpl; |
| | | |
| | | @Override |
| | | @Async |
| | | public void saveLog(TransactionLogPo transactionLogPo) { |
| | |
| | | |
| | | CallApiServiceFactory.callCenterService(tmpRestTemplate, newPd, JSONObject.toJSONString(assetImportLogDto), apiUrl, HttpMethod.POST); |
| | | } |
| | | |
| | | } |