Authored by saihide

fix mapper

... ... @@ -20,8 +20,6 @@ public interface PromotionInfoMapper {
int deleteByPrimaryKey(Integer id);
List<PromotionInfo> getPromotionList();
int selectCount();
List<PromotionInfo> selectPageLists(@Param(value="start")Integer start, @Param(value="limit")Integer limit);
... ...
... ... @@ -66,10 +66,6 @@
where id = #{id,jdbcType=INTEGER}
</update>
<select id="getPromotionList" resultMap="BaseResultMap">
select <include refid="Base_Column_List"/> from promotion_info where and status = 1 and is_del != 'Y'
</select>
<select id="selectCount" resultType="int">
select count(0) from promotion_info where status = 1 and is_del != 'Y'
</select>
... ...
... ... @@ -36,10 +36,6 @@ public class PromotionInfoService {
return promotionInfoMapper.selectValidPromotionList(DateUtil.getCurrentTimeSecond());
}
public List<PromotionInfo> getPromotionList(){
return promotionInfoMapper.getPromotionList();
}
public int selectCount(){
return promotionInfoMapper.selectCount();
}
... ...