商品测试
parent
c5c6f3ce39
commit
1976078b52
|
@ -18,4 +18,6 @@ public interface MallProductTextMapper {
|
|||
String deleteMallProductTextById(Long id);
|
||||
|
||||
Object updateMallProductTextUpdate(MallProductText mallProductText);
|
||||
|
||||
Object selectMallProductTextById(Long id);
|
||||
}
|
||||
|
|
|
@ -40,7 +40,7 @@ public class MallProductTextServiceImpl implements MallProductTextService {
|
|||
|
||||
@Override
|
||||
public Object selectMallProductTextById(Long id) {
|
||||
return null;
|
||||
return mallProductTextMapper.selectMallProductTextById(id);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue