商品测试

dev798
wxy 2024-05-11 17:20:44 +08:00
parent c5c6f3ce39
commit 1976078b52
3 changed files with 6 additions and 1 deletions

View File

@ -18,4 +18,6 @@ public interface MallProductTextMapper {
String deleteMallProductTextById(Long id);
Object updateMallProductTextUpdate(MallProductText mallProductText);
Object selectMallProductTextById(Long id);
}

View File

@ -40,7 +40,7 @@ public class MallProductTextServiceImpl implements MallProductTextService {
@Override
public Object selectMallProductTextById(Long id) {
return null;
return mallProductTextMapper.selectMallProductTextById(id);
}

View File

@ -14,5 +14,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<select id="list" resultType="com.nuyu.product.domain.MallProductText">
select id , name from mall_product_text
</select>
<select id="selectMallProductTextById" resultType="java.lang.Object">
select * from mall_product_text where id = #{id}
</select>
</mapper>