refactor(mapper): 更新 MyBatis 映射文件中的对应 SQL 查询 ID

- 将 ApsPlanSheetMapper 中的 selectList 方法重命名为 selectListByReq
- 更新 MyBatis 映射文件中的对应 SQL 查询 ID
- 修改服务实现类中的方法调用以匹配新方法名
This commit is contained in:
2026-04-18 14:21:42 +08:00
parent ddb1beb629
commit ee2bb280b6
3 changed files with 3 additions and 3 deletions

View File

@@ -18,5 +18,5 @@ import java.util.List;
*/
public interface ApsPlanSheetMapper extends BaseMapperPlus<ApsPlanSheetMapper, ApsPlanSheet, ApsPlanSheetVo> {
List<ApsPlanSheetRowVo> selectList(ApsPlanSheetQueryReq req);
List<ApsPlanSheetRowVo> selectListByReq(ApsPlanSheetQueryReq req);
}

View File

@@ -318,7 +318,7 @@ public class ApsPlanSheetServiceImpl implements IApsPlanSheetService {
}
private List<ApsPlanSheetRowVo> queryListAll(ApsPlanSheetQueryReq req) {
return baseMapper.selectList(req);
return baseMapper.selectListByReq(req);
}
private String nvl(Object v, Object fallback) {

View File

@@ -19,7 +19,7 @@
<result property="createTime" column="create_time"/>
<result property="updateTime" column="update_time"/>
</resultMap>
<select id="selectList" parameterType="com.klp.aps.domain.dto.ApsPlanSheetQueryReq" resultType="com.klp.aps.domain.vo.ApsPlanSheetRowVo">
<select id="selectListByReq" parameterType="com.klp.aps.domain.dto.ApsPlanSheetQueryReq" resultType="com.klp.aps.domain.vo.ApsPlanSheetRowVo">
SELECT
d.plan_detail_id AS detailSheetId,
s.plan_date AS planDate,