@ -110,6 +110,6 @@ public class TRecordController extends BaseController
if(id == null){
return AjaxResult.error("未获取到id");
}
return AjaxResult.success(tRecordService.selectTById(id));
return AjaxResult.success(tRecordService.selectById(id));
@ -65,5 +65,5 @@ public interface TRecordMapper
List<TRecordResp> selectTRecordListWithoutResult(TRecordResultReq tRecord);
TRecordResp selectTById(Long id);
TRecordResp selectById(Long id);
@ -63,5 +63,5 @@ public interface ITRecordService
@ -103,8 +103,8 @@ public class TRecordServiceImpl implements ITRecordService
@Override
public TRecordResp selectTById(Long id)
public TRecordResp selectById(Long id)
{
return tRecordMapper.selectTById(id);
return tRecordMapper.selectById(id);
@ -190,7 +190,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</foreach>
</delete>
<select id="selectTById" parameterType="Long" resultType="TRecordResp">
<select id="selectById" parameterType="Long" resultType="TRecordResp">
<include refid="selectTRecordWithResult"/>
where id = #{id}
</select>