修改记录查询的id入参类型

release
xuliangwei 2 years ago
parent 1fda0f1e15
commit 94aeead670
  1. 2
      dxhy-erp/src/main/java/com/dxhy/erp/controller/RequestRecallController.java
  2. 2
      dxhy-erp/src/main/java/com/dxhy/erp/dao/RequestRecordDao.java
  3. 2
      dxhy-erp/src/main/java/com/dxhy/erp/service/RequestRecordService.java
  4. 2
      dxhy-erp/src/main/java/com/dxhy/erp/service/impl/RequestRecordServiceImpl.java

@ -57,7 +57,7 @@ public class RequestRecallController extends AbstractController {
@ApiOperation(value = "接口记录详细查询", notes = "接口记录详细查询")
@RequestMapping(path = "/requestDetailRecordBatch", method = {RequestMethod.POST, RequestMethod.GET})
public ResponseEntity<?> batchRequestDetailRecord(Integer id) {
public ResponseEntity<?> batchRequestDetailRecord(Long id) {
JSONObject resultJson = requestRecordService.getDetailRecord(id);
return ResponseEntity.ok(R.ok().put("data",resultJson));
}

@ -34,5 +34,5 @@ public interface RequestRecordDao extends BaseMapper<RequestRecord> {
* @param id
* @return
*/
RequestRecord selectDetailRecord(Integer id);
RequestRecord selectDetailRecord(Long id);
}

@ -15,7 +15,7 @@ public interface RequestRecordService extends MpBaseService<RequestRecord> {
JSONObject getRecordList(String portName, Date startTime, Date endTime, Integer status, String methodName, Integer pageNumber, Integer PageSize, Integer orderBy);
JSONObject getDetailRecord(Integer id);
JSONObject getDetailRecord(Long id);
RequestRecord getBaseRequestRecord(String requestDetail, String portName, String invoiceCode, String invoiceNo, String methodName);

@ -91,7 +91,7 @@ public class RequestRecordServiceImpl extends MpBaseServiceImpl<RequestRecordDao
@Override
@DataSource(name = "business_business_read")
public JSONObject getDetailRecord(Integer id) {
public JSONObject getDetailRecord(Long id) {
JSONObject json = new JSONObject();
try {
RequestRecord detailRecord = requestRecordDao.selectDetailRecord(id);

Loading…
Cancel
Save