refactor(mapper): 更新 MyBatis 映射文件中的对应 SQL 查询 ID
- 将 ApsPlanSheetMapper 中的 selectList 方法重命名为 selectListByReq - 更新 MyBatis 映射文件中的对应 SQL 查询 ID - 修改服务实现类中的方法调用以匹配新方法名
This commit is contained in:
@@ -18,5 +18,5 @@ import java.util.List;
|
|||||||
*/
|
*/
|
||||||
public interface ApsPlanSheetMapper extends BaseMapperPlus<ApsPlanSheetMapper, ApsPlanSheet, ApsPlanSheetVo> {
|
public interface ApsPlanSheetMapper extends BaseMapperPlus<ApsPlanSheetMapper, ApsPlanSheet, ApsPlanSheetVo> {
|
||||||
|
|
||||||
List<ApsPlanSheetRowVo> selectList(ApsPlanSheetQueryReq req);
|
List<ApsPlanSheetRowVo> selectListByReq(ApsPlanSheetQueryReq req);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -318,7 +318,7 @@ public class ApsPlanSheetServiceImpl implements IApsPlanSheetService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private List<ApsPlanSheetRowVo> queryListAll(ApsPlanSheetQueryReq req) {
|
private List<ApsPlanSheetRowVo> queryListAll(ApsPlanSheetQueryReq req) {
|
||||||
return baseMapper.selectList(req);
|
return baseMapper.selectListByReq(req);
|
||||||
}
|
}
|
||||||
|
|
||||||
private String nvl(Object v, Object fallback) {
|
private String nvl(Object v, Object fallback) {
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
<result property="createTime" column="create_time"/>
|
<result property="createTime" column="create_time"/>
|
||||||
<result property="updateTime" column="update_time"/>
|
<result property="updateTime" column="update_time"/>
|
||||||
</resultMap>
|
</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
|
SELECT
|
||||||
d.plan_detail_id AS detailSheetId,
|
d.plan_detail_id AS detailSheetId,
|
||||||
s.plan_date AS planDate,
|
s.plan_date AS planDate,
|
||||||
|
|||||||
Reference in New Issue
Block a user