Commit cedf9b1c authored by 韩桐桐's avatar 韩桐桐

fix(jg):设备办理jg业务log接口

parent 5aaa015d
...@@ -40,7 +40,7 @@ public interface CommonMapper extends BaseMapper<EquipmentCategory> { ...@@ -40,7 +40,7 @@ public interface CommonMapper extends BaseMapper<EquipmentCategory> {
Map<String, Object> getUserPhone(String name ,String companyCode); Map<String, Object> getUserPhone(String name ,String companyCode);
Map<String, Object> equOnJgServiceOperationRecords(String record); List<Map<String, Object>> equOnJgServiceOperationRecords(String record);
/** /**
* 统计指定设备流程中的引用次数(12个流程中,非待提交、非已撤回、非已驳回) * 统计指定设备流程中的引用次数(12个流程中,非待提交、非已撤回、非已驳回)
......
...@@ -439,7 +439,7 @@ public class CommonController extends BaseController { ...@@ -439,7 +439,7 @@ public class CommonController extends BaseController {
@TycloudOperation(ApiLevel = UserType.AGENCY) @TycloudOperation(ApiLevel = UserType.AGENCY)
@GetMapping(value = "/equOnJgServiceOperationRecords") @GetMapping(value = "/equOnJgServiceOperationRecords")
@ApiOperation(httpMethod = "GET", value = "查询设备在jg业务中的记录", notes = "查询设备在jg业务中的记录") @ApiOperation(httpMethod = "GET", value = "查询设备在jg业务中的记录", notes = "查询设备在jg业务中的记录")
public ResponseModel<Map<String, Object>> equOnJgServiceOperationRecords(@RequestParam(value = "record") String record) { public ResponseModel<List<Map<String, Object>>> equOnJgServiceOperationRecords(@RequestParam(value = "record") String record) {
return ResponseHelper.buildResponse(commonService.equOnJgServiceOperationRecords(record)); return ResponseHelper.buildResponse(commonService.equOnJgServiceOperationRecords(record));
} }
......
...@@ -91,7 +91,7 @@ public interface ICommonService { ...@@ -91,7 +91,7 @@ public interface ICommonService {
Map<String, Object> getUserPhone(String name); Map<String, Object> getUserPhone(String name);
Map<String, Object> equOnJgServiceOperationRecords(String record); List<Map<String, Object>> equOnJgServiceOperationRecords(String record);
/** /**
* 执行流程时前置校验 * 执行流程时前置校验
......
...@@ -540,7 +540,7 @@ public class CommonServiceImpl implements ICommonService { ...@@ -540,7 +540,7 @@ public class CommonServiceImpl implements ICommonService {
* @return * @return
*/ */
@Override @Override
public Map<String, Object> equOnJgServiceOperationRecords(String record) { public List<Map<String, Object>> equOnJgServiceOperationRecords(String record) {
return commonMapper.equOnJgServiceOperationRecords(record); return commonMapper.equOnJgServiceOperationRecords(record);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment